/* ═══════════════════════════════════════════════════
   Remember — Landing Page Styles
   Colors matched to Just Praise theme (#000F25 navy)
   ═══════════════════════════════════════════════════ */

:root {
    --navy: #000F25;
    --navy-light: #011A3A;
    --navy-card: #0A1B35;
    --blue: #0597FF;
    --cyan: #05FFF2;
    --white: #F2F4F8;
    --text: #E8ECF2;
    --text-secondary: #8A9AB5;
    --text-muted: #4A5A75;
    --divider: #152540;
    --green: #33B866;
    --radius: 16px;
    --radius-lg: 24px;
    --font: 'Quicksand', -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--navy);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ── Buttons ─────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: 14px;
    transition: transform 0.15s, opacity 0.15s;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--blue);
    color: white;
    box-shadow: 0 4px 0 #0470CC;
}
.btn-primary:hover { opacity: 0.92; }

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--divider);
}
.btn-outline:hover { border-color: var(--text-muted); }

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }

/* ── Nav ─────────────────────────────────────── */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 24px;
    transition: background 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
    background: rgba(0, 15, 37, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--divider);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}
.nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    gap: 28px;
    flex: 1;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .nav-links, .nav-inner > .btn { display: none; }
    .nav-menu-btn { display: block; }
    .nav-inner { justify-content: space-between; }
}

/* ── Hero ────────────────────────────────────── */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: radial-gradient(ellipse at center top, #021D48 0%, var(--navy) 70%);
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(5, 151, 255, 0.1);
    border: 1px solid rgba(5, 151, 255, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.stat {
    text-align: center;
}
.stat strong {
    display: block;
    font-size: 32px;
    color: var(--blue);
}
.stat span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--divider);
}

@media (max-width: 768px) {
    .hero { padding: 100px 20px 60px; }
    .hero-stats { gap: 24px; }
    .stat-divider { display: none; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .hero-ctas .btn { width: 100%; max-width: 320px; }
}

/* ── Social Proof ────────────────────────────── */

.social-proof {
    padding: 60px 0;
    background: var(--navy);
    /* Borders removed so section blends with surrounding navy sections */
}

.proof-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.proof-item {
    text-align: center;
}
.stars {
    color: #FFB800;
    font-size: 18px;
    margin-bottom: 12px;
}
.proof-item p {
    font-size: 15px;
    color: var(--text);
    font-style: italic;
    margin-bottom: 8px;
    line-height: 1.6;
}
.proof-item span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

@media (max-width: 768px) {
    .proof-items { grid-template-columns: 1fr; gap: 28px; }
}

/* ── Features ────────────────────────────────── */

.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
}
.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--navy-card);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
}

/* ── Science ─────────────────────────────────── */

.science {
    padding: 100px 0;
    background: var(--navy);
}

.science-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.science-text h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    margin-bottom: 32px;
}

.science-fact {
    margin-bottom: 28px;
}
.fact-number {
    font-size: 40px;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 6px;
}
.science-fact p {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 4px;
}
.science-fact cite {
    font-size: 12px;
    color: var(--text-muted);
    font-style: normal;
}

.brain-age-demo {
    background: var(--navy-card);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
}
.demo-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.demo-number {
    font-size: 96px;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -2px;
}
.demo-sub {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .science-content { grid-template-columns: 1fr; gap: 40px; }
}

/* ── How It Works ────────────────────────────── */

.how-it-works {
    padding: 100px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step {
    text-align: center;
    padding: 24px;
}
.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--blue);
    color: white;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 0 #0470CC;
}
.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.step p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .steps { grid-template-columns: 1fr; }
}

/* ── Quiz CTA ────────────────────────────────── */

.quiz-cta {
    padding: 80px 0;
}

.quiz-card {
    background: linear-gradient(135deg, #021D48, #0A2850);
    border: 1px solid rgba(5, 151, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.quiz-card h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    margin-bottom: 16px;
}
.quiz-card p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}
.quiz-note {
    display: block;
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ── Reviews ─────────────────────────────────── */

.reviews {
    padding: 100px 0;
    background: var(--navy);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card {
    background: var(--navy-card);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.review-card .stars { margin-bottom: 16px; }
.review-card p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}
.reviewer strong {
    display: block;
    font-size: 15px;
    color: var(--text);
}
.reviewer span {
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .reviews-grid { grid-template-columns: 1fr; }
}

/* ── FAQ ─────────────────────────────────────── */

.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--divider);
    cursor: pointer;
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.faq-arrow {
    font-size: 22px;
    color: var(--blue);
    transition: transform 0.2s;
}
.faq-item.open .faq-arrow { transform: rotate(45deg); }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.faq-item.open .faq-a {
    max-height: 200px;
    padding-bottom: 20px;
}

/* ── Final CTA ───────────────────────────────── */

.final-cta {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(ellipse at center, #021D48 0%, var(--navy) 70%);
}
.final-cta h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
}
.final-cta p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* ── Footer ──────────────────────────────────── */

.footer {
    padding: 60px 0 32px;
    border-top: 1px solid var(--divider);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 12px;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
    border-top: 1px solid var(--divider);
    padding-top: 24px;
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
