/* =============================================
   fastro.app — Base CSS
   Palette: Midnight Ink + Electric Indigo
   Fonts: Syne (display) + DM Sans (body)
   ============================================= */

:root {
  --ink:    #0c0c18;
  --paper:  #f8f8fd;
  --accent: #5048e5;
  --mid:    #7c72f0;
  --warm:   #f0efff;
  --sand:   #e4e2fb;
  --muted:  #64748b;
  --line:   #e2e2ef;
  --white:  #ffffff;
  --dark:   #0c0c18;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── WRAP ── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── BUTTONS ── */
.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--white);
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: .95rem;
  letter-spacing: .02em; padding: 15px 36px;
  border: none; cursor: pointer; transition: background .2s, transform .15s;
}
.btn-hero:hover { background: #3d35c4; transform: translateY(-1px); }

.btn-ghost-white {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: rgba(255,255,255,.8);
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: .9rem;
  padding: 15px 28px; border: 1.5px solid rgba(255,255,255,.3);
  cursor: pointer; transition: all .2s;
}
.btn-ghost-white:hover { border-color: rgba(255,255,255,.7); color: #fff; }

/* ── NAV ── */
#nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,248,253,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
#nav.scrolled { border-color: var(--line); box-shadow: 0 1px 16px rgba(80,72,229,.07); }

.nav-wrap {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.25rem;
  color: var(--ink); letter-spacing: -.02em;
}
.logo svg { width: 24px; height: 24px; color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  font-size: .875rem; font-weight: 500; color: var(--muted);
  padding: 6px 12px; border-radius: 6px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--warm); }

.nav-login {
  font-size: .875rem; font-weight: 600; color: var(--muted);
  padding: 8px 16px; transition: color .15s;
}
.nav-login:hover { color: var(--ink); }

.nav-cta {
  background: var(--accent); color: var(--white) !important;
  font-size: .85rem; font-weight: 700; padding: 9px 22px;
  letter-spacing: .02em; transition: background .2s !important;
}
.nav-cta:hover { background: #3d35c4 !important; color: var(--white) !important; }

/* ── HAMBURGER ── */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); transition: all .2s; }

/* ── MOBILE MENU ── */
.mob-menu {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: var(--ink); flex-direction: column; padding: 32px 24px; gap: 8px;
}
.mob-menu.open { display: flex; }
.mob-menu a { color: var(--white); font-size: 1.2rem; font-weight: 600; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mob-close { background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; align-self: flex-end; margin-bottom: 16px; }

/* ── HERO ── */
.hero {
  position: relative; overflow: hidden;
  background: var(--dark); color: var(--white);
  min-height: 640px; display: flex; align-items: center;
}
.hero-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 1120px; margin: 0 auto;
  padding: 100px 24px 80px;
}
.hero-content { max-width: 560px; }

.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--mid);
  margin-bottom: 24px;
}
.hero-label::before { content: ''; width: 20px; height: 2px; background: var(--accent); display: block; }

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.03em; margin-bottom: 20px;
}
.hero h1 .acc { color: var(--mid); }

.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.65);
  line-height: 1.7; margin-bottom: 36px; max-width: 460px;
}

.hero-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }

.hero-trust {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: .78rem; color: rgba(255,255,255,.4); font-weight: 500;
}
.hero-trust span::before { content: '✓ '; color: var(--mid); }

.hero-photo {
  position: absolute; right: 0; top: 0; bottom: 0; width: 50%; z-index: 0;
}
.hero-photo img { object-position: center top; }

/* ── TICKER ── */
.ticker {
  background: var(--accent); overflow: hidden;
  padding: 12px 0; white-space: nowrap;
}
.ticker-inner {
  display: inline-flex; gap: 0;
  animation: ticker-scroll 32s linear infinite;
}
.ticker-inner span {
  display: inline-block; padding: 0 32px;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.85);
}
.ticker-inner span::after { content: '·'; margin-left: 32px; opacity: .4; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── BENEFITS STRIP ── */
.benefits-strip { background: var(--warm); border-bottom: 1px solid var(--sand); padding: 18px 0; }
.benefits-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.benefit-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 24px; font-size: .85rem; color: var(--ink);
  border-right: 1px solid var(--sand);
}
.benefit-pill:last-child { border-right: none; }
.benefit-pill strong { font-weight: 700; }
.benefit-icon { font-size: 1rem; }

/* ── SECTIONS ── */
.section { padding: 96px 0; }
.section-light { background: var(--paper); }
.section-warm { background: var(--warm); }
.section-dark { background: var(--dark); color: var(--white); }
.section-accent { background: var(--accent); color: var(--white); }

/* ── SECTION HEADER ── */
.sh { text-align: center; margin-bottom: 56px; }
.eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.section-dark .eyebrow { color: var(--mid); }
.sh-title {
  font-family: 'Syne', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
  color: var(--ink);
}
.section-dark .sh-title { color: var(--white); }
.sh-sub { font-size: .95rem; color: var(--muted); max-width: 520px; margin: 0 auto; }
.section-dark .sh-sub { color: rgba(255,255,255,.55); }

/* ── FEATURES ── */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat-card {
  background: var(--white); border: 1px solid var(--line);
  overflow: hidden; transition: box-shadow .2s, transform .2s;
}
.feat-card:hover { box-shadow: 0 8px 32px rgba(80,72,229,.12); transform: translateY(-3px); }
.feat-card-img { height: 220px; overflow: hidden; }
.feat-card-img img { transition: transform .4s; }
.feat-card:hover .feat-card-img img { transform: scale(1.04); }
.feat-card-body { padding: 28px 28px 32px; }
.feat-card-body h3 {
  font-family: 'Syne', sans-serif; font-size: 1.15rem;
  font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em;
}
.feat-card-body p { font-size: .88rem; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.feat-card-link {
  font-size: .82rem; font-weight: 700; color: var(--accent);
  letter-spacing: .03em; transition: gap .2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.feat-card-link:hover { gap: 10px; }

/* ── TOPICS GRID ── */
.topics-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--sand);
}
.topic-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 28px 24px;
  transition: background .2s;
}
.topic-card:hover { background: var(--sand) !important; }
.topic-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.topic-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .9rem; margin-bottom: 4px; letter-spacing: -.01em; }
.topic-desc { font-size: .8rem; color: var(--muted); line-height: 1.55; }

/* ── STATS ── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); }
.stat-item { padding: 40px 24px; text-align: center; }
.stat-num {
  font-family: 'Syne', sans-serif; font-size: 2.8rem;
  font-weight: 800; letter-spacing: -.04em; color: var(--white);
  line-height: 1; margin-bottom: 8px;
}
.stat-num span { color: var(--mid); }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.45); font-weight: 500; letter-spacing: .03em; }

/* ── HOW IT WORKS ── */
.hiw-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.hiw-step { text-align: center; padding: 0 16px; }
.hiw-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.hiw-step h3 { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em; }
.hiw-step p { font-size: .88rem; color: var(--muted); line-height: 1.65; }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--paper); border: 1px solid var(--line);
  padding: 32px 28px; position: relative;
}
.testi-quote {
  font-size: .92rem; color: var(--ink); line-height: 1.75;
  margin-bottom: 24px; font-style: italic;
}
.testi-quote::before { content: '"'; font-family: 'Syne', sans-serif; font-size: 2.5rem; color: var(--accent); opacity: .3; display: block; line-height: .8; margin-bottom: 8px; }
.testi-footer { display: flex; align-items: center; gap: 12px; }
.testi-av-pair { display: flex; }
.testi-av {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  font-size: .7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--paper);
}
.testi-av-pair .testi-av:nth-child(2) { margin-left: -10px; background: var(--mid); }
.testi-name { font-family: 'Syne', sans-serif; font-size: .82rem; font-weight: 700; letter-spacing: -.01em; }
.testi-role { font-size: .73rem; color: var(--muted); }
.testi-stars { color: #f59e0b; font-size: .8rem; margin-bottom: 12px; letter-spacing: 2px; }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price-card {
  background: var(--white); border: 1.5px solid var(--line);
  padding: 32px 24px 28px; position: relative;
  transition: border-color .2s, box-shadow .2s;
}
.price-card:hover { border-color: var(--accent); box-shadow: 0 8px 32px rgba(80,72,229,.1); }
.price-card.featured { border-color: var(--accent); }
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--white);
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 14px;
}
.price-plan { font-family: 'Syne', sans-serif; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.price-amount { font-family: 'Syne', sans-serif; font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.price-amount sup { font-size: 1.2rem; vertical-align: super; }
.price-note { font-size: .75rem; color: var(--muted); margin-bottom: 24px; line-height: 1.5; }
.price-features { list-style: none; margin-bottom: 28px; }
.price-features li {
  font-size: .83rem; color: var(--muted); padding: 5px 0;
  display: flex; align-items: center; gap: 8px;
}
.price-features li::before { content: '✓'; color: var(--accent); font-weight: 700; font-size: .8rem; flex-shrink: 0; }
.price-btn {
  display: block; width: 100%; text-align: center;
  background: var(--ink); color: var(--white);
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: .85rem;
  letter-spacing: .03em; padding: 13px 20px; cursor: pointer;
  border: none; transition: background .2s;
}
.price-btn:hover { background: var(--accent); }
.price-card.featured .price-btn { background: var(--accent); }
.price-card.featured .price-btn:hover { background: #3d35c4; }

/* ── FAQ ── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; text-align: left;
  font-family: 'Syne', sans-serif; font-size: .97rem; font-weight: 700;
  color: var(--ink); letter-spacing: -.01em;
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q .faq-icon { font-size: 1.2rem; color: var(--accent); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s;
  font-size: .88rem; color: var(--muted); line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }

/* ── CTA BLOCK ── */
.cta-block { text-align: center; padding: 96px 24px; background: var(--accent); color: var(--white); }
.cta-block h2 {
  font-family: 'Syne', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 16px;
}
.cta-block p { font-size: .95rem; color: rgba(255,255,255,.7); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }
.btn-cta-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--accent);
  font-family: 'DM Sans', sans-serif; font-weight: 800; font-size: .95rem;
  letter-spacing: .02em; padding: 15px 36px;
  border: none; cursor: pointer; transition: transform .15s, opacity .2s;
}
.btn-cta-white:hover { transform: translateY(-2px); opacity: .95; }

/* ── FOOTER ── */
footer { background: var(--dark); color: var(--white); padding: 64px 0 0; }
.f-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
}
.f-logo {
  font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 800;
  color: var(--white); display: block; margin-bottom: 12px;
}
.f-brand p { font-size: .83rem; color: rgba(255,255,255,.4); line-height: 1.65; max-width: 240px; }
.f-col h4 { font-family: 'Syne', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 16px; }
.f-col ul li { margin-bottom: 8px; }
.f-col ul li a { font-size: .83rem; color: rgba(255,255,255,.5); transition: color .15s; }
.f-col ul li a:hover { color: rgba(255,255,255,.9); }
.f-divider { border: none; border-top: 1px solid rgba(255,255,255,.06); margin: 0; }
.f-bottom { padding: 24px 0; }
.f-bottom p { font-size: .73rem; color: rgba(255,255,255,.25); line-height: 1.6; }
.company-info { font-size: .73rem; color: rgba(255,255,255,.25); margin-top: 8px; }

/* ── LEGAL PAGES ── */
.page-hero {
  background: var(--ink); color: var(--white);
  padding: 80px 0 56px;
}
.page-hero h1 {
  font-family: 'Syne', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; letter-spacing: -.03em; margin-top: 10px;
}
.legal-wrap {
  max-width: 760px; margin: 0 auto; padding: 56px 24px 80px;
}
.legal-updated { font-size: .78rem; color: var(--muted); margin-bottom: 28px; }
.company-box {
  background: var(--warm); border: 1px solid var(--sand);
  padding: 18px 22px; margin-bottom: 36px; font-size: .83rem; color: var(--ink); line-height: 1.65;
}
.legal-wrap h2 {
  font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700;
  letter-spacing: -.01em; margin: 36px 0 10px; color: var(--ink);
}
.legal-wrap p, .legal-wrap li { font-size: .88rem; color: #374151; line-height: 1.75; margin-bottom: 12px; }
.legal-wrap a { color: var(--accent); text-decoration: underline; }
.legal-wrap ul { padding-left: 20px; list-style: disc; }

/* ── SUPPORT PAGE ── */
.support-hero { background: var(--ink); color: var(--white); padding: 80px 0 48px; }
.support-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.support-cat {
  background: var(--white); border: 1px solid var(--line);
  padding: 28px 24px; text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.support-cat:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(80,72,229,.08); }
.support-cat-icon { font-size: 1.8rem; margin-bottom: 12px; }
.support-cat h3 { font-family: 'Syne', sans-serif; font-size: .92rem; font-weight: 700; margin-bottom: 6px; }
.support-cat p { font-size: .8rem; color: var(--muted); line-height: 1.55; }

/* ── PAYWALL ── */
.paywall-wrap {
  min-height: 100vh; background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
}
.pw-card {
  background: var(--white); padding: 40px 36px;
  max-width: 480px; width: 100%;
}
.pw-logo {
  display: block; font-family: 'Syne', sans-serif; font-size: 1.3rem;
  font-weight: 800; color: var(--ink); text-align: center; margin-bottom: 28px;
  letter-spacing: -.02em;
}
.pw-title {
  font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800;
  letter-spacing: -.02em; text-align: center; margin-bottom: 6px;
}
.pw-sub { font-size: .85rem; color: var(--muted); text-align: center; margin-bottom: 28px; }
.pw-plans { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.pw-plan {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border: 1.5px solid var(--line);
  cursor: pointer; transition: border-color .2s;
}
.pw-plan input { display: none; }
.pw-plan.selected { border-color: var(--accent); background: var(--warm); }
.pw-plan-name { font-family: 'Syne', sans-serif; font-size: .88rem; font-weight: 700; margin-bottom: 2px; }
.pw-plan-note { font-size: .73rem; color: var(--muted); }
.pw-plan-price {
  font-family: 'Syne', sans-serif; font-size: 1.15rem; font-weight: 800;
  color: var(--ink); white-space: nowrap; display: flex; align-items: center; gap: 8px;
}
.pw-featured {
  background: var(--accent); color: var(--white);
  font-size: .6rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px;
}
.pw-input {
  width: 100%; border: 1.5px solid var(--line);
  padding: 13px 16px; font-size: .9rem; font-family: 'DM Sans', sans-serif;
  outline: none; margin-bottom: 12px; transition: border-color .2s;
}
.pw-input:focus { border-color: var(--accent); }
.pw-btn {
  width: 100%; background: var(--accent); color: var(--white);
  border: none; padding: 15px; font-size: .95rem; font-weight: 700;
  font-family: 'DM Sans', sans-serif; letter-spacing: .02em; cursor: pointer;
  transition: background .2s; margin-bottom: 16px;
}
.pw-btn:hover { background: #3d35c4; }
.pw-error { font-size: .8rem; color: #dc2626; margin-bottom: 10px; display: none; }
.pw-trust { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.pw-trust span { font-size: .72rem; color: var(--muted); }
.pw-trust span::before { content: '✓ '; color: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .feat-grid { grid-template-columns: 1fr; gap: 20px; }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .hiw-steps { grid-template-columns: 1fr; gap: 32px; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .support-categories { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: auto; }
  .hero-photo { display: none; }
  .hero-inner { padding: 72px 24px 60px; }
  .hero-content { max-width: 100%; }
  .section { padding: 64px 0; }
  .topics-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .benefits-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
  .benefit-pill { border-right: none; padding: 6px 0; }
  .pw-card { padding: 28px 20px; }
}

/* ── NAV SCROLL JS HOOK ── */
