:root {
    --primary-dark: #0F2537;       /* Глубокий премиальный темно-синий */
    --primary-color: #1E4E79;      /* Надежный клинический синий */
    --primary-light: #D6E4F0;      /* Светло-пастельный голубой */
    --accent-blue: #0088CC;        /* Яркий акцент чистоты */
    --accent-blue-hover: #00A3E0;  /* Цвет кнопок при наведении */
    --bg-light: #F4F7F9;           /* Чистый свежий фон */
    --bg-white: #FFFFFF;
    --text-main: #2D3748;          /* Легко читаемый темный текст */
    --text-muted: #718096;
    --text-light: #F7FAFC;
    --danger: #E53E3E;             /* Сигнальный красный для акцентов цен */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #E2E8F0;
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Mobile-first main wrapper simulating 9:16 constraints */
.main_wrapper {
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--bg-light);
    box-shadow: 0 0 35px rgba(15, 37, 55, 0.15);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Typography */
h1, h2, h3, .main_title, .section_title, .block_title {
    font-weight: 700;
}

/* Top Line */
.top_line {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 12px 15px;
    font-size: 12px;
}

.top_line_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top_item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top_item p {
    margin: 0;
}

.top_item b {
    color: var(--bg-white);
    border-bottom: 1px dashed var(--accent-blue);
}

/* Sections */
section {
    padding: 40px 20px;
    position: relative;
}

.offer_section {
    text-align: center;
}

/* Hero Section */
.hero_bg {
    background: linear-gradient(180deg, #EBF4FA 0%, #F4F7F9 100%);
    padding-top: 30px;
    padding-bottom: 50px;
}

.badge {
    display: inline-block;
    background-color: rgba(0, 136, 204, 0.12);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.main_title {
    font-size: 30px;
    line-height: 1.2;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
    padding: 0 10px;
}

/* Hero Image Wrapper */
.hero_image_wrapper {
    position: relative;
    margin-bottom: 30px;
}

/* Image Placeholders Fallbacks */
.image_placeholder {
    background: linear-gradient(135deg, #1E4E79 0%, #0F2537 100%);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    padding: 20px;
}

.hero_img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(30, 78, 121, 0.15);
    aspect-ratio: 9/10;
    margin: 0 auto;
}

.sale_badge {
    position: absolute;
    top: -10px;
    right: 12%;
    background-color: var(--danger);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(229, 62, 98, 0.4);
    transform: rotate(-5deg);
}

/* Timer styles */
.timer_wrap {
    background-color: var(--bg-white);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.03);
    margin-bottom: 25px;
}

.timer_title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timer_container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.timer_block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.count {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    border-radius: 8px;
}

.text {
    font-size: 11px;
    margin-top: 5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.separator {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: -20px;
}

/* Stock Limits */
.prod_count {
    font-size: 14px;
    color: var(--danger);
    margin-bottom: 25px;
    font-weight: 600;
}

/* Pricing Section */
.prices_container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.price_card {
    background: var(--bg-white);
    border: 1px solid rgba(30, 78, 121, 0.08);
    border-radius: 14px;
    padding: 18px;
    position: relative;
    transition: transform 0.3s ease;
}

.price_card.highlight {
    border: 2px solid var(--accent-blue);
    background: linear-gradient(180deg, #FFFFFF 0%, #F4FAFD 100%);
    transform: scale(1.01);
}

.price_card.shadow_blue {
    box-shadow: 0 12px 30px rgba(0, 136, 204, 0.15);
}

.hit_badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-blue);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price_title {
    color: var(--text-main);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 5px;
}

.price_flex {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 12px;
}

.old_price {
    font-size: 22px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.old_price span {
    font-size: 18px;
}

.new_price {
    font-size: 40px;
    font-weight: 800;
    color: var(--danger);
}

.new_price span {
    font-size: 26px;
}

/* Call to Action Primary Buttons */
.button-primary {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #006699 100%);
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 18px 20px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-primary:hover, .button-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 12px 25px rgba(0, 136, 204, 0.4);
    background: linear-gradient(135deg, var(--accent-blue-hover) 0%, var(--accent-blue) 100%);
}

/* Custom visual cards overlay configurations */
.visual_section {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.visual_card {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    overflow: hidden;
}

.bg_img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Context patterns for styled placeholders */
.blueprint_bg { background: linear-gradient(135deg, #1A3B5C, #0F2537); }
.water_bg { background: linear-gradient(135deg, #2B6CB0, #1A3B5C); }
.clean_bg { background: linear-gradient(135deg, #2C5282, #2B6CB0); }
.foam_bg { background: linear-gradient(135deg, #2A4365, #1A202C); }
.instructions_bg { background: linear-gradient(135deg, #1E3A8A, #0F172A); }

.card_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-light);
    z-index: 2;
}

.card_overlay.left_align {
    background: linear-gradient(to right, rgba(15, 37, 55, 0.85) 0%, rgba(0,0,0,0.1) 90%);
    align-items: flex-start;
    text-align: left;
}

.card_overlay.right_align {
    background: linear-gradient(to left, rgba(15, 37, 55, 0.9) 0%, rgba(0,0,0,0.1) 100%);
    align-items: flex-end;
    text-align: right;
}

.card_overlay.dark_overlay {
    background: rgba(15, 37, 55, 0.65);
}

.card_overlay.bottom_align {
    justify-content: flex-end;
    padding-bottom: 40px;
    background: linear-gradient(to top, rgba(15, 37, 55, 0.95) 0%, rgba(0,0,0,0) 70%);
}

.card_title {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 12px;
    max-width: 90%;
}

.text_blue {
    color: #4FD1C5; /* Свежий контрастный оттенок для заголовков на темном */
}

.card_text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
    max-width: 85%;
}

.card_text.small_text {
    font-size: 13px;
    opacity: 0.85;
}

.card_text.bold_text {
    font-weight: 600;
}

.card_divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-blue);
    margin: 15px 0;
}

.card_overlay.right_align .card_divider {
    margin-left: auto;
}

.card_badge {
    margin-bottom: 10px;
    background-color: var(--accent-blue);
    color: white;
}

.card_list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    max-width: 85%;
}

.card_list li {
    font-size: 14px;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.card_overlay.right_align .card_list li {
    padding-left: 0;
    padding-right: 20px;
}

.card_list li::before {
    content: "🔷";
    position: absolute;
    left: 0;
    font-size: 11px;
    top: 2px;
}

.card_overlay.right_align .card_list li::before {
    left: auto;
    right: 0;
}

.card_list.checked li::before {
    content: "✓";
    color: #4FD1C5;
    font-weight: bold;
    font-size: 16px;
    top: -2px;
}

.card_list.numbered {
    counter-reset: card-counter;
}

.card_list.numbered li {
    padding-left: 25px;
}

.card_list.numbered li::before {
    counter-increment: card-counter;
    content: counter(card-counter) ".";
    color: #4FD1C5;
    font-weight: 700;
    font-size: 14px;
}

/* Informative text separations blocks */
.text_break {
    background-color: var(--bg-white);
    padding: 35px 25px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    position: relative;
    z-index: 3;
}

.text_break p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-main);
}

.text_break p b {
    color: var(--primary-dark);
}

.text_break_title {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.text_break_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.text_break_list li {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.text_break_list li::before {
    content: "💧";
    font-size: 12px;
    margin-top: 3px;
}

/* Dark Offer & Checkout Container Form */
.dark_bg {
    background-color: var(--primary-dark);
    color: var(--bg-white);
}

.dark_bg .main_title {
    color: var(--bg-white);
}

.dark_bg .timer_title {
    color: rgba(255, 255, 255, 0.9);
}

.dark_bg .timer_wrap {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dark_bg .count {
    background: rgba(255, 255, 255, 0.08);
    color: var(--bg-white);
}

.dark_bg .separator {
    color: var(--accent-blue);
}

.dark_bg .text {
    color: rgba(255, 255, 255, 0.5);
}

.separator_leaf {
    margin-bottom: 15px;
    font-size: 20px;
}

.form_container {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 30px 20px;
    margin-top: 40px;
    color: var(--text-main);
}

.form_title {
    font-size: 20px;
    text-align: center;
    color: var(--primary-dark);
}

.form_subtitle {
    font-size: 13px;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 25px;
    margin-top: 5px;
}

.input_group {
    margin-bottom: 20px;
    text-align: left;
}

.input_group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary-color);
}

.input_group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    background-color: #FAFAFA;
}

.input_group input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.15);
}

.submit_btn {
    margin-top: 10px;
}

.security_text {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 15px;
}

.faq_section {
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Footer structure */
.footer_section {
    background-color: #0A1824;
    color: rgba(255,255,255,0.5);
    padding: 45px 20px;
    text-align: center;
    font-size: 12px;
    border-top: 2px solid rgba(255,255,255,0.02);
}

.footer_content p {
    margin-bottom: 8px;
}

.company_name {
    font-size: 15px;
    color: var(--bg-white);
    font-weight: 600;
    margin-bottom: 12px !important;
}

.policy_link {
    color: rgba(255,255,255,0.35);
    text-decoration: underline;
    margin-top: 15px;
    display: inline-block;
}

html {
    scroll-behavior: smooth;
}