/* ============================================
   EXACT PIXEL-PERFECT HERO SECTION COPY
   Reference Image Match - Left Aligned Layout
   ============================================ */

/* Navigation Bar - Top Right */
.hero-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 48px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 32px;
    background: transparent;
}

.hero-nav-link {
    color: #EAF0FF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.hero-nav-link:hover {
    color: #67E8F9;
}

.hero-nav-separator {
    color: rgba(234, 240, 255, 0.3);
    font-size: 16px;
}

.hero-nav-cta {
    padding: 12px 28px;
    /* SOLID blue background */
    background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%);
    border: 2px solid #67E8F9;
    border-radius: 100px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 25px rgba(103, 232, 249, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-nav-cta:hover {
    box-shadow: 0 0 35px rgba(103, 232, 249, 0.7);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
}

/* Hero Section - 2-Column Grid Layout */
[data-theme="futuristic"] .hero-section {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 120px 48px 80px;
    /* Enhanced 4-stop gradient for depth */
    background: linear-gradient(180deg,
            #0A0E27 0%,
            #0d1229 40%,
            #101633 70%,
            #131a3d 100%);
    position: relative;
    overflow: hidden;
}

/* Hero Content Wrapper - Left Column */
.hero-content-wrapper {
    position: relative;
    max-width: 700px;
    width: 100%;
    margin-left: 90px;
    z-index: 10;
    grid-column: 1;
    grid-row: 1;
}

/* Glassmorphic Hero Panel - EXACT MATCH */
.hero-glass-panel {
    position: relative;
    max-width: 900px;
    width: fit-content;
    padding: 60px 70px;
    background: rgba(16, 22, 51, 0.4);
    border: 2px solid #67E8F9;
    border-radius: 32px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 0 60px rgba(103, 232, 249, 0.25),
        inset 0 0 40px rgba(103, 232, 249, 0.05);
    margin-bottom: 40px;
}

/* Badge - AI-Powered Learning Platform */
[data-theme="futuristic"] .brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(103, 232, 249, 0.1);
    border: 1px solid rgba(103, 232, 249, 0.3);
    border-radius: 100px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

[data-theme="futuristic"] .brand-logo {
    height: 24px !important;
    width: auto !important;
    max-width: 24px !important;
    object-fit: contain !important;
}

[data-theme="futuristic"] .brand-text {
    font-size: 14px;
    font-weight: 500;
    color: #EAF0FF;
    letter-spacing: 0.02em;
}

/* LearnVaultX Brand Name - Inside Panel */
[data-theme="futuristic"] .brand-name {
    display: block;
    font-size: 72px;
    font-weight: 800;
    background: linear-gradient(135deg, #67E8F9 0%, #4DA3FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 0 60px rgba(103, 232, 249, 0.3);
    margin: 0;
}

/* Hero Headline - OUTSIDE Panel, Below It */
[data-theme="futuristic"] .hero-headline {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #EAF0FF;
    letter-spacing: -0.01em;
    max-width: 700px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Hero Description - OUTSIDE Panel */
[data-theme="futuristic"] .hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(234, 240, 255, 0.8);
    max-width: 600px;
    margin-bottom: 40px;
    font-weight: 400;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* CTA Buttons - OUTSIDE Panel */
[data-theme="futuristic"] .hero-cta {
    display: flex !important;
    gap: 20px;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex-wrap: wrap;
}

/* Primary Button - Get Started Free - EXACT MATCH */
[data-theme="futuristic"] .btn-hero-primary {
    padding: 16px 32px;
    /* SOLID blue background with gradient */
    background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%);
    border: 2px solid #67E8F9;
    border-radius: 100px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    /* Strong cyan glow */
    box-shadow: 0 0 30px rgba(103, 232, 249, 0.6), 0 0 60px rgba(103, 232, 249, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 56px;
}

[data-theme="futuristic"] .btn-hero-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(103, 232, 249, 0.2), rgba(77, 163, 255, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

[data-theme="futuristic"] .btn-hero-primary:hover {
    /* Intensified glow on hover */
    box-shadow: 0 0 40px rgba(103, 232, 249, 0.8), 0 0 80px rgba(103, 232, 249, 0.4);
    transform: scale(1.03);
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
}

[data-theme="futuristic"] .btn-hero-primary:hover::before {
    opacity: 1;
}

/* Secondary Button - See How It Works - EXACT MATCH */
[data-theme="futuristic"] .btn-hero-secondary {
    padding: 16px 32px;
    /* Dark semi-transparent background */
    background: rgba(10, 14, 39, 0.6);
    border: 2px solid rgba(103, 232, 249, 0.3);
    border-radius: 100px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 56px;
}

[data-theme="futuristic"] .btn-hero-secondary:hover {
    border-color: rgba(103, 232, 249, 0.5);
    background: rgba(10, 14, 39, 0.8);
    box-shadow: 0 0 25px rgba(103, 232, 249, 0.3);
}

/* Hero Video Container - Right Column, Flex Centered */
.hero-video-container {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: visible;
    z-index: 10;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-10px);
}

.hero-video-container:hover {
    box-shadow: none;
}

.hero-video {
    width: 90%;
    max-width: 520px;
    height: auto;
    min-height: 350px;
    object-fit: cover;
    display: block;
    border-radius: 0;
    /* Smooth edge fading on all sides using mask-image */
    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 8%, rgba(0, 0, 0, 1) 25%, rgba(0, 0, 0, 1) 85%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 8%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 70%, transparent 100%);
    -webkit-mask-composite: destination-in;
    mask-image:
        linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 8%, rgba(0, 0, 0, 1) 25%, rgba(0, 0, 0, 1) 85%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 8%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 70%, transparent 100%);
    mask-composite: intersect;
    opacity: 0.85;
    transition: opacity 0.4s ease;
}

.hero-video-container:hover .hero-video {
    opacity: 0.95;
}

/* Subtle ambient glow behind video - not a border */
.hero-video-container::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    background: radial-gradient(ellipse at center,
            rgba(103, 232, 249, 0.08) 0%,
            rgba(77, 163, 255, 0.04) 40%,
            transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: -1;
}

/* Remove the old overlay - no borders to blend */
.hero-video-container::after {
    content: none;
}

/* Light Trail Arc - Full width ambient glow, no partition */
.light-arc-sweep {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 75% 40%, rgba(103, 232, 249, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 60%, rgba(77, 163, 255, 0.05) 0%, transparent 45%),
        radial-gradient(ellipse at 30% 30%, rgba(138, 70, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
    opacity: 1;
    grid-column: 1 / -1;
}

/* Star Dust Particles - Enhanced Density - EXACT MATCH */
[data-theme="futuristic"] .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 10+ layers for denser star field */
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.25), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.25), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 33% 80%, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(1px 1px at 15% 90%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(3px 3px at 40% 20%, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(2px 2px at 70% 40%, rgba(255, 255, 255, 0.18), transparent),
        radial-gradient(1px 1px at 25% 60%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 85% 85%, rgba(255, 255, 255, 0.22), transparent),
        radial-gradient(1px 1px at 10% 40%, rgba(255, 255, 255, 0.18), transparent);
    background-size:
        200px 200px, 250px 250px, 180px 180px, 220px 220px,
        190px 190px, 240px 240px, 210px 210px, 230px 230px,
        195px 195px, 215px 215px, 205px 205px, 225px 225px;
    background-repeat: repeat;
    pointer-events: none;
    z-index: 1;
    /* Increased opacity for visibility */
    opacity: 0.5;
}

/* Responsive Adjustments */
@media (max-width: 1400px) {
    .hero-content-wrapper {
        margin-left: 60px;
    }

    .hero-video {
        max-width: 460px;
        min-height: 320px;
    }
}

@media (max-width: 1200px) {
    .hero-content-wrapper {
        margin-left: 40px;
    }

    .hero-video {
        max-width: 400px;
        min-height: 280px;
    }

    .hero-glass-panel {
        padding: 50px 60px;
        max-width: 800px;
    }

    [data-theme="futuristic"] .brand-name {
        font-size: 60px;
    }

    [data-theme="futuristic"] .hero-headline {
        font-size: 40px;
    }
}

@media (max-width: 992px) {
    .hero-content-wrapper {
        margin-left: 24px;
        margin-right: 24px;
    }

    .hero-video {
        max-width: 320px;
        min-height: 230px;
    }

    .hero-glass-panel {
        padding: 40px 50px;
    }

    [data-theme="futuristic"] .brand-name {
        font-size: 52px;
    }

    [data-theme="futuristic"] .hero-headline {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .hero-nav {
        padding: 20px 24px;
        gap: 16px;
    }

    .hero-nav-link {
        font-size: 14px;
    }

    .hero-nav-cta {
        padding: 10px 20px;
        font-size: 14px;
    }

    [data-theme="futuristic"] .hero-section {
        padding: 100px 24px 60px;
        grid-template-columns: 1fr;
    }

    .hero-content-wrapper {
        margin-left: 0;
        margin-right: 0;
        grid-column: 1;
    }

    .hero-glass-panel {
        padding: 40px 32px;
        border-radius: 24px;
        max-width: 100%;
    }

    [data-theme="futuristic"] .brand-name {
        font-size: 48px;
    }

    [data-theme="futuristic"] .hero-headline {
        font-size: 32px;
    }

    [data-theme="futuristic"] .hero-description {
        font-size: 16px;
    }

    .hero-video-container {
        grid-column: 1;
        grid-row: auto;
        min-height: 260px;
        height: auto;
        margin: 16px auto 0;
        pointer-events: auto;
        transform: none;
    }

    .hero-video {
        max-width: 100%;
        min-height: 240px;
        -webkit-mask-image:
            linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0.5) 95%, transparent 100%),
            linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 60%, transparent 100%);
        mask-image:
            linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0.5) 95%, transparent 100%),
            linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 60%, transparent 100%);
    }

    .light-arc-sweep {
        display: none;
    }

    [data-theme="futuristic"] .hero-cta {
        flex-direction: column;
        gap: 16px;
    }

    [data-theme="futuristic"] .btn-hero-primary,
    [data-theme="futuristic"] .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-glass-panel {
        padding: 32px 24px;
    }

    [data-theme="futuristic"] .brand-name {
        font-size: 40px;
    }

    [data-theme="futuristic"] .hero-headline {
        font-size: 28px;
    }

    [data-theme="futuristic"] .brand-badge {
        padding: 10px 20px;
    }

    [data-theme="futuristic"] .brand-text {
        font-size: 12px;
    }
}