/* ========================================
   PAGES.CSS - Marketing Page Styles
   Homepage and landing page specific styles
   ======================================== */

/* ========================================
   1. HOMEPAGE HEADER
   Transparent fixed header with scroll effect
   ======================================== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    background: white;
    transition: all 0.3s ease;
}

#header.scrolled {
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(45, 42, 38, 0.08);
}

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

.logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.01em;
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-dark);
}

/* Homepage button overrides */
#header .btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--text-dark);
}

#header .btn-secondary:hover {
    background: var(--text-dark);
    color: var(--cream);
}

/* ========================================
   2. MOBILE MENU
   ======================================== */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    z-index: 999;
    padding: 6rem 1.5rem 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-links a {
    display: block;
    padding: 1rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-menu-links a:hover {
    background: var(--cream-dark);
}

/* ========================================
   3. SCROLL ANIMATIONS
   ======================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo),
                transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-out-expo),
                transform 0.6s var(--ease-out-expo);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 100ms; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 200ms; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 300ms; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 400ms; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 500ms; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s var(--ease-out-expo),
                transform 0.8s var(--ease-out-expo);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s var(--ease-out-expo),
                transform 0.8s var(--ease-out-expo);
}

.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s var(--ease-out-expo),
                transform 0.8s var(--ease-out-expo);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   4. FLOATING ANIMATIONS
   ======================================== */

@media (prefers-reduced-motion: no-preference) {
    .float-slow {
        animation: floatSlow 4s ease-in-out infinite;
    }

    .float-medium {
        animation: floatMedium 3.5s ease-in-out infinite;
    }

    .float-fast {
        animation: floatFast 3s ease-in-out infinite;
    }

    .float-rotate {
        animation: floatRotate 6s ease-in-out infinite;
    }

    @keyframes floatSlow {
        0%, 100% { transform: translateY(0) rotate(0deg); }
        50% { transform: translateY(-12px) rotate(1deg); }
    }

    @keyframes floatMedium {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }

    @keyframes floatFast {
        0%, 100% { transform: translateY(0) rotate(0deg); }
        50% { transform: translateY(-6px) rotate(-1deg); }
    }

    @keyframes floatRotate {
        0%, 100% { transform: translateY(0) rotate(-2deg); }
        50% { transform: translateY(-10px) rotate(2deg); }
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .stagger-children > * {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .float-slow,
    .float-medium,
    .float-fast,
    .float-rotate {
        animation: none;
    }
}

/* ========================================
   5. HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 520px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s, gap 0.2s;
}

.hero-text-link:hover {
    color: var(--green);
    gap: 0.75rem;
}

.hero-text-link svg {
    transition: transform 0.2s;
}

.hero-text-link:hover svg {
    transform: translateX(2px);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(45, 90, 71, 0.08);
    border-radius: 8px;
    width: fit-content;
}

.hero-trust-icon {
    width: 20px;
    height: 20px;
    color: var(--green);
    flex-shrink: 0;
}

.hero-trust-text {
    font-size: 0.8125rem;
    color: var(--text-body);
    line-height: 1.4;
}

.hero-trust-text strong {
    color: var(--text-dark);
}

/* Hero Credential Badge */
.hero-credential {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem 0.5rem 0.625rem;
    background: white;
    border-radius: 100px;
    box-shadow: 0 2px 8px rgba(45, 42, 38, 0.08);
    margin-bottom: 1.75rem;
}

.hero-credential-icon {
    width: 28px;
    height: 28px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero-credential-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: var(--cream-dark);
    border-radius: 60% 40% 50% 50% / 50% 50% 50% 50%;
    z-index: 0;
}

.hero-card {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(45, 42, 38, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cream-dark);
}

.card-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.card-dot.red { background: #E5857B; }
.card-dot.yellow { background: #E5C87B; }
.card-dot.green { background: #7BC5A0; }

.hero-demo-content {
    padding: 0.25rem;
}

/* ========================================
   6. INSIGHT CALLOUT
   ======================================== */

.insight-callout {
    background: linear-gradient(135deg, #FEF3E2 0%, #FDE8D0 100%);
    border-left: 4px solid var(--coral);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.insight-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #C85A20;
    margin-bottom: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.insight-dot {
    width: 8px;
    height: 8px;
    background: var(--coral);
    border-radius: 50%;
    flex-shrink: 0;
}

.insight-text {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
}

.insight-text strong {
    color: var(--text-dark);
}

/* ========================================
   7. MATCH GAME DEMO
   ======================================== */

.match-demo {
    background: var(--cream);
    border-radius: 10px;
    padding: 1.25rem;
}

.match-header {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.match-columns {
    display: flex;
    gap: 1rem;
}

.match-column {
    flex: 1;
    min-width: 0;
}

.match-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.match-item {
    padding: 0.625rem 0.75rem;
    background: white;
    border: 2px solid var(--cream-dark);
    border-radius: 6px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    font-size: 0.8125rem;
    color: var(--text-body);
    transition: all 0.2s ease;
    line-height: 1.4;
}

.match-item:last-child {
    margin-bottom: 0;
}

.match-item:hover:not(.correct):not(.matched) {
    border-color: var(--green);
    background: #F7FAF8;
}

.match-item.selected {
    border-color: var(--text-body);
    background: var(--cream-dark);
    box-shadow: 0 0 0 3px rgba(45, 42, 38, 0.1);
    font-weight: 500;
}

.match-item.correct,
.match-item.matched {
    border-color: var(--green);
    background: var(--success-bg);
    cursor: default;
    opacity: 0.85;
}

.match-item.correct::after,
.match-item.matched::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--green);
    border-radius: 50%;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.match-item.incorrect {
    border-color: var(--error) !important;
    background: var(--error-bg) !important;
    box-shadow: none !important;
    animation: matchShake 0.4s ease;
}

@keyframes matchShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.match-item:focus:not(.selected):not(.correct):not(.matched):not(.incorrect) {
    outline: none;
    border-color: rgba(45, 42, 38, 0.15);
    background: white;
}

.match-item:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(45, 90, 71, 0.15);
}

/* Match Complete State */
.match-complete {
    text-align: center;
    padding: 0.875rem;
    background: var(--success-bg);
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

.match-complete.show {
    display: block;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.match-complete-icon {
    width: 28px;
    height: 28px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 0.5rem;
}

.match-complete-text {
    font-weight: 600;
    color: var(--green-dark);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.match-complete-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ========================================
   8. FLOATING BADGES
   ======================================== */

.floating-badge {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 0.875rem 1.125rem;
    box-shadow: 0 8px 24px rgba(45, 42, 38, 0.12);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    z-index: 2;
}

.floating-badge.top-right {
    top: -20px;
    right: -20px;
}

.floating-badge.bottom-left {
    bottom: 20px;
    left: -30px;
}

.floating-badge.progress-badge {
    background: white;
    padding: 0.5rem 0.875rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(45, 42, 38, 0.12);
}

.progress-badge-icon {
    width: 20px;
    height: 20px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.progress-badge-bar {
    width: 48px;
    height: 6px;
    background: var(--cream-dark);
    border-radius: 3px;
    overflow: hidden;
}

.progress-badge-fill {
    height: 100%;
    background: var(--green);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}

.badge-icon.coral { background: var(--coral-light); color: var(--text-dark); }
.badge-icon.green { background: var(--success-bg); color: var(--green); }

/* ========================================
   9. DIFFERENTIATORS SECTION
   ======================================== */

.differentiators {
    padding: 5rem 0;
    background: white;
    overflow: hidden;
}

.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.diff-card {
    background: var(--cream);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: transform 0.3s var(--ease-out-quad),
                box-shadow 0.3s var(--ease-out-quad);
}

.diff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(45, 42, 38, 0.08);
}

.diff-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: var(--success-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}

.diff-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.diff-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* ========================================
   10. SHARED SECTION STYLES
   ======================================== */

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--coral);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   11. DEMO SECTION
   ======================================== */

.demo {
    padding: 6rem 0;
    background: linear-gradient(135deg, #F5F0E8 0%, #EDE7DC 100%);
    position: relative;
    overflow: hidden;
}

.demo::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(45, 90, 71, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.demo::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 135, 108, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.demo .container {
    position: relative;
    z-index: 1;
}

.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.demo-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.demo-content > p {
    font-size: 1.0625rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.demo-features {
    list-style: none;
}

.demo-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-body);
}

.demo-features svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--green);
}

/* ========================================
   12. SCENARIO QUIZ DEMO
   ======================================== */

.scenario-demo {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(45, 42, 38, 0.08);
}

.scenario-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--coral);
    margin-bottom: 1rem;
}

.scenario-label-dot {
    width: 8px;
    height: 8px;
    background: var(--coral);
    border-radius: 50%;
}

.scenario-question {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.scenario-options {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 0;
}

.scenario-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
    text-align: left;
    width: 100%;
    line-height: 1.5;
    color: var(--text-body);
}

.scenario-option:hover:not(.selected):not(.correct):not(.incorrect):not(.disabled) {
    border-color: var(--green);
    background: #F7FAF8;
}

.scenario-option.selected {
    border-color: var(--green);
    background: var(--success-bg);
}

.scenario-option.correct {
    border-color: var(--green);
    background: var(--success-bg);
}

.scenario-option.incorrect {
    border-color: var(--error);
    background: var(--error-bg);
}

.scenario-option.disabled {
    cursor: default;
    opacity: 0.6;
}

.scenario-option.correct.disabled {
    opacity: 1;
}

.scenario-option:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(45, 90, 71, 0.15);
}

.scenario-option-letter {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.scenario-option.selected .scenario-option-letter,
.scenario-option.correct .scenario-option-letter {
    background: var(--green);
    border-color: var(--green);
    color: white;
}

.scenario-option.incorrect .scenario-option-letter {
    background: var(--error);
    border-color: var(--error);
    color: white;
}

.scenario-feedback {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    display: none;
}

.scenario-feedback.show {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.scenario-feedback.correct {
    background: var(--success-bg);
    border-left: 4px solid var(--green);
}

.scenario-feedback.incorrect {
    background: var(--error-bg);
    border-left: 4px solid var(--error);
}

.scenario-feedback-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scenario-feedback.correct .scenario-feedback-title {
    color: var(--green-dark);
}

.scenario-feedback.incorrect .scenario-feedback-title {
    color: var(--error);
}

.scenario-feedback-text {
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.6;
}

.scenario-reset {
    margin-top: 1rem;
    padding: 0.625rem 1.25rem;
    background: transparent;
    border: 1.5px solid var(--text-muted);
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-body);
    cursor: pointer;
    transition: all 0.2s ease;
    display: none;
}

.scenario-reset.show {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.scenario-reset:hover {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

/* ========================================
   13. STUDY GUIDE DEMO
   ======================================== */

.study-guide-demo-section {
    padding: 6rem 0;
    overflow: hidden;
}

.study-guide-demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.study-guide-demo {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(45, 42, 38, 0.1);
    overflow: hidden;
}

.study-guide-demo-header {
    background: var(--cream-dark);
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(45, 42, 38, 0.08);
}

.study-guide-demo-dots {
    display: flex;
    gap: 6px;
}

.demo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.demo-dot.red { background: #E5857B; }
.demo-dot.yellow { background: #E5C87B; }
.demo-dot.green { background: #7BC5A0; }

.study-guide-demo-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: auto;
}

.study-guide-demo-body {
    padding: 1.25rem;
    background: var(--cream);
}

/* Expandable Sections */
.expandable-section {
    background: white;
    border-radius: 10px;
    margin-bottom: 0.625rem;
    overflow: hidden;
    border: 1px solid var(--cream-dark);
    transition: box-shadow 0.2s ease;
}

.expandable-section:last-child {
    margin-bottom: 0;
}

.expandable-section:hover {
    box-shadow: 0 2px 8px rgba(45, 42, 38, 0.06);
}

.expandable-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: white;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.expandable-header:hover {
    background: #FAFAF8;
}

.expandable-header-left {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.expandable-number {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 600;
    flex-shrink: 0;
}

.expandable-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
}

.expandable-chevron {
    color: var(--text-muted);
    transition: transform 0.3s var(--ease-out-expo);
    flex-shrink: 0;
}

.expandable-section.expanded .expandable-chevron {
    transform: rotate(180deg);
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out-expo), padding 0.3s ease;
    padding: 0 1.25rem;
}

.expandable-section.expanded .expandable-content {
    max-height: 500px;
    padding: 0 1.25rem 1.25rem;
}

.expandable-intro {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.expandable-content .insight-callout {
    margin-bottom: 0;
}

/* ========================================
   14. LEARNING JOURNEY SECTION
   ======================================== */

.learning-journey {
    padding: 6rem 0;
    background: var(--cream);
    overflow: hidden;
}

.journey-path {
    position: relative;
    margin-bottom: 3rem;
}

.journey-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 3px;
    transform: translateY(-50%);
    z-index: 0;
}

.journey-line-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--cream-dark) 0%, var(--green) 50%, var(--cream-dark) 100%);
    background-size: 200% 100%;
    border-radius: 2px;
    opacity: 0.4;
}

.journey-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--green);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 12px rgba(45, 90, 71, 0.4);
    animation: journeyDot 6s ease-in-out infinite;
}

@keyframes journeyDot {
    0%, 100% {
        left: 0%;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.journey-cards {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.journey-card {
    flex: 1;
    max-width: 200px;
    background: white;
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(45, 42, 38, 0.08);
    transition: transform 0.3s var(--ease-out-quad), box-shadow 0.3s ease;
    position: relative;
}

.journey-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(45, 42, 38, 0.12);
}

.journey-card-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: var(--green);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(45, 90, 71, 0.25);
}

.journey-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #F0F7F4 0%, #E5F0EB 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}

.journey-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.375rem;
}

.journey-card-subtitle {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

/* Sequential highlight animation */
.journey-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--green), var(--coral));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.journey-card[data-step="1"] {
    animation: cardHighlight 6s ease-in-out infinite;
    animation-delay: 0s;
}

.journey-card[data-step="2"] {
    animation: cardHighlight 6s ease-in-out infinite;
    animation-delay: 1.5s;
}

.journey-card[data-step="3"] {
    animation: cardHighlight 6s ease-in-out infinite;
    animation-delay: 3s;
}

.journey-card[data-step="4"] {
    animation: cardHighlight 6s ease-in-out infinite;
    animation-delay: 4.5s;
}

@keyframes cardHighlight {
    0%, 20%, 100% {
        box-shadow: 0 4px 20px rgba(45, 42, 38, 0.08);
    }
    10% {
        box-shadow: 0 8px 32px rgba(45, 90, 71, 0.2);
    }
}

.journey-arrow {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    opacity: 0.5;
    flex-shrink: 0;
}

.journey-cta {
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .journey-dot {
        animation: none;
        left: 50%;
    }
    .journey-card[data-step="1"],
    .journey-card[data-step="2"],
    .journey-card[data-step="3"],
    .journey-card[data-step="4"] {
        animation: none;
    }
}

/* ========================================
   15. CREDIBILITY SECTION
   ======================================== */

.credibility {
    padding: 6rem 0;
    text-align: center;
    background: white;
}

.credibility-content {
    max-width: 700px;
    margin: 0 auto;
}

.credibility-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--cream);
    padding: 0.75rem 1.25rem;
    border-radius: 100px;
    margin-bottom: 2rem;
}

.credibility-badge-icon {
    width: 36px;
    height: 36px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.credibility-badge span {
    font-weight: 600;
    color: var(--text-dark);
}

.credibility-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    line-height: 1.5;
    color: var(--text-dark);
    font-weight: 500;
}

/* ========================================
   16. CTA SECTION
   ======================================== */

.cta {
    padding: 6rem 0;
    background: var(--green);
    text-align: center;
    overflow: hidden;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255,255,255,0.8);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta .btn-primary {
    background: white;
    color: var(--green);
}

.cta .btn-primary:hover {
    background: var(--cream);
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   17. HOMEPAGE RESPONSIVE STYLES
   ======================================== */

@media (max-width: 1024px) {
    .hero-grid,
    .demo-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .differentiators-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .study-guide-demo-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .study-guide-demo {
        order: -1;
    }

    .journey-cards {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .journey-card {
        flex: 0 0 calc(50% - 1rem);
        max-width: none;
    }

    .journey-arrow {
        display: none;
    }

    .journey-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    #header .btn {
        display: none;
    }

    #header {
        padding: 1rem 0;
    }

    .hero {
        padding: 5rem 0 3rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .floating-badge {
        display: none;
    }

    .match-columns {
        flex-direction: column;
        gap: 1.5rem;
    }

    .match-item {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .insight-callout {
        padding: 0.875rem 1rem;
    }

    .insight-text {
        font-size: 0.8125rem;
    }

    .differentiators {
        padding: 3rem 0;
    }

    .diff-card {
        padding: 1.25rem 1rem;
    }

    .diff-icon {
        width: 40px;
        height: 40px;
    }

    .diff-card h3 {
        font-size: 0.9375rem;
    }

    .diff-card p {
        font-size: 0.8125rem;
    }

    .learning-journey,
    .credibility,
    .cta,
    .demo,
    .study-guide-demo-section {
        padding: 4rem 0;
    }

    .section-title,
    .demo-content h2,
    .cta h2 {
        font-size: 2rem;
    }

    .credibility-text {
        font-size: 1.375rem;
    }

    .journey-card {
        flex: 0 0 100%;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .expandable-title {
        font-size: 0.875rem;
    }

    .expandable-number {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .differentiators-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .study-guide-demo-body {
        padding: 1rem;
    }

    .expandable-header {
        padding: 0.875rem 1rem;
    }

    .expandable-content {
        padding: 0 1rem;
    }

    .expandable-section.expanded .expandable-content {
        padding: 0 1rem 1rem;
    }
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: 1.875rem;
    }

    .section-title,
    .demo-content h2,
    .cta h2 {
        font-size: 1.75rem;
    }

    .journey-card-title {
        font-size: 0.9375rem;
    }

    .journey-card-icon {
        width: 48px;
        height: 48px;
    }

    .journey-card-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* ========================================
   VALUE STRIP (competitor pricing context)
   ======================================== */

.value-strip {
    padding: 3rem 1.5rem;
    background: var(--green);
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.value-strip-main {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.value-strip-sub {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .value-strip {
        padding: 3.5rem 1.5rem;
    }

    .value-strip-main {
        font-size: 1.125rem;
    }
}

/* ========================================
   COMPARISON TABLE (product pages)
   ======================================== */

.comparison {
    padding: var(--space-16, 4rem) 1.5rem;
    background: var(--cream, #FAF7F2);
}

.comparison .section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-10, 2.5rem);
}

.comparison .section-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark, #2D2A26);
    margin-bottom: 0.75rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.comparison-col {
    border-radius: 16px;
    overflow: hidden;
}

.comparison-col.ours {
    background: white;
    border: 2px solid var(--green, #2D5A47);
    box-shadow: 0 8px 24px rgba(45, 42, 38, 0.1);
}

.comparison-col.theirs {
    background: var(--cream-dark, #F0EBE3);
    border: 2px solid var(--cream-dark, #F0EBE3);
}

.comparison-col-header {
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 0.9375rem;
    text-align: center;
}

.comparison-col.ours .comparison-col-header {
    background: var(--green, #2D5A47);
    color: white;
}

.comparison-col.theirs .comparison-col-header {
    background: rgba(45, 42, 38, 0.06);
    color: var(--text-body, #4A4540);
}

.comparison-row {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid rgba(45, 42, 38, 0.08);
}

.comparison-row-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
    color: var(--text-muted, #7A756D);
    margin-bottom: 0.25rem;
}

.comparison-row-value {
    font-size: 0.9375rem;
    color: var(--text-dark, #2D2A26);
    font-weight: 500;
}

.comparison-row.price-row .comparison-row-value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--green, #2D5A47);
}

.comparison-col.theirs .comparison-row.price-row .comparison-row-value {
    color: var(--text-dark, #2D2A26);
}

.comparison-tier-label {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-muted, #7A756D);
    margin-top: 0.25rem;
}

.comparison-row-value .check {
    color: var(--green, #2D5A47);
    font-weight: 700;
}

.comparison-bottom {
    text-align: center;
    margin-top: var(--space-8, 2rem);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-body, #4A4540);
}

.comparison-bottom .highlight {
    color: var(--green, #2D5A47);
}

/* Comparison: mobile stacked layout */
@media (max-width: 767px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .comparison-row.price-row .comparison-row-value {
        font-size: 1.25rem;
    }
}
