:root {
    --brand-blue: #6CBCE2;
    --brand-yellow: #F9D12D;
    --brand-dark: #333333;
    --text-slate: #555555;
    --white: #FFFFFF;
    --bg-light: #F4F8FA;
    
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-premium: 0 30px 60px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-slate);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--brand-dark);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.mt-5 { margin-top: 3rem; }
.max-w-800 { max-width: 800px; margin: 0 auto; }

/* Header */
header {
    background: var(--brand-blue);
    padding: 1.5rem 0;
    position: absolute;
    width: 100%;
    z-index: 100;
}

header.scrolled {
    position: fixed;
    background: rgba(108, 188, 226, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: -1px;
}

.logo span { color: var(--brand-dark); }

.nav-links a {
    color: white;
    text-decoration: none;
    margin: 0 1.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: var(--transition);
}

.nav-links a:hover { opacity: 1; text-shadow: 0 0 10px rgba(255,255,255,0.5); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Outfit';
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-yellow {
    background-color: var(--brand-yellow);
    color: var(--brand-dark);
    box-shadow: 0 8px 15px rgba(249, 209, 45, 0.3);
}

.btn-yellow:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(249, 209, 45, 0.4);
}

/* Hero V3 (Learning to Build Inspired) */
.hero-v3 {
    background: linear-gradient(180deg, var(--brand-blue) 0%, #a4daef 100%);
    padding: 10rem 0 8rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: white;
    margin-bottom: 4rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.highlight-yellow {
    color: var(--brand-yellow);
}

.hero-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
}

.hero-side-text p {
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 500;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.hero-center-book {
    position: relative;
}

.book-pedestal {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.book-v3 {
    width: 280px;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
    transition: var(--transition);
}

.book-v3:hover {
    transform: translateY(-10px) scale(1.05);
}

.pedestal-floor {
    width: 320px;
    height: 120px;
    background: #e1f2f8;
    border-radius: 50%;
    margin-top: -60px;
    z-index: 1;
    transform: rotateX(60deg);
}

.hero-side-testimonial {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    padding: 2.2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.95rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-side-testimonial p {
    font-weight: 500;
    line-height: 1.6;
}

.stars-gold { color: var(--brand-yellow); margin-bottom: 1rem; }

.t-author {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.t-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* Sub Sections */
.section { padding: 6rem 0; }
.bg-soft { background: var(--bg-light); }
.bg-white { background: var(--white); }

.skill-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.skill-card {
    background: #F8FBFE;
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid #EAF2F7;
    text-align: left;
    transition: var(--transition);
}

.skill-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--brand-dark); }
.skill-card p { font-size: 1rem; color: var(--text-slate); }

.skill-icon-box {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.skill-icon-box img { width: 120px; }

/* Empathy Lines (Updated for clarity) */
.empathy-lines {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 24px;
}

.gradient-text {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-blue);
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--brand-blue);
    margin: 2rem auto;
}

/* Problem Cards */
.problem-cards {
    display: flex;
    justify-content: center;
}

.p-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    max-width: 400px;
}

/* Dark Gradient */
.dark-gradient {
    background: #333333;
    color: white;
}

.solution-grid {
    margin-top: 3rem;
}

.s-item h3 { color: white; margin-bottom: 0.5rem; }

/* Value Stack (Offer Stack) */
.value-stack-section {
    position: relative;
    padding: 10rem 0;
    background: url('value_stack_bg.png') center center/cover no-repeat fixed;
    color: white;
}

.stack-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.85) 0%, rgba(108, 188, 226, 0.85) 100%);
    z-index: 1;
}

.stack-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.value-table-box {
    background: white;
    color: var(--brand-dark);
    padding: 4rem;
    border-radius: 24px;
    margin-bottom: 4rem;
    box-shadow: var(--shadow-premium);
}

/* FAQ V2 Styling */
.purple-title {
    color: #4F46E5 !important;
    font-size: 2.5rem;
    font-weight: 800;
}

.faq-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4F46E5, #818CF8);
    margin: -1.5rem auto 3rem;
    border-radius: 2px;
}

.accordion-v2 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.acc-item {
    background: white;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    transition: var(--transition);
}

.acc-item:hover {
    border-color: #CBD5E1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.acc-header {
    padding: 1.5rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--brand-dark);
}

.acc-icon {
    font-size: 1.5rem;
    color: #94A3B8;
    transition: var(--transition);
}

.acc-body {
    padding: 0 2rem 1.5rem;
    display: none;
    color: #64748B;
    line-height: 1.6;
}

.acc-item.active .acc-body {
    display: block;
}

.acc-item.active .acc-header {
    color: #4F46E5;
}

.acc-item.active .acc-icon {
    color: #4F46E5;
}

.value-row {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-bottom: 1px solid #EEEEEE;
    font-size: 1.1rem;
}

.v-price { font-weight: 600; }

.value-total-row {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    font-size: 1.4rem;
    color: #4F46E5;
}

.final-offer-box {
    margin-top: 3rem;
}

.anchor-p { font-size: 1.5rem; opacity: 0.9; margin-bottom: 0.5rem; }
.strike { text-decoration: line-through; }

.final-price {
    font-size: 5rem;
    font-weight: 900;
    font-family: 'Outfit';
    color: var(--brand-yellow);
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.final-benefits { font-size: 1.1rem; margin-bottom: 3rem; opacity: 0.9; }

.btn-purple-glow {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    color: white;
    padding: 1.5rem 4rem;
    font-size: 1.5rem;
    border-radius: 100px;
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.6);
}

.btn-pulse-v2 {
    animation: pulse-v2 2s infinite;
}

@keyframes pulse-v2 {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 20px 20px rgba(99, 102, 241, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.mini-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

/* Footer */
.footer {
    padding: 4rem 0;
    background: #F4F8FA;
    text-align: center;
}

#progress-bar {
    position: fixed;
    top: 0;
    width: 0%;
    height: 4px;
    background: var(--brand-yellow);
    z-index: 1001;
}

/* Reveal Active class handles everything */
.reveal-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-layout-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-side-text, .hero-side-testimonial { order: 2; }
    .hero-center-book { order: 1; margin-bottom: 2rem; }
    .skill-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    header {
        position: relative;
        padding: 1.5rem 0;
    }

    .nav-flex {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.25rem;
        text-align: center;
        white-space: nowrap;
    }
    
    .nav-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .nav-links a {
        margin: 0;
        font-size: 0.85rem;
    }

    .hero-v3 {
        padding: 4rem 0 4rem;
    }

    .hero-title {
        font-size: 1.75rem;
        letter-spacing: -0.5px;
        line-height: 1.3;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    
    .hero-side-text p {
        font-size: 1rem;
    }
    
    .final-price {
        font-size: 2.3rem;
        white-space: nowrap;
        margin-bottom: 0.5rem;
    }
    
    .btn-purple-glow {
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
        width: 100%;
        max-width: 320px;
    }
    
    .mini-badges {
        flex-direction: column;
        gap: 0.6rem;
        margin-top: 1.5rem;
        align-items: center;
    }

    .value-table-box {
        padding: 1.2rem;
    }
    
    .value-row {
        font-size: 0.9rem;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }

    .value-total-row {
        font-size: 1.1rem;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

/* Custom Hero CTA Styles */
.hero-cta {
    margin-top: 2.5rem;
}

.hero-cta .btn-yellow {
    padding: 1.2rem 2.8rem;
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 10px 25px rgba(249, 209, 45, 0.4);
}

.hero-cta .btn-yellow:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(249, 209, 45, 0.5);
    background-color: #ffe066;
}

.mini-badges.left {
    justify-content: flex-start;
    gap: 1.5rem;
    margin-top: 1rem;
    color: white;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.mini-badges.left span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 991px) {
    .hero-cta {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .mini-badges.left {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }
}
