/* ============================================
   Flexosamine Landing Page - Modern Design
   Target Audience: 45+ Women
   ============================================ */

/* ============================================
   CSS Variables - Color Scheme
   ============================================ */
:root {
    /* Primary Colors - Унифицированная палитра */
    --color-primary: #0096C7;
    --color-primary-dark: #0077A8;
    --color-primary-light: #E3F5FA;
    
    /* Accent Colors */
    --color-accent: #E76F51;
    --color-accent-hover: #D85A3A;
    
    /* Neutral Colors */
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8FBFC;
    --color-bg-dark: #2A2F45;
    
    /* Text Colors */
    --color-text: #2A2F45;
    --color-text-light: #5A5F73;
    --color-text-white: #FFFFFF;
    --color-text-muted: #8B8F9F;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 3.5rem;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}


body {
    font-family: var(--font-secondary);
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text);
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFC 50%, #FFFFFF 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
    scroll-behavior: smooth;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: clip;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

/* ============================================
   Container
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: var(--spacing-sm);
}

.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    min-height: 60px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-cta {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ============================================
   Header
   ============================================ */
.header {
    background: var(--color-bg-alt);
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 800;
    color: #e0501a;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-text);
    font-weight: 500;
    font-size: 18px;
}

.header-phone svg {
    color: var(--color-primary);
}

.header-phone:hover {
    color: var(--color-primary);
}

.header-cta {
    padding: 12px 32px;
    font-size: 16px;
    min-height: 48px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: linear-gradient(135deg, rgba(0, 150, 199, 0.65) 0%, rgba(0, 119, 168, 0.7) 100%), url('../img/header_bg.jpg') center/cover no-repeat;
    color: var(--color-text-white);
    padding: var(--spacing-lg) 0;
    position: relative;
    overflow: hidden;
    max-width: 100vw;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    z-index: 0;
}


.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.hero-title {
    color: var(--color-text-white);
    margin-bottom: var(--spacing-xs);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 18px;
    font-weight: 500;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
}

.hero-benefits svg {
    flex-shrink: 0;
    stroke: var(--color-text-white);
}

.hero-product {
    position: relative;
    overflow: visible;
    max-width: 100%;
    padding-top: 40px;
    padding-bottom: 20px;
}

.product-card {
    position: relative;
    max-width: 400px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    justify-content: center;
    overflow: visible;
}

.product-image {
    max-width: 250px;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.product-badge {
    position: absolute;
    top: 0;
    right: 60px;
    width: 95px;
    height: 95px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.88), rgba(255, 165, 0, 0.92));
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: shake-badge 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes shake-badge {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-3deg);
    }
    75% {
        transform: rotate(3deg);
    }
}

.badge-text {
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-text);
    line-height: 1.2;
}

.badge-value {
    font-size: 26px;
    font-weight: 900;
    color: var(--color-text);
}

.product-promo {
    position: absolute;
    top: 50%;
    right: -35px;
    transform: translateY(-50%) rotate(-5deg);
    background: rgba(231, 111, 81, 0.85);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 140px;
    z-index: 2;
}

.promo-text {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.promo-days {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px;
}

.promo-label {
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
}

.price-box {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.price-old-section,
.price-new-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-label {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

/* Price labels in dark sections - white color for dark background */
.order-form-section .price-label,
.benefits .price-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.price-old {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

/* Old price in dark sections - more faded */
.order-form-section .price-old,
.benefits .price-old {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
}

/* Remove line-through from currency symbol in old price */
.order-form-section .price-old .currency,
.benefits .price-old .currency {
    text-decoration: none !important;
    display: inline-block;
}

.price-old .currency {
    text-decoration: none !important;
}

.price-new {
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: 800;
    color: var(--color-accent);
}

/* New price in dark sections - bright accent color */
.order-form-section .price-new,
.benefits .price-new {
    color: var(--color-accent);
}

.currency {
    font-size: 0.6em;
}

/* ============================================
   Problems Section
   ============================================ */
.problems {
    padding: var(--spacing-lg) 0;
    background: var(--color-bg);
    overflow: hidden;
    max-width: 100vw;
    width: 100%;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.problem-card {
    min-height: 200px;
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.problem-card-1 {
    background: linear-gradient(135deg, rgba(231, 111, 81, 0.6) 0%, rgba(211, 91, 61, 0.65) 100%), url('../img/sec2-1.jpg') center/cover no-repeat;
}

.problem-card-2 {
    background: linear-gradient(135deg, rgba(0, 150, 199, 0.6) 0%, rgba(0, 119, 168, 0.65) 100%), url('../img/sec2-2.jpg') center/cover no-repeat;
}

.problem-card-3 {
    background: linear-gradient(135deg, rgba(42, 47, 69, 0.6) 0%, rgba(26, 30, 49, 0.65) 100%), url('../img/sec2-3.jpg') center/cover no-repeat;
}

.problem-card-4 {
    background: linear-gradient(135deg, rgba(100, 120, 140, 0.6) 0%, rgba(70, 90, 110, 0.65) 100%), url('../img/sec2-4.jpg') center/cover no-repeat;
}

.problem-content {
    color: var(--color-text-white);
}

.problem-content h3 {
    color: var(--color-text-white);
    margin-bottom: var(--spacing-xs);
    font-size: 24px;
}

.problem-content p {
    font-size: 16px;
    line-height: 1.5;
}

.problem-content-right {
    text-align: right;
    margin-left: auto;
}

/* ============================================
   Solution Section
   ============================================ */
.solution {
    padding: var(--spacing-lg) 0;
    background: var(--color-bg-alt);
}

.solution-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.solution-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.solution-text {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    text-align: left;
}

.solution-note {
    font-size: 16px;
    font-style: italic;
    color: var(--color-text-light);
    text-align: left;
}

/* ============================================
   Ingredient Section
   ============================================ */
.ingredient {
    padding: var(--spacing-lg) 0;
    background: rgba(227, 245, 250, 0.4);
}

.ingredient-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.patent-badge {
    max-width: 80px;
}

.ingredient-visual {
    position: relative;
    max-width: 500px;
    margin: 0 auto var(--spacing-lg);
}

.ingredient-image {
    width: 100%;
    border-radius: var(--radius-md);
}

.ingredient-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    box-shadow: var(--shadow-md);
}

.ingredient-icon {
    width: 40px;
    height: 40px;
}

.ingredient-label span {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.ingredient-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ingredient-description h3 {
    margin-bottom: var(--spacing-md);
}

.ingredient-description p {
    font-size: 18px;
    line-height: 1.7;
}

/* ============================================
   Benefits Section
   ============================================ */
.benefits {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(135deg, rgba(42, 47, 69, 0.65) 0%, rgba(26, 30, 49, 0.7) 100%), url('../img/sec_6-bg.jpg') center/cover no-repeat;
    color: var(--color-text-white);
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    z-index: 0;
}


.benefits > .container {
    position: relative;
    z-index: 1;
}

.benefits .section-title {
    color: var(--color-text-white);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: var(--spacing-md);
}

.benefits-list {
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-primary);
    transition: var(--transition);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(8px);
}

.benefit-item svg {
    flex-shrink: 0;
    stroke: var(--color-primary);
    width: 24px;
    height: 24px;
}

.benefit-item h3 {
    color: var(--color-text-white);
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

.final-offer {
    background: var(--color-accent);
    padding: var(--spacing-sm);
    text-align: center;
    margin: var(--spacing-lg) auto var(--spacing-md);
    border-radius: var(--radius-md);
    max-width: 400px;
}

.final-offer p {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.benefits-price {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    padding: var(--spacing-lg);
    padding-top: 40px;
    border-radius: var(--radius-lg);
    max-width: 650px;
    margin: 0 auto var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.benefits-product {
    display: flex;
    justify-content: center;
    position: relative;
    overflow: visible;
    max-width: 100%;
}

.benefits-product img {
    max-width: 250px;
}

.benefits-badge {
    position: absolute;
    top: 0;
    right: 20px;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    font-weight: 700;
    color: var(--color-text);
}

.benefits-badge span:first-child {
    font-size: 10px;
    text-transform: uppercase;
}

.benefits-badge span:last-child {
    font-size: 24px;
    font-weight: 800;
}

.benefits-price-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.price-row {
    display: flex;
    flex-direction: column;
}

.timer-section {
    max-width: 500px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-lg);
    text-align: center;
}

.timer {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: var(--spacing-sm);
}

.timer > span {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.timer-labels {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    font-size: 14px;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.8);
}

.timer-labels span {
    min-width: 80px;
    text-align: center;
}

/* ============================================
   Doctor Section
   ============================================ */
.doctor {
    padding: var(--spacing-lg) 0;
    background: var(--color-bg-alt);
}

.doctor-card {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
    align-items: stretch;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--color-primary);
}

.doctor-image {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 500px;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.doctor-info {
    padding: var(--spacing-lg);
}

.doctor-header {
    background: rgba(0, 0, 0, 0.75);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.doctor-header h3 {
    color: var(--color-text-white);
    margin: 0 0 var(--spacing-xs) 0;
}

.doctor-experience {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin: 0;
}

.doctor-quote {
    font-size: 18px;
    line-height: 1.7;
    font-style: italic;
    position: relative;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.35);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-sm);
}

.doctor-quote::before {
    content: '"';
    font-size: 64px;
    position: absolute;
    top: -20px;
    left: 10px;
    color: var(--color-primary);
    opacity: 0.3;
    font-family: Georgia, serif;
}

/* ============================================
   Reviews Section
   ============================================ */
.reviews {
    padding: var(--spacing-lg) 0;
    background: rgba(227, 245, 250, 0.4);
}

.google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 280px;
    margin: 0 auto var(--spacing-md);
    padding: 10px 16px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.google-logo {
    max-width: 70px;
}

.rating-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reviews-count {
    font-size: 12px;
    color: var(--color-text-muted);
}

.rating-stars {
    font-size: 16px;
    color: #FFA500;
}

.reviews-slider {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 0 var(--spacing-sm);
}

.review-card,
.review-text,
.review-header {
    overflow: hidden;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease;
}

.review-card {
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    background: var(--color-bg-alt);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    box-sizing: border-box;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author {
    flex: 1;
}

.author-name {
    font-weight: 600;
    font-size: 15px;
    margin: 0;
}

.review-date {
    font-size: 12px;
    color: var(--color-text-muted);
    margin: 0;
}

.review-rating {
    color: #FFA500;
    font-size: 16px;
    margin-bottom: 8px;
}

.review-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.review-google {
    max-width: 70px;
    margin-top: 8px;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
    background: var(--color-primary-dark);
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
}

.slider-counter {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
}

/* ============================================
   How to Order Section
   ============================================ */
.how-to-order {
    padding: var(--spacing-lg) 0;
    background: var(--color-bg-alt);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto var(--spacing-xl);
}

.step {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.step-icon {
    margin: 0 auto var(--spacing-md);
    color: var(--color-primary);
}

.step h3 {
    font-size: 18px;
    line-height: 1.4;
}

.delivery-info {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--color-primary);
    color: var(--color-text-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.delivery-info svg {
    flex-shrink: 0;
    stroke: var(--color-text-white);
}

.delivery-info h2 {
    color: var(--color-text-white);
    margin: 0;
    font-size: 22px;
}

/* ============================================
   Order Form Section
   ============================================ */
.order-form-section {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(135deg, rgba(42, 47, 69, 0.65) 0%, rgba(26, 30, 49, 0.7) 100%), url('../img/sec10_bg.jpg') center/cover no-repeat;
    color: var(--color-text-white);
    position: relative;
    overflow: hidden;
}

.order-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.order-form-section > .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.form-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.form-header h1 {
    color: var(--color-text-white);
}

.form-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.form-product {
    position: relative;
    max-width: 400px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 20px;
    overflow: visible;
}

.form-product-image {
    max-width: 250px;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.3));
}

.form-approved {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-130%);
    max-width: 120px;
    z-index: 5;
}

.form-badge {
    position: absolute;
    top: 0;
    right: 60px;
    width: 95px;
    height: 95px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.88), rgba(255, 165, 0, 0.92));
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    font-weight: 700;
    color: var(--color-text);
    z-index: 10;
    animation: shake-badge 2s ease-in-out infinite;
}

.form-badge span:first-child {
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
}

.form-badge span:last-child {
    font-size: 26px;
    font-weight: 900;
}

.form-promo {
    position: absolute;
    top: 50%;
    right: -35px;
    transform: translateY(-50%) rotate(-5deg);
    background: rgba(231, 111, 81, 0.85);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 140px;
    z-index: 2;
}

.form-promo p:nth-child(1) {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.form-promo p:nth-child(2) {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px;
}

.form-promo p:nth-child(3) {
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
}

.form-prices {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.form-price-old,
.form-price-new {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.order-form {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-lg);
}

.order-form h3 {
    text-align: center;
    color: var(--color-text-white);
    text-transform: uppercase;
    margin-bottom: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-xs);
}

.form-group input {
    width: 100%;
    padding: 18px 24px;
    font-size: 18px;
    font-family: var(--font-secondary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-text);
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-bg-alt);
}

.form-group input::placeholder {
    color: var(--color-text-muted);
}

.timer-text {
    text-align: center;
    font-size: 16px;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.9);
}

.btn-submit {
    width: 100%;
    margin-top: var(--spacing-md);
}

.payment-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.payment-methods img {
    max-width: 120px;
    opacity: 0.8;
    transition: var(--transition);
}

.payment-methods img:hover {
    opacity: 1;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-bg-dark);
    color: var(--color-text-white);
    padding: var(--spacing-md) 0;
    text-align: center;
}

.footer img {
    max-height: 30px;
    margin: 0 auto 8px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    transition: var(--transition);
    padding: 4px 8px;
}

.footer-links a:hover {
    color: var(--color-primary);
}

/* ============================================
   Popup Styles
   ============================================ */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.popup-overlay.active {
    display: flex;
}

.popup-modal {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.popup-close svg {
    stroke: var(--color-text);
}

.popup-content {
    padding: var(--spacing-xl);
}

.popup-title {
    font-size: 24px;
    text-align: center;
    color: var(--color-accent);
    margin-bottom: var(--spacing-md);
}

.popup-text {
    text-align: center;
    font-size: 16px;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-light);
}

.popup-form input[type="text"],
.popup-form input[type="tel"] {
    width: 100%;
    padding: 18px 24px;
    margin-bottom: var(--spacing-md);
    font-size: 18px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.popup-form input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.popup-form button {
    width: 100%;
}

/* Old popup styles compatibility */
._popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
}

._popup .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
}

.popup-m1-politicians {
    position: relative;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 5vh auto;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    padding: var(--spacing-md);
}

.popup-m1-politicians__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    z-index: 10;
    opacity: 0.6;
    transition: var(--transition);
}

.popup-m1-politicians__close:hover {
    opacity: 1;
}

.popup-m1-politicians__close::before,
.popup-m1-politicians__close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: var(--color-text);
    transform: translate(-50%, -50%) rotate(45deg);
}

.popup-m1-politicians__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.popup-m1-politicians__title h4 {
    font-size: 20px;
    margin-bottom: 12px;
    padding-right: 30px;
}

.popup-m1-politicians__text {
    font-size: 13px;
    line-height: 1.5;
}

.popup-m1-politicians__text p {
    margin-bottom: 10px;
}

.popup-m1-politicians__text strong {
    font-size: 14px;
    display: block;
    margin-top: 12px;
    margin-bottom: 6px;
}

.popup-m1-politicians__close-button {
    display: inline-block;
    padding: 8px 20px;
    background: var(--color-primary);
    color: var(--color-text-white);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 12px;
    font-size: 13px;
}

.popup-m1-politicians__close-button:hover {
    background: var(--color-primary-dark);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablets (768px - 1023px) */
@media (max-width: 1023px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2.5rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        max-width: 100%;
    }
    
    .hero {
        overflow: hidden;
        width: 100%;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-product {
        order: 1;
        margin-bottom: var(--spacing-lg);
    }
    
    .product-promo {
        top: 50%;
        right: -20px;
        left: auto;
        bottom: auto;
        transform: translateY(-50%);
        max-width: 100px;
        padding: 10px 14px;
    }
    
    .promo-text {
        font-size: 10px;
    }
    
    .promo-days {
        font-size: 28px;
    }
    
    .promo-label {
        font-size: 12px;
    }
    
    .form-promo {
        top: 50%;
        right: -20px;
        left: auto;
        bottom: auto;
        transform: translateY(-50%);
        max-width: 100px;
        padding: 10px 14px;
    }
    
    .form-promo p:nth-child(1) {
        font-size: 10px;
    }
    
    .form-promo p:nth-child(2) {
        font-size: 28px;
    }
    
    .form-promo p:nth-child(3) {
        font-size: 12px;
    }
    
    .doctor-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: var(--spacing-lg);
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .doctor-image {
        width: 180px;
        height: 180px;
        min-height: auto;
        max-height: none;
        border-radius: 50%;
        overflow: hidden;
        margin: 0 auto var(--spacing-md);
        flex-shrink: 0;
    }
    
    .doctor-image img {
        object-fit: cover;
        object-position: center 30%;
    }
    
    .doctor-info {
        width: 100%;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .benefits-price {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    :root {
        font-size: 14px;
        --spacing-xs: 0.5rem;
        --spacing-sm: 0.75rem;
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 2.5rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
        max-width: 100%;
    }
    
    section {
        overflow: hidden;
    }
    
    body {
        font-size: 16px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    .btn {
        padding: 16px 32px;
        font-size: 16px;
        min-height: 56px;
    }
    
    /* Header */
    .header-phone {
        font-size: 14px;
    }
    
    .header-phone span {
        display: none;
    }
    
    .header-cta {
        padding: 10px 24px;
        font-size: 14px;
        min-height: 44px;
    }
    
    /* Hero */
    .hero {
        padding: var(--spacing-xl) 0 var(--spacing-lg) 0;
    }
    
    .hero-product {
        padding-top: var(--spacing-md);
    }
    
    .hero-benefits li {
        font-size: 16px;
    }
    
    .product-image {
        max-width: 180px;
    }
    
    .product-card {
        max-width: 100%;
        overflow: visible;
        padding: var(--spacing-lg) 20px var(--spacing-sm) 20px;
    }
    
    .hero-product {
        overflow: visible;
        max-width: 100%;
        padding-top: 60px;
        padding-bottom: 20px;
    }
    
    .product-badge {
        width: 75px;
        height: 75px;
        top: 20px;
        right: auto;
        left: 50%;
        transform: translateX(-120%);
    }
    
    .badge-text {
        font-size: 8px;
        font-weight: 900;
        line-height: 1.1;
    }
    
    .badge-value {
        font-size: 20px;
        font-weight: 900;
    }
    
    .product-promo {
        top: 50%;
        right: 20px;
        left: auto;
        bottom: auto;
        transform: translateY(-50%);
        max-width: 90px;
        padding: 8px 12px;
        z-index: 15;
    }
    
    .promo-text {
        font-size: 9px;
    }
    
    .promo-days {
        font-size: 24px;
    }
    
    .promo-label {
        font-size: 11px;
    }
    
    .price-box {
        flex-direction: column;
        gap: var(--spacing-md);
        padding: var(--spacing-md);
    }
    
    .price-old {
        font-size: 24px;
    }
    
    .price-new {
        font-size: 32px;
    }
    
    /* Problems */
    .problems {
        overflow: hidden;
        width: 100%;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        max-width: 100%;
        width: 100%;
    }
    
    .problem-card {
        min-height: 160px;
        padding: var(--spacing-sm);
        max-width: 100%;
        overflow: hidden;
    }
    
    .problem-content h3 {
        font-size: 20px;
    }
    
    .problem-content p {
        font-size: 14px;
    }
    
    /* Benefits */
    .benefit-item {
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
    }
    
    .benefit-item svg {
        width: 24px;
        height: 24px;
    }
    
    .benefit-item h3 {
        font-size: 16px;
    }
    
    .benefits-price {
        padding: var(--spacing-md);
        max-width: 100%;
        overflow: visible;
    }
    
    .benefits-product {
        max-width: 100%;
        overflow: visible;
        padding: 0 20px;
    }
    
    .benefits-price {
        overflow: hidden;
        padding-top: 60px;
    }
    
    .benefits-product img {
        max-width: 180px;
    }
    
    /* Timer */
    .timer {
        font-size: 32px;
        gap: var(--spacing-sm);
    }
    
    .timer > span {
        min-width: 60px;
    }
    
    .timer-labels {
        gap: var(--spacing-sm);
        font-size: 12px;
    }
    
    .timer-labels span {
        min-width: 60px;
    }
    
    .timer-section {
        padding: var(--spacing-md);
    }
    
    /* Doctor */
    .doctor-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: var(--spacing-lg);
    }
    
    .doctor-image {
        width: 180px;
        height: 180px;
        min-height: auto;
        max-height: none;
        border-radius: 50%;
        overflow: hidden;
        margin: 0 auto var(--spacing-md);
        flex-shrink: 0;
    }
    
    .doctor-image img {
        object-fit: cover;
        object-position: center 30%;
    }
    
    .doctor-info {
        padding: var(--spacing-md);
        width: 100%;
    }
    
    .doctor-quote {
        font-size: 16px;
        padding: var(--spacing-sm);
    }
    
    /* Reviews */
    .reviews-slider {
        max-width: 100%;
        overflow: hidden;
    }
    
    .review-card {
        padding: var(--spacing-md);
        max-width: 100%;
        word-wrap: break-word;
    }
    
    .review-text {
        font-size: 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Steps */
    .step {
        padding: var(--spacing-md);
    }
    
    .step h3 {
        font-size: 16px;
    }
    
    .delivery-info {
        padding: var(--spacing-md);
        flex-direction: column;
        text-align: center;
    }
    
    .delivery-info h2 {
        font-size: 18px;
    }
    
    /* Form */
    .order-form {
        padding: var(--spacing-md);
    }
    
    .form-product {
        max-width: 100%;
        overflow: visible;
        padding: var(--spacing-lg) 20px var(--spacing-sm) 20px;
        padding-top: 60px;
    }
    
    .order-form-section {
        overflow: hidden;
    }
    
    .form-product-image {
        max-width: 180px;
    }
    
    .form-approved {
        max-width: 90px;
        bottom: 20px;
        left: 50%;
        transform: translateX(-130%);
    }
    
    .form-badge {
        width: 75px;
        height: 75px;
        top: 20px;
        right: auto;
        left: 50%;
        transform: translateX(-120%);
    }
    
    .form-badge span:first-child {
        font-size: 8px;
        font-weight: 900;
        line-height: 1.1;
    }
    
    .form-badge span:last-child {
        font-size: 20px;
        font-weight: 900;
    }
    
    .form-promo {
        top: 50%;
        right: 20px;
        left: auto;
        bottom: auto;
        transform: translateY(-50%);
        max-width: 90px;
        padding: 8px 12px;
        z-index: 15;
    }
    
    .form-promo p:nth-child(1) {
        font-size: 9px;
    }
    
    .form-promo p:nth-child(2) {
        font-size: 24px;
    }
    
    .form-promo p:nth-child(3) {
        font-size: 11px;
    }
    
    .form-prices {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    /* Enhanced contrast for prices on mobile dark backgrounds */
    .order-form-section .price-label,
    .benefits .price-label {
        color: #FFFFFF;
        font-weight: 700;
        font-size: 15px;
    }
    
    .order-form-section .price-old,
    .benefits .price-old {
        color: rgba(255, 255, 255, 0.5);
        font-size: 26px;
    }
    
    .order-form-section .price-new,
    .benefits .price-new {
        color: var(--color-accent);
        font-size: 36px;
    }
    
    .form-group input {
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .payment-methods {
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }
    
    .payment-methods img {
        max-width: 80px;
    }
    
    /* Popup */
    .popup-modal {
        max-width: 95%;
    }
    
    .popup-content {
        padding: var(--spacing-lg);
    }
    
    .popup-title {
        font-size: 20px;
    }
    
    .popup-text {
        font-size: 14px;
    }
    
    .popup-form input {
        padding: 16px 20px;
        font-size: 16px;
    }
}

/* Extra small devices (max-width: 480px) */
@media (max-width: 480px) {
    .section-title {
        font-size: 22px;
    }
    
    .hero-benefits li svg {
        width: 20px;
        height: 20px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .header,
    .popup-overlay,
    .popup-modal,
    ._popup,
    .btn,
    .timer,
    .slider-controls {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero,
    .benefits,
    .order-form-section {
        background: white !important;
        color: black !important;
    }
}

/* ============================================
   Accessibility Enhancements
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

*:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
