/* =================================================================== */
/* БАЗОВЫЕ СТИЛИ И ПЕРЕМЕННЫЕ (из medit_pro_light.html)                */
/* =================================================================== */
:root {
    /* Светлая палитра 2026 */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    
    --primary: #0ea5e9;
    --primary-light: #38bdf8;
    --primary-dark: #0284c7;
    
    --secondary: #06b6d4;
    --accent: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    /* Glass эффекты для светлой темы - более прозрачные */
    --glass-bg: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(148, 163, 184, 0.3);
    --glass-shadow: rgba(15, 23, 42, 0.08);
    
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Сопоставление старых переменных с новыми
      чтобы стили .client-card и т.д. работали
    */
    --primary-color: var(--primary);
    --secondary-color: var(--secondary);
    --accent-color: var(--accent);
    --dark-color: var(--text-primary);
    --light-bg: var(--bg-secondary);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: transparent;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* WebGL Canvas Background */
#gradient-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Glass Morphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.glass-strong {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px; /* Изменен с 1280px для совместимости */
    margin: 0 auto;
    padding: 0 20px; /* Изменен с 24px */
}

/* =================================================================== */
/* СТИЛИ НАВИГАЦИИ (из medit_pro_light.html)                         */
/* =================================================================== */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px; /* Изменен с 1280px */
    z-index: 1000;
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(40px);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(14, 165, 233, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* =================================================================== */
/* HERO SECTION - PREMIUM DESIGN 2025                                 */
/* =================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Floating Particles Background */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    animation: float-particle 20s infinite ease-in-out;
    opacity: 0.6;
}

.particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.particle:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 5s;
    animation-duration: 30s;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
}

.particle:nth-child(3) {
    bottom: 10%;
    left: 50%;
    animation-delay: 10s;
    animation-duration: 35s;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
}

.particle:nth-child(4) {
    top: 30%;
    right: 40%;
    animation-delay: 3s;
    animation-duration: 28s;
    width: 200px;
    height: 200px;
}

.particle:nth-child(5) {
    bottom: 30%;
    left: 20%;
    animation-delay: 8s;
    animation-duration: 32s;
    width: 250px;
    height: 250px;
}

@keyframes float-particle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(40px, 50px) scale(1.05);
    }
}

/* Hero Content Wrapper */
.hero-content-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

/* Animated Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border: 1.5px solid rgba(14, 165, 233, 0.3);
    border-radius: 50px;
    margin-bottom: 28px;
    animation: fadeInDown 0.8s ease-out;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.15);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Hero Text Container */
.hero-text-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Hero Title */
.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 28px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

/* Hero Description */
.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.price-highlight {
    color: var(--primary);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Features Grid */
.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 45px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.2);
    border-color: rgba(14, 165, 233, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    stroke: white;
    stroke-width: 2;
}

.feature-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.feature-content strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.feature-content span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* CTA Buttons Group */
.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 35px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.35);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.45);
}

.btn-icon {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.btn-main-text {
    font-size: 1.05rem;
    font-weight: 700;
}

.btn-sub-text {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.btn-hero-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.3);
}

.btn-phone-icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
}

/* Trust Line */
.hero-trust-line {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
    padding: 25px 0;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    stroke-width: 2;
    flex-shrink: 0;
}

/* Cards Container */
.hero-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

/* Promo Card - NEW DESIGN */
.hero-promo-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    animation: fadeInLeft 0.8s ease-out 0.3s both;
    position: relative;
    overflow: hidden;
}

.hero-promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
}

.promo-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.promo-icon {
    font-size: 2.5rem;
    animation: rotate-icon 3s infinite ease-in-out;
}

@keyframes rotate-icon {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(10deg);
    }
}

.promo-card-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.promo-value {
    margin-bottom: 30px;
}

.value-strike {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.strike-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: var(--danger);
    text-decoration-thickness: 3px;
}

.value-free {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 10px;
}

.free-text {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.free-badge {
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--accent) 0%, #34d399 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    animation: pulse-scale 2s infinite;
}

@keyframes pulse-scale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.promo-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.promo-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.promo-feature svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
    flex-shrink: 0;
}

.promo-urgency {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 14px;
    margin-bottom: 25px;
}

.urgency-icon {
    font-size: 1.8rem;
    animation: swing 1.5s infinite ease-in-out;
}

@keyframes swing {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(10deg);
    }
    75% {
        transform: rotate(-10deg);
    }
}

.urgency-content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.urgency-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.urgency-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--danger);
    background: linear-gradient(135deg, var(--warning) 0%, var(--danger) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.promo-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.35);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.promo-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(14, 165, 233, 0.45);
}

.promo-cta-button svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.promo-cta-button:hover svg {
    transform: translateX(5px);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Interactive Visual - стили остаются такими же как были */
.hero-visual-interactive {
    position: relative;
    min-height: 500px;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 1;
    animation: fadeInRight 0.8s ease-out 0.5s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Rest of the visual-interactive styles remain the same */
/* (Оставьте все стили для visual-before, visual-after, tooltips и т.д. как есть) */

/* =================================================================== */
/* RESPONSIVE DESIGN                                                   */
/* =================================================================== */

@media (max-width: 1200px) {
    .hero-title {
        font-size: clamp(2.4rem, 5vw, 4rem);
    }
    
    .hero-description {
        font-size: 1.15rem;
    }
}

@media (max-width: 1024px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-cards-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 50px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 1.05rem;
        margin-bottom: 30px;
    }
    
    .hero-features-grid {
        gap: 15px;
    }
    
    .feature-card {
        padding: 16px 20px;
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        padding: 16px 25px;
    }
    
    .hero-trust-line {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-promo-card {
        padding: 30px 25px;
    }
    
    .promo-card-header h3 {
        font-size: 1.4rem;
    }
    
    .free-text {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        padding: 8px 18px;
    }
    
    .badge-text {
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .feature-content strong {
        font-size: 1rem;
    }
    
    .hero-promo-card {
        padding: 25px 20px;
    }
    
    .promo-icon {
        font-size: 2rem;
    }
    
    .strike-price {
        font-size: 1.5rem;
    }
    
    .free-text {
        font-size: 2rem;
    }
}



/* =================================================================== */
/* СТИЛИ HERO-CARD (из старого style.css, НО С display: block)       */
/* =================================================================== */
.hero-card {
    display: block; /* <-- ИЗМЕНЕНО C 'none' */
    
    /* Эти стили взяты из старого .hero-card и хорошо работают с .glass */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 35px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: float 6s ease-in-out infinite;
    margin-top: 30px; /* Добавлено для отступа */
}

.hero-card h3 {
    font-size: 24px;
    color: var(--text-primary); /* Изменено с 'white' */
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-card .gift-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(10px);
    color: var(--text-secondary); /* Изменено с 'white' */
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-card .gift-box h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary); /* Добавлено */
}

.hero-card .gift-box p {
    font-size: 14px;
    opacity: 0.95;
}

.urgency-box {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 14px;
    color: var(--text-primary); /* Изменено с 'white' */
    font-weight: 600;
    text-align: center;
}

.urgency-number {
    color: var(--accent-color);
    font-size: 28px;
    font-weight: 900;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
    text-shadow: 0 2px 8px rgba(16, 185, 129, 0.5);
}



/* =================================================================== */
/* СТИЛИ TRUST SECTION (из medit_pro_light.html)                     */
/* =================================================================== */
.trust-section {
    padding: 40px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

.trust-badge svg {
    width: 32px;
    height: 32px;
    fill: var(--primary);
    flex-shrink: 0;
}

.trust-badge span {
    font-weight: 600;
    color: var(--text-primary);
}


/* =================================================================== */
/* ОБЩИЕ СТИЛИ СЕКЦИЙ (добавлены из medit)                          */
/* =================================================================== */
section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.02em;
}

p.section-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Общие стили для карточек (адаптированы) */
.feature-card, .client-card, .problem-card, .testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px var(--glass-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.feature-card:hover, .client-card:hover, .problem-card:hover, .testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.15);
}


/* =================================================================== */
/* СТИЛИ ДЛЯ СЕКЦИЙ (из старого style.css, но с новой темой)          */
/* =================================================================== */

/* Анимации из старого CSS */
@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}
@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
@keyframes countUp {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Clients Section */
.clients-section {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.client-card {
    text-align: center;
}

.client-icon {
    font-size: 42px;
    margin-bottom: 18px;
}

.client-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.client-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Features Section */
.features-section {
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    /* background: var(--bg-secondary); */ /* УБИРАЕМ эту строку, чтобы проявился "glass" */
    text-align: left; /* Меняем выравнивание */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.1), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 20px 0;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
    transition: all 0.3s;
    flex-shrink: 0; /* Добавлено */
}

.feature-card:hover .feature-icon {
    transform: scale(1.05) rotate(3deg);
}

.feature-icon svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: auto;
    padding-top: 16px;
}

/* Problems Section */
.problems-section {
    background: var(--bg-secondary);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.problem-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '👆 Нажмите';
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(14, 165, 233, 0.1);
    padding: 4px 8px;
    border-radius: 10px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.problem-card:hover::before {
    opacity: 1;
}

.problem-card.checked {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-color: var(--primary);
    transform: scale(1.03);
}

.problem-card.checked::before {
    content: '✓ Выбрано';
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.problem-card.checked h4,
.problem-card.checked p {
    color: white;
}

.problem-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.problem-card p {
    font-size: 13px;
    opacity: 0.9;
    color: var(--text-secondary);
    line-height: 1.6;
}

.checklist-counter {
    text-align: center;
    padding: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    margin-bottom: 25px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

/* Новые стили для динамического фидбэк-блока */
.checklist-feedback {
    padding: 25px 30px;
    border-radius: 18px;
    text-align: center;
    font-weight: 600;
    display: none; /* Управляется через JS */
    border: 1px solid;
    animation: scaleIn 0.4s ease-out;
    margin-top: 30px; /* Добавим отступ */
}

.checklist-feedback h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.checklist-feedback p {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 25px;
}

/* Уровень 1: Предупреждение (желтый) */
.checklist-feedback.level-1 {
    background: rgba(245, 158, 11, 0.05); /* Желтый фон */
    color: #B45309; /* Темно-желтый текст */
    border-color: rgba(245, 158, 11, 0.2);
}
.checklist-feedback.level-1 h4 {
    color: #92400E;
}

/* Уровень 2: Опасно (красный) */
.checklist-feedback.level-2 {
    background: rgba(239, 68, 68, 0.05); /* Красный фон */
    color: #991B1B; /* Темно-красный текст */
    border-color: rgba(239, 68, 68, 0.2);
    animation: shake 0.5s; /* Добавляем тряску */
}
.checklist-feedback.level-2 h4 {
    color: #B91C1C;
}

/* Уровень 3: Критично! (темно-красный) */
.checklist-feedback.level-3 {
    background: rgba(127, 29, 29, 0.1); /* Темно-красный фон */
    color: #7f1d1d; /* Очень темно-красный текст */
    border-color: rgba(127, 29, 29, 0.3);
    animation: shake 0.7s infinite; /* Постоянная тряска */
}
.checklist-feedback.level-3 h4 {
    color: #7f1d1d;
}

/* Стили для кнопки внутри фидбэка */
.checklist-feedback .btn-primary {
    font-size: 16px;
    padding: 14px 30px;
}

/* =================================================================== */
/* СТИЛИ КАЛЬКУЛЯТОРА (из medit_pro_light.html)                      */
/* =================================================================== */
.calculator-section {
    /* Обертка из старого CSS */
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
#calculator {
    background: transparent; /* Убираем фон у #calculator */
    padding: 100px 0;
}

/* Стили для h2 и p внутри секции калькулятора */
#calculator h2, #calculator .section-subtitle {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
#calculator .section-subtitle {
    opacity: 0.9;
}


.calculator {
    max-width: 550px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px var(--glass-shadow);
    border: 1px solid var(--glass-border);
}
.calc-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.calc-input-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.calc-input-group input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.calc-input-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.calc-result {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    border: 1px solid var(--glass-border);
}

.calc-result h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

.calc-result .calc-result-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.calc-result p {
    font-size: 0.9rem;
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 12px;
    border-radius: 8px;
}


/* =================================================================== */
/* СТИЛИ TESTIMONIALS (из старого style.css)                         */
/* =================================================================== */
.testimonials-section {
    background: var(--bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-card {
    background: var(--bg-secondary);
    position: relative;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    box-sizing: border-box;
}

/* Video Testimonial */
.testimonial-video {
    position: relative;
    background: var(--text-primary);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: transform 0.3s;
}

.testimonial-video:hover {
    transform: scale(1.02);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-placeholder::before {
    content: '▶';
    position: absolute;
    font-size: 50px;
    color: white;
    background: rgba(14, 165, 233, 0.9);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 8px;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
    transition: all 0.3s;
}

.video-placeholder:hover::before {
    transform: scale(1.1);
    background: var(--primary);
}

.video-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-quote {
    font-size: 42px;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: 15px;
    left: 25px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-info p {
    font-size: 13px;
    color: #94a3b8;
}

.stars {
    color: #fbbf24;
    font-size: 16px;
    margin-bottom: 18px;
}

/* =================================================================== */
/* СТИЛИ CTA (из старого style.css)                                  */
/* =================================================================== */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1.5" fill="white" opacity="0.1"/></svg>');
    opacity: 0.5;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    padding: 20px 28px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.countdown-number {
    font-size: 36px;
    font-weight: 900;
    color: white;
    display: block;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.countdown-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =================================================================== */
/* СТИЛИ ФОРМЫ (из medit_pro_light.html)                             */
/* =================================================================== */
#contact {
    background: var(--bg-secondary);
}

.multi-step-form {
    max-width: 550px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px var(--glass-shadow);
    border: 1px solid var(--glass-border);
}
/* Старые стили для заголовка формы */
.form-section .section-header {
    margin-bottom: 40px; /* Уменьшен отступ */
}
.form-section .section-header .section-description {
     margin-bottom: 0; /* Убран отступ */
}


.form-progress {
    margin-bottom: 40px;
}

.form-progress-bar {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.form-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    transition: width 0.3s ease;
}

.form-progress-steps {
    display: flex;
    justify-content: space-between;
}

.form-progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-progress-step.active {
    color: var(--primary);
    font-weight: 600;
}
/* Добавлен .completed из старого CSS */
.form-progress-step.completed {
    color: var(--accent-color);
}


.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--glass-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: white; /* Добавлено для читаемости */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-buttons {
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.btn-form {
    flex: 1;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-form-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.btn-form-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

.btn-form-secondary {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
}

/* =================================================================== */
/* СТИЛИ FOOTER (из medit_pro_light.html)                            */
/* =================================================================== */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 30px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.footer-section a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}


/* =================================================================== */
/* СТИЛИ POPUPS (из medit_pro_light.html)                            */
/* =================================================================== */

/* Live Activity */
.live-activity {
    position: fixed;
    bottom: 100px;
    left: 24px; /* Изменено с 'right' */
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border: 1px solid var(--glass-border);
    z-index: 999;
    opacity: 0;
    transform: translateX(-120%);
    transition: all 0.4s ease;
    max-width: 280px;
}

.live-activity.show {
    opacity: 1;
    transform: translateX(0);
}

.live-activity-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

.live-activity-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.live-activity-name {
    font-weight: 700;
    color: var(--text-primary);
}


/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    z-index: 998;
    box-shadow: 0 4px 24px rgba(14, 165, 233, 0.4);
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-cta-text {
    font-weight: 700;
    font-size: 15px;
}

.close-floating {
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Exit Popup */
.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.exit-popup.show {
    display: flex;
}

.exit-popup-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    padding: 48px;
    border-radius: var(--radius-lg);
    max-width: 550px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: slideUp 0.3s ease-out;
    border: 1px solid var(--glass-border);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-popup {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
}

.exit-popup h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.exit-popup p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 25px;
}


/* =================================================================== */
/* АДАПТИВНОСТЬ (смержено из 2х файлов)                            */
/* =================================================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: 90%;
        padding: 12px 20px;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    section {
        padding: 60px 0;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .hero-feature {
        font-size: 13px;
    }
        
    .hero-card {
        padding: 25px;
    }
    
    .hero-card h3 {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 15px;
    }
    
    .clients-grid,
    .features-grid,
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-inputs {
        grid-template-columns: 1fr;
    }
    
    .calc-result-amount {
        font-size: 36px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .testimonial-card.video-card {
        grid-column: auto;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .countdown-item {
        padding: 15px 22px;
    }
    
    .countdown-number {
        font-size: 28px;
    }
    
    .cta-section h2 {
        font-size: 32px;
    }
    
    .form-progress-step {
        font-size: 11px;
        padding: 5px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .floating-cta {
        bottom: 16px;
        right: 16px;
        padding: 12px 20px;
    }
    
    .floating-cta-text {
        font-size: 14px;
    }
    
    .live-activity {
        left: 16px;
        bottom: 80px;
        max-width: 260px;
        padding: 15px;
    }
    
    .exit-popup-content {
        padding: 30px 25px;
    }
    
    .exit-popup h2 {
        font-size: 26px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .multi-step-form {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .trust-badges {
        gap: 25px;
        grid-template-columns: 1fr; /* Изменено */
    }
    
    .trust-badge {
        font-size: 13px;
    }
}

/* =============================================================
  СТИЛИ ДЛЯ БЛОКА "ДО/ПОСЛЕ" (CSS)
  Вставьте этот код в ваш style.css
  =============================================================
/* =============================================================
  СТИЛИ ДЛЯ БЛОКА "ДО/ПОСЛЕ" (БЕЗ СТЕКЛЯННОГО ЭФФЕКТА)
  =============================================================
*/

.hero-visual-interactive {
    position: relative;
    min-height: 500px; 
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px; 
    z-index: 1;
    /* УБРАНЫ: backdrop-filter, border, box-shadow */
}

.visual-before, 
.visual-after {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 700px;
    height: 350px;
    object-fit: contain; 
    border-radius: var(--radius-lg, 24px); 
    /* УБРАНЫ: border и box-shadow для чистого вида */
    transition: opacity 0.7s ease, transform 0.7s ease;
    z-index: 2;
}

.visual-after {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.05); 
}

.visual-toggle {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary, #0ea5e9) 0%, var(--secondary, #06b6d4) 100%);
    color: white;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
    transition: all 0.3s ease;
    z-index: 4;
}

.visual-toggle:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.5);
}

.visual-toggle i {
    font-size: 1.2rem;
}

/* TOOLTIP СТИЛИ - УЛУЧШЕННЫЕ */
.tooltip {
    position: absolute;
    z-index: 5;
}

.tooltip-dot {
    width: 20px; 
    height: 20px;
    background: var(--accent, #10b981);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    cursor: pointer;
    animation: pulse-green 2s infinite;
    transition: transform 0.2s ease;
}

.tooltip-dot:hover {
    transform: scale(1.2);
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    50% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
}

.tooltip-text {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 16px 20px;
    border-radius: var(--radius-md, 16px);
    font-size: 0.9rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid rgba(148, 163, 184, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
    white-space: normal;
    width: 320px; 
    line-height: 1.6;
    color: var(--text-primary, #0f172a); 
}

.tooltip:hover .tooltip-text {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(-5px);
}

/* Контейнеры подсказок */
.visual-tooltips-before, 
.visual-tooltips {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease;
    z-index: 3;
}

.visual-tooltips-before {
    opacity: 1;
    pointer-events: auto;
}

.visual-tooltips {
    opacity: 0;
    pointer-events: none;
}

/* КРАСНЫЕ ТОЧКИ ДЛЯ "ДО" */
.visual-tooltips-before .tooltip-dot {
    background-color: var(--danger, #ef4444);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    50% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
}

.visual-tooltips-before .tooltip-text {
    border-color: rgba(239, 68, 68, 0.3);
}

/* ЗЕЛЕНЫЕ ТОЧКИ ДЛЯ "ПОСЛЕ" */
.visual-tooltips .tooltip-dot {
    background-color: var(--accent, #10b981);
}

.visual-tooltips .tooltip-text {
    border-color: rgba(16, 185, 129, 0.3);
}

/* ============================================= */
/* АДАПТИВНЫЕ СТИЛИ ДЛЯ HERO CARDS              */
/* ============================================= */

@media (max-width: 1024px) {
    .hero-cards-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual-interactive {
        min-height: 400px;
    }
    
    .visual-before, 
    .visual-after {
        width: 600px;
        height: 450px;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: clamp(2rem, 4vw, 2.8rem);
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .hero-cards-container {
        gap: 30px;
    }
    
    .hero-visual-interactive {
        min-height: 350px;
    }
    
    .visual-before, 
    .visual-after {
        width: 100%;
        max-width: 500px;
        height: auto;
        aspect-ratio: 4/3;
    }
    
    .tooltip-text {
        width: 260px;
        font-size: 0.85rem;
    }
    
    .visual-toggle {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-feature {
        padding: 12px 18px;
        font-size: 0.85rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .visual-before, 
    .visual-after {
        max-width: 100%;
    }
    
    .tooltip-text {
        width: 220px;
        font-size: 0.8rem;
        padding: 12px 16px;
    }
    
    .visual-toggle {
        padding: 12px 20px;
        font-size: 0.9rem;
        bottom: 15px;
    }
}
/* =================================================================== */
/* НОВЫЙ ДИЗАЙН HERO СЕКЦИИ (ШИКАРНЫЙ МАКЕТ)                       */
/* =================================================================== */

/* 1. Настраиваем саму секцию .hero */
.hero {
    display: grid; /* Используем grid для идеального центрирования */
    align-items: center;
    padding: 180px 0 120px; /* Даем больше воздуха */
}

/* 2. Новый 2-колоночный макет */
.hero-grid-layout {
    display: grid;
    grid-template-columns: 5fr 6fr; /* Асимметричная сетка (текст чуть уже) */
    align-items: center;
    gap: 60px; /* Больший отступ между колонками */
}

/* 3. Перенастраиваем левую колонку с текстом */
.hero-text-container {
    max-width: 100%; /* Убираем ограничение ширины */
    margin: 0; /* Убираем авто-отступы */
    text-align: left; /* ВЫРАВНИВАНИЕ ПО ЛЕВОМУ КРАЮ */
    margin-bottom: 0; /* Убираем отступ снизу */
}

/* 4. Делаем заголовок крупнее */
.hero-text-container h1 {
    font-size: clamp(3.2rem, 6vw, 4.8rem); /* Значительно крупнее */
    line-height: 1.1;
    letter-spacing: -0.04em;
}

/* 5. Выравниваем фичи и кнопки по левому краю */
.hero-text-container .hero-features,
.hero-text-container .hero-buttons {
    justify-content: flex-start;
}


/* 6. СТИЛИЗУЕМ ПРАВУЮ КОЛОНКУ (бывший .hero-cards-container) */
.hero-visual-stack {
    /* Мы переименовали .hero-cards-container в .hero-visual-stack в HTML */
    /* Убираем старые стили сетки */
    display: block;
    grid-template-columns: none;
    gap: 0;
    align-items: stretch;
    margin-top: 0;
}


/* 7. САМОЕ ВАЖНОЕ: РЕДИЗАЙН .hero-card (карточка аудита) */
.hero-card {
    display: block;
    background: var(--bg-primary); /* Плотный белый фон */
    backdrop-filter: none; /* Убираем прозрачность */
    -webkit-backdrop-filter: none;
    padding: 40px; /* Больше "воздуха" внутри */
    border-radius: var(--radius-lg); /* 24px */
    border: 1px solid var(--glass-border); /* Тонкая рамка */
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12); /* Шикарная тень */
    position: relative;
    animation: none; /* УБИРАЕМ ДРОЖАЩУЮ АНИМАЦИЮ, она дешевит */
    margin-top: 0;
    margin-bottom: 24px; /* Отступ от блока "До/После" */
    transition: all 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.hero-card h3 {
    font-size: 26px; /* Крупнее */
    color: var(--text-primary);
    margin-bottom: 24px;
    font-weight: 800;
}

/* 8. Редизайн блока "Подарок" */
.hero-card .gift-box {
    background: var(--bg-secondary); /* Светло-серый фон */
    backdrop-filter: none;
    color: var(--text-secondary);
    padding: 24px;
    border-radius: var(--radius-md); /* 16px */
    text-align: left;
    margin-bottom: 24px;
    border: 1px solid var(--glass-border);
}

.hero-card .gift-box h4 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

.hero-card .gift-box p {
    font-size: 16px;
    opacity: 1;
}

/* 9. Редизайн блока "Срочность" */
.urgency-box {
    background: rgba(245, 158, 11, 0.1); /* Желтый фон (warning) */
    backdrop-filter: none;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(245, 158, 11, 0.2);
    font-size: 16px;
    color: #B45309; /* Темно-желтый (warning-dark) */
    font-weight: 600;
    text-align: center;
}

.urgency-number {
    color: var(--warning); /* Яркий желтый */
    font-size: 28px;
    font-weight: 900;
    display: inline-block;
    animation: pulse 1.5s ease-in-out infinite; /* Оставим пульсацию */
    text-shadow: none; /* Убираем тень */
}


/* 10. Добавляем фон блоку "До/После" */
.hero-visual-interactive {
    /* Мы добавили класс .glass в HTML */
    min-height: 450px; /* Чуть меньше */
    padding: 24px;
    z-index: 1;
}

/* =================================================================== */
/* АДАПТАЦИЯ НОВОГО МАКЕТА                                            */
/* =================================================================== */

@media (max-width: 1024px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    /* 1. Переключаем на 1 колонку */
    .hero-grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* 2. Возвращаем текст в центр */
    .hero-text-container {
        text-align: center;
        max-width: 800px; /* Ограничиваем ширину */
        margin: 0 auto; /* Центрируем */
    }
    
    /* 3. Центрируем кнопки и фичи */
    .hero-text-container .hero-features,
    .hero-text-container .hero-buttons {
        justify-content: center;
    }

    /* 4. Убираем переименование (т.к. у вас уже есть этот код) */
    /* .hero-cards-container { ... } */
    /* Вместо этого мы просто позволим .hero-visual-stack жить своей жизнью */
}

@media (max-width: 768px) {
    .hero-text-container h1 {
        /* Стиль для h1 уже есть в вашем файле, можно не трогать */
        /* font-size: clamp(2rem, 4vw, 2.8rem); */
    }
    
    .hero-visual-stack {
        gap: 30px; /* У вас было .hero-cards-container */
    }
    
    .hero-card {
        padding: 32px; /* Чуть меньше паддинг на мобилках */
    }
}

/* Используем .calculator-container из вашего index.html */
.calculator-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

.calc-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.calc-input-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.calc-input-group input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.calc-input-group input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Стилизуем сам блок .calculator-result */
.calculator-result {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    border: 1px solid var(--glass-border);
}

/* Стилизуем <h3> (Ваши потери в месяц:) */
.calculator-result h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Стилизуем .calc-result-amount (сумма) */
.calculator-result .calc-result-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

/* Стилизуем <p> (Это только явные потери...) */
.calculator-result p {
    font-size: 0.9rem;
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 12px;
    border-radius: 8px;
}

/* Используем .form-container из вашего index.html */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

.btn-primary {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.35);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.45);
}

/* =================================================================== */
/* СТИЛИ ДЛЯ ЧЕКБОКСА ПОЛИТИКИ (ТРЕНД 2025)                          */
/* =================================================================== */

.form-group-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

/* Скрываем уродливый стандартный чекбокс */
.form-group-checkbox input[type="checkbox"] {
    display: none;
}

.form-group-checkbox label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    position: relative;
    padding-left: 30px; /* Место для кастомного чекбокса */
    cursor: pointer;
    margin: 0;
}

.form-group-checkbox a {
    color: var(--primary);
    text-decoration: underline;
}

/* Рисуем кастомный "бокс" */
.form-group-checkbox label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: var(--bg-tertiary);
    border: 2px solid var(--glass-border);
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Рисуем "галочку" (птичку) */
.form-group-checkbox label::after {
    content: '✓';
    position: absolute;
    left: 5px;
    top: 3px;
    font-size: 16px;
    font-weight: 900;
    color: white;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

/* Стили при нажатии */
.form-group-checkbox input[type="checkbox"]:checked + label::before {
    background: var(--primary);
    border-color: var(--primary-dark);
}

.form-group-checkbox input[type="checkbox"]:checked + label::after {
    opacity: 1;
    transform: scale(1);
}

/* Стиль для заблокированной кнопки */
button[type="submit"]:disabled {
    background: var(--text-muted);
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

button[type="submit"]:disabled:hover {
    transform: none;
    box-shadow: none;
}
/* =================================================================== */
/* СТИЛИ ДЛЯ VIDEO LIGHTBOX (ОТЗЫВ)                          */
/* =================================================================== */

.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Темнее, чем exit-popup */
    backdrop-filter: blur(10px);
    z-index: 10000; /* Выше чем exit-popup */
    display: none; /* Скрыто по умолчанию */
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-lightbox.show {
    display: flex;
    opacity: 1;
}

.video-lightbox-content {
    position: relative;
    width: 100%;
    max-width: 1100px; /* Большой плеер */
    background: #000;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    overflow: hidden;
}

.video-lightbox-close {
    position: absolute;
    top: -40px; /* *Над* плеером, чтобы не мешать */
    right: 0;
    background: none;
    border: none;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.video-lightbox-close:hover {
    opacity: 1;
}

/* Контейнер, держащий соотношение 16:9 */
#videoPlayerContainer {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

#videoPlayerContainer iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Адаптивность для кнопки "Закрыть" */
@media (max-width: 768px) {
    .video-lightbox-close {
        top: -35px;
        font-size: 2.5rem;
        color: #fff;
        background: rgba(0,0,0,0.3);
        border-radius: 50%;
        width: 35px;
        height: 35px;
        line-height: 35px;
        text-align: center;
        padding: 0;
    }
}