/* SPARK Premium Long Landing Page Styles - FINAL CLEANUP */

:root {
    --premium-dark: #0B0F19;      /* Main Background */
    --premium-dark-lighter: #111827; /* Cards Background */
    --premium-gold: #D4AF37;      /* Primary Accent */
    --premium-gold-dim: rgba(212, 175, 55, 0.1);
    --premium-text: #F8FAFC;      /* Light Text */
    --premium-text-muted: #94A3B8;
    --success-green: #10B981;
    --danger-red: #EF4444;
}

/* --- TYPOGRAPHY & BASE --- */
body.long-page {
    background-color: #FAFAFA;
    color: #1E293B;
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

.text-gold { color: var(--premium-gold) !important; }
.bg-dark { background-color: var(--premium-dark); color: white; }

/* --- SECTION SYSTEM --- */
.section-wrapper {
    position: relative;
    padding-top: 4rem;
    z-index: 10;
}

.section-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: 2rem;
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    background: white;
    color: var(--premium-gold);
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    position: relative;
    top: -2rem; /* Bridge sections */
    z-index: 20;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    box-sizing: border-box; /* Fix sizing */
}

.container.center { text-align: center; }

/* --- NAVBAR (Fixed & Premium) --- */
.navbar {
    height: 70px; /* Slight increase */
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #1E293B;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--premium-gold); }

.est-badge {
    font-size: 0.55rem;
    color: #64748B;
    background: #F1F5F9;
    border: none;
    padding: 3px 6px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* On very small screens, hide EST to preserve layout */
@media (max-width: 400px) {
    .est-badge { display: none; }
}

.nav-cta {
    background: var(--premium-gold) !important; /* Gold background for visibility */
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px; /* Pill shape */
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
    transition: all 0.3s;
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.3);
}

/* --- HERO SECTION --- */
.hero-long {
    min-height: 90vh;
    padding-top: 80px; /* Navbar buffer */
    padding-bottom: 4rem;
    /* Fixed path: ../images/ not ../../images/ */
    background: 
        linear-gradient(to bottom, rgba(2, 6, 23, 0.85), rgba(2, 6, 23, 0.95)), 
        url('../images/spark_hero_modern.png') center/cover no-repeat;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    z-index: 10;
}

.hero-long h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    color: white;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #B4962E 100%);
    color: white;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
    filter: brightness(1.1);
}

.btn-outline-gold {
    background: rgba(255,255,255,0.05);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-gold:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
    transform: translateY(-2px);
}

.hero-sub {
    margin-top: 4rem;
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #E2E8F0;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.hero-sub:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(3px);
}

.scroll-arrow {
    font-size: 0.7rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-5px);}
    60% {transform: translateY(-3px);}
}

/* --- PAIN / CONTEXT --- */
.section-context {
    background: #FAFAFA;
    margin-top: -3rem; /* Overlap Hero */
    border-radius: 30px 30px 0 0;
    padding-bottom: 6rem;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pain-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    transition: transform 0.3s, box-shadow 0.3s;
}
.pain-card:hover { 
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06); 
    border-color: var(--premium-gold);
}
.pain-icon { font-size: 2.5rem; display: block; margin-bottom: 1rem; }

/* --- QUIZ --- */
.quiz-section {
    padding: 6rem 0;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
}
.quiz-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.quiz-options-col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}
.quiz-btn {
    padding: 1.5rem 1rem;
    border-radius: 12px;
    border: 2px solid #E2E8F0;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    height: 100%;
}
.quiz-btn:hover { border-color: var(--premium-gold); background: #FFFCF5; }

/* --- CALCULATOR --- */
.calc-section { padding: 8rem 0; background: var(--premium-dark); color: white; }
.calc-wrapper {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 4rem;
    max-width: 1000px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.loss-display {
    background: rgba(0,0,0,0.3);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(239, 68, 68, 0.3);
    text-align: center;
}
.loss-amount { font-size: 3.5rem; color: var(--danger-red); font-weight: 700; margin: 1rem 0; }
.calc-range { width: 100%; margin: 1rem 0; }

/* --- METHOD (SNAKE) --- */
.section-method { padding: 6rem 0; background: #FAFAFA; }
.method-snake { max-width: 800px; margin: 4rem auto 0; }
.snake-item { display: flex; align-items: center; gap: 2rem; margin-bottom: 4rem; }
.snake-item:nth-child(even) { flex-direction: row-reverse; }
.snake-icon {
    width: 80px; height: 80px;
    background: white;
    border-radius: 20px;
    display: flex; justify-content: center; align-items: center;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

/* --- CAROUSEL --- */
.section-proof { padding: 6rem 0; background: #F8FAFC; overflow: hidden; }
.carousel-container { position: relative; max-width: 900px; margin: 3rem auto 0; }
.carousel-track-container {
    overflow: hidden;
    padding: 2rem; /* Increased padding to prevent shadow clipping */
    margin: -2rem; /* Pull back to offset padding layout shift if needed, or just let it breathe */
}
.carousel-track { display: flex; transition: transform 0.5s ease; gap: 0; }
.carousel-slide { min-width: 100%; flex: 0 0 100%; padding: 0 10px; box-sizing: border-box; }
.case-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 400px;
    position: relative;
}
.case-visual { background-size: cover; background-position: center; position: relative; }
.case-content { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: white; border: 1px solid #E2E8F0;
    width: 44px; height: 44px; border-radius: 50%;
    cursor: pointer; z-index: 5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.btn-left { left: -20px; } .btn-right { right: -20px; }

/* --- WHY US (GRID) --- */
.section-why { background: var(--premium-dark); color: white; padding: 8rem 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 4rem; }
.why-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
}
.why-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-5px); }
.why-icon { font-size: 2rem; margin-bottom: 1.5rem; display: inline-block; }

/* --- WHO FOR --- */
.section-who { padding: 6rem 0; background: white; }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; max-width: 1000px; margin: 0 auto; }
.who-col h3 { font-size: 1.4rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; font-size: 1.1rem; line-height: 1.5; color: #334155; }
.check-icon { color: var(--success-green); font-weight: bold; min-width: 24px; margin-top: 2px; }
.cross-icon { color: var(--danger-red); font-weight: bold; min-width: 24px; margin-top: 2px; }

/* --- FAQ --- */
.faq-container { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: white; border-radius: 12px; border: 1px solid #E2E8F0; overflow: hidden; }
.faq-question { width: 100%; padding: 1.5rem; background: none; border: none; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; text-align: left;}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s; background: #F8FAFC; }
.faq-answer p { padding: 1.5rem; margin: 0; color: #475569; }
.faq-item.active .faq-answer { max-height: 500px; border-top: 1px solid #E2E8F0; }

/* --- GENERIC BUTTONS (OFFER) --- */
.btn-outline {
    background: white; color: #1E293B; border: 1px solid #E2E8F0;
    padding: 0.8rem 1.5rem; border-radius: 8px; font-weight: 600;
    text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--premium-gold); color: var(--premium-gold); }

/* =========================================
   MOBILE RESPONSIVENESS (BREAKPOINT 768px)
   ========================================= */
/* Mobile Menu Button - Hidden by default */
.mobile-menu-btn { display: none; }
.mobile-menu { display: none; }

@media (max-width: 768px) {
    /* Navbar */
    .navbar { height: 60px; padding: 0; }
    .nav-container { padding: 0 1rem; width: 100%; box-sizing: border-box; }
    .nav-links { display: none; } /* Hide desktop links */
    
    /* Hamburger Button */
    .mobile-menu-btn {
        display: flex; flex-direction: column; justify-content: space-between;
        width: 30px; height: 20px;
        background: none; border: none; cursor: pointer;
        padding: 0; z-index: 1100;
    }
    .mobile-menu-btn span {
        width: 100%; height: 2px;
        background-color: var(--premium-dark);
        transition: all 0.3s;
    }
    .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

    /* Mobile Menu Overlay */
    .mobile-menu {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        z-index: 1000;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .mobile-menu.active { transform: translateY(0); }
    
    .mobile-menu a {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--premium-dark);
        text-decoration: none;
        font-family: 'Outfit', sans-serif;
    }
    .mobile-cta {
        background: var(--premium-gold);
        color: white !important;
        padding: 1rem 2rem;
        border-radius: 50px;
        margin-top: 1rem;
    }

    /* Hero */
    .hero-long { padding-top: 100px; min-height: auto; }
    .hero-long h1 { font-size: 2.5rem; margin-bottom: 2rem; }
    .hero-actions { flex-direction: column; gap: 1rem; width: 100%; }
    .btn-gold, .btn-outline-gold { width: 100%; padding: 1rem; box-sizing: border-box; }
    
    /* Layout Grids */
    .quiz-options-col { grid-template-columns: 1fr; }
    .calc-wrapper { grid-template-columns: 1fr; padding: 2rem; gap: 2rem; }
    .why-grid { grid-template-columns: 1fr; }
    .who-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    /* Carousel */
    .case-card { grid-template-columns: 1fr; height: auto; }
    .case-visual { height: 200px; width: 100%; }
    
    /* Move arrows inside & Style properly */
    .carousel-btn { 
        display: flex !important; 
        justify-content: center !important; 
        align-items: center !important;
        width: 36px; height: 36px; 
        background: rgba(255,255,255,0.9); /* More opaque */
        border: 1px solid #E2E8F0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 10;
        top: 50% !important;
        transform: translateY(-50%) !important;
        position: absolute !important;
    } 
    .btn-left { left: 10px !important; } 
    .btn-right { right: 10px !important; }
    
    /* Method & Offers */
    .snake-item, .snake-item:nth-child(even) { flex-direction: column; text-align: center; gap: 1.5rem; }
    
    .grid-split { 
        display: flex !important;
        flex-direction: column !important; 
        align-items: center !important; 
        gap: 2rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }
    
    /* Reset transform on big card for mobile to avoid alignment issues & Force Centering */
    .grid-split > div { 
        transform: none !important; 
        width: 100% !important; 
        max-width: 400px !important; /* Prevent too wide on tablets/mobile */
        box-sizing: border-box !important;
        margin: 0 auto !important;
        padding: 2rem !important; /* Reduce padding on mobile */
    }
}
