/* ============================================================
   SCRAPELLM — MAIN STYLESHEET
   Clean, light, readable — developer-first design
   ============================================================ */

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

:root {
  --bg:           #f6f8fa;
  --bg-2:         #eef1f6;
  --bg-3:         #e8ecf2;
  --bg-card:      #ffffff;
  --border:       rgba(15,23,42,0.08);
  --border-bright:rgba(15,23,42,0.15);
  --accent:       #7c3aed;
  --accent-glow:  rgba(124,58,237,0.18);
  --accent-2:     #059669;
  --text:         #0b1120;
  --text-muted:   #374151;
  --text-dim:     #1e293b;
  --live-green:   #16a34a;
  --soon-amber:   #d97706;
  --danger:       #dc2626;
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --radius:       12px;
  --radius-sm:    8px;
  --shadow-card:  0 1px 2px rgba(15,23,42,0.06), 0 2px 8px rgba(15,23,42,0.06), 0 0 0 1px rgba(15,23,42,0.05);
  --shadow-glow:  0 4px 32px rgba(124,58,237,0.1);
  --shadow-sm:    0 1px 3px rgba(15,23,42,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: #6d28d9;
  box-shadow: 0 4px 16px rgba(124,58,237,0.3);
  transform: translateY(-1px);
}
.btn-primary.btn-lg {
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-dim);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.btn-ghost:hover { color: var(--text); background: rgba(15,23,42,0.05); }

/* ============================================================
   LOGO
   ============================================================ */

.logo {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.4px;
  color: var(--text);
  flex-shrink: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  text-decoration: none;
}

.logo::before { display: none; }

.logo-icon { flex-shrink: 0; display: block; margin-right: 9px; align-self: center; }

.logo span {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 15px;
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 60px;
}

.nav-links {
  display: flex;
  gap: 2px;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(15,23,42,0.05); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dim);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  background: #fff;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 0%, transparent 100%);
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.07);
  border: 1px solid rgba(124,58,237,0.18);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 32px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--live-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--live-green);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-highlight {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 20px;
  color: var(--text-dim);
  font-weight: 400;
  margin-bottom: 12px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-rotator-wrap {
  height: 52px;
  overflow: hidden;
  margin-bottom: 8px;
}
.hero-rotator {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.rot-item {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.rot-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
  /* Tint to match the accent purple */
  filter: invert(28%) sepia(70%) saturate(1500%) hue-rotate(250deg) brightness(95%) contrast(95%);
}

.hero-sub2 {
  font-size: 20px;
  color: var(--text-dim);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 64px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Demo card (dark terminal style) ──────────────────────── */
.demo-card {
  width: 100%;
  max-width: 860px;
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15,23,42,0.18), 0 0 0 1px rgba(255,255,255,0.06);
}
.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.demo-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.demo-badge.live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #22c55e;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 100px;
  padding: 3px 10px;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}
.demo-label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.55); }
.demo-method {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #93c5fd;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 6px;
  padding: 3px 9px;
}
.demo-body {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
}
.demo-divider { background: rgba(255,255,255,0.07); }
.demo-pane { padding: 20px; }

.code-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.resp-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #34d399;
  font-weight: 600;
  margin-left: auto;
}
.code-block {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: #94a3b8;
  overflow-x: auto;
  white-space: pre;
}

/* Syntax colours (for dark demo card) */
.c-keyword { color: #7dd3fc; }
.c-string  { color: #86efac; }
.c-bool    { color: #f472b6; }
.c-key     { color: #c4b5fd; }
.c-brace   { color: #fbbf24; }
.c-bracket { color: #fbbf24; }
.c-num     { color: #fb923c; }
.typing-text    { color: #86efac; }
.typing-sources { color: #86efac; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.how-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* ── How section code (also dark terminal) */
.how-tabs-wrap {
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(15,23,42,0.15);
}
.code-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0 4px;
}
.code-tab {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 16px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
}
.code-tab:hover { color: rgba(255,255,255,0.6); }
.code-tab.active { color: #93c5fd; border-bottom-color: #93c5fd; }

.code-panel { display: none; padding: 20px; overflow-x: auto; }
.code-panel.active { display: block; }

.how-response {
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 20px;
  overflow-x: auto;
  box-shadow: 0 8px 32px rgba(15,23,42,0.15);
}

.resp-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 6px;
  padding: 2px 8px;
}
.resp-type { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.3); }
.response-full { line-height: 1.8; }

/* ============================================================
   TRUSTED
   ============================================================ */

.trusted {
  padding: 48px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trusted-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.trusted-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
.trusted-logos span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.6;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
  cursor: default;
}
.trusted-logos span:hover { opacity: 1; }

/* ============================================================
   SECTIONS — SHARED
   ============================================================ */

.section { padding: 96px 0; }

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.18);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 600px;
  margin-bottom: 56px;
}

/* ============================================================
   PROVIDERS
   ============================================================ */

.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.provider-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: default;
  box-shadow: var(--shadow-sm);
}
.provider-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.provider-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* Provider icon backgrounds — light neutral, logo provides the colour */
.provider-icon { background: var(--bg-2); border: 1px solid var(--border); }

/* Tint logos to match brand colour using CSS filter on the img */
.provider-logo {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.status-live {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--live-green);
  background: rgba(22,163,74,0.1);
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: 100px;
  padding: 2px 8px;
}
.status-soon {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--soon-amber);
  background: rgba(217,119,6,0.1);
  border: 1px solid rgba(217,119,6,0.2);
  border-radius: 100px;
  padding: 2px 8px;
}

/* ============================================================
   WHY
   ============================================================ */

.why { background: var(--bg-2); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.why-card:hover {
  border-color: rgba(124,58,237,0.25);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.why-card--highlight {
  border-color: rgba(124,58,237,0.25);
  background: linear-gradient(135deg, rgba(124,58,237,0.04) 0%, #fff 60%);
}
.why-card--cost {
  border-color: rgba(5,150,105,0.2);
  background: linear-gradient(135deg, rgba(5,150,105,0.04) 0%, #fff 60%);
}
.why-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.18);
  border-radius: 10px;
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 700;
}
.why-icon--bad {
  background: rgba(220,38,38,0.07);
  border-color: rgba(220,38,38,0.15);
  color: var(--danger);
}
.why-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.why-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.why-proof {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
}
.why-proof:hover { text-decoration: underline; }

/* ============================================================
   PRICING
   ============================================================ */

.pricing { background: var(--bg-2); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 64px;
}
.pricing-card {
  position: relative;
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--shadow-sm);
}
.pricing-card:hover {
  border-color: rgba(124,58,237,0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}
.pricing-card--popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-glow);
}
.pricing-card--enterprise {
  border-style: dashed;
  border-color: var(--border-bright);
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  padding: 3px 12px;
  white-space: nowrap;
}
.plan-name {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.plan-price { display: flex; align-items: baseline; gap: 4px; }
.price-amount {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text);
}
.price-period { font-size: 14px; color: var(--text-muted); }
.plan-credits { font-size: 13px; font-weight: 600; color: var(--accent); }
.plan-features { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.plan-features li {
  font-size: 13px;
  color: var(--text-dim);
  padding-left: 16px;
  position: relative;
}
.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--live-green);
  font-size: 11px;
  top: 2px;
}

.btn-plan {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-plan:hover {
  background: var(--bg-3);
  color: var(--text);
  border-color: var(--border-bright);
}
.btn-plan--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-plan--primary:hover { background: #6d28d9; border-color: #6d28d9; color: #fff; }

/* Credit table */
.credit-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.credit-table h3 { font-size: 15px; font-weight: 700; color: var(--text-dim); margin-bottom: 20px; }
.credit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.credit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.credit-row:hover { background: rgba(124,58,237,0.04); }
.cr-provider {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
}
.cr-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cr-dot.chatgpt    { background: #10a37f; }
.cr-dot.perplexity { background: #20b2aa; }
.cr-dot.grok       { background: #1da1f2; }
.cr-dot.copilot    { background: #0078d4; }
.cr-dot.aimode     { background: #34a853; }
.cr-dot.aioverview { background: #fbbc04; }
.cr-dot.gemini     { background: #4285f4; }
.cr-dot.search     { background: #ea4335; }
.cr-amount {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: 6px;
  padding: 2px 8px;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 760px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}
.faq-item:hover {
  border-color: rgba(124,58,237,0.25);
  box-shadow: var(--shadow-glow);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.faq-q::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.3s, color 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-q[aria-expanded="true"] { color: var(--accent); }
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); color: var(--accent); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
}
.faq-a.open { max-height: 200px; padding: 0 20px 18px; }
.faq-a p { font-size: 14px; color: var(--text-dim); line-height: 1.7; }
.faq-a code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: rgba(124,58,237,0.07);
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--accent);
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.06) 0%, rgba(168,85,247,0.04) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.cta-inner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--text);
}
.cta-inner p { font-size: 17px; color: var(--text-dim); max-width: 480px; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding: 64px 0 0;
  background: var(--text);
  border-top: 1px solid var(--border);
}
.footer .logo { color: rgba(255,255,255,0.9); }
.footer .logo span { color: #a78bfa; }

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  padding-bottom: 48px;
}
.footer-brand .logo { display: inline-flex; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 280px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.uptime-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #4ade80;
}
.uptime-dot {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .how-layout { grid-template-columns: 1fr; }
  .credit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 60px 0 48px; }
  .demo-body { grid-template-columns: 1fr; }
  .demo-divider { width: 100%; height: 1px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .credit-grid { grid-template-columns: 1fr; }
  .providers-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .providers-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   FOOTER DISCLAIMER
   ============================================================ */

.footer-disclaimer {
  padding: 18px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-disclaimer p {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  line-height: 1.7;
  max-width: 860px;
}

/* ============================================================
   LEGAL PAGES (Terms / Privacy)
   ============================================================ */

.legal-page {
  min-height: 100vh;
  background: var(--bg);
}
.legal-hero {
  background: #0f172a;
  padding: 72px 0 56px;
}
.legal-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.legal-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a78bfa;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 20px;
}
.legal-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.legal-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.legal-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p {
  font-size: 15px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-body ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}
.legal-body ul li {
  font-size: 15px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 6px;
}
.legal-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-body .legal-callout {
  background: rgba(124,58,237,0.06);
  border: 1px solid rgba(124,58,237,0.18);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 20px 0;
}
.legal-body .legal-callout p {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
}
.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 24px 0;
  border-top: 1px solid var(--border);
}
.legal-nav a { font-size: 13px; color: var(--accent); }
.legal-nav span { font-size: 13px; color: var(--text-muted); }
