/* ============================================================
   MYNDDRIVE · Landing Page
   ============================================================ */

/* --- Tokens --- */
:root {
  --red: #ed3b32;
  --red-dark: #d82e26;
  --ink: #0a1321;
  --ink-light: #111c2e;
  --muted: #677487;
  --line: #e5e8ed;
  --cream: #f7f8fa;
  --white: #ffffff;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-heading: 'Manrope', system-ui, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 20px 55px rgba(22,33,52,.09);
  --shadow-hover: 0 28px 65px rgba(22,33,52,.14);
  --max-w: 1140px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* --- Util --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }
.section-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.section-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(237,59,50,.12); }
.section-tag--light { color: #ff7770; }
.section-tag--light i { background: #ff5047; box-shadow: 0 0 0 4px rgba(255,80,71,.14); }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 13px; font-weight: 700; cursor: pointer; border: none; transition: transform .2s, background .2s, box-shadow .2s; }
.btn span { font-size: 17px; font-weight: 400; transition: transform .2s; }
.btn:hover span { transform: translateX(3px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 12px 28px rgba(237,59,50,.25); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(237,59,50,.3); }
.btn--ghost { background: rgba(255,255,255,.08); color: #dbe4ef; border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.14); color: #fff; transform: translateY(-2px); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 12px; }
.btn--full { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; display: flex; flex-direction: column; min-height: 100vh; padding: 0 clamp(20px, 5vw, 40px); color: #fff; overflow: hidden; background: #09111f; }
.hero-video { position: absolute !important; z-index: 0 !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover !important; filter: saturate(.9) contrast(1.05) brightness(.8); }
.hero-overlay { position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(160deg, rgba(4,10,20,.45) 0%, rgba(7,16,28,.25) 40%, rgba(8,18,31,.08) 100%), linear-gradient(0deg, rgba(5,12,22,.35) 0%, transparent 50%); }

/* Header */
.site-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-heading); font-size: 18px; font-weight: 700; letter-spacing: -.04em; white-space: nowrap; }
.brand img { width: 32px; height: 32px; padding: 4px; border-radius: 9px; object-fit: contain; background: #fff; }
.brand strong { color: #ff4a40; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { color: #b6c0ce; font-size: 12px; font-weight: 500; transition: color .2s; }
.site-nav a:hover { color: #fff; }
.site-actions { display: flex; align-items: center; gap: 16px; }
.login-link { color: #fff; font-size: 12px; font-weight: 600; }
.login-link:hover { color: #ff7770; }
.sound-button { border: 0; background: transparent; color: #b6c0ce; cursor: pointer; font-size: 11px; font-family: var(--font-body); }
.sound-button:hover { color: #fff; }

/* Hero content */
.hero-content { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 720px; padding: 60px 0 80px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #ff7770; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 20px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: #ff5047; box-shadow: 0 0 0 4px rgba(255,80,71,.14); }
.hero h1 { font: 800 clamp(44px, 5.5vw, 80px)/.98 var(--font-heading); letter-spacing: -.07em; margin-bottom: 22px; }
.hero h1 em { color: #ff5a50; font-style: normal; }
.hero-sub { max-width: 540px; color: #b7c2d1; font-size: 17px; line-height: 1.7; margin-bottom: 32px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 40px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; color: #8e9cad; font-size: 11px; }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem { padding: 110px 0; background: var(--white); }
.problem h2 { font: 800 clamp(30px, 4vw, 48px)/1.08 var(--font-heading); letter-spacing: -.06em; margin-bottom: 16px; }
.section-sub { max-width: 600px; color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 50px; }
.section-sub--light { color: #b7c2d1; }
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-bottom: 50px; }
.problem-card { padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); transition: transform .25s, box-shadow .25s; }
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.problem-icon { font-size: 28px; margin-bottom: 16px; }
.problem-card h3 { font: 700 16px/1.3 var(--font-heading); letter-spacing: -.02em; margin-bottom: 10px; }
.problem-card p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.problem-cta { font-size: 18px; text-align: center; color: var(--ink); }

/* ============================================================
   SOLUTION
   ============================================================ */
.solution { padding: 110px 0; background: var(--ink); color: #fff; }
.solution h2 { font: 800 clamp(30px, 4vw, 48px)/1.08 var(--font-heading); letter-spacing: -.06em; margin-bottom: 16px; }
.solution h2 em { color: #ff5a50; font-style: normal; }
.solution-card { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: center; margin-top: 20px; padding: 48px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: rgba(255,255,255,.04); backdrop-filter: blur(10px); }
.solution-visual { display: grid; place-items: center; }
.solution-logo { width: 120px; height: 120px; padding: 16px; border-radius: 28px; background: #fff; object-fit: contain; }
.solution-text h3 { font: 700 22px/1.3 var(--font-heading); margin-bottom: 16px; }
.solution-text p { color: #b7c2d1; font-size: 14px; line-height: 1.7; margin-bottom: 14px; }
.solution-text strong { color: #fff; }
.solution-text .btn { margin-top: 16px; }

/* ============================================================
   PHASES (How it works)
   ============================================================ */
.phases { padding: 110px 0; background: var(--cream); }
.phases h2 { font: 800 clamp(30px, 4vw, 48px)/1.08 var(--font-heading); letter-spacing: -.06em; margin-bottom: 16px; }
.phases h2 em { color: var(--red); font-style: normal; }
.phases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.phase-card { position: relative; padding: 36px 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .25s, box-shadow .25s; }
.phase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.phase-num { display: block; font: 800 42px/1 var(--font-heading); color: rgba(237,59,50,.12); letter-spacing: -.04em; }
.phase-label { display: inline-block; margin: 8px 0 12px; color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.phase-card h3 { font: 700 16px/1.3 var(--font-heading); margin-bottom: 10px; }
.phase-card p { color: var(--muted); font-size: 13px; line-height: 1.65; }

/* ============================================================
   FEATURES
   ============================================================ */
.features { padding: 110px 0; background: var(--white); }
.features h2 { font: 800 clamp(30px, 4vw, 48px)/1.08 var(--font-heading); letter-spacing: -.06em; margin-bottom: 50px; }
.features h2 em { color: var(--red); font-style: normal; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.feature-card { display: flex; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); transition: transform .25s, box-shadow .25s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.feature-icon { flex-shrink: 0; width: 48px; height: 48px; display: grid; place-items: center; font-size: 22px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.feature-card h3 { font: 700 15px/1.3 var(--font-heading); margin-bottom: 6px; }
.feature-card p { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* ============================================================
   STATS
   ============================================================ */
.stats { padding: 80px 0; background: var(--ink); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item { color: #fff; }
.stat-number { font: 800 clamp(36px, 4vw, 56px)/1 var(--font-heading); letter-spacing: -.06em; }
.stat-suffix { font: 800 clamp(20px, 2.5vw, 30px)/1 var(--font-heading); color: var(--red); }
.stat-label { display: block; margin-top: 8px; color: #8e9cad; font-size: 12px; }

/* ============================================================
   PROOF (Testimonials)
   ============================================================ */
.proof { padding: 110px 0; background: var(--cream); }
.proof h2 { font: 800 clamp(30px, 4vw, 48px)/1.08 var(--font-heading); letter-spacing: -.06em; margin-bottom: 50px; }
.proof h2 em { color: var(--red); font-style: normal; }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.proof-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .25s, box-shadow .25s; }
.proof-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.proof-stars { color: #f5a623; font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; }
.proof-card > p { color: var(--ink); font-size: 14px; line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.proof-author { display: flex; align-items: center; gap: 12px; }
.proof-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font: 700 15px var(--font-heading); }
.proof-author strong { display: block; font-size: 13px; }
.proof-author span { color: var(--muted); font-size: 11px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { padding: 110px 0; background: var(--white); }
.pricing h2 { font: 800 clamp(30px, 4vw, 48px)/1.08 var(--font-heading); letter-spacing: -.06em; margin-bottom: 16px; }
.pricing h2 em { color: var(--red); font-style: normal; }
.pricing-card { max-width: 480px; margin: 0 auto; padding: 36px; border: 1px solid #e3e6eb; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-card); }
.pricing-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.pricing-badge { color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.pricing-note { color: #8993a1; font-size: 10px; }
.pricing-price { display: flex; align-items: baseline; gap: 5px; margin-bottom: 16px; }
.pricing-price small { color: #566174; font-size: 18px; font-weight: 700; }
.pricing-price strong { font: 800 64px/1 var(--font-heading); letter-spacing: -.08em; }
.pricing-price span { color: #6b7686; font-size: 12px; }
.pricing-desc { color: #697587; font-size: 13px; line-height: 1.6; margin-bottom: 20px; min-height: 40px; }
.pricing-features { list-style: none; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; color: #4e596b; font-size: 12px; }
.pricing-features li::before { content: '✓'; margin-right: 9px; color: var(--red); font-weight: 700; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { padding: 110px 0; background: var(--ink); color: #fff; }
.final-cta h2 { font: 800 clamp(28px, 3.5vw, 42px)/1.1 var(--font-heading); letter-spacing: -.05em; text-align: center; margin-bottom: 50px; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 820px; margin: 0 auto; }
.cta-option { padding: 36px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.1); }
.cta-option--bad { background: rgba(255,255,255,.03); }
.cta-option--good { position: relative; background: rgba(237,59,50,.08); border-color: rgba(237,59,50,.25); }
.cta-recommended { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 16px; border-radius: 20px; white-space: nowrap; }
.cta-option h3 { font: 700 18px/1.3 var(--font-heading); margin-bottom: 12px; }
.cta-option p { color: #b7c2d1; font-size: 13px; line-height: 1.65; margin-bottom: 18px; }
.cta-option ul { list-style: none; display: grid; gap: 10px; font-size: 13px; margin-bottom: 20px; }
.cta-option--bad li { color: #8e9cad; }
.cta-option--good li { color: #c8f0c2; }
.cta-option--good .btn { margin-top: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #060d18; color: #8691a0; padding-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 2fr; gap: 60px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand p { margin-top: 10px; font-size: 13px; color: #6b7686; }
.footer-brand .brand img { background: rgba(255,255,255,.08); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-links h4 { color: #fff; font: 600 13px var(--font-heading); margin-bottom: 14px; }
.footer-links a { display: block; font-size: 12px; color: #6b7686; margin-bottom: 10px; transition: color .2s; }
.footer-links a:hover { color: var(--red); }
.footer-bottom { padding: 22px 0; font-size: 11px; text-align: center; color: #4e596b; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .site-nav { display: none; }
  .solution-card { grid-template-columns: 1fr; text-align: center; }
  .solution-logo { margin: 0 auto; }
  .solution-text .btn { margin: 16px auto 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .site-header { padding: 18px 0; }
  .site-actions { gap: 10px; }
  .sound-button, .login-link { display: none; }
  .hero { min-height: 100svh; padding-top: 0; }
  .hero-content { padding: 40px 0 60px; }
  .hero h1 { font-size: 40px; }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .trust-row { flex-direction: column; gap: 8px; }
  .problem-grid { grid-template-columns: 1fr; }
  .phases-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .pricing-card { padding: 28px 22px; }
  .pricing-price strong { font-size: 52px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .problem-card, .phase-card, .feature-card, .proof-card { transition: none; }
  .hero-video { display: none; }
}
