/* ─────────────────────────────────────────────────────────────────────────
   Flowline — Website Styles
   Design direction: Raycast / Linear / Craft-inspired.
   Dark, tight typography, restrained color, confident layout.
───────────────────────────────────────────────────────────────────────── */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
button { font-family: inherit; cursor: pointer; }
a { text-decoration: none; color: inherit; }

/* ── Tokens ── */
:root {
  --bg:        #080810;
  --bg-s:      #0e0e1c;
  --bg-t:      #14142a;
  --border:    rgba(255 255 255 / .07);
  --border-hi: rgba(255 255 255 / .13);
  --accent:    #6d4cfa;
  --accent-hi: #8b6dff;
  --accent-bg: rgba(109 76 250 / .1);
  --txt:       #eeeef5;
  --txt2:      #7a7a9a;
  --txt3:      #44445a;
  --work:      #7c5cf8;
  --study:     #3b9eff;
  --health:    #2ecc71;
  --personal:  #ff7b45;
  --r:         12px;
  --r-lg:      18px;

  --shadow-card: 0 1px 2px rgba(0 0 0/.5), 0 0 0 1px rgba(255 255 255/.05);
  --shadow-modal: 0 32px 80px rgba(0 0 0/.7), 0 0 0 1px rgba(255 255 255/.06);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--txt);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Utility ── */
.kicker {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--txt2);
  margin-bottom: 14px;
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─────────────────────────────────────────────────────────────────────────
   NAV
───────────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(8 8 16 / .9);
  backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; gap: 0;
  padding: 18px 28px;
}
.wordmark {
  display: flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 800; letter-spacing: -.4px;
  color: var(--txt);
}
.wordmark svg { flex-shrink: 0; color: var(--accent); }

.nav-links {
  display: flex; gap: 6px; margin-left: 40px;
}
.nav-links a {
  font-size: 13.5px; font-weight: 800;
  color: var(--txt2);
  text-transform: uppercase; letter-spacing: .04em;
  padding: 5px 12px;
  display: inline-block; text-decoration: none;
  position: relative;
  transition: color 400ms cubic-bezier(.25,.8,.25,1);
}
.nav-links a:hover { color: #fff; }
.nav-links a::after {
  content: '';
  pointer-events: none;
  bottom: 1px; left: 50%;
  position: absolute;
  width: 0%; height: 2px;
  background: #fff;
  transition: width 400ms cubic-bezier(.25,.8,.25,1), left 400ms cubic-bezier(.25,.8,.25,1);
}
.nav-links a:hover::after { width: 100%; left: 0%; }

.nav-end {
  display: flex; align-items: center; gap: 8px; margin-left: auto;
}

/* ── Buttons ── */
.cta-btn {
  position: relative; overflow: hidden;
  background: var(--accent); color: #fff;
  border: 2px solid rgba(255,255,255,.22);
  padding: 9px 20px; border-radius: 9999px;
  font-size: 13.5px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; outline: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  box-shadow: 0 6px 20px rgba(109 76 250/.35);
}
.cta-btn:hover {
  transform: scale(1.05);
  border-color: rgba(255,255,255,.5);
  box-shadow: 0 12px 32px rgba(109 76 250/.5);
}
.cta-btn:active { transform: scale(.97); }
.cta-btn svg { transition: transform .3s ease; flex-shrink: 0; }
.cta-btn:hover svg { transform: translateX(4px); }
.cta-btn::before {
  content: '';
  position: absolute; width: 80px; height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.75), transparent 70%);
  top: 0; left: -80px; opacity: .5;
}
.cta-btn:hover::before { animation: cta-shine 1.5s ease-out infinite; }
@keyframes cta-shine {
  0%  { left: -80px; }
  60% { left: 100%; }
  to  { left: 100%; }
}
.cta-btn.cta-lg { padding: 13px 28px; font-size: 15px; }

.link-btn {
  background: none; border: none;
  color: var(--txt2); font-size: 13.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em;
  padding: 9px 12px; cursor: pointer;
  position: relative;
  transition: color 400ms cubic-bezier(.25,.8,.25,1);
}
.link-btn:hover { color: #fff; }
.link-btn::after {
  content: '';
  pointer-events: none;
  bottom: 5px; left: 50%;
  position: absolute;
  width: 0%; height: 2px;
  background: #fff;
  transition: width 400ms cubic-bezier(.25,.8,.25,1), left 400ms cubic-bezier(.25,.8,.25,1);
}
.link-btn:hover::after { width: calc(100% - 24px); left: 12px; }

.ghost-btn {
  display: inline-flex; align-items: center;
  font-size: 15px; font-weight: 500; color: var(--txt2);
  padding: 13px 20px; border-radius: 11px; border: none; background: none;
  transition: color .15s;
}
.ghost-btn:hover { color: var(--txt); }

.outline-btn {
  width: 100%; padding: 12px; border-radius: 9px;
  border: 1px solid var(--border-hi); background: none;
  color: var(--txt); font-size: 14px; font-weight: 600;
  transition: border-color .15s, background .15s;
}
.outline-btn:hover { border-color: var(--accent); background: var(--accent-bg); }

/* ─────────────────────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────────────────────── */
.hero {
  padding: 140px 28px 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -120px; right: -80px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(109 76 250/.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
}
.hero-h1 {
  font-size: clamp(42px, 5.5vw, 70px);
  font-weight: 900; letter-spacing: -2.5px; line-height: 1.06;
  margin-bottom: 22px;
}
.hero-h1 em { font-style: italic; color: var(--accent-hi); }

.hero-body {
  font-size: 16.5px; color: var(--txt2); line-height: 1.75;
  max-width: 420px; margin-bottom: 32px;
}
.hero-actions {
  display: flex; gap: 10px; align-items: center;
  flex-wrap: wrap; margin-bottom: 16px;
}
.hero-note { font-size: 12px; color: var(--txt3); }

/* App window mockup */
.hero-right { position: relative; }
.hero-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(ellipse at 50% 60%, rgba(109 76 250/.12) 0%, transparent 70%);
  pointer-events: none; z-index: -1;
}
.app-window {
  background: var(--bg-s); border-radius: 14px;
  border: 1px solid var(--border-hi);
  box-shadow: var(--shadow-modal);
  overflow: hidden;
}
.window-chrome {
  background: var(--bg-t); padding: 11px 16px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border);
}
.window-dots { display: flex; gap: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }
.window-title { font-size: 12px; color: var(--txt3); font-weight: 500; }
.window-body { padding: 0; }

.chat-pane { padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg {
  max-width: 90%; padding: 11px 14px;
  font-size: 13px; line-height: 1.6; border-radius: 12px;
}
.chat-msg.user {
  background: rgba(109 76 250/.15); border: 1px solid rgba(109 76 250/.25);
  align-self: flex-end; border-bottom-right-radius: 4px;
}
.chat-msg.ai {
  background: var(--bg-t); border: 1px solid var(--border);
  align-self: flex-start; border-bottom-left-radius: 4px;
  color: var(--txt2);
}
.ai-tag {
  display: block; font-size: 10px; font-weight: 700;
  color: var(--accent-hi); letter-spacing: .05em;
  margin-bottom: 7px; text-transform: uppercase;
}
.plan-preview {
  background: rgba(0 0 0/.2); border-radius: 8px;
  padding: 10px; margin: 10px 0; display: flex; flex-direction: column; gap: 5px;
}
.plan-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--txt);
}
.plan-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.plan-row.work .plan-dot    { background: var(--work); }
.plan-row.study .plan-dot   { background: var(--study); }
.plan-row.health .plan-dot  { background: var(--health); }
.plan-row.personal .plan-dot{ background: var(--personal); }
.plan-name { flex: 1; font-weight: 500; }
.plan-time  { font-size: 11px; color: var(--txt3); font-family: monospace; white-space: nowrap; }

/* ── Stat strip ── */
.stat-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-strip-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  padding: 20px 28px; gap: 32px; flex-wrap: wrap;
}
.stat { font-size: 13.5px; color: var(--txt2); }
.stat strong { color: var(--txt); font-weight: 700; }
.divider-v { width: 1px; height: 18px; background: var(--border); }

/* ─────────────────────────────────────────────────────────────────────────
   HOW IT WORKS — alternating feature rows
───────────────────────────────────────────────────────────────────────── */
.how {
  max-width: 1120px; margin: 0 auto;
  padding: 100px 28px;
}
.section-intro {
  max-width: 560px; margin-bottom: 80px;
}
.section-intro h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800; letter-spacing: -1.2px; line-height: 1.15;
  margin-bottom: 14px;
}
.section-intro p { font-size: 16px; color: var(--txt2); }

.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  margin-bottom: 100px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row-flip .feature-text { order: 2; }
.feature-row-flip .feature-visual { order: 1; }

.step-num {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  color: var(--accent); margin-bottom: 16px; font-variant-numeric: tabular-nums;
}
.feature-text h3 {
  font-size: 26px; font-weight: 800; letter-spacing: -.7px;
  line-height: 1.2; margin-bottom: 14px;
}
.feature-text p { font-size: 15.5px; color: var(--txt2); line-height: 1.75; margin-bottom: 22px; }

.feature-list {
  list-style: none; display: flex; flex-direction: column; gap: 9px;
}
.feature-list li {
  font-size: 14px; color: var(--txt2);
  padding-left: 18px; position: relative;
}
.feature-list li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--accent); font-size: 12px;
}

/* Mini chat visual */
.mini-chat {
  background: var(--bg-s); border: 1px solid var(--border-hi);
  border-radius: var(--r-lg); padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-card);
}
.mini-msg {
  padding: 12px 15px; border-radius: 11px;
  font-size: 13.5px; line-height: 1.6; max-width: 92%;
}
.mini-msg.u {
  background: rgba(109 76 250/.14); border: 1px solid rgba(109 76 250/.22);
  align-self: flex-end;
}
.mini-msg.a {
  background: var(--bg-t); border: 1px solid var(--border);
  color: var(--txt2); align-self: flex-start;
  display: flex; gap: 10px; align-items: flex-start;
}
.ai-dot { color: var(--accent); flex-shrink: 0; font-size: 12px; margin-top: 2px; }

/* Timer visual */
.timer-visual {
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; padding: 32px;
  background: var(--bg-s); border: 1px solid var(--border-hi);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  position: relative;
}
.timer-ring { width: 160px; height: 160px; }
.timer-inner {
  position: absolute; top: 65%; left: 50%; transform: translate(-50%, -42%);
  text-align: center;
}
.timer-time {
  font-size: 24px; font-weight: 800; letter-spacing: -.5px;
  font-variant-numeric: tabular-nums; color: var(--txt);
}
.timer-label { font-size: 11px; color: var(--txt2); margin-top: 4px; }
.timer-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(109 76 250/.15); border: 1px solid rgba(109 76 250/.25);
  padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600; color: var(--accent-hi);
  margin-top: 90px;
}

/* Calendar mini visual */
.cal-mini {
  background: var(--bg-s); border: 1px solid var(--border-hi);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-card);
}
.cal-header {
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 12px 16px 8px; border-bottom: 1px solid var(--border);
}
.cal-header span {
  text-align: center; font-size: 10px; font-weight: 700;
  letter-spacing: .08em; color: var(--txt3); text-transform: uppercase;
}
.cal-body {
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 12px 12px 16px; height: 220px; gap: 6px;
}
.cal-col { position: relative; }
.cal-col.today { background: rgba(109 76 250/.04); border-radius: 6px; }
.cal-block {
  position: absolute; left: 2px; right: 2px;
  border-radius: 5px; border-left: 2px solid;
}
.cal-block.work    { background: rgba(124 92 248/.15); border-color: var(--work); }
.cal-block.study   { background: rgba(59 158 255/.15); border-color: var(--study); }
.cal-block.health  { background: rgba(46 204 113/.15); border-color: var(--health); }
.cal-block.personal{ background: rgba(255 123 69/.15); border-color: var(--personal); }

/* ── Menu bar callout ── */
.menubar-callout {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(109 76 250/.04) 0%, transparent 100%);
  padding: 64px 28px;
}
.menubar-callout-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
}
.menubar-text h3 {
  font-size: 24px; font-weight: 800; letter-spacing: -.6px; margin-bottom: 10px;
}
.menubar-text p { font-size: 15px; color: var(--txt2); max-width: 400px; }
.menubar-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-t); border: 1px solid var(--border-hi);
  padding: 10px 18px; border-radius: 100px;
  box-shadow: var(--shadow-card);
  white-space: nowrap;
}
.pill-icon { color: var(--accent); font-size: 14px; }
.pill-time { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pill-sep  { width: 1px; height: 16px; background: var(--border); }
.pill-label { font-size: 13px; color: var(--txt2); }

/* ─────────────────────────────────────────────────────────────────────────
   PRICING
───────────────────────────────────────────────────────────────────────── */
.pricing {
  padding: 100px 28px;
  text-align: center;
}
.pricing .section-intro { margin-left: auto; margin-right: auto; text-align: left; }
.pricing-grid {
  display: flex; gap: 16px; justify-content: center;
  max-width: 780px; margin: 0 auto;
  flex-wrap: wrap;
}
.pricing-card {
  background: var(--bg-s); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px;
  flex: 1; min-width: 300px; max-width: 360px;
  text-align: left; position: relative;
  transition: border-color .2s;
}
.pricing-card:hover { border-color: var(--border-hi); }
.pricing-pro {
  border-color: rgba(109 76 250/.5);
  box-shadow: 0 0 0 1px rgba(109 76 250/.2), 0 20px 60px rgba(109 76 250/.1);
}
.pricing-pro:hover { border-color: rgba(109 76 250/.8); }
.pro-badge {
  position: absolute; top: -12px; left: 28px;
  background: var(--accent); color: white;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 3px 12px; border-radius: 100px;
}
.plan-top { margin-bottom: 16px; }
.plan-name { font-size: 12px; font-weight: 700; color: var(--txt2); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.plan-price-row { display: flex; align-items: baseline; gap: 5px; margin-bottom: 4px; }
.plan-price { font-size: 44px; font-weight: 900; letter-spacing: -2px; }
.plan-per   { font-size: 15px; color: var(--txt2); }
.plan-annual { font-size: 12px; color: var(--accent-hi); margin-bottom: 0; }
.plan-desc { font-size: 14px; color: var(--txt2); line-height: 1.65; margin-bottom: 24px; }
.plan-list {
  list-style: none; display: flex; flex-direction: column;
  gap: 10px; margin-bottom: 28px;
}
.plan-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--txt2); }
.li-mark { color: var(--txt3); font-weight: 700; flex-shrink: 0; }
.li-mark.pro { color: var(--accent-hi); }
.plan-cta { width: 100%; justify-content: center; padding: 13px; font-size: 14px; }

/* ─────────────────────────────────────────────────────────────────────────
   BOTTOM CTA
───────────────────────────────────────────────────────────────────────── */
.bottom-cta {
  padding: 120px 28px;
  text-align: center;
  position: relative; overflow: hidden;
}
.bottom-cta::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 400px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(109 76 250/.12) 0%, transparent 70%);
  pointer-events: none;
}
.bottom-cta-inner h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900; letter-spacing: -2px; margin-bottom: 14px; line-height: 1.1;
}
.bottom-cta-inner p {
  font-size: 17px; color: var(--txt2); max-width: 480px;
  margin: 0 auto 36px; line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 28px;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px;
}
.footer-wordmark { color: var(--txt2); font-size: 15px; }
.footer-links {
  display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px; color: var(--txt3); padding: 4px 10px; border-radius: 6px;
  transition: color .15s, background .15s;
}
.footer-links a:hover { color: var(--txt2); background: rgba(255 255 255/.04); }
.footer-copy {
  font-size: 12px; color: var(--txt3); width: 100%; margin-top: 8px;
}

/* ─────────────────────────────────────────────────────────────────────────
   AUTH MODAL
───────────────────────────────────────────────────────────────────────── */
.modal-bg {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0 0 0 / .75);
  backdrop-filter: blur(10px) saturate(160%);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.modal-bg.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg-s);
  border: 1px solid var(--border-hi);
  border-radius: 20px; padding: 36px;
  width: 100%; max-width: 400px;
  box-shadow: var(--shadow-modal);
  position: relative;
  transform: translateY(12px) scale(.98);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.modal-bg.open .modal { transform: none; }

.modal-x {
  position: absolute; top: 14px; right: 14px;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255 255 255/.06); border: none; color: var(--txt2);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.modal-x:hover { background: rgba(255 255 255/.12); color: var(--txt); }

.modal-brand {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 28px;
  font-size: 20px; font-weight: 800; letter-spacing: -.4px;
}

.modal-tabs {
  display: flex; background: var(--bg-t); border-radius: 10px;
  padding: 3px; margin-bottom: 24px; gap: 2px;
}
.modal-tab {
  flex: 1; border: none; border-radius: 8px;
  font-size: 13px; font-weight: 600; padding: 8px;
  background: transparent; color: var(--txt2);
  transition: background .15s, color .15s;
}
.modal-tab.active { background: var(--accent); color: white; }

/* ─────────────────────────────────────────────────────────────────────────
   NEBULA INPUTS
───────────────────────────────────────────────────────────────────────── */
.nebula-field { position: relative; margin-bottom: 16px; }
.nebula-input { position: relative; }

.nebula-input .input {
  width: 100%;
  padding: 14px 14px 14px 42px;
  border: 1.5px solid var(--border);
  background: var(--bg-s);
  color: var(--txt);
  font-size: 14px; font-family: inherit;
  outline: none; border-radius: 9px;
  transition: border-color .3s ease, box-shadow .3s ease;
  box-sizing: border-box;
}
.nebula-input .user-label {
  position: absolute;
  left: 42px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--txt3); font-size: 14px;
  transition: all .25s ease;
  background: var(--bg-s);
  padding: 0 3px; z-index: 1; line-height: 1;
}
.nebula-input .input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(109,76,250,.12), 0 6px 20px rgba(109,76,250,.15);
}
.nebula-input .input:focus ~ .user-label,
.nebula-input .input:not(:placeholder-shown) ~ .user-label {
  top: 0; left: 10px; font-size: 11px; font-weight: 600; color: var(--accent-hi);
}
.nebula-input .field-icon {
  position: absolute; top: 50%; left: 13px; transform: translateY(-50%);
  width: 18px; height: 18px; fill: var(--txt3);
  transition: fill .25s ease; pointer-events: none;
}
.nebula-input .input:focus ~ .field-icon { fill: var(--accent-hi); }

/* Particles */
.nebula-particle {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  pointer-events: none; opacity: 0; top: 50%; left: 13px;
  filter: blur(.5px); mix-blend-mode: screen;
}
.nebula-input .input:focus ~ .nebula-particle {
  animation: fl-nebula-float 1.8s forwards ease-out;
  animation-delay: var(--delay, 0s);
}
@keyframes fl-nebula-float {
  0%   { transform: translate(0,-50%) scale(.8); opacity: 0; background: #a78bfa; }
  20%  { opacity: .7; }
  100% { transform: translate(calc(var(--x)*110px), calc(var(--y)*28px)) scale(1.1); opacity: 0; background: #6df2ff; }
}

/* Legacy .field — kept for any remaining uses */
.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--txt2); margin-bottom: 7px;
}
.field input {
  width: 100%;
  background: var(--bg-t); border: 1px solid var(--border);
  border-radius: 9px; color: var(--txt);
  font-size: 14px; font-family: inherit;
  padding: 11px 14px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus {
  border-color: rgba(109 76 250/.6);
  box-shadow: 0 0 0 3px rgba(109 76 250/.12);
}
.field input::placeholder { color: var(--txt3); }

.error-box {
  background: rgba(239 68 68/.1); border: 1px solid rgba(239 68 68/.25);
  color: #fca5a5; font-size: 13px; border-radius: 8px;
  padding: 10px 14px; margin-bottom: 14px; line-height: 1.5;
}
.success-box {
  background: rgba(34 197 94/.1); border: 1px solid rgba(34 197 94/.25);
  color: #4ade80; font-size: 13px; border-radius: 8px;
  padding: 10px 14px; margin-bottom: 14px; line-height: 1.5;
}
.forgot-link {
  background: none; border: none; padding: 0; cursor: pointer;
  font-size: 13px; color: var(--txt3); font-family: inherit;
  transition: color .2s;
}
.forgot-link:hover { color: var(--accent); }

.submit-btn {
  width: 100%; padding: 13px; border-radius: 10px; border: none;
  background: var(--accent); color: white;
  font-size: 14px; font-weight: 700; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s; cursor: pointer;
}
.submit-btn:hover:not(:disabled) { background: var(--accent-hi); }
.submit-btn:disabled { opacity: .6; cursor: not-allowed; }

.modal-footer-note {
  font-size: 11.5px; color: var(--txt3); text-align: center; margin-top: 16px; line-height: 1.6;
}
.modal-footer-note a { color: var(--txt2); border-bottom: 1px solid var(--border-hi); }

/* ── Spinner ── */
.spin {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255 255 255/.3); border-top-color: white;
  animation: spin .65s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hidden { display: none !important; }

/* ─────────────────────────────────────────────────────────────────────────
   SIMPLE PAGES (Terms / Privacy)
───────────────────────────────────────────────────────────────────────── */
.simple-page {
  max-width: 700px; margin: 0 auto;
  padding: 130px 28px 100px;
}
.simple-page h1 {
  font-size: 40px; font-weight: 900; letter-spacing: -1.5px; margin-bottom: 8px;
}
.simple-page .updated { font-size: 13px; color: var(--txt3); margin-bottom: 52px; }
.simple-page h2 {
  font-size: 17px; font-weight: 700; letter-spacing: -.3px;
  margin: 40px 0 10px; color: var(--txt);
}
.simple-page p, .simple-page li {
  font-size: 15px; color: var(--txt2); line-height: 1.8; margin-bottom: 6px;
}
.simple-page ul { padding-left: 20px; margin-bottom: 8px; }
.simple-page a { color: var(--accent-hi); border-bottom: 1px solid rgba(141 109 255/.3); }
.simple-page a:hover { border-bottom-color: var(--accent-hi); }

/* ─────────────────────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row-flip .feature-text { order: 0; }
  .feature-row-flip .feature-visual { order: 0; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .stat-strip-inner { gap: 20px; }
  .divider-v { display: none; }
  .menubar-callout-inner { flex-direction: column; }
  .footer-links { margin-left: 0; }
}
