/* ── Fonts ── */
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,700,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

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

/* ── Tokens ── */
:root {
  --bg:             #1C1917;
  --bg-raised:      #292524;
  --bg-subtle:      #1f1d1b;
  --text:           #FAFAF9;
  --text-muted:     #A8A29E;
  --accent:         #EA580C;
  --accent-hover:   #F97316;
  --accent-glow:    rgba(234, 88, 12, 0.08);
  --positive:       #22c55e;
  --negative:       #ef4444;
  --border:         #3d3835;
  --font-heading:   'Satoshi', system-ui, sans-serif;
  --font-body:      'Inter', system-ui, sans-serif;
  --font-mono:      'JetBrains Mono', monospace;
  --max-w:          1100px;
  --section-py:     7rem;
}

/* ── Base ── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* subtle noise texture */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: var(--section-py) 0; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--text-muted); }

/* ══════════════════════════════════════════
   NAV
   ══════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(28, 25, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--accent); }

.nav-link {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
  margin-left: auto;
  margin-right: 1.5rem;
}

.nav-link:hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  position: relative;
  padding-top: calc(64px + 6rem);
  padding-bottom: 5rem;
  text-align: center;
  overflow: hidden;
}

/* Radial gradient glow */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > .container { position: relative; z-index: 1; }

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-reassurance {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* Chat mock */
.chat-mock {
  margin: 3.5rem auto 0;
  max-width: 700px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.chat-mock-label {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.chat-mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.15);
  border-bottom: 1px solid var(--border);
}

.chat-mock-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.chat-mock-dot:nth-child(1) { background: #ef4444; }
.chat-mock-dot:nth-child(2) { background: #eab308; }
.chat-mock-dot:nth-child(3) { background: #22c55e; }

.chat-mock-body { padding: 1.25rem 1.5rem; }

.chat-prompt {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.chat-response {
  background: var(--bg-subtle);
  border-radius: 8px;
  padding: 1.15rem 1.25rem;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text);
}

.chat-response .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.chat-response p {
  margin-bottom: 0.6rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.chat-response p strong {
  color: var(--text);
  font-weight: 600;
}

.chat-response .diagnosis {
  opacity: 0;
  transform: translateY(6px);
  animation: fadeInRow 0.4s ease forwards;
}
.chat-response .diagnosis:nth-child(2) { animation-delay: 0.3s; }
.chat-response .diagnosis:nth-child(3) { animation-delay: 0.6s; }
.chat-response .diagnosis:nth-child(4) { animation-delay: 0.9s; }
.chat-response .diagnosis:nth-child(5) { animation-delay: 1.2s; }
.chat-response .diagnosis:nth-child(6) { animation-delay: 1.5s; }

@keyframes fadeInRow {
  to { opacity: 1; transform: translateY(0); }
}

.chat-response .recommendation {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: 0.85rem;
  opacity: 0;
  animation: fadeInRow 0.4s ease forwards;
  animation-delay: 1.8s;
}

.positive { color: var(--positive); }
.negative { color: var(--negative); }

/* ══════════════════════════════════════════
   PROOF BAR
   ══════════════════════════════════════════ */
.proof-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 2.5rem 0;
  text-align: center;
  flex-wrap: wrap;
}

.proof-item {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.proof-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.15rem;
}

/* ══════════════════════════════════════════
   PLATFORMS
   ══════════════════════════════════════════ */
.platforms {
  padding: 2.5rem 0 3rem;
  text-align: center;
}

.platforms p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.platform-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.platform-logos img {
  opacity: 0.85;
}

/* Meta SVG is 948×191 — constrain by width so it doesn't dominate */
.platform-logos img:nth-child(1) {
  height: auto;
  width: 110px;
}

/* Google Ads SVG is 120×60 — constrain by height */
.platform-logos img:nth-child(2) {
  height: 44px;
  width: auto;
}

/* LinkedIn Ads SVG is 340×80 — constrain by height */
.platform-logos img:nth-child(3) {
  height: 36px;
  width: auto;
}

/* TikTok Ads SVG is 300×80 — constrain by height */
.platform-logos img:nth-child(4) {
  height: 36px;
  width: auto;
}

/* Reddit Ads SVG is 300×80 — constrain by height */
.platform-logos img:nth-child(5) {
  height: 36px;
  width: auto;
}

/* ══════════════════════════════════════════
   USE CASES
   ══════════════════════════════════════════ */
.use-cases { border-top: 1px solid var(--border); }

.use-cases h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.use-cases > .container > p.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Featured first card spans 2 columns */
.use-case-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg-raised) 0%, rgba(234,88,12,0.06) 100%);
  border-color: rgba(234,88,12,0.25);
}

.use-case-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.use-case-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.use-case-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.use-case-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Mid-page CTA */
.mid-cta {
  text-align: center;
  padding: 2.5rem 0 0;
}

/* ══════════════════════════════════════════
   WHO IT'S FOR
   ══════════════════════════════════════════ */
.audience { border-top: 1px solid var(--border); }

.audience h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.audience-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
}

.audience-eyebrow {
  display: block;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.audience-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.audience-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════ */
.how-it-works { border-top: 1px solid var(--border); }

.how-it-works h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 3.5rem;
  letter-spacing: -0.02em;
}

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

.step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   EXAMPLE PROMPTS
   ══════════════════════════════════════════ */
.prompts { border-top: 1px solid var(--border); }

.prompts h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.prompt-chip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: transparent;
  border-left: 2px solid var(--accent);
  padding: 0.9rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  transition: color 0.2s, background 0.2s;
}

.prompt-chip:hover {
  color: var(--text);
  background: var(--bg-raised);
}

.prompts-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ══════════════════════════════════════════
   PRICING
   ══════════════════════════════════════════ */
.pricing {
  border-top: 1px solid var(--border);
  text-align: center;
}

.pricing h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: left;
}

.pricing-card--featured {
  border-color: rgba(234, 88, 12, 0.4);
  box-shadow: 0 0 40px rgba(234, 88, 12, 0.08);
  position: relative;
}

.pricing-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.85rem;
  border-radius: 0 0 6px 6px;
}

.pricing-header {
  margin-bottom: 2rem;
}

.pricing-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-amount {
  margin-bottom: 0.5rem;
}

.pricing-dollar {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-trial {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-cta {
  width: 100%;
  margin-bottom: 1rem;
}

.pricing-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  text-align: center;
}

/* ══════════════════════════════════════════
   TRUST
   ══════════════════════════════════════════ */
.trust { border-top: 1px solid var(--border); }

.trust h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.trust-item {
  text-align: center;
  padding: 1.5rem;
}

.trust-item h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.trust-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════ */
.faq { border-top: 1px solid var(--border); }

.faq h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.faq-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   CTA BOTTOM
   ══════════════════════════════════════════ */
.cta-bottom {
  border-top: 1px solid var(--border);
  text-align: center;
}

.cta-bottom h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.cta-bottom p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-logo span { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --section-py: 4.5rem; }

  .steps,
  .use-case-grid,
  .audience-grid,
  .trust-grid { grid-template-columns: 1fr; }

  .use-case-card.featured { grid-column: span 1; }

  .prompt-grid,
  .faq-grid { grid-template-columns: 1fr; }

  .platform-logos { gap: 2rem; }
  .proof-bar { gap: 2rem; }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .pricing-grid { grid-template-columns: 1fr; }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .pricing-dollar {
    font-size: 2.75rem;
  }

  /* Sticky mobile CTA */
  .mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(28, 25, 23, 0.95);
    backdrop-filter: blur(12px);
    padding: 0.75rem 1.5rem;
    border-top: 1px solid var(--border);
    z-index: 100;
    text-align: center;
    display: block;
  }
  .mobile-sticky-cta .btn { width: 100%; }

  /* Extra bottom padding so sticky CTA doesn't cover footer */
  footer { padding-bottom: 5rem; }
}

@media (min-width: 769px) {
  .mobile-sticky-cta { display: none; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .use-case-grid { grid-template-columns: repeat(2, 1fr); }
  .use-case-card.featured { grid-column: span 2; }
}
