/* =============================================================================
   BoardSnap.AI — SEO/GEO page styles
   Self-contained. Pulls tokens from existing brand system + extends for
   long-form content pages (vs / use-case / persona / q / glossary / template).
   ============================================================================= */

:root {
  --bg: #05060a;
  --bg-soft: #0b0d14;
  --bg-elev: #0f111a;
  --ink: #f2f4f8;
  --ink-muted: #a3a9b8;
  --ink-faint: #565c6d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --cyan: #00E5FF;
  --magenta: #FF2DD0;
  --violet: #7C5CFF;
  --success: #34C759;
  --warning: #FFCC00;
  --error: #FF6B8B;
  --grad: linear-gradient(135deg, var(--cyan), var(--magenta));
  --grad-soft: linear-gradient(135deg, rgba(0,229,255,0.12), rgba(255,45,208,0.12));
  --grad-radial: radial-gradient(circle at 20% 10%, rgba(0,229,255,0.18), transparent 55%),
                 radial-gradient(circle at 80% 90%, rgba(255,45,208,0.18), transparent 55%);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --container: 1100px;
  --container-narrow: 760px;
}

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

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: #fff; }
img, svg { max-width: 100%; display: block; }

/* Ambient bg */
.ambient {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.ambient::before, .ambient::after {
  content: ""; position: absolute; width: 60vw; height: 60vw;
  max-width: 900px; max-height: 900px; border-radius: 50%;
  filter: blur(110px); opacity: 0.30;
  animation: blobFloat 18s ease-in-out infinite alternate;
}
.ambient::before { background: var(--cyan); top: -15%; left: -10%; }
.ambient::after { background: var(--magenta); bottom: -20%; right: -15%; animation-delay: -6s; }
@keyframes blobFloat {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(4vw, -3vw, 0) scale(1.08); }
  100% { transform: translate3d(-3vw, 2vw, 0) scale(0.96); }
}

/* Nav */
.nav {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 32px;
  max-width: var(--container); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }
.brand-mark { display: inline-flex; filter: drop-shadow(0 0 8px rgba(0,229,255,0.4)); }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 8px 14px; color: var(--ink-muted); font-size: 14px; font-weight: 500;
  border-radius: var(--r-pill); transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,0.04); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--grad); color: #04060b !important;
  font-size: 14px; font-weight: 700; letter-spacing: -0.005em;
  box-shadow: 0 4px 16px rgba(255,45,208,0.25);
  transition: transform .15s var(--ease), box-shadow .25s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(255,45,208,0.35); }
@media (max-width: 720px) {
  .nav { padding: 16px 20px; }
  .nav-links { display: none; }
}

/* Page container */
main { position: relative; z-index: 2; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 28px; }
@media (max-width: 720px) { .wrap, .wrap-narrow { padding: 0 20px; } }

/* Breadcrumb */
.crumb { font-size: 13px; color: var(--ink-faint); margin: 16px 0 24px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumb a { color: var(--ink-muted); }
.crumb a:hover { color: var(--cyan); }
.crumb .sep { color: var(--ink-faint); }
.crumb .here { color: var(--ink); }

/* Hero */
.hero { padding: 32px 0 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cyan); background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.22); border-radius: var(--r-pill);
}
.live-dot {
  width: 7px; height: 7px; background: var(--cyan); border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan); animation: pulse 1.6s var(--ease) infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

.h1 {
  margin: 14px 0 18px;
  font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; line-height: 1.07;
  letter-spacing: -0.025em; color: var(--ink);
}
.h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede {
  max-width: 720px; font-size: clamp(17px, 1.6vw, 20px); font-weight: 400;
  color: var(--ink-muted); line-height: 1.55;
}
.subdek { color: var(--ink-muted); margin-top: 6px; max-width: 720px; }

/* Hero CTA row */
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 28px 0 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--r-md);
  font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer;
  border: 1px solid transparent; text-decoration: none;
  transition: transform .15s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn-primary { color: #04060b; background: var(--grad); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(255,45,208,0.35); color: #04060b; }
.btn-secondary { color: var(--ink); background: rgba(255,255,255,0.03); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 16px rgba(0,229,255,0.18); }
.btn-large { padding: 18px 26px; font-size: 17px; }

/* App Store button */
.app-store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: var(--r-md);
  background: #fff; color: #000 !important; text-decoration: none;
  transition: transform .15s var(--ease), box-shadow .25s var(--ease);
}
.app-store-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(255,255,255,0.18); color: #000; }
.app-store-btn-text { display: flex; flex-direction: column; line-height: 1; }
.app-store-btn-small { font-size: 11px; opacity: 0.75; }
.app-store-btn-big { font-size: 17px; font-weight: 700; margin-top: 2px; }
.cta-tertiary { color: var(--ink-muted); font-size: 14px; }

/* Hero meta badges */
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; font-size: 12.5px; font-weight: 500;
  color: var(--ink-muted); background: rgba(255,255,255,0.03);
  border: 1px solid var(--line); border-radius: var(--r-pill);
}
.badge svg { color: var(--cyan); }

/* Sections */
section { padding: 56px 0; position: relative; }
section h2 {
  font-size: clamp(26px, 3vw, 36px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 20px;
}
section h2 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
section h3 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; letter-spacing: -0.005em; }
section p { color: var(--ink-muted); max-width: 720px; margin-bottom: 14px; }
section ul, section ol { margin: 12px 0 18px 22px; color: var(--ink-muted); }
section li { margin-bottom: 8px; }

.section-tight { padding: 32px 0; }
.section-soft { background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 16px; }
.card {
  padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: rgba(0,229,255,0.30); box-shadow: 0 18px 40px rgba(0,0,0,0.30); }
.card h3 { margin: 0 0 8px; color: var(--ink); }
.card p { margin: 0; color: var(--ink-muted); font-size: 14.5px; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--r-md);
  background: rgba(0,229,255,0.08); border: 1px solid rgba(0,229,255,0.25);
  color: var(--cyan); margin-bottom: 14px;
}

/* Comparison table */
.cmp { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.cmp th, .cmp td {
  padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line);
  color: var(--ink-muted); vertical-align: top;
}
.cmp th { color: var(--ink); font-weight: 700; background: rgba(255,255,255,0.02); }
.cmp td:first-child { color: var(--ink); font-weight: 500; }
.cmp .yes { color: var(--success); font-weight: 600; }
.cmp .no { color: var(--ink-faint); }
.cmp .partial { color: var(--warning); }
.cmp tr:last-child td { border-bottom: none; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); margin-top: 16px; }

/* Quote / pull */
.pull {
  margin: 24px 0; padding: 22px 26px;
  border-left: 3px solid var(--cyan);
  background: linear-gradient(90deg, rgba(0,229,255,0.06), transparent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 18px; color: var(--ink);
}
.pull cite { display: block; margin-top: 8px; font-size: 13px; color: var(--ink-faint); font-style: normal; }

/* FAQ */
.faq { margin-top: 12px; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--cyan); font-size: 22px; line-height: 1;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq details > p, .faq details > div { margin-top: 10px; color: var(--ink-muted); }

/* CTA card */
.cta-card {
  margin-top: 28px; padding: 44px 36px; text-align: center;
  background: var(--grad-radial), linear-gradient(180deg, var(--bg-elev), var(--bg));
  border: 1px solid var(--line-strong); border-radius: var(--r-2xl);
}
.cta-card h2 {
  font-size: clamp(28px, 3vw, 38px); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 12px;
}
.cta-card p { margin: 0 auto 22px; color: var(--ink-muted); max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pricing-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 22px; }
.price-pill {
  font-size: 12.5px; padding: 8px 14px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.04); border: 1px solid var(--line); color: var(--ink-muted);
}
.price-pill strong { color: var(--ink); }

/* Step list */
.steps { counter-reset: step; margin: 18px 0; }
.steps > li {
  list-style: none; counter-increment: step; position: relative;
  padding: 14px 14px 14px 56px; margin: 0 0 12px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: rgba(255,255,255,0.02);
}
.steps > li::before {
  content: counter(step); position: absolute; left: 14px; top: 14px;
  width: 28px; height: 28px; display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--grad); color: #04060b; font-weight: 700; font-size: 14px;
  border-radius: 50%;
}
.steps > li strong { color: var(--ink); display: block; margin-bottom: 4px; }
.steps > li p { margin: 0; color: var(--ink-muted); }

/* Index list pages */
.index-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.index-item {
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: rgba(255,255,255,0.02); transition: all .2s var(--ease);
  display: block;
}
.index-item:hover { border-color: rgba(0,229,255,0.3); background: rgba(0,229,255,0.04); }
.index-item h3 { font-size: 16px; margin: 0 0 6px; color: var(--ink); }
.index-item p { font-size: 13.5px; color: var(--ink-muted); margin: 0; }
.index-item .arrow { float: right; color: var(--cyan); }

/* Section group titles */
.group-title {
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600;
  margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
}

/* TOC inline */
.toc {
  padding: 18px 22px; margin: 18px 0 28px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: rgba(255,255,255,0.02);
}
.toc-title { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-faint); margin-bottom: 8px; }
.toc ul { margin: 0; list-style: none; }
.toc li { margin: 4px 0; padding-left: 0; }
.toc a { color: var(--ink-muted); }
.toc a:hover { color: var(--cyan); }

/* Footer */
.foot {
  padding: 36px 28px 60px; text-align: center;
  font-size: 13px; color: var(--ink-faint);
  border-top: 1px solid var(--line); margin-top: 48px;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.foot a { color: var(--ink-muted); }
.foot a:hover { color: var(--cyan); }
.foot .sep { color: var(--ink-faint); }

/* Sticky mobile CTA */
.sticky-cta {
  display: none;
  position: fixed; bottom: 12px; left: 12px; right: 12px; z-index: 99;
  padding: 10px 14px;
  background: rgba(15,17,26,0.95); backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  align-items: center; gap: 12px;
  text-decoration: none;
  box-shadow: 0 12px 36px rgba(0,0,0,0.45);
}
.sticky-cta-icon {
  width: 38px; height: 38px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad); border-radius: var(--r-md); color: #04060b;
}
.sticky-cta-copy { display: flex; flex-direction: column; flex: 1; line-height: 1.2; }
.sticky-cta-title { color: var(--ink); font-weight: 700; font-size: 14px; }
.sticky-cta-sub { color: var(--ink-muted); font-size: 12px; }
.sticky-cta-btn {
  font-weight: 700; font-size: 13px; padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--grad); color: #04060b; flex: 0 0 auto;
}
@media (max-width: 720px) { .sticky-cta { display: flex; } body { padding-bottom: 80px; } }

/* Stats row */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; margin: 22px 0; }
.stat { padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(255,255,255,0.02); }
.stat-num { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--ink-muted); font-size: 13px; margin-top: 4px; }

/* Inline tags */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag { padding: 5px 10px; font-size: 12px; color: var(--ink-muted);
  background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: var(--r-pill); }

/* Verdict */
.verdict {
  margin: 22px 0;
  padding: 20px 24px;
  border: 1px solid rgba(0,229,255,0.30);
  border-radius: var(--r-lg);
  background: rgba(0,229,255,0.04);
}
.verdict h3 { margin: 0 0 8px; color: var(--cyan); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.verdict p { margin: 0; color: var(--ink); font-size: 16px; }

/* Code-ish small */
.kbd {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px; padding: 2px 6px; border: 1px solid var(--line);
  border-radius: 6px; background: rgba(255,255,255,0.04); color: var(--ink);
}

/* Small at the bottom */
.byline { color: var(--ink-faint); font-size: 13px; margin-top: 8px; }
