/* ═══════════════════════════════════════════════════
   FinSignals Theme — finsignals.css
   Shared → Nav, Footer, Buttons, Typography, Utilities
   Homepage → Hero, Demo, Stats, Heads, Compare, Quickstart, CTA
   Pricing → Hero, Cards, Calculator, PAYG, Feature Table, FAQ
═══════════════════════════════════════════════════ */

/* ── Design Tokens ──────────────────────────────── */
:root {
  --bg:             #07091A;
  --bg2:            #0D1128;
  --bg3:            #141830;
  --card:           #1C2240;
  --accent:         #00D4A0;
  --accent2:        #4F8EF7;
  --accent-dim:     rgba(0,212,160,0.10);
  --accent-glow:    rgba(0,212,160,0.07);
  --text:           #DDE6F0;
  --muted:          #6B7E9C;
  --border:         rgba(255,255,255,0.07);
  --border-hover:   rgba(255,255,255,0.13);
  --border-accent:  rgba(0,212,160,0.28);
  --radius:         10px;
  --font-head:      'Outfit', sans-serif;
  --font-body:      'Plus Jakarta Sans', sans-serif;
  --font-mono:      'JetBrains Mono', monospace;
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a     { color: inherit; text-decoration: none; }
img   { max-width: 100%; height: auto; display: block; }
button, input, textarea { font-family: inherit; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

/* ── Typography ─────────────────────────────────── */
h1 { font-family: var(--font-head); font-size: 54px; font-weight: 700; line-height: 1.1; color: #EEF4FF; letter-spacing: -0.025em; }
h2 { font-family: var(--font-head); font-size: 38px; font-weight: 600; color: #EEF4FF; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 14px; }
h3 { font-family: var(--font-head); font-size: 20px; font-weight: 500; color: #EEF4FF; margin-bottom: 8px; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
.section-label {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px;
  display: inline-block;
}
.section-sub { font-size: 17px; color: var(--muted); max-width: 560px; margin-bottom: 48px; line-height: 1.65; }

/* ── Layout ─────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; }
section { padding: 80px 64px; }

/* WordPress / block pricing layout */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.fs-pricing .fs-pricing-blocks {
  max-width: none;
  margin: 0;
  padding: 0;
}
.fs-pricing .fs-pricing-blocks .wp-block-html {
  margin-left: 0;
  margin-right: 0;
}

/* ── Buttons ─────────────────────────────────────── */
.btn-ghost {
  font-size: 14px; color: var(--muted); padding: 7px 14px; border-radius: var(--radius);
  border: 1px solid var(--border); transition: all 0.2s; cursor: pointer;
  background: transparent; font-family: var(--font-body);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-hover); }

.btn-primary {
  font-size: 14px; font-weight: 500; color: #07091A; background: var(--accent);
  padding: 7px 18px; border-radius: var(--radius); transition: all 0.2s;
  cursor: pointer; border: none; font-family: var(--font-body); display: inline-block;
}
.btn-primary:hover { background: #00EBB2; transform: translateY(-1px); }

.btn-lg {
  font-family: var(--font-head); font-size: 15px; font-weight: 500;
  padding: 13px 26px; border-radius: var(--radius); transition: all 0.2s;
  cursor: pointer; border: none; display: inline-block;
}
.btn-accent,
.btn-accent-lg { background: var(--accent); color: #07091A; }
.btn-accent:hover,
.btn-accent-lg:hover { background: #00EBB2; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(0,212,160,0.22); }

.btn-outline,
.btn-outline-lg { background: transparent; border: 1px solid rgba(255,255,255,0.13); color: var(--text); }
.btn-outline:hover,
.btn-outline-lg:hover { border-color: rgba(255,255,255,0.24); background: rgba(255,255,255,0.04); }

/* ═══════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════ */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 60px;
  background: rgba(7,9,26,0.90); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--text);
  flex-shrink: 0; cursor: pointer;
}
.logo-mark {
  width: 30px; height: 30px; background: var(--accent); border-radius: 7px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover,
.nav-links .current-menu-item a { color: var(--text); }
.nav-links .current-menu-item a { color: var(--accent); }
.nav-ctas { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: space-between;
  width: 24px; height: 18px; background: none; border: none; cursor: pointer; padding: 0;
}
.nav-hamburger span {
  display: block; width: 100%; height: 2px; background: var(--muted);
  border-radius: 2px; transition: all 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile-menu {
  position: fixed; top: 60px; left: 0; right: 0; z-index: 199;
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 24px 24px 28px;
}
.nav-mobile-menu[hidden] { display: none; }
.mobile-nav-links { list-style: none; display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.mobile-nav-links a { font-size: 16px; color: var(--muted); display: block; padding: 10px 0; border-bottom: 1px solid var(--border); }
.mobile-nav-links a:hover { color: var(--text); }
.mobile-nav-ctas { display: flex; gap: 10px; }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 38px 64px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 13px; color: var(--muted); }

/* ═══════════════════════════════════════════════════
   CODE WINDOW (shared)
═══════════════════════════════════════════════════ */
.code-window { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.code-titlebar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--bg3); border-bottom: 1px solid var(--border); }
.code-dots { display: flex; gap: 6px; }
.code-dot { width: 11px; height: 11px; border-radius: 50%; }
.code-tab-name { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-left: 6px; }
.code-body { padding: 20px; font-family: var(--font-mono); font-size: 13px; line-height: 1.75; overflow-x: auto; }
pre { white-space: pre-wrap; word-break: break-word; }
.kw  { color: #C792EA; }
.str { color: #C3E88D; }
.fn  { color: #82AAFF; }
.vr  { color: #F07178; }
.key { color: #89DDFF; }
.num { color: #F78C6C; }
.cmt { color: #4A6070; font-style: italic; }
.pun { color: #89DDFF; }

/* ═══════════════════════════════════════════════════
   HOMEPAGE — HERO
═══════════════════════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 80px 64px; position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-30%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse, rgba(0,212,160,0.055) 0%, transparent 68%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  max-width: 1200px; margin: 0 auto; width: 100%; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-family: var(--font-mono); color: var(--accent);
  background: var(--accent-dim); border: 1px solid var(--border-accent);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 22px;
}
.badge-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }
.hero-sub { font-size: 17px; color: var(--muted); line-height: 1.65; margin-bottom: 34px; max-width: 450px; }
.hero-ctas { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.hero-trust { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-trust span { display: flex; align-items: center; gap: 5px; }
.check { color: var(--accent); }

/* ═══════════════════════════════════════════════════
   HOMEPAGE — PROOF BAR
═══════════════════════════════════════════════════ */
.proof-bar { padding: 28px 64px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.proof-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.proof-text { font-size: 12.5px; color: var(--muted); white-space: nowrap; flex-shrink: 0; }
.proof-logos { display: flex; align-items: center; gap: 36px; flex: 1; flex-wrap: wrap; }
.proof-logo { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.16); letter-spacing: 0.06em; text-transform: uppercase; }

/* ═══════════════════════════════════════════════════
   HOMEPAGE — LIVE DEMO
═══════════════════════════════════════════════════ */
.demo-section { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.demo-box { background: var(--bg3); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.demo-header { padding: 13px 20px; border-bottom: 1px solid var(--border); font-family: var(--font-mono); font-size: 12px; color: var(--muted); display: flex; align-items: center; justify-content: space-between; }
.live-dot { color: var(--accent); }
.demo-textarea { width: 100%; background: transparent; border: none; outline: none; color: var(--text); font-family: var(--font-body); font-size: 14px; line-height: 1.6; padding: 18px 20px; resize: none; min-height: 160px; }
.demo-ticker-row { padding: 0 20px 12px; display: flex; gap: 8px; align-items: center; }
.demo-ticker-label { font-size: 13px; color: var(--muted); }
.ticker-input { background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 6px 12px; color: var(--text); font-family: var(--font-mono); font-size: 13px; width: 110px; outline: none; transition: border-color 0.2s; }
.ticker-input:focus { border-color: var(--border-accent); }
.demo-run-row { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.run-btn { background: var(--accent); color: #07091A; font-weight: 500; font-size: 14px; padding: 9px 20px; border: none; border-radius: 8px; cursor: pointer; transition: all 0.2s; font-family: var(--font-head); }
.run-btn:hover { background: #00EBB2; transform: translateY(-1px); }
.run-btn:disabled { opacity: 0.6; transform: none; cursor: wait; }
.latency { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.output-body { padding: 18px 20px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.8; max-height: 340px; overflow-y: auto; }

/* ═══════════════════════════════════════════════════
   HOMEPAGE — STATS
═══════════════════════════════════════════════════ */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 60px; }
.stat-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 26px; }
.stat-number { font-family: var(--font-head); font-size: 44px; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 14px; color: var(--text); font-weight: 500; margin-bottom: 5px; }
.stat-sub { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ═══════════════════════════════════════════════════
   HOMEPAGE — 7 HEADS
═══════════════════════════════════════════════════ */
.heads-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.head-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 18px; transition: border-color 0.2s; }
.head-card:hover { border-color: rgba(0,212,160,0.22); }
.head-card-special { background: var(--accent-glow); border-color: var(--border-accent); }
.head-icon-box { width: 34px; height: 34px; border-radius: 8px; background: var(--accent-dim); border: 1px solid rgba(0,212,160,0.18); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 15px; }
.head-name { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); margin-bottom: 5px; }
.head-desc { font-size: 13px; color: var(--muted); line-height: 1.45; }
.head-pills { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 4px; }
.pill { font-family: var(--font-mono); font-size: 10px; color: var(--accent); background: var(--accent-dim); border: 1px solid rgba(0,212,160,0.14); padding: 2px 8px; border-radius: 100px; }

/* ═══════════════════════════════════════════════════
   HOMEPAGE — COST COMPARISON TABLE
═══════════════════════════════════════════════════ */
.compare-section { background: var(--bg2); border-top: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; font-size: 13.5px; }
.compare-table th { background: var(--bg3); padding: 13px 18px; font-family: var(--font-head); font-size: 13px; font-weight: 500; color: var(--muted); text-align: left; border-bottom: 1px solid var(--border); }
.compare-table th.hl { color: var(--accent); background: rgba(0,212,160,0.05); }
.compare-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); color: var(--text); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td.hl { background: rgba(0,212,160,0.04); color: var(--accent); font-weight: 500; font-family: var(--font-mono); font-size: 13px; }
.compare-table .red { color: #F87171; font-family: var(--font-mono); font-size: 12.5px; }
.compare-table .mono { font-family: var(--font-mono); font-size: 12.5px; }
.compare-table .bold { font-weight: 500; }
.compare-table-wrap { overflow-x: auto; border-radius: 12px; }

/* ═══════════════════════════════════════════════════
   HOMEPAGE — PRICING TEASE (4-card mini)
═══════════════════════════════════════════════════ */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pricing-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 26px 22px; display: flex; flex-direction: column; position: relative; transition: border-color 0.2s; }
.pricing-card:hover { border-color: rgba(255,255,255,0.14); }
.pricing-card.pop { border: 1.5px solid var(--accent); background: rgba(0,212,160,0.028); }
.pop-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 11px; color: #07091A; background: var(--accent); padding: 3px 14px; border-radius: 100px; white-space: nowrap; font-weight: 600; }
.pricing-tier { font-family: var(--font-head); font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.1em; }
.pricing-price { font-family: var(--font-head); font-size: 40px; font-weight: 700; color: #EEF4FF; line-height: 1; margin-bottom: 4px; }
.pricing-price span { font-size: 16px; font-weight: 400; color: var(--muted); }
.pricing-credits { font-size: 13px; color: var(--muted); margin-bottom: 22px; font-family: var(--font-mono); }
.pricing-features { list-style: none; margin-bottom: auto; padding-bottom: 22px; }
.pricing-features li { font-size: 13px; color: var(--muted); padding: 5px 0; display: flex; align-items: flex-start; gap: 8px; }
.pricing-features li::before { content: '✓'; color: var(--accent); flex-shrink: 0; }
.pricing-cta { width: 100%; padding: 11px; border-radius: 9px; font-family: var(--font-head); font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; text-align: center; border: none; display: block; }
.pcta-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.pcta-outline:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }
.pcta-filled { background: var(--accent); color: #07091A; }
.pcta-filled:hover { background: #00EBB2; transform: translateY(-1px); }

/* ═══════════════════════════════════════════════════
   HOMEPAGE — QUICKSTART
═══════════════════════════════════════════════════ */
.qs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.step-list { list-style: none; }
.step-item { display: flex; align-items: flex-start; gap: 16px; padding-bottom: 26px; position: relative; }
.step-item:not(:last-child)::after { content: ''; position: absolute; left: 17px; top: 38px; bottom: 0; width: 1px; background: var(--border); }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--bg3); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 13px; color: var(--accent); flex-shrink: 0; }
.step-h { font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 3px; }
.step-p { font-size: 13.5px; color: var(--muted); }
.step-code { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); background: var(--accent-dim); padding: 2px 8px; border-radius: 5px; border: 1px solid rgba(0,212,160,0.15); }

/* Code tabs */
.code-tab-bar { display: flex; gap: 2px; padding: 0 14px; margin-bottom: -1px; }
.ctab { font-family: var(--font-mono); font-size: 12px; padding: 7px 14px; border: 1px solid var(--border); border-bottom: none; border-radius: 8px 8px 0 0; background: var(--bg2); color: var(--muted); cursor: pointer; transition: all 0.15s; }
.ctab.active { background: var(--bg3); color: var(--accent); }

/* ═══════════════════════════════════════════════════
   HOMEPAGE — FINAL CTA
═══════════════════════════════════════════════════ */
.final-cta { text-align: center; padding: 100px 64px; position: relative; overflow: hidden; }
.cta-glow { position: absolute; bottom: -120px; left: 50%; transform: translateX(-50%); width: 700px; height: 500px; background: radial-gradient(ellipse, rgba(0,212,160,0.06) 0%, transparent 68%); pointer-events: none; }
.final-cta h2 { margin-bottom: 16px; }
.final-cta p { color: var(--muted); margin-bottom: 36px; font-size: 17px; }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════
   PRICING PAGE — HERO
═══════════════════════════════════════════════════ */
.pricing-hero { padding: 120px 64px 56px; text-align: center; position: relative; overflow: hidden; }
.hero-glow-l { position: absolute; top: -80px; left: 10%; width: 500px; height: 500px; background: radial-gradient(ellipse, rgba(0,212,160,0.045) 0%, transparent 65%); pointer-events: none; }
.hero-glow-r { position: absolute; top: -40px; right: 10%; width: 400px; height: 400px; background: radial-gradient(ellipse, rgba(79,142,247,0.035) 0%, transparent 65%); pointer-events: none; }
.pricing-hero h1 { font-size: 52px; margin-bottom: 16px; }
.pricing-hero p { font-size: 17px; color: var(--muted); max-width: 520px; margin: 0 auto 36px; line-height: 1.65; }

/* Billing toggle */
.billing-toggle { display: inline-flex; align-items: center; background: var(--bg2); border: 1px solid var(--border); border-radius: 100px; padding: 4px; gap: 2px; margin-bottom: 8px; }
.btog-btn { font-family: var(--font-head); font-size: 13px; font-weight: 500; padding: 7px 20px; border-radius: 100px; border: none; cursor: pointer; transition: all 0.2s; background: transparent; color: var(--muted); }
.btog-btn.active { background: var(--bg3); color: var(--text); border: 1px solid var(--border-hover); }
.save-badge { font-family: var(--font-mono); font-size: 11px; color: var(--accent); background: var(--accent-dim); border: 1px solid var(--border-accent); padding: 3px 10px; border-radius: 100px; margin-left: 8px; }
.billing-note { font-size: 13px; color: var(--muted); margin-top: 8px; min-height: 18px; transition: opacity 0.3s; }

/* ═══════════════════════════════════════════════════
   PRICING PAGE — CREDIT EXPLAINER STRIP
═══════════════════════════════════════════════════ */
.credit-strip { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 64px; }
.credit-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.credit-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.credit-chip { font-family: var(--font-mono); font-size: 12px; color: var(--accent); background: var(--accent-dim); border: 1px solid rgba(0,212,160,0.18); padding: 4px 12px; border-radius: 6px; white-space: nowrap; }
.credit-sep { color: var(--border-hover); font-size: 20px; font-weight: 200; }

/* ═══════════════════════════════════════════════════
   PRICING PAGE — PLAN CARDS
═══════════════════════════════════════════════════ */
.pricing-section { padding: 0 64px 72px; }
.cards-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: start; }
.plan-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 18px; padding: 28px 24px 24px; display: flex; flex-direction: column; position: relative; transition: border-color 0.25s, transform 0.2s; }
.plan-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.plan-card.popular { border: 1.5px solid var(--accent); background: #0A1D1A; transform: translateY(-6px); }
.plan-card.popular:hover { transform: translateY(-8px); }
.popular-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; color: #07091A; background: var(--accent); padding: 4px 16px; border-radius: 100px; white-space: nowrap; letter-spacing: 0.05em; }
.plan-name { font-family: var(--font-head); font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; }
.plan-price-row { display: flex; align-items: flex-end; gap: 4px; margin-bottom: 3px; min-height: 58px; }
.plan-price,
.plan-price-free { font-family: var(--font-head); font-size: 46px; font-weight: 700; color: #EEF4FF; line-height: 1; transition: all 0.3s; }
.plan-per { font-size: 15px; color: var(--muted); padding-bottom: 4px; }
.plan-annual-note { font-size: 12px; color: var(--accent); font-family: var(--font-mono); min-height: 16px; margin-bottom: 2px; }
.plan-credits { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.plan-per-call { font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.plan-per-call strong { color: var(--text); font-weight: 500; }
.plan-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 18px; }
.plan-features { list-style: none; margin-bottom: 24px; flex: 1; }
.plan-features li { font-size: 13px; color: var(--muted); padding: 5px 0; display: flex; align-items: flex-start; gap: 9px; line-height: 1.4; }
.plan-features li .fi { flex-shrink: 0; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.fi-check { color: var(--accent); font-size: 13px; }
.fi-dash  { color: var(--border-hover); font-size: 16px; line-height: 1; }
.feat-hl  { color: var(--text); }
.plan-cta { width: 100%; padding: 12px; border-radius: 10px; font-family: var(--font-head); font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; text-align: center; border: none; letter-spacing: 0.01em; display: block; }
.cta-outline { background: transparent; border: 1px solid var(--border-hover); color: var(--text); }
.cta-outline:hover { border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.04); }
.cta-accent { background: var(--accent); color: #07091A; }
.cta-accent:hover { background: #00EBB2; transform: translateY(-1px); box-shadow: 0 8px 26px rgba(0,212,160,0.22); }

/* Enterprise row */
.enterprise-row { max-width: 1100px; margin: 16px auto 0; background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ent-left h3 { font-family: var(--font-head); font-size: 16px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.ent-left p { font-size: 13px; color: var(--muted); }
.ent-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.ent-pill { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); background: var(--bg3); border: 1px solid var(--border); padding: 5px 12px; border-radius: 6px; }
.btn-ent { background: transparent; border: 1px solid var(--border-accent); color: var(--accent); font-family: var(--font-head); font-size: 14px; font-weight: 500; padding: 10px 22px; border-radius: 9px; cursor: pointer; white-space: nowrap; transition: all 0.2s; }
.btn-ent:hover { background: var(--accent-dim); }

/* Tooltip */
.tipwrap { position: relative; display: inline-flex; align-items: center; }
.tip-icon { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--border-hover); font-size: 9px; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: help; margin-left: 5px; flex-shrink: 0; }
.tooltip { display: none; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--bg3); border: 1px solid var(--border-hover); border-radius: 8px; padding: 9px 12px; font-size: 12px; color: var(--muted); white-space: nowrap; line-height: 1.5; z-index: 20; pointer-events: none; }
.tipwrap:hover .tooltip { display: block; }

/* ═══════════════════════════════════════════════════
   PRICING PAGE — CALCULATOR
═══════════════════════════════════════════════════ */
.calc-section { padding: 72px 64px; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.calc-inner { max-width: 900px; margin: 0 auto; }
.calc-section h2 { font-size: 34px; margin-bottom: 10px; }
.calc-section p.calc-desc { font-size: 16px; color: var(--muted); max-width: 520px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 44px; }
.calc-inputs { display: flex; flex-direction: column; gap: 28px; }
.slider-group label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.slider-label { font-size: 14px; color: var(--text); font-weight: 500; }
.slider-val { font-family: var(--font-mono); font-size: 14px; color: var(--accent); }
input[type=range] { width: 100%; height: 4px; border-radius: 2px; background: var(--bg3); -webkit-appearance: none; outline: none; cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 2px solid var(--bg); box-shadow: 0 0 0 2px rgba(0,212,160,0.3); transition: box-shadow 0.2s; }
input[type=range]::-webkit-slider-thumb:hover { box-shadow: 0 0 0 4px rgba(0,212,160,0.2); }
.slider-ticks { display: flex; justify-content: space-between; margin-top: 5px; font-size: 11.5px; font-family: var(--font-mono); color: var(--muted); }
.calc-result { background: var(--bg3); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.calc-result-label { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 6px; }
.calc-cost { font-family: var(--font-head); font-size: 52px; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 4px; }
.calc-plan-suggest { font-size: 13.5px; color: var(--text); margin-bottom: 20px; }
.calc-plan-suggest strong { color: var(--accent); }
.calc-breakdown { border-top: 1px solid var(--border); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.cbr { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.cbr-label { color: var(--muted); }
.cbr-val { font-family: var(--font-mono); color: var(--text); font-size: 12.5px; }
.cbr-val.green { color: var(--accent); }
.cbr-val.red { color: #F87171; }
.calc-cta { margin-top: 20px; width: 100%; padding: 12px; background: var(--accent); color: #07091A; border: none; border-radius: 10px; font-family: var(--font-head); font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.calc-cta:hover { background: #00EBB2; transform: translateY(-1px); }
.llm-compare { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }
.llm-compare span { color: #F87171; font-family: var(--font-mono); }
.llm-compare strong { color: var(--text); }

/* ═══════════════════════════════════════════════════
   PRICING PAGE — PAYG PACKS
═══════════════════════════════════════════════════ */
.payg-section { padding: 72px 64px; }
.payg-inner { max-width: 900px; margin: 0 auto; }
.payg-section h2 { font-size: 34px; margin-bottom: 10px; }
.payg-desc { font-size: 16px; color: var(--muted); max-width: 500px; }
.payg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.payg-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 24px; transition: border-color 0.2s, transform 0.2s; cursor: pointer; }
.payg-card:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.payg-card.best { border-color: rgba(0,212,160,0.22); }
.payg-amount { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: #EEF4FF; margin-bottom: 3px; }
.payg-price { font-family: var(--font-mono); font-size: 22px; color: var(--accent); font-weight: 500; margin-bottom: 8px; }
.payg-rate { font-size: 12.5px; color: var(--muted); font-family: var(--font-mono); margin-bottom: 14px; }
.payg-note { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.best-tag { font-family: var(--font-mono); font-size: 10.5px; color: var(--accent); display: inline-block; margin-bottom: 8px; }
.payg-footer { margin-top: 20px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.payg-footer strong { color: var(--text); }

/* ═══════════════════════════════════════════════════
   PRICING PAGE — FEATURE COMPARISON TABLE
═══════════════════════════════════════════════════ */
.compare-section-pricing { padding: 72px 64px; background: var(--bg2); border-top: 1px solid var(--border); }
.compare-inner { max-width: 1100px; margin: 0 auto; }
.compare-section-pricing h2 { font-size: 34px; margin-bottom: 10px; }
.compare-subtitle { font-size: 17px; color: var(--muted); max-width: 500px; margin-bottom: 44px; line-height: 1.6; }
.feat-table { width: 100%; border-collapse: collapse; }
.feat-table thead tr { border-bottom: 1px solid var(--border); }
.feat-table th { font-family: var(--font-head); font-size: 12.5px; font-weight: 500; color: var(--muted); text-align: center; padding: 14px 12px; }
.feat-table th:first-child { text-align: left; color: var(--text); }
.feat-table th.th-pop { color: var(--accent); }
.feat-table td { padding: 11px 12px; font-size: 13px; color: var(--muted); text-align: center; border-bottom: 1px solid rgba(255,255,255,0.04); }
.feat-table td:first-child { text-align: left; color: var(--text); }
.feat-table tr:last-child td { border-bottom: none; }
.feat-table .td-check { color: var(--accent); font-size: 15px; }
.feat-table .td-dash  { color: rgba(255,255,255,0.15); }
.feat-table .td-val   { font-family: var(--font-mono); font-size: 12px; }
.feat-table .td-pop   { color: var(--accent); font-family: var(--font-mono); font-size: 12px; }
.feat-table .section-row td { padding-top: 22px; padding-bottom: 6px; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.09em; background: transparent; border-bottom: 1px solid var(--border); }
.pop-col { background: rgba(0,212,160,0.025); }
.feat-table-wrap { overflow-x: auto; }

/* ═══════════════════════════════════════════════════
   PRICING PAGE — FAQ
═══════════════════════════════════════════════════ */
.faq-section { padding: 72px 64px; }
.faq-inner { max-width: 780px; margin: 0 auto; }
.faq-section h2 { font-size: 34px; text-align: center; margin-bottom: 0; }
.faq-list { margin-top: 44px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; cursor: pointer; gap: 16px; user-select: none; }
.faq-q-text { font-size: 15px; color: var(--text); font-weight: 500; }
.faq-icon { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--muted); transition: all 0.25s; }
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--border-accent); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s; }
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 18px; }
.faq-a p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.faq-a p + p { margin-top: 10px; }
.faq-a a { color: var(--accent); }
.faq-a code { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); background: var(--accent-dim); padding: 1px 6px; border-radius: 4px; }

/* ═══════════════════════════════════════════════════
   PRICING PAGE — FINAL CTA (variant)
═══════════════════════════════════════════════════ */
.final-cta-pricing { padding: 100px 64px; text-align: center; position: relative; overflow: hidden; background: var(--bg2); border-top: 1px solid var(--border); }
.final-cta-pricing h2 { font-size: 40px; margin-bottom: 14px; }
.final-cta-pricing p { font-size: 17px; color: var(--muted); margin-bottom: 36px; }
.cta-row { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta-footnote { margin-top: 16px; font-size: 13px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.cta-footnote span { display: flex; align-items: center; gap: 5px; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════════ */

/* Tablet — ≤ 1024px */
@media (max-width: 1024px) {
  section { padding: 64px 40px; }
  .hero { padding: 80px 40px; }
  .hero-inner { gap: 40px; }
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  .heads-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .qs-grid { gap: 32px; }
  .calc-grid { gap: 32px; }
  .proof-bar { padding: 28px 40px; }
  .credit-strip { padding: 16px 40px; }
  .pricing-section { padding: 0 40px 56px; }
  .calc-section,
  .payg-section,
  .compare-section-pricing,
  .faq-section { padding: 56px 40px; }
  footer { padding: 32px 40px; }
  .final-cta,
  .final-cta-pricing { padding: 80px 40px; }
  .pricing-hero { padding: 100px 40px 48px; }
}

/* Mobile — ≤ 768px */
@media (max-width: 768px) {
  section { padding: 56px 20px; }
  .hero { padding: 80px 20px 56px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .hero-sub { font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }

  /* Nav */
  #site-nav { padding: 0 20px; }
  .nav-links,
  .nav-ctas { display: none; }
  .nav-hamburger { display: flex; }

  /* Proof bar */
  .proof-bar { padding: 20px; }
  .proof-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .proof-logos { gap: 20px; }

  /* Demo */
  .demo-grid { grid-template-columns: 1fr; }
  .demo-section .container { padding: 0; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 36px; }

  /* Heads */
  .heads-grid { grid-template-columns: 1fr 1fr; }

  /* Compare table — horizontal scroll */
  .compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare-table { min-width: 640px; }

  /* Pricing tease */
  .pricing-grid { grid-template-columns: 1fr; }

  /* Quickstart */
  .qs-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Final CTA */
  .final-cta { padding: 64px 20px; }
  .cta-btns { flex-direction: column; align-items: center; }

  /* Pricing hero */
  .pricing-hero { padding: 90px 20px 40px; }
  .pricing-hero h1 { font-size: 36px; }

  /* Credit strip */
  .credit-strip { padding: 16px 20px; }
  .credit-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .credit-sep { display: none; }

  /* Plan cards */
  .pricing-section { padding: 0 20px 48px; }
  .cards-grid { grid-template-columns: 1fr; }
  .plan-card.popular { transform: none; }
  .plan-card.popular:hover { transform: translateY(-2px); }

  /* Enterprise row */
  .enterprise-row { flex-direction: column; align-items: flex-start; }

  /* Calculator */
  .calc-section,
  .payg-section,
  .compare-section-pricing,
  .faq-section { padding: 48px 20px; }
  .calc-grid { grid-template-columns: 1fr; }

  /* PAYG */
  .payg-grid { grid-template-columns: 1fr; }

  /* Feature table */
  .feat-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .feat-table { min-width: 580px; }

  /* FAQ */
  .faq-inner { max-width: 100%; }
  .faq-section h2 { font-size: 26px; }

  /* Final CTA pricing */
  .final-cta-pricing { padding: 64px 20px; }
  .cta-row { flex-direction: column; align-items: center; }

  /* Footer */
  footer { padding: 28px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { flex-wrap: wrap; gap: 12px; }
}

/* Small mobile — ≤ 420px */
@media (max-width: 420px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .heads-grid { grid-template-columns: 1fr; }
  .billing-toggle { flex-direction: column; width: 100%; }
  .btog-btn { width: 100%; text-align: center; }
}

/* ═══════════════════════════════════════════════════
   DOCS PAGE — block editor content, tight vertical rhythm
═══════════════════════════════════════════════════ */
.fs-docs {
  padding: 96px 64px 64px;
  min-height: 60vh;
}
.fs-docs-inner {
  max-width: 760px;
  margin: 0 auto;
}
.fs-docs-title {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: #EEF4FF;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 12px;
}
/* Block stack — minimal scrolling */
.fs-docs-blocks {
  --fs-doc-space: 0.55rem;
  --fs-doc-h2-top: 1.1rem;
  --fs-doc-h3-top: 0.85rem;
}
.fs-docs-blocks > * {
  margin-block-start: 0;
  margin-block-end: var(--fs-doc-space);
}
.fs-docs-blocks > *:last-child {
  margin-block-end: 0;
}
.fs-docs-blocks > .wp-block-heading {
  scroll-margin-top: 72px;
}
.fs-docs-blocks h2.wp-block-heading {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 600;
  color: #EEF4FF;
  line-height: 1.25;
  margin-block-start: var(--fs-doc-h2-top);
  margin-block-end: 0.35rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
}
.fs-docs-blocks h2.wp-block-heading:first-child {
  margin-block-start: 0;
}
.fs-docs-blocks .wp-block-group.fs-docs-toc + .wp-block-heading,
.editor-styles-wrapper .wp-block-group.fs-docs-toc + .wp-block-heading {
  margin-block-start: 0.6rem;
}
.fs-docs-blocks h3.wp-block-heading {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 500;
  color: #EEF4FF;
  margin-block-start: var(--fs-doc-h3-top);
  margin-block-end: 0.25rem;
}
.fs-docs-blocks p,
.fs-docs-blocks li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.fs-docs-blocks p {
  margin-block-end: var(--fs-doc-space);
}
.fs-docs-blocks a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.fs-docs-blocks a:hover { color: #00EBB2; }
.fs-docs-blocks strong {
  color: var(--text);
  font-weight: 500;
}
/* Kicker + lead (optional classes on Paragraph block → Additional CSS class) */
.fs-docs-blocks p.fs-docs-kicker,
.editor-styles-wrapper .fs-docs-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-block-end: 0.35rem;
}
.fs-docs-blocks p.fs-docs-lead,
.editor-styles-wrapper .fs-docs-lead {
  font-size: 16px;
  line-height: 1.6;
  margin-block-end: 14px;
  max-width: 640px;
}
.fs-docs-blocks p.fs-docs-note,
.editor-styles-wrapper .fs-docs-note {
  font-size: 13px;
  border-left: 3px solid var(--border-accent);
  padding-left: 12px;
  margin-block-start: 0.35rem !important;
}
.fs-docs-blocks p.fs-docs-privacy,
.editor-styles-wrapper .fs-docs-privacy {
  font-size: 13px;
  margin-block-start: 0.75rem !important;
}
/* TOC group */
.fs-docs-blocks .wp-block-group.fs-docs-toc,
.editor-styles-wrapper .wp-block-group.fs-docs-toc {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px 14px;
  margin-block-end: 14px !important;
}

/* API Tester CTA inline with TOC */
.fs-docs-tester-cta {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 32px;
}
.fs-docs-tester-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  background: var(--accent);
  color: #07091A;
  text-decoration: none;
  transition: opacity 0.2s, box-shadow 0.2s;
  font-family: var(--font-body);
}
.fs-docs-tester-btn:hover { opacity: 0.88; box-shadow: 0 0 18px rgba(0,212,160,0.28); color: #07091A; }
.fs-docs-blocks .fs-docs-toc .wp-block-list,
.editor-styles-wrapper .fs-docs-toc .wp-block-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  gap: 2px 16px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  font-size: 13px;
}
.fs-docs-blocks .fs-docs-toc .wp-block-list a,
.editor-styles-wrapper .fs-docs-toc .wp-block-list a {
  color: var(--muted);
  text-decoration: none;
}
.fs-docs-blocks .fs-docs-toc .wp-block-list a:hover {
  color: var(--accent);
}
.fs-docs-blocks .fs-docs-toc p {
  margin: 0;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}
/* Lists */
.fs-docs-blocks .wp-block-list {
  margin-block: 0.35rem 0.5rem;
  padding-left: 1.15em;
}
.fs-docs-blocks .wp-block-list li {
  margin-block-end: 0.2rem;
}
/* Tables */
.fs-docs-blocks .wp-block-table,
.editor-styles-wrapper .wp-block-table {
  margin-block: 0.35rem 0.55rem;
}
.fs-docs-blocks .wp-block-table table,
.editor-styles-wrapper .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.fs-docs-blocks .wp-block-table th,
.fs-docs-blocks .wp-block-table td,
.editor-styles-wrapper .wp-block-table th,
.editor-styles-wrapper .wp-block-table td {
  padding: 7px 11px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.fs-docs-blocks .wp-block-table th,
.editor-styles-wrapper .wp-block-table th {
  background: var(--bg3);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 12px;
  color: var(--text);
}
.fs-docs-blocks .wp-block-table tr:last-child td,
.editor-styles-wrapper .wp-block-table tr:last-child td {
  border-bottom: none;
}
.fs-docs-blocks .wp-block-table code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent);
}
/* Code & preformatted */
.fs-docs-blocks .wp-block-code,
.editor-styles-wrapper .wp-block-code {
  margin-block: 0.35rem 0.55rem;
}
.fs-docs-blocks .wp-block-code code,
.fs-docs-blocks pre.wp-block-code,
.editor-styles-wrapper .wp-block-code code {
  display: block;
  background: var(--bg2) !important;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 13px !important;
  overflow-x: auto;
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  line-height: 1.55;
  color: var(--text) !important;
}
.fs-docs-blocks .wp-block-preformatted,
.editor-styles-wrapper .wp-block-preformatted {
  margin-block: 0.35rem 0.55rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 13px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  color: var(--text);
}

@media (max-width: 768px) {
  .fs-docs { padding: 84px 20px 48px; }
  .fs-docs-title { font-size: 26px; }
  .fs-docs-blocks .fs-docs-toc .wp-block-list {
    grid-template-columns: 1fr;
  }
  .fs-docs-blocks .wp-block-table {
    overflow-x: auto;
  }
}

/* ═══════════════════════════════════════════════════
   WooCommerce — dark theme integration
═══════════════════════════════════════════════════ */

/* ── Layout wrapper ─────────────────────────────── */
.fs-wc-page {
  padding: 120px 64px 80px;
  max-width: 1000px;
  margin: 0 auto;
}
.fs-wc-inner > h1:first-child {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 700;
  color: #EEF4FF;
  margin-bottom: 32px;
}

/* ── WooCommerce base resets ─────────────────────── */
.woocommerce-page .woocommerce,
.woocommerce { color: var(--text); }

.woocommerce form .form-row label,
.woocommerce-checkout label { color: var(--muted); font-size: 13px; font-weight: 500; margin-bottom: 5px; display: block; }

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  width: 100%;
  transition: border-color 0.2s;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}
select option { background: var(--bg3); }

/* ── Buttons ────────────────────────────────────── */
.woocommerce #place_order,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
  background: var(--accent);
  color: #07091A;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  cursor: pointer;
  transition: opacity 0.2s, box-shadow 0.2s;
  font-family: var(--font-body);
}
.woocommerce #place_order:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover { opacity: 0.88; box-shadow: 0 0 20px rgba(0,212,160,0.28); }

.woocommerce button.button.alt,
.woocommerce a.button.alt { background: var(--accent); color: #07091A; }

/* ── Notices ────────────────────────────────────── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--bg3);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  color: var(--text);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 14px;
}
.woocommerce-error { border-top-color: #f66; }
.woocommerce-info  { border-top-color: var(--accent2); }

/* ── Checkout layout ─────────────────────────────── */
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review { color: var(--text); }

.woocommerce-checkout h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: #EEF4FF;
  margin: 24px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* Order review table */
.woocommerce-checkout-review-order-table,
.shop_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td,
.shop_table th,
.shop_table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.woocommerce-checkout-review-order-table tfoot tr:last-child td,
.woocommerce-checkout-review-order-table tfoot tr:last-child th,
.shop_table tfoot tr:last-child td,
.shop_table tfoot tr:last-child th {
  font-weight: 700;
  font-size: 16px;
  color: #EEF4FF;
}

/* ── Payment methods ─────────────────────────────── */
#payment { background: var(--bg3); border-radius: var(--radius); padding: 20px; margin-top: 20px; }
#payment .wc_payment_method label { color: var(--text); font-size: 14px; cursor: pointer; }
#payment .payment_box { background: var(--bg2); border-radius: var(--radius); padding: 14px; margin-top: 10px; }
#payment .payment_box p { color: var(--muted); font-size: 13px; }
.woocommerce-privacy-policy-text { color: var(--muted); font-size: 12px; margin-top: 12px; }
.woocommerce-privacy-policy-text a { color: var(--accent); text-decoration: underline; }

/* ── Stripe card element ─────────────────────────── */
.wc-stripe-elements-field,
.wc-stripe-iban-element-field,
.stripe-elements-field {
  background: var(--bg3) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 10px 14px !important;
}

/* ── Thank you / order received ──────────────────── */
.woocommerce-order { color: var(--text); }
.woocommerce-thankyou-order-received {
  background: var(--bg3);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  font-size: 15px;
  margin-bottom: 24px;
}
.woocommerce-order-details table { font-size: 14px; }

/* ── My account ──────────────────────────────────── */
.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none;
  width: 100%;
  margin-bottom: 24px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.woocommerce-account .woocommerce-MyAccount-content { color: var(--text); font-size: 14px; line-height: 1.7; }

/* ── Subscriptions tab ───────────────────────────── */
.wps-sfw-subscription-table { font-size: 13px; width: 100%; border-collapse: collapse; }
.wps-sfw-subscription-table th { color: var(--muted); font-weight: 500; padding: 8px; border-bottom: 1px solid var(--border); }
.wps-sfw-subscription-table td { color: var(--text); padding: 8px; border-bottom: 1px solid var(--border); }
.wps-sfw-subscription-status { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 12px; }
.wps-sfw-subscription-status.wps-sfw-active { background: rgba(0,212,160,.12); color: var(--accent); }

/* ── Order confirmation — API key CTA ──────────────── */
.fs-thankyou-cta {
  background: var(--bg3);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.fs-thankyou-cta p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}
.fs-thankyou-cta .button.alt {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .fs-wc-page { padding: 90px 20px 60px; }
  .woocommerce form.checkout { display: block; }
  .fs-thankyou-cta { flex-direction: column; align-items: flex-start; }
}

/* ── Pie Register — submit button override ────────────────────────────────── */
/* pie-register/assets/css/front.css uses .pieregWrapper input[type="submit"]
   (0,2,1) so we need equal or higher specificity + !important on visuals.    */
.pieregWrapper input.pie_submit,
.pieregWrapper input.pie_submit:focus,
.piereg_container input.pie_submit,
.piereg_container input.pie_submit:focus {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 14px 28px !important;
  margin: 12px 0 0 !important;
  font-family: var(--font-head) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  color: #07091A !important;
  background: var(--accent) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  cursor: pointer !important;
  float: none !important;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 4px 18px rgba(0, 212, 160, 0.18) !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  text-shadow: none !important;
}

.pieregWrapper input.pie_submit:hover,
.piereg_container input.pie_submit:hover {
  background: #00EBB2 !important;
  color: #07091A !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 28px rgba(0, 212, 160, 0.28) !important;
}

.pieregWrapper input.pie_submit:active,
.piereg_container input.pie_submit:active {
  transform: translateY(0) !important;
  box-shadow: none !important;
}

.pieregWrapper input.pie_submit:disabled,
.pieregWrapper input.pie_submit[disabled],
.piereg_container input.pie_submit:disabled,
.piereg_container input.pie_submit[disabled] {
  opacity: 0.65 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ── Pie Register — login / lost-password submit buttons ─────────────────── */
.piereg_container .piereg_login_wrapper .submit input[type="submit"],
.piereg_container .piereg_resetpassform .submit input[type="submit"],
#piereg_login form#piereg_lostpasswordform p input[type="submit"] {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 14px 28px !important;
  font-family: var(--font-head) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  color: #07091A !important;
  background: var(--accent) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  cursor: pointer !important;
  float: none !important;
  box-shadow: 0 4px 18px rgba(0, 212, 160, 0.18) !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  text-shadow: none !important;
  margin-top: 8px !important;
}

.piereg_container .piereg_login_wrapper .submit input[type="submit"]:hover,
.piereg_container .piereg_resetpassform .submit input[type="submit"]:hover,
#piereg_login form#piereg_lostpasswordform p input[type="submit"]:hover {
  background: #00EBB2 !important;
  color: #07091A !important;
}

/* ── WooCommerce my-account login button ─────────────────────────────────── */
.woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce-form-login .woocommerce-button.button {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 14px 28px !important;
  margin-top: 12px !important;
  font-family: var(--font-head) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  color: #07091A !important;
  background: var(--accent) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  cursor: pointer !important;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s !important;
  box-shadow: 0 4px 18px rgba(0, 212, 160, 0.18) !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  text-shadow: none !important;
}

.woocommerce-form-login .woocommerce-form-login__submit:hover,
.woocommerce-form-login .woocommerce-button.button:hover {
  background: #00EBB2 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 28px rgba(0, 212, 160, 0.28) !important;
}

/* ══════════════════════════════════════════════════════════════════
   Nav sign-in text link (logged-out state)
════════════════════════════════════════════════════════════════════ */
.nav-signin-link {
  color: var(--muted);
  font-size: 14px;
  font-family: var(--font-body);
  transition: color 0.2s;
  padding: 6px 0;
}
.nav-signin-link:hover { color: var(--text); }

/* ══════════════════════════════════════════════════════════════════
   Registration / Login form — label color fix
════════════════════════════════════════════════════════════════════ */
.pieregWrapper .fieldset label,
.piereg_container .fieldset label {
  color: #EEF4FF !important;
}
.pieregWrapper .fieldset label .piereg_field_required_label,
.piereg_container .fieldset label .piereg_field_required_label {
  color: var(--accent) !important;
}

/* ══════════════════════════════════════════════════════════════════
   Proof strip
════════════════════════════════════════════════════════════════════ */
.proof-strip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 64px;
  text-align: center;
}
.proof-strip p { font-size: 14px; color: var(--muted); margin: 0; letter-spacing: 0.01em; }

/* ══════════════════════════════════════════════════════════════════
   Demo sample-posts dropdown
════════════════════════════════════════════════════════════════════ */
.demo-samples-row { padding: 10px 16px 0; }
.demo-samples-select {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 8px 28px 8px 10px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7E9C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.demo-samples-select:focus { outline: none; border-color: var(--accent); }
.demo-samples-select option { background: #0D1128; }

/* ══════════════════════════════════════════════════════════════════
   Who this is for / What you can build
════════════════════════════════════════════════════════════════════ */
.audience-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.audience-section .container { display: flex; flex-direction: column; gap: 48px; }
.audience-top h2 { margin-bottom: 28px; }
.audience-grid { display: flex; flex-direction: column; gap: 0; }
.audience-row {
  display: grid;
  grid-template-columns: 175px 28px 1fr;
  align-items: start;
  gap: 0 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.audience-row:last-child { border-bottom: none; }
.audience-label { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: #EEF4FF; }
.audience-arrow { color: var(--accent); font-size: 18px; padding-top: 1px; }
.audience-copy { color: var(--muted); font-size: 15px; line-height: 1.55; }
.builds-title { font-family: var(--font-head); font-size: 22px; font-weight: 600; color: #EEF4FF; margin-bottom: 18px; }
.use-case-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.use-case-list li { display: flex; align-items: baseline; gap: 10px; font-size: 15px; color: var(--text); line-height: 1.5; }
.uc-arrow { color: var(--accent); flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════════
   Complete pipeline section
════════════════════════════════════════════════════════════════════ */
.pipeline-section { background: var(--bg); border-top: 1px solid var(--border); }
.pipeline-options { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.pipeline-opt { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.pipeline-opt-label { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pipeline-opt-badge {
  background: var(--accent-dim); color: var(--accent);
  font-family: var(--font-mono); font-size: 11px;
  padding: 3px 8px; border-radius: 4px; white-space: nowrap;
}
.pipeline-opt-label strong { color: #EEF4FF; font-size: 15px; }
.pipeline-opt p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
.pipeline-opt a { color: var(--accent); }
.pipeline-opt a:hover { text-decoration: underline; }
.pipeline-separator {
  text-align: center; font-size: 15px; color: var(--muted);
  padding: 18px; margin-bottom: 32px;
  border: 1px dashed rgba(0,212,160,0.35); border-radius: var(--radius);
  background: rgba(0,212,160,0.05);
}
.pipeline-separator strong { color: #EEF4FF; }
.pipeline-code-wrap { margin-top: 8px; }
.pipeline-protip {
  margin-top: 14px; font-size: 13px; color: var(--muted);
  background: var(--bg2); border-left: 3px solid var(--accent);
  padding: 10px 14px; border-radius: 0 var(--radius) var(--radius) 0;
}
.pipeline-tutorial-link {
  display: inline-block; margin-top: 16px;
  color: var(--accent); font-size: 14px; font-weight: 500;
}
.pipeline-tutorial-link:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .proof-strip { padding: 12px 20px; }
  .audience-row { grid-template-columns: 1fr; gap: 4px; }
  .audience-arrow { display: none; }
  .pipeline-options { grid-template-columns: 1fr; }
  .audience-section .container { gap: 32px; }
}


/* == Pricing anchor strip == */
.pricing-anchor-strip {
  background: rgba(0,212,160,0.06);
  border: 1px solid rgba(0,212,160,0.18);
  border-radius: 10px;
  padding: 16px 24px;
  margin-bottom: 32px;
  text-align: center;
}
.pricing-anchor-text { font-size: 16px; color: #DDE6F0; margin: 0; }
.pricing-anchor-text .pricing-red { color: #FF6B6B; }
.pricing-anchor-text strong { color: #00D4A0; }
.pricing-batch-note { font-size: 13px; color: #6B7E9C; margin: 6px 0 0; }
.pricing-batch-note strong { color: #00D4A0; }

/* == Docs quickstart block == */
.docs-quickstart-block {
  background: rgba(0,212,160,0.05);
  border: 1px solid rgba(0,212,160,0.18);
  border-radius: 10px;
  padding: 28px 32px;
  margin-bottom: 36px;
}
.docs-qs-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: #00D4A0; margin-bottom: 10px;
}
.docs-qs-steps { display: flex; flex-direction: column; gap: 14px; }
.docs-qs-step { display: flex; align-items: center; gap: 14px; font-size: 15px; color: #DDE6F0; }
.docs-qs-num {
  width: 28px; height: 28px;
  background: rgba(0,212,160,0.15); color: #00D4A0;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-size: 13px; flex-shrink: 0;
}
.docs-qs-sep { color: #6B7E9C; margin: 0 4px; }

/* == Blog post article == */
.blog-article { color: #DDE6F0; line-height: 1.7; max-width: 760px; }
.blog-article h2 { margin-top: 36px; }
.blog-article h3 { margin-top: 24px; }
.blog-article p  { margin-bottom: 16px; }
.blog-article a  { color: #00D4A0; }
.blog-article a:hover { text-decoration: underline; }
.blog-article table { width: 100%; overflow-x: auto; display: block; margin-bottom: 24px; }

/* ------------------------------------------------------------------
   Demo section  cached mode (v1.2.5)
-------------------------------------------------------------------- */
.demo-textarea[readonly] { cursor: default; opacity: 0.85; }
.demo-ticker-display {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
}
.demo-ticker-val {
  font-family: var(--font-mono); font-size: 13px; color: var(--accent);
  font-weight: 600; letter-spacing: 0.05em;
}
.demo-signup-cta {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin-top: 28px; padding: 28px 24px;
  background: rgba(0,212,160,0.05); border: 1px solid rgba(0,212,160,0.18);
  border-radius: 12px; text-align: center;
}
.demo-signup-cta p {
  margin: 0; color: var(--text); font-size: 15px; font-weight: 500;
}
.demo-signup-cta .btn-lg { padding: 14px 32px; font-size: 15px; }

/* ------------------------------------------------------------------
   Heads grid  inline (icon left, name right) layout
-------------------------------------------------------------------- */
.head-card-top {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.head-card-top .head-icon-box { margin: 0; flex-shrink: 0; }
.head-card-top .head-name { margin: 0; }

/* ------------------------------------------------------------------
   Pipeline separator  all bold white
-------------------------------------------------------------------- */
.pipeline-separator {
  color: #EEF4FF; font-weight: 700; font-size: 17px;
}

/* ------------------------------------------------------------------
   Pricing calculator  fix button/text overlap
-------------------------------------------------------------------- */
.calc-result { display: flex; flex-direction: column; gap: 0; }
.calc-cta {
  display: block; margin-top: 20px; order: 10;
  text-align: center; border-radius: 8px;
}
.llm-compare {
  margin-top: 10px; order: 11;
  font-size: 12px; color: var(--muted); text-align: center;
}

/* ------------------------------------------------------------------
   Blog listing page
-------------------------------------------------------------------- */
.blog-page-wrap { padding: 60px 0 80px; }
.blog-page-header { text-align: center; margin-bottom: 56px; }
.blog-page-header h1 { font-size: 36px; font-weight: 700; color: #EEF4FF; margin-bottom: 12px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.blog-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.blog-card:hover { border-color: rgba(0,212,160,0.35); transform: translateY(-2px); }
.blog-card-img-wrap { display: block; overflow: hidden; max-height: 200px; }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform 0.3s; }
.blog-card:hover .blog-card-img { transform: scale(1.03); }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.blog-card-meta { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.blog-card-title { font-size: 18px; font-weight: 600; color: #EEF4FF; margin: 0; line-height: 1.4; }
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: var(--accent); }
.blog-card-excerpt { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; flex: 1; }
.blog-read-more {
  display: inline-flex; align-items: center;
  font-size: 13px; color: var(--accent); font-weight: 500;
  text-decoration: none; margin-top: 4px;
}
.blog-read-more:hover { text-decoration: underline; }
.blog-pagination {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 52px; flex-wrap: wrap;
}
.blog-pagination .page-numbers {
  padding: 8px 16px; border-radius: 6px; font-size: 14px;
  border: 1px solid var(--border); color: var(--text); text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  border-color: var(--accent); color: var(--accent);
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-page-header h1 { font-size: 28px; }
}

/* ------------------------------------------------------------------
   Single blog post
-------------------------------------------------------------------- */
.single-post-wrap { padding: 52px 0 80px; }
.single-post-container { max-width: 760px; }
.single-post-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 13px; color: var(--muted); margin-bottom: 16px;
}
.single-back-link { color: var(--accent); text-decoration: none; }
.single-back-link:hover { text-decoration: underline; }
.single-post-title {
  font-size: clamp(26px, 4vw, 38px); font-weight: 700; color: #EEF4FF;
  line-height: 1.25; margin: 0 0 28px;
}
.single-post-hero-img { margin-bottom: 36px; border-radius: 10px; overflow: hidden; }
.single-thumb { width: 100%; height: auto; display: block; }
.single-post-content.blog-article { max-width: 100%; }
.single-post-footer { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); }

/* ------------------------------------------------------------------
   Status page
-------------------------------------------------------------------- */
.status-page-wrap { padding: 56px 0 80px; }
.status-container { max-width: 740px; }
.status-header {
  text-align: center; padding: 40px 32px; border-radius: 14px;
  background: var(--bg2); border: 1px solid var(--border); margin-bottom: 40px;
}
.status-header.status-operational { border-color: rgba(0,212,160,0.3); background: rgba(0,212,160,0.04); }
.status-header.status-degraded    { border-color: rgba(245,166,35,0.35); background: rgba(245,166,35,0.04); }
.status-header.status-outage      { border-color: rgba(255,75,75,0.35); background: rgba(255,75,75,0.04); }
.status-badge-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; }
.status-badge-dot {
  width: 12px; height: 12px; border-radius: 50%;
  display: inline-block; flex-shrink: 0;
  animation: status-pulse 2.4s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.45; }
}
.status-badge-title { font-size: 22px; font-weight: 700; color: #EEF4FF; margin: 0; }
.status-message { font-size: 15px; color: var(--text); margin: 0 0 6px; }
.status-updated { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.btn-subscribe {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px; border-radius: 7px;
  border: 1px solid rgba(0,212,160,0.4); color: var(--accent);
  text-decoration: none; font-size: 13.5px; font-weight: 500;
  transition: background 0.15s;
}
.btn-subscribe:hover { background: rgba(0,212,160,0.08); }

.status-component-section { margin-bottom: 40px; }
.status-component {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px 28px;
}
.status-component-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.status-component-name { font-size: 15px; font-weight: 600; color: #EEF4FF; }
.status-component-status { font-size: 13px; font-weight: 500; border-radius: 20px; padding: 3px 12px; }
.status-component-status.status-operational { color: #00D4A0; background: rgba(0,212,160,0.1); }
.status-component-status.status-degraded    { color: #F5A623; background: rgba(245,166,35,0.1); }
.status-component-status.status-outage      { color: #FF4B4B; background: rgba(255,75,75,0.1); }

.uptime-bar-wrap {
  display: flex; gap: 3px; flex-wrap: nowrap; overflow-x: auto;
  padding-bottom: 4px;
}
.uptime-day {
  flex: 1; min-width: 6px; height: 28px; border-radius: 3px;
  transition: opacity 0.15s; cursor: default;
}
.uptime-day:hover { opacity: 0.75; }
.uptime-bar-labels {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--muted); margin-top: 6px;
}

.status-section-title { font-size: 20px; font-weight: 700; color: #EEF4FF; margin: 0 0 20px; }
.status-incidents-list { display: flex; flex-direction: column; gap: 0; }
.status-incident-item {
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.status-incident-item:last-child { border-bottom: none; }
.status-incident-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap;
}
.status-incident-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.status-incident-title { font-size: 15px; font-weight: 600; color: #EEF4FF; margin: 0; flex: 1; }
.status-incident-date { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.status-incident-resolved {
  font-size: 11px; font-weight: 600; color: #00D4A0;
  background: rgba(0,212,160,0.1); border-radius: 20px; padding: 2px 10px;
}
.status-incident-body { font-size: 14px; color: var(--muted); line-height: 1.6; padding-left: 19px; }
.status-no-incidents {
  padding: 24px 0; font-size: 15px; color: var(--muted); text-align: center;
}
