/* ─────────────────────────────────────────────────────────────────────────
   NicheChat — Marketing Website Stylesheet
   Pure CSS, no frameworks. Mobile-first.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --bg-dark:     #0f172a;
  --bg-darker:   #111827;
  --card-dark:   #1e293b;
  --card-light:  #ffffff;
  --card-pink:   #f0f9ff;
  --brand:       #23a9e1;
  --brand-hover: #1a8ab8;
  --brand-light: #5cc8ef;
  --brand-pale:  #e6f7fc;
  --text:        #ffffff;
  --text-secondary: #94a3b8;
  --text-dark:   #0f172a;
  --bg:          #ffffff;
  --bg-alt:      var(--card-pink);
  --border:      #e2e8f0;
  --border-dark: rgba(255, 255, 255, .12);
  --success:     #16a34a;
  --success-bg:  #dcfce7;
  --warning:     #f59e0b;
  --danger:      #dc2626;
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(15, 23, 42, .08);
  --shadow-lg:   0 20px 60px rgba(15, 23, 42, .18);
  --shadow-xl:   0 30px 90px rgba(15, 23, 42, .28);
  --container:   1180px;
  --font:        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--card-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
section { padding: 80px 0; background: var(--card-light); }
.section-alt { background: var(--card-pink); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-pale);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; color: var(--text-dark); }
.section-head p { color: var(--text-secondary); font-size: 17px; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 14px rgba(35, 169, 225, .35); }
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(35, 169, 225, .45); }
.btn-outline { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline-dark { background: transparent; border-color: var(--border); color: var(--text-dark); }
.btn-outline-dark:hover { border-color: var(--brand); color: var(--brand); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn.is-disabled { opacity: .6; pointer-events: none; cursor: not-allowed; }

/* Obfuscated email (assembled at runtime by main.js) */
.email-link { cursor: pointer; }
.email-link:hover { text-decoration: underline; }

/* ── Scroll reveal ─────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible { transition-delay: .1s; }
.reveal-delay-2.is-visible { transition-delay: .2s; }
.reveal-delay-3.is-visible { transition-delay: .3s; }
.reveal-delay-4.is-visible { transition-delay: .4s; }
.reveal-delay-5.is-visible { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ── Nav ───────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(15, 23, 42, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-scrolled { border-color: rgba(255, 255, 255, .08); box-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: #fff; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-hover));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(35, 169, 225, .35);
  flex-shrink: 0;
}
.brand-mark svg { width: 18px; height: 18px; }
.nav-links { display: none; align-items: center; gap: 34px; }
.nav-links a { font-size: 14.5px; font-weight: 600; color: var(--text-secondary); transition: color .15s; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  position: relative; z-index: 210;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; background: none; border: none;
  width: 44px; height: 44px;
}
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all .25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  /* height is set via 100vh rather than inset's bottom:0 because .nav has
     backdrop-filter, which — like transform — creates a new containing
     block for fixed descendants, so bottom:0 would resolve against nav's
     own ~72px-tall box instead of the viewport. */
  position: fixed; top: 72px; left: 0; right: 0; height: calc(100vh - 72px);
  background: var(--bg-dark); z-index: 190;
  padding: 24px 20px; transform: translateX(100%); transition: transform .25s ease;
  overflow-y: auto;
}
.nav-mobile.is-open { transform: translateX(0); }
.nav-mobile a { display: block; padding: 16px 4px; font-size: 18px; font-weight: 700; color: #fff; border-bottom: 1px solid var(--border-dark); }
.nav-mobile .btn { margin-top: 20px; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle, .nav-mobile { display: none; }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  padding: 90px 0 110px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(35, 169, 225, .35), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(92, 200, 239, .25), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(35, 169, 225, .2), transparent 50%);
  animation: heroDrift 16s ease-in-out infinite alternate;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
@keyframes heroDrift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-2%, 2%) scale(1.06); }
}
.hero-inner { position: relative; z-index: 1; display: grid; gap: 56px; }
.hero-copy { text-align: center; max-width: 720px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: #bfe9fb;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  padding: 7px 16px; border-radius: 20px; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(34px, 6vw, 60px); margin-bottom: 20px; }
.hero h1 .accent { color: var(--brand-light); }
.hero p.lede { font-size: clamp(16px, 2vw, 19px); color: var(--text-secondary); max-width: 620px; margin: 0 auto 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 18px; }
.hero-note { font-size: 13px; color: var(--text-secondary); }

@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 280px; }
}

/* Widget mockup floating over a browser window */
.hero-visual { display: flex; justify-content: center; width: 100%; padding: 0 12px; box-sizing: border-box; }
.browser-mock {
  width: 100%; max-width: 620px;
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: perspective(1200px) rotateX(2deg);
}
.browser-bar { display: flex; align-items: center; gap: 10px; background: #f1f5f9; padding: 12px 16px; }
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.browser-url {
  flex: 1; background: #fff; border: 1px solid var(--border); border-radius: 20px;
  padding: 6px 14px; font-size: 12px; color: #64748b;
}
.browser-body {
  height: 320px; background: linear-gradient(180deg, #f8fafc, #eaf7fc);
  position: relative; overflow: hidden;
}
.browser-body::before, .browser-body::after {
  content: ''; position: absolute; border-radius: 8px; background: #e2e8f0;
}
.browser-body::before { top: 24px; left: 24px; width: 55%; height: 14px; }
.browser-body::after { top: 50px; left: 24px; width: 35%; height: 10px; }
.mock-lines { position: absolute; top: 90px; left: 24px; right: 24px; display: grid; gap: 10px; }
.mock-lines span { display: block; height: 10px; border-radius: 6px; background: #e2e8f0; }
.mock-lines span:nth-child(1) { width: 92%; }
.mock-lines span:nth-child(2) { width: 78%; }
.mock-lines span:nth-child(3) { width: 85%; }

.mock-widget-window {
  position: absolute; bottom: 64px; right: 20px;
  width: 240px; background: #fff; border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .22);
  overflow: hidden; animation: floatWidget 4s ease-in-out infinite;
}
@keyframes floatWidget { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.mock-widget-header { background: var(--brand); color: #fff; padding: 12px 14px; font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.mock-widget-header .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }
.mock-widget-body { padding: 10px 12px; display: grid; gap: 8px; }
.mock-bubble { font-size: 11px; padding: 8px 10px; border-radius: 10px; max-width: 85%; line-height: 1.4; }
.mock-bubble.bot { background: #f1f5f9; color: var(--text-dark); border-bottom-left-radius: 3px; }
.mock-bubble.user { background: var(--brand); color: #fff; margin-left: auto; border-bottom-right-radius: 3px; }
.mock-widget-launcher {
  position: absolute; bottom: 20px; right: 20px;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 10px 24px rgba(35, 169, 225, .5);
  display: flex; align-items: center; justify-content: center;
}
.mock-widget-launcher svg { width: 22px; height: 22px; fill: #fff; }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
}

/* ── Trust bar / marquee ───────────────────────────────────────────────── */
.trust { padding: 44px 0; background: var(--bg-dark); border-bottom: 1px solid var(--border-dark); max-width: 100%; overflow: hidden; }
.trust-label { text-align: center; font-size: 13px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 26px; }
.marquee { overflow: hidden; max-width: 100%; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-item { display: flex; flex-shrink: 0; align-items: center; gap: 10px; font-weight: 700; color: #fff; font-size: 15px; white-space: nowrap; }
.marquee-item .ico { font-size: 20px; flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

@media (max-width: 480px) {
  .marquee-track { gap: 28px; animation-duration: 22s; }
  .marquee-item { font-size: 13.5px; gap: 8px; }
  .marquee-item .ico { font-size: 17px; }
}

/* ── Problem / Solution ───────────────────────────────────────────────── */
.compare-grid { display: grid; gap: 24px; }
.compare-card { border-radius: var(--radius); padding: 36px 30px; }
.compare-card.problem { background: #fef2f2; border: 1px solid #fecaca; }
.compare-card.solution { background: linear-gradient(160deg, var(--bg-dark), var(--card-dark)); color: #fff; box-shadow: var(--shadow-lg); }
.compare-card h3 { font-size: 22px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.compare-card.problem h3 { color: var(--danger); }
.compare-list { display: grid; gap: 16px; }
.compare-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.compare-card.problem .compare-list { color: #7f1d1d; }
.compare-card.solution .compare-list { color: #e2e8f0; }
.compare-ico { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; margin-top: 1px; }
.compare-card.problem .compare-ico { background: #fecaca; color: var(--danger); }
.compare-card.solution .compare-ico { background: rgba(74, 222, 128, .18); color: #4ade80; }

@media (min-width: 860px) {
  .compare-grid { grid-template-columns: 1fr 1fr; }
}

/* ── How it works ─────────────────────────────────────────────────────── */
#how-it-works { background: var(--bg-dark); }
#how-it-works .section-head h2 { color: #fff; }
.steps-grid { display: grid; gap: 28px; }
.step {
  position: relative; text-align: left;
  background: var(--card-dark); border-left: 3px solid var(--brand);
  border-radius: var(--radius); padding: 36px 28px 30px;
  box-shadow: 0 0 0 1px var(--border-dark);
  transition: box-shadow .25s ease, transform .25s ease;
}
.step:hover { box-shadow: 0 0 0 1px var(--border-dark), 0 20px 50px rgba(35, 169, 225, .18); transform: translateY(-4px); }
.step-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.step-num { font-size: clamp(52px, 6vw, 68px); font-weight: 300; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.step-ico {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: rgba(35, 169, 225, .15); color: var(--brand-light);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; color: #fff; }
.step p { color: var(--text-secondary); font-size: 14.5px; margin-bottom: 18px; }
.step-time {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--brand-light);
  background: rgba(35, 169, 225, .12); border: 1px solid rgba(35, 169, 225, .3);
  padding: 4px 12px; border-radius: 20px;
}
.steps-cta { text-align: center; margin-top: 44px; }
.steps-cta a { color: var(--brand); font-weight: 700; font-size: 16px; }
.steps-cta a:hover { color: var(--brand-hover); }

@media (min-width: 860px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps-grid .step:not(:last-child)::after {
    content: '';
    position: absolute; top: 57px; left: 100%; width: 32px;
    border-top: 2px dashed var(--brand);
    opacity: .5;
  }
}

/* ── Feature grid ─────────────────────────────────────────────────────── */
.feature-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.feature-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-light); }
.feature-ico {
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--text-secondary); }

/* Alternate light/dark cards, per the brand reference design */
.feature-card:nth-child(odd) { background: var(--card-light); }
.feature-card:nth-child(odd) h3 { color: var(--text-dark); }
.feature-card:nth-child(odd) .feature-ico { background: var(--brand-pale); }

.feature-card:nth-child(even) { background: var(--card-dark); border-color: var(--border-dark); }
.feature-card:nth-child(even) h3 { color: #fff; }
.feature-card:nth-child(even) .feature-ico { background: rgba(35, 169, 225, .18); }
.feature-card:nth-child(even):hover { border-color: var(--brand); }

@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Industries ────────────────────────────────────────────────────────── */
.industry-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.industry-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: box-shadow .2s ease, transform .2s ease;
  position: relative;
}
.industry-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.industry-emoji { font-size: 28px; margin-bottom: 12px; display: block; }
.industry-card h3 { font-size: 16.5px; margin-bottom: 6px; color: var(--text-dark); }
.industry-card p { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 12px; }
.compliance-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; color: var(--brand-hover); background: var(--brand-pale);
  padding: 4px 10px; border-radius: 20px;
}

@media (min-width: 640px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Pricing ───────────────────────────────────────────────────────────── */
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 48px; }
.pricing-toggle span { font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.pricing-toggle span.is-active { color: var(--text-dark); }
.toggle-switch { position: relative; width: 52px; height: 28px; }
.toggle-switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 1; margin: 0; }
.toggle-track { position: absolute; inset: 0; background: var(--border); border-radius: 20px; transition: background .2s; }
.toggle-track::before {
  content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s;
}
.toggle-switch input:checked ~ .toggle-track { background: var(--brand); }
.toggle-switch input:checked ~ .toggle-track::before { transform: translateX(24px); }
.save-badge { background: var(--success-bg); color: var(--success); font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 12px; margin-left: 6px; }

.pricing-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.price-card {
  background: var(--card-light); border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 28px; position: relative; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card h3 { font-size: 20px; color: var(--text-dark); margin-bottom: 6px; }
.price-card .plan-desc { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 20px; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.price-amount .num { font-size: 44px; font-weight: 800; color: var(--text-dark); }
.price-amount .per { font-size: 14px; color: var(--text-secondary); font-weight: 600; }
.price-annual-note { font-size: 12.5px; color: var(--success); font-weight: 600; margin-bottom: 6px; min-height: 18px; }
.price-sessions { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 22px; }
.price-features { display: grid; gap: 12px; margin-bottom: 26px; flex: 1; }
.price-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--text-dark); }
.price-features .check { color: var(--success); flex-shrink: 0; font-weight: 900; }
.price-setup { font-size: 12px; color: var(--text-secondary); text-align: center; margin-top: 10px; }

.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: #fff; color: var(--brand); font-size: 12px; font-weight: 700;
  padding: 5px 16px; border-radius: 20px; white-space: nowrap; box-shadow: var(--shadow);
}

/* Pro — featured, brand-colored card */
.price-card.featured { background: var(--brand); border-color: var(--brand); box-shadow: 0 20px 50px rgba(35, 169, 225, .35); }
.price-card.featured:hover { box-shadow: 0 24px 60px rgba(35, 169, 225, .4); }
.price-card.featured h3,
.price-card.featured .price-amount .num,
.price-card.featured .price-features li,
.price-card.featured .price-features .check { color: #fff; }
.price-card.featured .plan-desc,
.price-card.featured .price-amount .per,
.price-card.featured .price-sessions,
.price-card.featured .price-setup { color: rgba(255, 255, 255, .8); }
.price-card.featured .btn-primary { background: #fff; color: var(--brand); box-shadow: none; }
.price-card.featured .btn-primary:hover { background: var(--card-pink); transform: translateY(-2px); }

/* Agency — dark card */
.price-card[data-plan="agency"] { background: var(--card-dark); border-color: var(--card-dark); }
.price-card[data-plan="agency"] h3,
.price-card[data-plan="agency"] .price-amount .num,
.price-card[data-plan="agency"] .price-features li { color: #fff; }
.price-card[data-plan="agency"] .plan-desc,
.price-card[data-plan="agency"] .price-amount .per,
.price-card[data-plan="agency"] .price-sessions,
.price-card[data-plan="agency"] .price-setup { color: var(--text-secondary); }
.price-card[data-plan="agency"] .btn-outline-dark { border-color: rgba(255, 255, 255, .35); color: #fff; }
.price-card[data-plan="agency"] .btn-outline-dark:hover { border-color: var(--brand-light); color: var(--brand-light); }

.pricing-note { text-align: center; margin-top: 40px; font-size: 13.5px; color: var(--text-secondary); }

@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.includes-box {
  max-width: 720px; margin: 56px auto 0; background: var(--card-pink);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 34px;
}
.includes-box h4 { font-size: 15px; color: var(--text-dark); margin-bottom: 16px; }
.includes-list { display: grid; gap: 12px; grid-template-columns: 1fr; }
.includes-list li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text-dark); }
.includes-list .check { color: var(--success); font-weight: 900; }
@media (min-width: 640px) { .includes-list { grid-template-columns: 1fr 1fr; } }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
#faq { background: var(--bg-dark); }
#faq .section-head h2 { color: #fff; }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--border-dark); border-radius: var(--radius-sm); background: var(--card-dark); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 22px; font-size: 15.5px; font-weight: 700; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-q .plus { flex-shrink: 0; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; color: var(--brand-light); font-size: 20px; font-weight: 400; transition: transform .2s; }
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; padding: 0 22px; }
.faq-item.is-open .faq-a { max-height: 240px; padding: 0 22px 20px; }
.faq-a p { color: var(--text-secondary); font-size: 14.5px; }
.faq-more { text-align: center; margin-top: 30px; font-size: 14px; color: var(--text-secondary); }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--bg-darker); color: var(--text-secondary); padding: 60px 0 30px; }
.footer-grid { display: grid; gap: 40px; margin-bottom: 40px; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; color: var(--text-secondary); max-width: 280px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-secondary); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--text-secondary); transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px;
  display: flex; flex-direction: column; gap: 10px; font-size: 12.5px; color: var(--text-secondary);
}
.footer-powered { display: flex; align-items: center; gap: 6px; }

@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ── Docs page ─────────────────────────────────────────────────────────── */
.docs-layout { display: grid; gap: 40px; padding: 60px 0 100px; }
.docs-hero { text-align: center; max-width: 640px; margin: 0 auto 20px; }
.docs-hero h1 { font-size: clamp(28px, 4vw, 40px); color: var(--text-dark); margin-bottom: 12px; }
.docs-hero p { color: var(--text-secondary); font-size: 16px; }
.docs-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 20px; }
.docs-nav a {
  font-size: 13px; font-weight: 600; color: var(--brand-hover); background: var(--brand-pale);
  padding: 7px 14px; border-radius: 20px;
}
.docs-section { max-width: 760px; margin: 0 auto; padding: 40px 0; border-top: 1px solid var(--border); }
.docs-section:first-of-type { border-top: none; }
.docs-section h2 { font-size: 24px; color: var(--text-dark); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.docs-section .docs-num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff;
  font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.docs-section > p.docs-intro { color: var(--text-secondary); margin: 10px 0 22px; }
.docs-steps { display: grid; gap: 18px; }
.docs-step { display: flex; gap: 14px; }
.docs-step-num { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--card-pink); border: 1px solid var(--border); font-size: 12px; font-weight: 700; color: var(--text-secondary); display: flex; align-items: center; justify-content: center; }
.docs-step-body h4 { font-size: 15px; color: var(--text-dark); margin-bottom: 4px; }
.docs-step-body p { font-size: 14px; color: var(--text-secondary); }
.code-block {
  background: var(--bg-dark); color: #e2e8f0; border-radius: var(--radius-sm);
  padding: 14px 18px; font-family: 'SFMono-Regular', Consolas, monospace; font-size: 13px;
  overflow-x: auto; max-width: 100%; margin-top: 8px;
}

.docs-bullets { list-style: none; display: grid; gap: 18px; }
.docs-bullets li { position: relative; padding-left: 22px; }
.docs-bullets li::before {
  content: '•'; position: absolute; left: 2px; top: 0;
  color: var(--brand); font-size: 18px; font-weight: 700; line-height: 1.5;
}
.docs-bullets h4 { font-size: 15px; color: var(--text-dark); margin-bottom: 4px; }
.docs-bullets p { font-size: 14px; color: var(--text-secondary); }

@media (max-width: 480px) {
  .docs-section { padding: 32px 0; }
  .docs-section h2 { font-size: 21px; }
  .docs-section > p.docs-intro { font-size: 14.5px; }
}

/* ── Success page ─────────────────────────────────────────────────────── */
.success-page { min-height: 70vh; display: flex; align-items: center; padding: 80px 0; }
.success-card { max-width: 640px; margin: 0 auto; text-align: center; }
.success-icon { font-size: 56px; margin-bottom: 18px; }
.success-card h1 { font-size: clamp(28px, 4vw, 38px); color: var(--text-dark); margin-bottom: 14px; }
.success-card > p.lede { color: var(--text-secondary); font-size: 16px; margin-bottom: 40px; }
.success-steps { display: grid; gap: 16px; text-align: left; margin-bottom: 40px; }
.success-step { display: flex; gap: 14px; align-items: flex-start; background: var(--card-pink); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; }
.success-step .num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.success-step p { font-size: 14.5px; color: var(--text-dark); }
.success-step a { color: var(--brand); font-weight: 600; }
.success-download { background: var(--card-pink); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; }
.success-download h3 { font-size: 16px; color: var(--text-dark); margin-bottom: 14px; }
.success-support { font-size: 13.5px; color: var(--text-secondary); }
.success-support a { color: var(--brand); font-weight: 600; }

/* ── Misc utility ─────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.hidden { display: none !important; }
