/* Combined styles for AiIn2Days project */

:root {
    /* Color roles */
    --bg: #0B0B0E;
    --surface: #111216;
    --surface-light: #1A1B22;
    --text: #FFFFFF;
    --text-muted: #A6A6B0;
    --brand: #FF5A3C;
    --primary: #FF5A3C; /* Duplicate of brand, keeping for backward compatibility */
    --brand-600: #E04E35;
    --brand-700: #C3452F;
    --accent: #00C2A8;
    --success: #22C55E;
    --warning: #F59E0B;
    --error: #EF4444;
    --border: #1E1F26;
    --overlay: rgba(0, 0, 0, .5);
    --header-bg: rgba(11, 11, 14, 0.9);
    --bg-dark: #0A0A0D;
    
    /* Typography (fluid scale) */
    --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
    --fs-900: clamp(40px, 5vw, 64px);
    --fs-800: clamp(32px, 4vw, 48px);
    --fs-700: 32px;
    --fs-600: 24px;
    --fs-500: 20px;
    --fs-450: 18px;
    --fs-400: 16px;
    --fs-350: 15px;
    --fs-300: 14px;
    --fs-200: 12px;
    --lh-tight: 1.15;
    --lh-normal: 1.4;
    --lh-loose: 1.6;

    /* Spacing and shapes */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 16px;
    --radius-2xl: 28px;
    --shadow-1: 0 6px 20px rgba(0, 0, 0, .25);
    --shadow-2: 0 12px 40px rgba(0, 0, 0, .35);
    --shadow-3: 0 15px 50px rgba(0, 0, 0, 0.2);

    /* Brand gradients */
    --grad-brand: linear-gradient(135deg, #FF7A3C 0%, #FF3C3C 60%, #E60026 100%);
    --grad-accent: linear-gradient(135deg, #00C2A8 0%, #00D9BC 100%);
    --grad-dark: linear-gradient(135deg, #111216 0%, #1A1B22 100%);

    /* SCA compatibility aliases (from sca-dark.css) */
    --color-accent: #FF3C1D;
    --color-accent-2: #FF5733;
    --color-accent-3: #FF8A3D;

    --text-100: #FFFFFF;
    --text-80:  #E6E6E6;
    --text-60:  #B3B3B3;
    --text-40:  #8A8A8A;

    /* background aliases that map to existing tokens where possible */
    --bg-100: var(--bg);
    --bg-90:  #141416;
    --bg-80:  #1A1A1C;

    --neon-blue:  #3D8CFF;
    --neon-cyan:  #00FFC6;
    --neon-violet: #B26BFF;
}

/* Global styles */
html {
    scroll-behavior: smooth;
    /* Prevent horizontal overflow on small screens */
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg);
    color: var(--text);
    line-height: var(--lh-normal);
    margin: 0;
    padding: 0;
    /* Prevent horizontal overflow */
    overflow-x: hidden;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
    /* Better font rendering on mobile */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Improve touch scrolling on iOS */
    -webkit-overflow-scrolling: touch;
}

/* ----- HEADER & NAVIGATION ----- */
.site-header {
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s;
}

/* Mobile menu toggle unified with mobile-menu-toggle */

/* ----- HERO SECTION ----- */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-16) var(--space-6);
    background: linear-gradient(135deg, #111216 0%, #0B0B0E 100%);
    padding-top: 60px;
}

.btn-primary {
    padding: var(--space-3) var(--space-8);
    font-size: var(--fs-400);
    font-weight: 600;
    color: white;
    background: var(--grad-brand);
    border: none;
    border-radius: var(--radius-2xl);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-decoration: none;
    box-shadow: var(--shadow-1);
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
    filter: brightness(1.05);
}

.btn-secondary {
    padding: var(--space-3) var(--space-8);
    font-size: var(--fs-400);
    font-weight: 600;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--text);
    border-radius: var(--radius-2xl);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-2px);
}

/* Hero styling updated to use background gradients more effectively */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 18, 22, 0.95) 0%, rgba(11, 11, 14, 0.9) 100%);
    z-index: 1;
}

/* ----- SECTION STYLES ----- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-4) var(--space-6);
}

.section-title {
    font-size: var(--fs-800);
    line-height: var(--lh-tight);
    margin-bottom: var(--space-8);
    color: var(--text);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--grad-brand);
    border-radius: 2px;
}

.section-subtitle {
    font-size: var(--fs-500);
    color: var(--text-muted);
    text-align: center;
    margin-bottom: var(--space-10);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ----- PRICING SECTION (COMPACT) ----- */
.pricing-section {
    background-color: var(--bg);
    padding: var(--space-8) 0;
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 90, 60, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(0, 194, 168, 0.03) 0%, transparent 30%);
    opacity: 0.8;
    z-index: 1;
}

.pricing-title {
    font-size: var(--fs-700);
    line-height: var(--lh-tight);
    margin-bottom: var(--space-8);
    color: var(--text);
    text-align: center;
    position: relative;
    z-index: 2;
}

.pricing-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--grad-brand);
    border-radius: 2px;
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: var(--space-4);
    background-color: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-1);
    margin-bottom: var(--space-8);
    position: relative;
    z-index: 2;
    border: 1px solid var(--border);
}

.pricing-details {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    position: relative;
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: var(--space-4);
    position: relative;
}

.price-old-large {
    font-size: 28px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: line-through;
    position: relative;
    margin-bottom: 0;
    opacity: 0.7;
}

.price-amount {
    font-size: 54px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(255, 90, 60, 0.3);
}

.price-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.feature-row {
    display: flex;
    gap: var(--space-2);
    align-items: flex-start;
    color: var(--text-muted);
    line-height: var(--lh-normal);
    padding: var(--space-1) 0;
}

.feature-dash {
    font-weight: 700;
    color: var(--brand);
    flex-shrink: 0;
}

.feature-text {
    font-size: calc(var(--fs-400) - 2px);
}

.btn-register {
    display: inline-block;
    max-width: 260px;
    text-align: center;
    padding: var(--space-3) var(--space-8);
    font-size: var(--fs-400);
    font-weight: 600;
    color: white;
    background: var(--grad-brand);
    border: none;
    border-radius: var(--radius-2xl);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-decoration: none;
    margin-top: var(--space-2);
    box-shadow: var(--shadow-1);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
    filter: brightness(1.05);
}

/* Gift container styling */
.gift-container {
    background-color: var(--surface-light);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    border: 1px solid var(--border);
    flex: 1;
    min-width: 320px;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-1);
}

.gift-title {
    font-size: var(--fs-500);
    color: var(--text);
    margin-bottom: var(--space-2);
    position: relative;
}

.gift-description {
    font-size: calc(var(--fs-400) - 2px);
    margin-bottom: var(--space-4);
    color: rgba(255, 255, 255, 0.7);
    line-height: var(--lh-normal);
}

.btn-gift {
    display: inline-block;
    text-align: center;
    padding: var(--space-3) var(--space-6);
    font-size: var(--fs-400);
    font-weight: 600;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-gift:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-1);
    background-color: rgba(255, 255, 255, 0.05);
}

/* ----- CURRICULUM SECTION (ULTRA-COMPACT) ----- */
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

/* Compact variant for curriculum — denser layout for Day 1/2 blocks */
.curriculum-grid.curriculum-compact {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.curriculum-grid.curriculum-compact .day-card {
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.14);
    min-height: 180px;
}

.curriculum-grid.curriculum-compact .day-header {
    padding: 8px 12px;
}

.curriculum-grid.curriculum-compact .day-number {
    font-size: 18px;
    font-weight: 700;
}

.curriculum-grid.curriculum-compact .day-topics {
    padding: 12px;
    gap: 10px;
}

.curriculum-grid.curriculum-compact .topic-item {
    gap: 10px;
    padding: 8px 6px;
    margin-bottom: 4px;
    align-items: center; /* center icons and multi-line titles */
}

.curriculum-grid.curriculum-compact .topic-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    font-size: 14px;
}

.curriculum-grid.curriculum-compact .topic-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
}

/* Mobile responsiveness fixes */
@media (max-width: 720px) {
    /* Container adjustments */
    .container { 
        padding-inline: var(--space-3); 
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* Hero section improvements */
    .hero { 
        padding: var(--space-8) var(--space-3);
        padding-top: 90px; 
        min-height: 70vh;
    }
    .hero-content { 
        flex-direction: column; 
        align-items: center; 
        gap: var(--space-6); 
        text-align: center;
    }
    .hero h1, .h1 { 
        font-size: clamp(28px, 8vw, 36px);
        line-height: 1.1;
        margin-bottom: var(--space-4);
    }
    .hero p {
        font-size: var(--fs-400);
        line-height: 1.5;
        margin-bottom: var(--space-6);
    }
    .hero-image { 
        max-width: 280px; 
        width: 100%; 
        height: auto;
        order: -1;
    }

    /* CTA buttons - stack vertically with proper spacing */
    .cta-buttons { 
        flex-direction: column; 
        width: 100%;
        gap: var(--space-3);
        align-items: center;
        max-width: 320px;
        margin: 0 auto;
    }
    .cta-buttons a, .btn-primary, .btn-secondary { 
        width: auto; 
        max-width: 280px;
        min-width: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        text-align: center; 
        padding: var(--space-2) var(--space-6);
        font-size: var(--fs-350);
        font-weight: 600;
        border-radius: var(--radius-xl);
        transition: all 0.3s ease;
        white-space: nowrap;
    }
    
    .btn-primary:hover, .btn-primary:focus {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 89, 54, 0.3);
        filter: brightness(1.05);
    }
    
    .btn-secondary:hover, .btn-secondary:focus {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--brand);
        color: var(--brand);
    }

    /* Section typography */
    .section-title, .h2 {
        font-size: clamp(24px, 6vw, 32px);
        text-align: center;
        margin-bottom: var(--space-6);
    }
    
    .section-text {
        font-size: var(--fs-400);
        text-align: center;
        margin-bottom: var(--space-8);
    }

    /* Curriculum: single column, better spacing */
    .curriculum-grid.curriculum-compact { 
        grid-template-columns: 1fr; 
        gap: var(--space-4);
        margin-top: var(--space-6);
    }
    .curriculum-grid.curriculum-compact .day-card { 
        min-height: auto;
        margin-bottom: var(--space-2);
    }
    .curriculum-grid.curriculum-compact .day-topics { 
        padding: var(--space-3);
    }
    .curriculum-grid.curriculum-compact .topic-item {
        padding: var(--space-2) 0;
        margin-bottom: var(--space-1);
    }

    /* Features grid - single column */
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    /* Stats section */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--space-3) !important;
    }
    
    /* Benefits section - single column */
    .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-4) !important;
        margin-top: var(--space-8) !important;
    }
    
    .benefit-card {
        min-height: 200px !important;
        margin-bottom: var(--space-4) !important;
        padding: var(--space-4) !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Curriculum accordion for mobile */
    .day-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        cursor: pointer !important;
        transition: background-color 0.3s ease !important;
        border-radius: var(--radius-md) !important;
        padding: var(--space-3) var(--space-4) !important;
    }
    
    .day-toggle {
        font-size: 16px !important;
        transition: transform 0.3s ease !important;
        color: var(--brand) !important;
        font-weight: bold !important;
    }
    
    .day-card.collapsed .day-toggle {
        transform: rotate(-90deg) !important;
    }
    
    .day-topics {
        overflow: hidden !important;
        transition: max-height 0.4s ease !important;
    }
    
    /* Pricing section buttons - compact like hero */
    .btn-register, .btn-gift {
        max-width: 200px !important;
        min-width: 160px !important;
        width: auto !important;
        padding: var(--space-1) var(--space-3) !important;
        font-size: var(--fs-300) !important;
        margin: 0 auto !important;
        display: block !important;
    }

    /* Pricing section improvements */
    .pricing-container {
        flex-direction: column;
        gap: var(--space-4);
        padding: 0 var(--space-3);
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .pricing-details {
        width: 100%;
        max-width: 100%;
        padding: var(--space-3);
        box-sizing: border-box;
        overflow: hidden;
    }
    .price-amount {
        font-size: 36px;
    }
    
    /* Gift container - prevent overflow */
    .gift-container {
        min-width: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: var(--space-3) !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .gift-description {
        font-size: var(--fs-300) !important;
        line-height: 1.4 !important;
        word-break: break-word !important;
    }
    
    /* Schedule section - prevent overflow */
    .schedule-container {
        flex-direction: column !important;
        align-items: center !important;
        gap: var(--space-3) !important;
        padding: 0 var(--space-2) !important;
    }
    
    .schedule-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
        padding: var(--space-3) !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Modal improvements */
    .modal-content { 
        width: 95% !important; 
        max-width: none;
        max-height: 90vh; 
        margin: 20px auto; 
        overflow-y: auto;
        padding: var(--space-4);
    }

    /* Footer improvements */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        text-align: center;
    }
    .footer-form { 
        display: flex; 
        flex-direction: column; 
        gap: var(--space-2);
    }

    /* Hide heavy animations */
    #particles-canvas { display: none !important; }
    
    /* Better touch targets for buttons */
    .btn-register, .btn-gift, .btn-header {
        min-height: 44px;
        padding: var(--space-2) var(--space-3);
        max-width: 200px;
        min-width: 160px;
        width: auto;
        font-size: var(--fs-300);
    }
    
    /* Schedule price fixes */
    .schedule-price {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
        margin-bottom: var(--space-3);
    }
    
    .price-new {
        font-size: var(--fs-500) !important;
        word-break: break-all !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    .price-old {
        font-size: var(--fs-400) !important;
    }
}

/* Header button styles for desktop */
.btn-header {
    display: inline-block;
    padding: var(--space-2) var(--space-6);
    background: var(--grad-brand);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-1);
    border: none;
    cursor: pointer;
    font-size: var(--fs-200);
    min-width: 140px;
    text-align: center;
    letter-spacing: 0.3px;
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
    filter: brightness(1.05);
}

.curriculum-grid.curriculum-compact .topic-description {
    display: none; /* keep descriptions hidden to retain compactness */
}

.day-card {
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.8), rgba(20, 20, 25, 0.9));
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
}

.day-header {
    background: linear-gradient(135deg, #FF5A3C 0%, #FF7A5A 100%);
    color: #fff;
    padding: 6px 10px;
    position: relative;
    overflow: hidden;
}

.day-toggle {
    display: none; /* Hidden by default on desktop */
    font-size: 16px;
    font-weight: bold;
    color: white;
    transition: transform 0.3s ease;
    user-select: none;
}

.day-number {
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.day-topics {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow: visible;
    height: auto;
}

.topic-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
    margin-bottom: 2px;
}

.topic-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.topic-icon {
    background-color: rgba(255, 255, 255, 0.08);
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.topic-content {
    flex: 1;
}

.topic-title {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 1px;
    line-height: 1.2;
}

.topic-description {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.2;
}

/* ----- SCHEDULE SECTION ----- */
.schedule-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 90, 60, 0.3) 0%, rgba(255, 90, 60, 0.8) 50%, rgba(255, 90, 60, 0.3) 100%);
    border-radius: 3px;
}

/* ----- FOOTER SECTION ----- */
.site-footer {
    background-color: #111216; /* Using direct color instead of var to ensure compatibility */
    color: rgba(255, 255, 255, 0.7);
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo-image {
    height: 36px;
    margin-right: 10px;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.footer-logo-accent {
    color: #FF5A3C;
}

.footer-tagline {
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s;
}

.social-link:hover {
    background-color: #FF5A3C;
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #FF5A3C;
}

.contact-icon {
    margin-right: 8px;
    opacity: 0.8;
}

.footer-form-col {
    grid-column: 4;
}

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-input {
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
}

.footer-input:focus {
    border-color: #FF5A3C;
    outline: none;
}

.footer-button {
    background: linear-gradient(135deg, #FF5A5F 0%, #FF7A5A 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.footer-button:hover {
    background: linear-gradient(135deg, #FF7A5A 0%, #FF5A5F 100%);
    transform: translateY(-2px);
}

.footer-form-note {
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.6;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 14px;
    opacity: 0.7;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: #FF5A3C;
}

/* ----- MODAL STYLES ----- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.95), rgba(15, 15, 20, 0.97));
    margin: 50px auto;
    max-width: 500px;
    width: 90%;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(128, 0, 255, 0.1);
    padding: 30px;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.4s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #fff;
}

.modal-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
    color: #fff;
    text-align: center;
}

.modal-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.7);
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    padding-right: 40px;
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    box-sizing: border-box;
    font-size: 16px;
    transition: all 0.3s;
}

.form-input:focus {
    border-color: rgba(255, 90, 95, 0.5);
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 90, 95, 0.2);
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.field-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 5px;
}

.required {
    color: #FF5A5F;
}

.form-submit {
    background: linear-gradient(135deg, #FF5A5F 0%, #FF7A5A 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 90, 95, 0.3);
}

.form-submit:hover {
    background: linear-gradient(135deg, #FF7A5A 0%, #FF5A5F 100%);
    box-shadow: 0 6px 20px rgba(255, 90, 95, 0.4);
    transform: translateY(-1px);
}

.form-agreement {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-top: 20px;
}

.form-agreement a {
    color: #FF5A5F;
    text-decoration: none;
    transition: color 0.2s;
}

.form-agreement a:hover {
    text-decoration: underline;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.success-icon {
    font-size: 50px;
    color: #00C2A8;
    margin-bottom: 20px;
    background-color: rgba(0, 194, 168, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 194, 168, 0.3);
    animation: success-pulse 2s infinite;
}

/* Gift specific success icon */
.gift-form-success .success-icon {
    color: #FF7A5A;
    background-color: rgba(255, 122, 90, 0.1);
    border: 2px solid rgba(255, 122, 90, 0.3);
    animation: gift-success-pulse 2s infinite;
}

/* ----- GALLERY STYLES ----- */
.gallery-zoom {
    background-color: rgba(255, 90, 60, 0.8);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    opacity: 0; 
    transform: scale(0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: scale(1);
}

.gallery-overlay {
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ----- ANIMATIONS & KEYFRAMES ----- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes success-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 194, 168, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 194, 168, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 194, 168, 0);
    }
}

@keyframes gift-success-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 122, 90, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 122, 90, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 122, 90, 0);
    }
}

@keyframes pulseGradient {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0;
    }
}

@keyframes glowPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

/* ----- RESPONSIVE STYLES ----- */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-form-col {
        grid-column: auto;
    }

    .hero-text h1 {
        font-size: var(--fs-700);
    }
    
    .hero-text p {
        font-size: var(--fs-400);
    }
    
    .cta-buttons {
        flex-wrap: wrap;
    }
    
    .section-title {
        font-size: var(--fs-700);
    }
}

@media (max-width: 768px) {
    /* Container overflow prevention */
    .container {
        overflow-x: hidden;
        box-sizing: border-box;
        padding-inline: var(--space-3);
    }
    
    .nav-links, .header-cta, .btn-header {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: var(--space-12) var(--space-4);
        padding-top: 100px;
        min-height: auto;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-8);
    }
    
    .hero h1, .h1 {
        font-size: var(--fs-800);
        line-height: 1.1;
        margin-bottom: var(--space-4);
    }
    
    .hero p {
        font-size: var(--fs-400);
        margin-bottom: var(--space-8);
    }
    
    .cta-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: var(--space-3);
        align-items: center;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .btn-primary, .btn-secondary {
        width: auto;
        max-width: 280px;
        min-width: 200px;
        justify-content: center;
        padding: var(--space-2) var(--space-6);
        font-size: var(--fs-350);
        font-weight: 600;
        min-height: 44px;
        border-radius: var(--radius-xl);
        transition: all 0.3s ease;
        cursor: pointer;
        white-space: nowrap;
    }
    
    .btn-primary:hover, .btn-primary:focus {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 89, 54, 0.3);
        filter: brightness(1.05);
    }
    
    .btn-secondary:hover, .btn-secondary:focus {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--brand);
        color: var(--brand);
    }
    
    .pricing-container {
        flex-direction: column;
        padding: 0 var(--space-4);
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .pricing-details {
        width: 100%;
        max-width: 100%;
        padding: var(--space-4);
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .price-amount {
        font-size: 42px;
    }
    
    .price-old-large {
        font-size: 24px;
    }
    
    /* Gift container - prevent overflow */
    .gift-container {
        min-width: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: var(--space-4) !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .gift-description {
        font-size: var(--fs-300) !important;
        line-height: 1.4 !important;
        word-break: break-word !important;
    }
    
    /* Schedule section - prevent overflow */
    .schedule-container {
        flex-direction: column !important;
        align-items: center !important;
        gap: var(--space-4) !important;
        padding: 0 var(--space-2) !important;
    }
    
    .schedule-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
        padding: var(--space-4) !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Don't override compact curriculum grid - let 720px rule handle it */
    .curriculum-grid:not(.curriculum-compact) {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    /* For non-compact curriculum, make these smaller */
    .curriculum-grid:not(.curriculum-compact) .topic-icon {
        width: 18px;
        height: 18px;
        min-width: 18px;
        font-size: 10px;
    }
    
    .curriculum-grid:not(.curriculum-compact) .topic-title {
        font-size: 12px;
    }
    
    /* Curriculum accordion for mobile */
    .day-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        cursor: pointer !important;
        transition: background-color 0.3s ease !important;
    }
    
    .day-header:hover {
        background-color: rgba(255, 255, 255, 0.05) !important;
    }
    
    .day-toggle {
        font-size: 14px !important;
        transition: transform 0.3s ease !important;
        color: var(--brand) !important;
    }
    
    .day-card.collapsed .day-toggle {
        transform: rotate(-90deg) !important;
    }
    
    .day-topics {
        overflow: hidden !important;
        transition: max-height 0.4s ease !important;
    }
    
    .day-card.collapsed .day-topics {
        max-height: 0px !important;
    }
    
    /* Benefits section - single column on mobile */
    .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-4) !important;
        margin-top: var(--space-8) !important;
    }
    
    .benefit-card {
        min-height: 180px !important;
        margin-bottom: var(--space-3) !important;
        padding: var(--space-4) !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Pricing section buttons - compact like hero */
    .btn-register, .btn-gift {
        max-width: 200px !important;
        min-width: 160px !important;
        width: auto !important;
        padding: var(--space-1) var(--space-3) !important;
        font-size: var(--fs-300) !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    .modal-content {
        padding: 20px 15px;
        margin: 20px auto;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-subtitle {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .registration-form {
        gap: 10px;
    }

    .form-submit {
        padding: 12px 15px;
    }
    
    .footer-top {
        padding: 40px 0 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .copyright {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    /* Ultra-small screens (phones in portrait) */
    .container {
        padding-inline: var(--space-2);
        overflow-x: hidden;
        box-sizing: border-box;
        max-width: 100%;
        width: 100%;
    }
    
    /* Hero adjustments for very small screens */
    .hero {
        padding: var(--space-6) var(--space-2);
        padding-top: 80px;
    }
    
    .hero h1, .h1 {
        font-size: clamp(24px, 7vw, 30px);
        line-height: 1.1;
    }
    
    .hero p {
        font-size: var(--fs-300);
        line-height: 1.4;
    }
    
    /* Typography for small screens */
    .section-title, .h2 {
        font-size: clamp(20px, 6vw, 28px);
        margin-bottom: var(--space-4);
    }
    
    .section-subtitle, .section-text {
        font-size: var(--fs-300);
    }
    
    /* Compact curriculum further adjustments */
    .curriculum-grid.curriculum-compact .day-number {
        font-size: 16px;
    }
    
    .curriculum-grid.curriculum-compact .topic-title {
        font-size: 14px;
        line-height: 1.2;
    }
    
    .curriculum-grid.curriculum-compact .topic-icon {
        width: 22px;
        height: 22px;
        min-width: 22px;
        font-size: 12px;
    }
    
    /* Stats grid - keep 2 columns even on small screens */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--space-2) !important;
    }
    
    /* Compact CTA buttons container */
    .cta-buttons {
        max-width: 280px;
        gap: var(--space-3);
        align-items: center;
    }
    
    /* Beautifully sized buttons */
    .btn-primary, .btn-secondary, .btn-register, .btn-gift {
        padding: var(--space-2) var(--space-5) !important;
        font-size: var(--fs-350) !important;
        font-weight: 600 !important;
        min-height: 42px !important;
        max-width: 260px !important;
        min-width: 180px !important;
        width: auto !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        border-radius: var(--radius-xl) !important;
        transition: all 0.3s ease !important;
        cursor: pointer;
        white-space: nowrap !important;
    }
    
    .btn-primary:hover, .btn-primary:focus {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(255, 89, 54, 0.3) !important;
        filter: brightness(1.05) !important;
    }
    
    .btn-secondary:hover, .btn-secondary:focus {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2) !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-color: var(--brand) !important;
        color: var(--brand) !important;
    }
    
    /* Compact curriculum accordion for small screens */
    .day-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        cursor: pointer !important;
        padding: var(--space-2) var(--space-3) !important;
        border-radius: var(--radius-md) !important;
    }
    
    .day-toggle {
        font-size: 14px !important;
        transition: transform 0.3s ease !important;
        color: var(--brand) !important;
    }
    
    .day-card.collapsed .day-toggle {
        transform: rotate(-90deg) !important;
    }
    
    .day-topics {
        overflow: hidden !important;
        transition: max-height 0.3s ease !important;
    }
    
    .curriculum-grid.curriculum-compact .topic-item {
        padding: var(--space-1) 0 !important;
        margin-bottom: var(--space-1) !important;
    }
    
    /* Benefits section - extra compact for small screens */
    .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-3) !important;
        margin-top: var(--space-6) !important;
    }
    
    .benefit-card {
        min-height: 160px !important;
        margin-bottom: var(--space-2) !important;
        padding: var(--space-3) !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Pricing section - extra compact */
    .pricing-container {
        padding: 0 var(--space-2) !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    
    .pricing-details {
        width: 100% !important;
        max-width: 100% !important;
        padding: var(--space-2) !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .price-features {
        width: 100% !important;
        overflow: hidden !important;
    }
    
    .feature-text {
        font-size: var(--fs-200) !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
    }
    
    /* Gift container - extra compact for small screens */
    .gift-container {
        min-width: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: var(--space-2) !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .gift-title {
        font-size: var(--fs-300) !important;
    }
    
    .gift-description {
        font-size: var(--fs-200) !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
        margin-bottom: var(--space-3) !important;
    }
    
    /* Schedule section - extra compact for small screens */
    .schedule-container {
        flex-direction: column !important;
        align-items: center !important;
        gap: var(--space-2) !important;
        padding: 0 var(--space-1) !important;
    }
    
    .schedule-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
        padding: var(--space-2) !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .schedule-time, .venue-link {
        font-size: var(--fs-200) !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
    }

    /* Modal - take up more screen space */
    .modal-content {
        width: 98% !important;
        margin: 10px auto;
        padding: var(--space-3);
    }
    
    .modal-title {
        font-size: var(--fs-500);
    }
    
    /* Footer improvements */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .footer-logo-text {
        font-size: var(--fs-300);
    }
    
    /* Pricing improvements for small screens */
    .price-amount {
        font-size: 32px;
    }
    
    .price-old-large {
        font-size: 20px;
    }
    
    /* Schedule price fixes for ultra-small screens */
    .schedule-price {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-1);
        margin-bottom: var(--space-2);
        width: 100%;
        overflow: hidden;
    }
    
    .price-new {
        font-size: var(--fs-400) !important;
        word-break: break-all !important;
        max-width: calc(100% - 20px) !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
    }
    
    .price-old {
        font-size: var(--fs-300) !important;
        word-break: break-all !important;
        max-width: calc(100% - 20px) !important;
    }
}

@media (max-width: 375px) {
    /* iPhone SE and similar very small screens */
    .container {
        padding-inline: var(--space-1);
        overflow-x: hidden;
        box-sizing: border-box;
        max-width: 100vw;
        width: 100%;
    }
    
    * {
        box-sizing: border-box;
    }
    
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
}


   /* Стили перемещены в файл styles.css */

        .header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
        }

        .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: var(--text);
            gap: var(--space-3);
        }

        .logo-image {
            height: 32px;
            width: auto;
        }

        .logo-text {
            font-size: var(--fs-400);
            font-weight: 700;
        }

        .logo-accent {
            color: var(--brand);
        }

        .main-nav {
            display: flex;
        }

        .nav-list {
            display: flex;
            list-style: none;
            padding: 0;
            margin: 0;
            gap: var(--space-8);
        }

        .nav-item {
            position: relative;
        }

        .nav-link {
            color: var(--text);
            text-decoration: none;
            font-size: var(--fs-300);
            font-weight: 500;
            transition: color 0.2s ease;
            padding: var(--space-1) 0;
            position: relative;
        }

        .nav-link:hover {
            color: var(--brand);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--grad-brand);
            transition: width 0.3s ease;
        }

        .nav-link:hover::after {
            width: 100%;
        }
        
        /* Hide mobile register button on desktop */
        .mobile-register-item {
            display: none;
        }

        /* .btn-header {
            display: inline-block;
            padding: var(--space-2) var(--space-6);
            background: var(--grad-brand);
            color: white;
            text-decoration: none;
            font-weight: 600;
            border-radius: var(--radius-lg);
            transition: all 0.3s ease;
            box-shadow: var(--shadow-1);
            border: none;
            cursor: pointer;
            font-size: var(--fs-200);
            min-width: 140px;
            text-align: center;
            letter-spacing: 0.3px;
        } */

        /* .btn-header:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-2);
            filter: brightness(1.05);
        } */

        .mobile-menu-toggle {
            display: none;
            background: transparent;
            border: none;
            cursor: pointer;
            width: 24px;
            height: 20px;
            position: relative;
            flex-direction: column;
            justify-content: space-between;
            padding: 0;
        }

        .menu-bar {
            display: block;
            height: 2px;
            width: 100%;
            background-color: var(--text);
            transition: all 0.3s ease;
        }

        @media (max-width: 991px) {
            .main-nav {
                display: none;
                width: 100%;
                margin-top: var(--space-4);
                order: 3;
            }

            .main-nav.active {
                display: block;
            }

            .nav-list {
                flex-direction: column;
                gap: var(--space-4);
                align-items: center;
            }

            .mobile-menu-toggle {
                display: flex;
                order: 2;
            }
            
            /* Hide desktop register button on mobile */
            .btn-header {
                display: none;
            }
            
            /* Show mobile register button only in mobile menu */
            .mobile-register-item {
                display: none;
                margin-top: var(--space-4);
                padding-top: var(--space-4);
                border-top: 1px solid var(--border);
                width: 100%;
            }
            
            .main-nav.active .mobile-register-item {
                display: block;
            }
            
            .btn-mobile-register {
                display: block;
                text-align: center;
                padding: var(--space-3) var(--space-6);
                background: var(--grad-brand);
                color: white;
                text-decoration: none;
                font-weight: 600;
                border-radius: var(--radius-lg);
                transition: all 0.3s ease;
                box-shadow: var(--shadow-1);
                width: 100%;
                max-width: 250px;
                margin: 0 auto;
            }
            
            .btn-mobile-register:hover {
                transform: translateY(-2px);
                box-shadow: var(--shadow-2);
                filter: brightness(1.05);
            }
        }

        @media (max-width: 576px) {
            .logo-text {
                font-size: var(--fs-300);
            }

            .logo-image {
                height: 28px;
            }
            
            /* Ensure mobile register button works on small screens */
            .btn-mobile-register {
                padding: var(--space-2) var(--space-4);
                font-size: var(--fs-300);
                min-width: 200px;
            }
        }

        /* Body styles defined globally above */

        /* Container styles defined globally above */

        /* Hero styles defined globally above */

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(17, 18, 22, 0.95) 0%, rgba(11, 11, 14, 0.9) 100%);
            z-index: 1;
        }

        #particles-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-12);
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: var(--space-12) 0;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-1);
    object-fit: cover;
}        .hero h1 {
            font-size: var(--fs-800);
            line-height: var(--lh-tight);
            margin-bottom: var(--space-6);
            color: var(--text);
            background: var(--grad-brand);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent;
            text-shadow: 0 0 10px rgba(255, 89, 54, 0.2);
        }

        .hero p {
            font-size: var(--fs-500);
            line-height: var(--lh-loose);
            margin-bottom: var(--space-12);
            color: var(--text-muted);
        }

        .cta-buttons {
            display: flex;
            gap: var(--space-8);
            justify-content: flex-start;
            flex-wrap: wrap;
        }

        .btn-primary {
            padding: var(--space-3) var(--space-8);
            font-size: var(--fs-400);
            font-weight: 600;
            background: var(--grad-brand);
            color: white;
            border: none;
            border-radius: var(--radius-2xl);
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
            box-shadow: var(--shadow-1);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: var(--space-4);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-2);
            filter: brightness(1.05);
        }

        .btn-secondary {
            padding: var(--space-3) var(--space-8);
            font-size: var(--fs-400);
            font-weight: 600;
            background: transparent;
            color: var(--text);
            border: 1px solid var(--text);
            border-radius: var(--radius-2xl);
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: var(--space-4);
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: var(--brand);
            color: var(--brand);
        }

        .section {
            padding: var(--space-16) var(--space-6);
            background-color: var(--surface);
            color: var(--text);
        }

        /* Section titles defined above */

        .section-text {
            font-size: var(--fs-400);
            line-height: var(--lh-loose);
            margin-bottom: var(--space-12);
            color: var(--text-muted);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: var(--space-8);
            margin-top: var(--space-12);
        }

        .feature-item {
            display: flex;
            align-items: flex-start;
            gap: var(--space-4);
            padding: var(--space-4) 0;
        }

        .feature-icon {
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: radial-gradient(circle at 30% 30%, #FF5A3C, transparent 70%);
            border-radius: 50%;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .feature-text {
            font-size: var(--fs-400);
            line-height: var(--lh-loose);
            color: var(--text);
        }

        .quotes-section {
            padding: var(--space-16) var(--space-6);
            text-align: center;
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, var(--surface) 0%, var(--surface-light) 80%, rgba(255, 90, 60, 0.1) 100%);
        }

        .quotes-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(255, 90, 60, 0.08) 0%, transparent 50%, rgba(0, 194, 168, 0.05) 100%);
            z-index: 1;
        }

        .quotes-container {
            position: relative;
            z-index: 2;
            max-width: 1000px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
        }

        .quote-bubble {
            display: inline-block;
            padding: var(--space-4) var(--space-6);
            margin: var(--space-6);
            border-radius: var(--radius-2xl);
            background: rgba(17, 18, 22, 0.8);
            border: 1px solid rgba(255, 90, 60, 0.15);
            color: var(--text);
            font-size: var(--fs-400);
            line-height: var(--lh-loose);
            position: relative;
            max-width: 280px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
            transform: rotate(-1deg);
            transition: all 0.3s ease;
            animation: float 4s infinite ease-in-out;
            animation-delay: calc(var(--delay) * 1s);
        }

        .quote-bubble:hover {
            transform: translateY(-5px) rotate(0);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
            z-index: 10;
        }

        @keyframes float {
            0% {
                transform: translateY(0) rotate(var(--rotate, -1deg));
            }

            50% {
                transform: translateY(-5px) rotate(calc(var(--rotate, -1deg) / 2));
            }

            100% {
                transform: translateY(0) rotate(var(--rotate, -1deg));
            }
        }

        .quote-bubble:nth-child(1) {
            border-left: 3px solid var(--brand);
            transform: rotate(1deg);
            --delay: 0;
        }

        .quote-bubble:nth-child(2) {
            border-top: 3px solid var(--accent);
            transform: rotate(-1deg);
            --delay: 0.5;
        }

        .quote-bubble:nth-child(3) {
            border-bottom: 3px solid var(--text-muted);
            transform: rotate(1deg);
            --delay: 1;
        }

        .quote-bubble:nth-child(4) {
            border-right: 3px solid var(--brand-600);
            transform: rotate(-1deg);
            --delay: 1.5;
        }

        .quote-bubble:nth-child(5) {
            border-left: 3px solid var(--accent);
            transform: rotate(1deg);
            --delay: 0.2;
        }

        .quote-bubble:nth-child(6) {
            border-bottom: 3px solid var(--brand);
            transform: rotate(-1deg);
            --delay: 0.8;
        }

        .quotes-message-wrapper {
            width: 100%;
            margin-top: var(--space-16);
            margin-bottom: var(--space-10);
            text-align: center;
            position: relative;
            z-index: 2;
        }

        .quote-message {
            font-weight: 600;
            margin: 0 auto;
            font-size: var(--fs-600);
            color: var(--text);
            display: inline-block;
            padding: var(--space-4) var(--space-8);
            position: relative;
            letter-spacing: 0.5px;
        }

        .quotes-btn {
            margin-top: var(--space-6);
            padding: var(--space-4) var(--space-10);
            font-size: var(--fs-500);
            box-shadow: var(--shadow-1);
        }

        .quotes-btn:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-2);
        }

        .quote-message::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: -4px;
            height: 2px;
            background: var(--grad-brand);
            border-radius: 1px;
        }

        @media (max-width: 1023px) {
            .features-grid {
                grid-template-columns: 1fr;
            }

            .quote-bubble {
                max-width: 220px;
                margin: var(--space-4);
            }

            .quotes-container {
                justify-content: space-around;
            }
        }

        @media (max-width: 599px) {
            .section {
                padding: var(--space-10) var(--space-4);
            }

            .section-title {
                font-size: var(--fs-700);
            }

            .section-text {
                font-size: var(--fs-300);
            }

            .quote-bubble {
                max-width: 90%;
                margin: var(--space-4) var(--space-2);
                font-size: var(--fs-300);
            }

            .quotes-container {
                flex-direction: column;
                align-items: center;
            }

            .quote-message {
                font-size: var(--fs-400);
            }

            .btn-primary {
                width: 100%;
                justify-content: center;
            }
        }

        @media (max-width: 1023px) {
            .hero {
                padding: var(--space-10) var(--space-4);
            }

            .hero h1 {
                font-size: var(--fs-700);
            }

            .hero-text {
                text-align: center;
                order: 2;
            }

            .hero-image {
                order: 1;
                margin-top: var(--space-8);
            }
        }

        @media (max-width: 599px) {
            .hero {
                padding: var(--space-8) var(--space-4);
            }

            .hero h1 {
                font-size: var(--fs-600);
            }

            .hero p {
                font-size: var(--fs-400);
            }

            .btn-primary,
            .btn-secondary {
                width: 100%;
                justify-content: center;
                margin-bottom: var(--space-4);
            }

            .hero-image {
                width: 100%;
                max-width: 300px;
            }
        }

        .quote-highlight {
            background-color: var(--bg);
            padding: var(--space-16) var(--space-6);
            text-align: center;
            position: relative;
            overflow: hidden;
            width: 100%;
            box-sizing: border-box;
        }

        .quote-highlight::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(255, 255, 255, 0.03);
            z-index: 1;
        }

        .quote-highlight-content {
            position: relative;
            z-index: 2;
            max-width: 900px;
            margin: 0 auto;
            font-size: var(--fs-700);
            line-height: var(--lh-normal);
            font-weight: 500;
            font-style: italic;
            padding: 0 var(--space-10);
            background: var(--grad-brand);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent;
            text-shadow: 0 0 10px rgba(255, 89, 54, 0.2);
            word-wrap: break-word;
            overflow-wrap: break-word;
            hyphens: auto;
            width: 100%;
            box-sizing: border-box;
        }

        .quote-highlight-content::before,
        .quote-highlight-content::after {
            content: '"';
            font-family: Georgia, serif;
            font-size: 4rem;
            line-height: 0;
            color: rgba(255, 255, 255, 0.2);
            position: absolute;
        }

        .quote-highlight-content::before {
            top: 0;
            left: 0;
        }

        .quote-highlight-content::after {
            bottom: -20px;
            right: 0;
        }

        .quote-author {
            position: relative;
            z-index: 2;
            margin-top: var(--space-6);
            color: var(--text-muted);
            font-size: var(--fs-400);
        }

        @media (max-width: 1023px) {
            .quote-highlight-content {
                font-size: var(--fs-600);
                padding: 0 var(--space-8);
            }
        }

        @media (max-width: 599px) {
            .quote-highlight {
                padding: var(--space-12) var(--space-3);
                overflow-x: hidden;
            }

            .quote-highlight-content {
                font-size: var(--fs-500);
                padding: 0 var(--space-4);
                max-width: 100%;
                word-break: break-word;
                overflow-wrap: anywhere;
            }

            .quote-highlight-content::before,
            .quote-highlight-content::after {
                font-size: 3rem;
            }
        }

        @media (max-width: 390px) {
            .quote-highlight {
                padding: var(--space-10) var(--space-2);
            }

            .quote-highlight-content {
                font-size: var(--fs-450);
                padding: 0 var(--space-2);
                line-height: 1.3;
            }

            .quote-highlight-content::before,
            .quote-highlight-content::after {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 375px) {
            .quote-highlight {
                padding: var(--space-8) var(--space-1);
                margin: 0;
            }

            .quote-highlight-content {
                font-size: var(--fs-400);
                padding: 0 var(--space-1);
                line-height: 1.2;
                max-width: calc(100vw - 16px);
                overflow-wrap: break-word;
                word-break: break-word;
                hyphens: auto;
            }

            .quote-highlight-content::before,
            .quote-highlight-content::after {
                font-size: 2rem;
                display: none; /* Hide quotes on very small screens */
            }
        }

        .stats-section {
            background-color: var(--surface);
            padding: var(--space-16) var(--space-6);
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .stats-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-size: cover;
            opacity: 0.05;
            z-index: 1;
        }

        .stats-container {
            position: relative;
            z-index: 2;
            max-width: 1200px;
            margin: 0 auto;
        }

        .stats-title {
            font-size: var(--fs-800);
            line-height: var(--lh-tight);
            margin-bottom: var(--space-12);
            color: var(--text);
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: var(--space-8);
            margin-top: var(--space-12);
        }

        .stat-card {
            background-color: #191A20;
            padding: var(--space-10) var(--space-8) var(--space-8);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-1);
            transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
            border: 1px solid #292A33;
        }

        .stat-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-2);
        }

        .stat-icon {
            width: 70px;
            height: 70px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #222329;
            color: var(--text);
            border-radius: 50%;
            margin: 0 auto var(--space-6);
            font-size: 1.8rem;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
        }

        .stat-number {
            font-size: var(--fs-700);
            font-weight: 700;
            color: #f0f0f0;
            margin-bottom: var(--space-2);
        }

        .stat-label {
            font-size: var(--fs-400);
            color: #9696A0;
            line-height: var(--lh-normal);
        }

        @media (max-width: 1023px) {
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 599px) {
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: var(--space-2);
            }

            .stat-card {
                padding: var(--space-6);
            }

            .stat-icon {
                width: 60px;
                height: 60px;
                font-size: 1.5rem;
            }

            .stat-number {
                font-size: var(--fs-600);
            }
        }

        /* Секция "Что вы получите на курсе" */
        .benefits-section {
            background-color: var(--surface);
            padding: var(--space-16) var(--space-6);
            position: relative;
            overflow: hidden;
            color: var(--text);
        }

        .benefits-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at center, rgba(255, 90, 60, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(0, 194, 168, 0.03) 0%, transparent 30%);
            opacity: 0.8;
            z-index: 1;
            animation: subtle-rotate 120s linear infinite;
        }

        @keyframes subtle-rotate {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        .benefits-container {
            position: relative;
            z-index: 2;
            max-width: 1200px;
            margin: 0 auto;
        }

        .benefits-title {
            font-size: var(--fs-800);
            line-height: var(--lh-tight);
            margin-bottom: var(--space-16);
            color: var(--text);
            text-align: center;
            position: relative;
        }

        .benefits-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--grad-brand);
            border-radius: 2px;
        }

        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: var(--space-10);
            margin-top: var(--space-16);
            perspective: 1000px;
        }

        .benefit-card {
            min-height: 280px;
            height: 100%;
            background: linear-gradient(145deg, rgba(40, 41, 50, 0.8), rgba(30, 31, 40, 0.6));
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-1);
            transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: var(--space-8);
            overflow: hidden;
            backdrop-filter: blur(10px);
            z-index: 2;
            border: 1px solid rgba(255, 255, 255, 0.05);
            transform-style: preserve-3d;
        }

        .benefit-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg,
                    rgba(255, 90, 60, 0) 0%,
                    rgba(255, 90, 60, 0.03) 50%,
                    rgba(255, 90, 60, 0) 100%);
            z-index: -1;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .benefit-card:hover {
            transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.2);
            border-color: rgba(255, 90, 60, 0.2);
        }

        .benefit-card:hover::before {
            opacity: 1;
        }

        .benefit-card:nth-child(even):hover {
            transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
        }

        .benefit-icon {
            position: absolute;
            font-size: 120px;
            opacity: 0.25;
            top: -20px;
            right: -20px;
            transform: rotate(10deg);
            transition: all 0.5s ease;
            z-index: 0;
            filter: grayscale(40%) brightness(120%) contrast(70%);
            -webkit-filter: grayscale(40%) brightness(120%) contrast(70%);
        }

        .benefit-card:hover .benefit-icon {
            transform: rotate(0) scale(1.1);
            opacity: 0.3;
            filter: grayscale(20%) brightness(130%) contrast(80%);
            -webkit-filter: grayscale(20%) brightness(130%) contrast(80%);
        }

        .benefit-content {
            position: relative;
            z-index: 1;
            text-align: center;
        }

        .benefit-title {
            font-size: var(--fs-600);
            font-weight: 600;
            color: var(--text);
            margin-bottom: var(--space-4);
            background: linear-gradient(90deg, #fff, #f5f5f5);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .benefit-text {
            font-size: var(--fs-400);
            line-height: var(--lh-normal);
            color: var(--text-muted);
            font-weight: 400;
            max-width: 320px;
            margin: 0 auto;
        }

        @media (max-width: 1023px) {
            .benefit-card {
                min-height: 230px;
            }
        }

        @media (max-width: 1200px) {
            .benefits-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 767px) {
            .benefits-grid {
                grid-template-columns: 1fr !important;
                gap: var(--space-4) !important;
                display: grid !important;
            }

            .benefit-card {
                width: 100% !important;
                margin-bottom: var(--space-4) !important;
                min-height: 180px !important;
                padding: var(--space-3) !important;
                box-sizing: border-box !important;
                overflow: hidden !important;
            }
        }

        /* Стили секции об авторе */
        .author-section {
            background-color: var(--bg);
            padding: var(--space-16) var(--space-6);
            position: relative;
            overflow: hidden;
        }

        /* Удалено фоновое изображение */

        .author-container {
            position: relative;
            z-index: 2;
            max-width: 1000px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--space-12);
        }

        .author-image-wrapper {
            flex: 0 0 280px;
        }

        .author-image {
            width: 100%;
            height: auto;
            border-radius: 50%;
            box-shadow: var(--shadow-2);
            border: 3px solid rgba(255, 89, 54, 0.3);
            aspect-ratio: 1/1;
            object-fit: cover;
        }

        .author-content {
            flex: 1;
            min-width: 300px;
        }

        .author-title {
            font-size: var(--fs-700);
            margin-bottom: var(--space-4);
            color: var(--text);
        }

        .author-name {
            font-size: var(--fs-600);
            margin-bottom: var(--space-4);
            color: var(--text);
            font-weight: 600;
        }

        .author-position {
            font-size: var(--fs-500);
            margin-bottom: var(--space-8);
            color: var(--brand);
            font-weight: 500;
        }

        .author-bio {
            font-size: var(--fs-400);
            line-height: var(--lh-loose);
            color: var(--text-muted);
        }

        @media (max-width: 767px) {
            .author-container {
                flex-direction: column;
                text-align: center;
            }

            .author-image-wrapper {
                max-width: 200px;
                margin: 0 auto;
            }
        }

        /* Curriculum Section */
        .curriculum-section {
            padding: var(--space-16) 0;
            background-color: var(--bg);
            position: relative;
            overflow: hidden;
        }

        .curriculum-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 20%, rgba(255, 90, 60, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 194, 168, 0.05) 0%, transparent 40%);
            z-index: 1;
        }

        .curriculum-title {
            font-size: var(--fs-800);
            margin-bottom: var(--space-12);
            text-align: center;
            position: relative;
            z-index: 2;
        }

        .curriculum-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--grad-brand);
            border-radius: 2px;
        }

        .curriculum-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: var(--space-8);
            position: relative;
            z-index: 2;
        }

        .day-card {
            background: var(--surface);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid var(--border);
        }

        .day-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
            border-color: rgba(255, 90, 60, 0.3);
        }

        .day-header {
            background: linear-gradient(90deg, var(--brand), var(--brand-600));
            padding: var(--space-6) var(--space-8);
            color: var(--text);
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        .day-header::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 150px;
            height: 150px;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
            opacity: 0.6;
            transform: translate(50%, -50%);
        }

        .day-number {
            font-size: var(--fs-600);
            font-weight: 700;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .day-date {
            font-size: var(--fs-400);
            opacity: 0.9;
            background-color: rgba(0, 0, 0, 0.2);
            padding: var(--space-2) var(--space-4);
            border-radius: var(--radius-md);
        }

        .day-topics {
            padding: var(--space-8) var(--space-6);
        }

        .topic-item {
            padding: var(--space-4) var(--space-6);
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            gap: var(--space-6);
            transition: background-color 0.2s ease;
        }

        .topic-item:hover {
            background-color: rgba(255, 255, 255, 0.03);
        }

        .topic-item:last-child {
            border-bottom: none;
        }

        /* Стиль для элементов с плюсиком (разделителей) */
        .topic-item:nth-child(6),
        .topic-item:nth-child(5)+.topic-item {
            padding: var(--space-2) var(--space-6);
            background-color: rgba(255, 255, 255, 0.02);
        }

        .topic-icon {
            font-size: 24px;
            color: var(--brand);
            background-color: rgba(255, 90, 60, 0.1);
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: var(--radius-md);
            flex-shrink: 0;
        }

        .topic-content {
            display: flex;
            flex-direction: column;
            gap: var(--space-2);
            flex: 1;
        }

        .topic-title {
            font-size: var(--fs-500);
            font-weight: 600;
            margin-bottom: var(--space-2);
            color: var(--text);
        }

        .topic-description {
            font-size: var(--fs-400);
            color: var(--text-muted);
            line-height: var(--lh-normal);
        }

        @media (max-width: 768px) {
            .curriculum-grid {
                grid-template-columns: 1fr;
            }

            .day-card {
                margin-bottom: var(--space-8);
            }

            .topic-item {
                flex-direction: column;
                align-items: flex-start;
            }

            .topic-icon {
                margin-bottom: var(--space-2);
            }

            .topic-title {
                font-size: var(--fs-400);
            }

            .topic-description {
                font-size: var(--fs-300);
            }
        }

        /* Секция стоимости */
        .pricing-section {
            background-color: var(--bg);
            padding: var(--space-16) 0;
            color: var(--text);
            position: relative;
            overflow: hidden;
        }

        .pricing-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at center, rgba(255, 90, 60, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(0, 194, 168, 0.03) 0%, transparent 30%);
            opacity: 0.8;
            z-index: 1;
        }

        .pricing-title {
            font-size: var(--fs-800);
            line-height: var(--lh-tight);
            margin-bottom: var(--space-12);
            color: var(--text);
            text-align: center;
            position: relative;
            z-index: 2;
        }

        .pricing-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--grad-brand);
            border-radius: 2px;
        }

        .pricing-container {
            display: flex;
            flex-wrap: wrap;
            align-items: stretch;
            gap: var(--space-8);
            background-color: var(--surface);
            border-radius: var(--radius-lg);
            padding: var(--space-8);
            box-shadow: var(--shadow-1);
            margin-bottom: var(--space-12);
            position: relative;
            z-index: 2;
            border: 1px solid var(--border);
        }

        .pricing-details {
            flex: 1;
            min-width: 320px;
            display: flex;
            flex-direction: column;
            gap: var(--space-8);
            position: relative;
        }

        .price-container {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            margin-bottom: var(--space-8);
            position: relative;
        }

        .price-old-large {
            font-size: 36px;
            font-weight: 500;
            color: var(--text-muted);
            text-decoration: line-through;
            position: relative;
            margin-bottom: var(--space-1);
            opacity: 0.7;
        }

        .price-amount {
            font-size: 72px;
            font-weight: 700;
            color: var(--text);
            line-height: 1;
            background: var(--grad-brand);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 4px 15px rgba(255, 90, 60, 0.3);
        }

        .price-features {
            display: flex;
            flex-direction: column;
            gap: var(--space-4);
        }

        .feature-row {
            display: flex;
            gap: var(--space-4);
            align-items: flex-start;
            color: var(--text-muted);
            line-height: var(--lh-normal);
            padding: var(--space-2) 0;
        }

        .feature-dash {
            font-weight: 700;
            color: var(--brand);
            flex-shrink: 0;
        }

        .feature-text {
            font-size: var(--fs-400);
        }

        .btn-register {
            display: inline-block;
            max-width: 260px;
            text-align: center;
            padding: var(--space-4) var(--space-10);
            font-size: var(--fs-500);
            font-weight: 600;
            color: white;
            background: var(--grad-brand);
            border: none;
            border-radius: var(--radius-2xl);
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
            text-decoration: none;
            margin-top: var(--space-4);
            box-shadow: var(--shadow-1);
        }

        .btn-register:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-2);
            filter: brightness(1.05);
        }

        /* Removed keyboard image styles */

        /* Schedule Section Styles */
        .schedule-section {
            padding: var(--space-16) 0;
            background-color: var(--bg-dark);
            position: relative;
            overflow: hidden;
            color: var(--text-light);
        }

        .schedule-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 30% 30%, rgba(255, 90, 60, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(0, 194, 168, 0.08) 0%, transparent 50%);
            z-index: 1;
        }

        .schedule-title {
            font-size: var(--fs-800);
            line-height: var(--lh-tight);
            margin-bottom: var(--space-4);
            color: var(--text-light);
            text-align: center;
            position: relative;
            z-index: 2;
        }

        .schedule-subtitle {
            font-size: var(--fs-500);
            color: var(--text-light-muted);
            text-align: center;
            margin-bottom: var(--space-12);
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            position: relative;
            z-index: 2;
        }

        .schedule-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: var(--space-8);
            position: relative;
            z-index: 2;
            margin-bottom: var(--space-12);
        }

        .schedule-card {
            flex: 1;
            min-width: 280px;
            max-width: 400px;
            background-color: var(--surface);
            border-radius: var(--radius-lg);
            padding: var(--space-6);
            box-shadow: var(--shadow-1);
            border: 1px solid var(--border);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            gap: var(--space-3);
            overflow: hidden;
            box-sizing: border-box;
            width: 100%;
        }

        .schedule-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-2);
        }

        .schedule-date {
            display: flex;
            align-items: center;
            gap: var(--space-3);
            margin-bottom: var(--space-2);
        }

        .schedule-date-text {
            font-size: var(--fs-600);
            font-weight: 700;
            color: var(--brand);
        }

        .schedule-icon {
            font-size: var(--fs-600);
        }

        .schedule-time {
            font-size: var(--fs-500);
            color: var(--text);
            margin-bottom: var(--space-4);
        }

        .schedule-format {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--space-3);
            font-size: var(--fs-400);
            color: var(--text-muted);
            margin-bottom: var(--space-4);
        }

        .format-option {
            display: flex;
            align-items: center;
            gap: var(--space-2);
        }

        .format-separator {
            position: relative;
            font-size: var(--fs-300);
            opacity: 0.7;
            padding: 0 var(--space-1);
        }

        .venue-link {
            color: var(--brand);
            text-decoration: none;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            gap: var(--space-1);
            position: relative;
        }

        .venue-link:hover {
            color: var(--brand-600);
            text-decoration: underline;
        }

        .venue-details {
            opacity: 0.7;
            font-size: 0.9em;
        }

        .format-icon {
            font-size: var(--fs-500);
        }

        .schedule-price {
            display: flex;
            align-items: center;
            gap: var(--space-4);
            margin-bottom: var(--space-4);
        }

        .price-old {
            font-size: var(--fs-500);
            text-decoration: line-through;
            color: var(--text-muted);
        }

        .price-new {
            font-size: var(--fs-600) !important;
            font-weight: 700;
            color: var(--text);
            background: var(--grad-brand);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%;
            word-break: break-all;
        }

        .schedule-seats {
            font-size: var(--fs-400);
            color: var(--text-muted);
            margin-bottom: var(--space-6);
        }

        .seats-count {
            font-weight: 700;
            color: var(--brand);
        }

        /* Removed individual schedule buttons */

        .schedule-cta {
            display: flex;
            justify-content: center;
            position: relative;
            z-index: 2;
            margin-top: var(--space-8);
        }

        .schedule-register {
            font-size: var(--fs-500);
            padding: var(--space-5) var(--space-16);
            margin-top: var(--space-4);
            min-width: 280px;
            letter-spacing: 0.5px;
            background: var(--grad-brand);
            color: white;
            border: none;
            border-radius: var(--radius-2xl);
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
            box-shadow: var(--shadow-1);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .schedule-register:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-2);
            filter: brightness(1.05);
        }

        .schedule-cta {
            display: flex;
            justify-content: center;
            margin-top: var(--space-8);
        }

        @media (max-width: 767px) {
            .schedule-container {
                flex-direction: column;
                align-items: center;
                gap: var(--space-3) !important;
                padding: 0 var(--space-2) !important;
            }

            .schedule-card {
                width: 100%;
                max-width: 100% !important;
                min-width: auto !important;
                padding: var(--space-3) !important;
                box-sizing: border-box !important;
                overflow: hidden !important;
            }
        }

        .gift-container {
            background-color: var(--surface-light);
            border-radius: var(--radius-lg);
            padding: var(--space-8);
            border: 1px solid var(--border);
            flex: 1;
            min-width: 320px;
            position: relative;
            z-index: 2;
            backdrop-filter: blur(10px);
            box-shadow: var(--shadow-1);
        }

        .gift-title {
            font-size: var(--fs-600);
            color: var(--text);
            margin-bottom: var(--space-4);
            position: relative;
        }

        .gift-title::after {
            content: '🎁';
            position: absolute;
            right: 0;
            top: 0;
            font-size: var(--fs-600);
            opacity: 0.8;
        }

        .gift-description {
            font-size: var(--fs-400);
            color: var(--text-muted);
            line-height: var(--lh-normal);
            margin-bottom: var(--space-6);
            max-width: 560px;
        }

        .btn-gift {
            display: inline-block;
            padding: var(--space-3) var(--space-8);
            font-size: var(--fs-400);
            font-weight: 600;
            color: var(--text);
            background-color: transparent;
            border: 1px solid var(--accent);
            border-radius: var(--radius-2xl);
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
            text-decoration: none;
        }

        .btn-gift:hover {
            background-color: rgba(0, 194, 168, 0.1);
            border-color: var(--accent);
            color: var(--accent);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 194, 168, 0.2);
        }

        @media (max-width: 768px) {
            .pricing-container {
                flex-direction: column;
                padding: var(--space-6);
            }

            .price-old-large {
                font-size: 28px;
            }

            .price-amount {
                font-size: 48px;
            }

            .gift-container {
                margin: 0;
                padding: var(--space-6);
                width: 100%;
            }

            .pricing-title {
                text-align: center;
                padding-left: 0;
            }

            .btn-register {
                width: 100%;
                max-width: 100%;
            }
        }

        /* Gallery Section Styles */
        .lessons-gallery-section {
            padding: var(--space-16) 0;
            background-color: var(--bg-dark);
            position: relative;
            overflow: hidden;
        }

        .lessons-gallery-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 30% 30%, rgba(255, 90, 60, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(0, 194, 168, 0.08) 0%, transparent 50%);
            z-index: 1;
        }

        .lessons-gallery-title {
            font-size: var(--fs-800);
            margin-bottom: var(--space-12);
            text-align: center;
            position: relative;
            z-index: 2;
            color: var(--text-light);
        }

        .lessons-gallery-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--grad-brand);
            border-radius: 2px;
        }

        .lessons-gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: var(--space-6);
            position: relative;
            z-index: 2;
        }

        .gallery-item {
            border-radius: var(--radius-md);
            overflow: hidden;
            position: relative;
            aspect-ratio: 16/9;
            box-shadow: var(--shadow-1);
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .gallery-item:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: var(--shadow-2);
        }

        .gallery-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .gallery-item:hover .gallery-image {
            transform: scale(1.05);
        }

        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.4);
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }

        .gallery-zoom {
            background-color: rgba(255, 90, 60, 0.8);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 24px;
            opacity: 0;
            transform: scale(0);
            transition: transform 0.3s ease 0.1s, opacity 0.3s ease;
        }

        .gallery-item:hover .gallery-zoom {
            transform: scale(1);
            opacity: 1;
        }

        /* Lightbox Styles */
        .lightbox {
            display: none;
            position: fixed;
            z-index: 1000;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            overflow: hidden;
        }

        .lightbox-content {
            position: relative;
            width: 90%;
            max-width: 1000px;
            margin: 40px auto;
            height: calc(100% - 80px);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .lightbox-image {
            max-width: 100%;
            max-height: 80vh;
            object-fit: contain;
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-md);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }

        .lightbox-close {
            position: absolute;
            top: -30px;
            right: 0;
            color: #fff;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            z-index: 1001;
            transition: color 0.3s;
        }

        .lightbox-close:hover {
            color: var(--brand);
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
        }

        .lightbox-prev,
        .lightbox-next {
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            font-size: 24px;
            cursor: pointer;
            margin: 0 var(--space-4);
            transition: background-color 0.3s, transform 0.3s;
        }

        .lightbox-prev:hover,
        .lightbox-next:hover {
            background-color: var(--brand);
            transform: scale(1.1);
        }

        @media (max-width: 767px) {
            .lessons-gallery-grid {
                grid-template-columns: 1fr 1fr;
            }

            .lightbox-content {
                width: 95%;
                margin: 20px auto;
                height: calc(100% - 40px);
            }

            .lightbox-prev,
            .lightbox-next {
                width: 40px;
                height: 40px;
                font-size: 18px;
            }
        }

        @media (max-width: 480px) {
            .lessons-gallery-grid {
                grid-template-columns: 1fr;
            }

            .lightbox-nav {
                position: relative;
                margin-top: var(--space-4);
            }
        }

        /* FAQ Section Styles */
        .faq-section {
            padding: var(--space-16) 0;
            background-color: var(--bg);
            position: relative;
            overflow: hidden;
        }

        .faq-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(255, 90, 60, 0.05) 0%, transparent 50%, rgba(0, 194, 168, 0.05) 100%);
            z-index: 1;
        }

        .faq-title {
            font-size: var(--fs-800);
            margin-bottom: var(--space-4);
            text-align: center;
            position: relative;
            z-index: 2;
            color: var(--text);
        }

        .faq-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--grad-brand);
            border-radius: 2px;
        }

        .faq-subtitle {
            font-size: var(--fs-500);
            color: var(--text-muted);
            text-align: center;
            margin-bottom: var(--space-12);
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            position: relative;
            z-index: 2;
        }

        .faq-container {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .faq-item {
            background-color: var(--surface);
            border-radius: var(--radius-md);
            margin-bottom: var(--space-4);
            overflow: hidden;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
        }

        .faq-item:hover {
            border-color: rgba(255, 90, 60, 0.3);
            box-shadow: var(--shadow-1);
        }

        .faq-question {
            padding: var(--space-6);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--text);
            font-weight: 600;
            font-size: var(--fs-500);
            transition: background-color 0.3s ease;
        }

        .faq-question:hover {
            background-color: rgba(255, 255, 255, 0.02);
        }

        .faq-icon {
            font-size: var(--fs-600);
            color: var(--brand);
            transition: transform 0.3s ease;
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            padding: 0 var(--space-6);
        }

        .faq-answer p {
            padding: 0 0 var(--space-6);
            color: var(--text-muted);
            line-height: var(--lh-normal);
            font-size: var(--fs-400);
        }

        .faq-item.active .faq-icon {
            transform: rotate(45deg);
        }

        .faq-item.active .faq-answer {
            max-height: 300px;
        }

        .faq-item.active {
            box-shadow: var(--shadow-1);
        }

        @media (max-width: 767px) {
            .faq-title {
                font-size: var(--fs-700);
            }

            .faq-subtitle {
                font-size: var(--fs-400);
            }

            .faq-question {
                font-size: var(--fs-400);
                padding: var(--space-4);
            }

            .faq-answer p {
                font-size: var(--fs-300);
            }
        }