/* PrismRAG — Landing Page Styles */

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

:root {
  --bg:         #06090f;
  --bg-card:    #0d1117;
  --bg-card2:   #111827;
  --border:     rgba(255,255,255,0.07);
  --border-hi:  rgba(99,102,241,0.4);
  --text:       #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim:   #475569;
  --indigo:     #6366f1;
  --purple:     #8b5cf6;
  --teal:       #2dd4bf;
  --blue:       #38bdf8;
  --pink:       #ec4899;
  --orange:     #fb923c;
  --green:      #4ade80;
  --grad:       linear-gradient(135deg, #6366f1, #8b5cf6, #2dd4bf);
  --grad-text:  linear-gradient(135deg, #818cf8, #c084fc, #34d399);
  --radius:     12px;
  --radius-lg:  20px;
  font-family: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }

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

/* ── UTILS ─────────────────────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── NAV ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(6,9,15,0.85);
  backdrop-filter: blur(16px);
  border-color: var(--border);
}
.nav-inner {
  display: flex; align-items: center; gap: 32px;
  height: 64px; max-width: 1160px; margin: 0 auto; padding: 0 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.logo-prism { font-size: 1.4rem; background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; margin-left: 16px; }

.btn-ghost {
  padding: 8px 18px; border-radius: 8px; font-size: 0.875rem; font-weight: 500;
  border: 1px solid var(--border); color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--indigo); color: var(--text); }

.btn-primary {
  padding: 8px 18px; border-radius: 8px; font-size: 0.875rem; font-weight: 600;
  background: var(--indigo); color: #fff;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: auto;
  display: flex; align-items: center;
  padding: 120px 0 64px;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}

.prism-glow {
  position: absolute; top: 15%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse at center,
    rgba(99,102,241,0.18) 0%,
    rgba(139,92,246,0.10) 40%,
    transparent 70%);
  filter: blur(40px);
}

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

.hero-badge {
  display: inline-block;
  padding: 6px 16px; border-radius: 99px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.35);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em;
  color: #a5b4fc; text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted); max-width: 640px;
  margin: 0 auto 40px; line-height: 1.7;
}
.hero-sub em { color: var(--text); font-style: normal; font-weight: 500; }

.hero-actions {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 56px;
}

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px;
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  color: #fff; font-size: 1rem; font-weight: 600;
  box-shadow: 0 0 32px rgba(99,102,241,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 0 48px rgba(99,102,241,0.5); }

.btn-hero-ghost {
  display: inline-flex; align-items: center;
  padding: 14px 28px; border-radius: 10px;
  border: 1px solid var(--border); color: var(--text-muted);
  font-size: 1rem; font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}
.btn-hero-ghost:hover { border-color: var(--border-hi); color: var(--text); }

/* ── Code block ──────────────────────────────────────────────────────────── */
.hero-code-block {
  max-width: 680px; margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  text-align: left;
}
.code-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
}
.code-tab {
  padding: 10px 16px; font-size: 0.8rem; font-weight: 500;
  color: var(--text-dim); cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: color 0.2s, border-color 0.2s;
}
.code-tab.active { color: var(--indigo); border-color: var(--indigo); }
.code-snippet {
  padding: 24px 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem; line-height: 1.75;
  overflow-x: auto; white-space: pre;
}
.c-comment { color: #4b5563; }
.c-keyword  { color: #60a5fa; font-weight: 600; }
.c-key      { color: #a5b4fc; }
.c-str      { color: #4ade80; }

/* ── PROBLEM / SOLUTION ──────────────────────────────────────────────────── */
.problem-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--indigo);
  margin-bottom: 16px;
}
.section-h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.025em;
  margin-bottom: 16px; line-height: 1.15;
}
.section-sub {
  color: var(--text-muted); font-size: 1.05rem;
  max-width: 560px; margin-bottom: 56px;
}

.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.compare-card {
  border-radius: var(--radius-lg); padding: 36px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.compare-card.bad  { border-color: rgba(239,68,68,0.25); background: rgba(239,68,68,0.03); }
.compare-card.good { border-color: rgba(45,212,191,0.25); background: rgba(45,212,191,0.03); }

.compare-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.compare-icon { font-size: 1.4rem; font-weight: 800; }
.compare-icon.bad  { color: #f87171; }
.compare-icon.good { color: var(--teal); }
.compare-title { font-size: 1.05rem; font-weight: 700; }

.compare-list { display: flex; flex-direction: column; gap: 12px; }
.compare-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--text-muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.compare-list li:last-child { border-bottom: none; padding-bottom: 0; }

.compare-arrow {
  margin-top: 24px; padding: 10px 16px; border-radius: 8px;
  font-size: 0.8rem; font-weight: 600; text-align: center;
  background: rgba(239,68,68,0.08); color: #f87171;
}
.compare-arrow.good { background: rgba(45,212,191,0.08); color: var(--teal); }

/* ── HOW IT WORKS ────────────────────────────────────────────────────────── */
.how-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(99,102,241,0.04), transparent);
}

.steps-grid {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0;
  align-items: start; margin-top: 16px;
}
.step-connector {
  font-size: 1.5rem; color: var(--text-dim);
  padding: 0 16px; margin-top: 80px;
}
.step-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  transition: border-color 0.3s, transform 0.3s;
}
.step-card:hover { border-color: var(--border-hi); transform: translateY(-4px); }
.step-number {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--text-dim); margin-bottom: 16px;
}
.step-icon {
  font-size: 2rem; margin-bottom: 16px;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.step-card p  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; }
.step-tag {
  display: inline-block; padding: 4px 12px; border-radius: 99px;
  background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.2);
  font-size: 0.75rem; font-weight: 600; color: #a5b4fc;
}

/* ── FEATURES ────────────────────────────────────────────────────────────── */
.features-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 16px;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color 0.25s, transform 0.25s;
}
.feature-card:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.feature-icon {
  font-size: 1.5rem; margin-bottom: 14px; display: block;
}
.feature-icon.teal   { color: var(--teal); }
.feature-icon.purple { color: var(--purple); }
.feature-icon.blue   { color: var(--blue); }
.feature-icon.indigo { color: var(--indigo); }
.feature-icon.pink   { color: var(--pink); }
.feature-icon.orange { color: var(--orange); }
.feature-card h3 { font-size: 0.975rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ── PRICING ─────────────────────────────────────────────────────────────── */
.pricing-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(139,92,246,0.04), transparent);
}
.pricing-section .section-sub { margin-bottom: 56px; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.pricing-card {
  position: relative;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: border-color 0.25s, transform 0.25s;
}
.pricing-card:hover { border-color: var(--border-hi); transform: translateY(-4px); }
.pricing-card.popular {
  border-color: var(--indigo);
  background: linear-gradient(160deg, rgba(99,102,241,0.08), var(--bg-card));
  box-shadow: 0 0 48px rgba(99,102,241,0.18);
}
.popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; border-radius: 99px;
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  font-size: 0.75rem; font-weight: 700; color: #fff; white-space: nowrap;
}
.plan-name { font-size: 0.875rem; font-weight: 700; color: var(--text-muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.plan-price { margin-bottom: 8px; }
.price-amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; }
.price-period { font-size: 0.9rem; color: var(--text-dim); margin-left: 2px; }
.plan-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; min-height: 40px; }

.plan-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--text-muted); }
.check { font-size: 0.8rem; font-weight: 700; color: var(--green); flex-shrink: 0; }
.check.dim { color: var(--text-dim); }

.plan-btn {
  display: block; width: 100%; padding: 12px;
  border-radius: 8px; font-size: 0.9rem; font-weight: 600;
  text-align: center; transition: all 0.2s;
}
.plan-btn.primary {
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  color: #fff; box-shadow: 0 0 24px rgba(99,102,241,0.3);
}
.plan-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(99,102,241,0.45); }
.plan-btn.ghost {
  border: 1px solid var(--border); color: var(--text-muted);
}
.plan-btn.ghost:hover { border-color: var(--border-hi); color: var(--text); }

/* ── CTA SECTION ─────────────────────────────────────────────────────────── */
.cta-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.cta-inner {
  text-align: center;
  padding: 64px 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hi);
  background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,0.12), transparent 60%),
              var(--bg-card);
}
.cta-prism {
  font-size: 3rem; display: block; margin-bottom: 20px;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cta-inner h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 12px; }
.cta-inner p  { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 36px; }
.cta-actions  { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; display: inline-flex; }
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 8px; }
.footer-tagline a { color: var(--indigo); }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a  { font-size: 0.875rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid var(--border);
  font-size: 0.8rem; color: var(--text-dim);
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid  { grid-template-columns: repeat(2, 1fr); }
  .compare-grid  { grid-template-columns: 1fr; }
  .steps-grid    { grid-template-columns: 1fr; gap: 24px; }
  .step-connector { display: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .hero-h1       { font-size: 2.4rem; }
  .hero-code-block { display: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── LOGO IMAGE ─────────────────────────────────────────────────────────── */
.logo-img { width: 32px; height: 32px; flex-shrink: 0; }

/* ── MOBILE NAV ───────────────────────────────────────────────────────────── */
.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 10px; cursor: pointer; color: var(--text);
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text-muted); margin: 4px 0; border-radius: 1px; transition: 0.2s; }
.nav-mobile {
  display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
  background: rgba(6,9,15,0.97); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); padding: 20px 24px 28px;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block; padding: 12px 0; font-size: 1rem; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile-cta { display: flex; gap: 12px; margin-top: 20px; }
.nav-mobile-cta a { flex: 1; text-align: center; border: none; padding: 12px; border-radius: 8px; }

/* ── HERO SPLIT ───────────────────────────────────────────────────────────── */
.hero-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; text-align: left; max-width: 1160px; margin: 0 auto;
}
.hero-copy { max-width: 560px; }
.hero-visual {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.hero-visual img {
  width: 100%; max-width: 480px; height: auto;
  filter: drop-shadow(0 24px 64px rgba(99,102,241,0.25));
  animation: hero-float 6s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-copy .hero-badge { margin-bottom: 20px; }
.hero-copy .hero-h1 { text-align: left; font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
.hero-copy .hero-sub { text-align: left; margin-left: 0; max-width: 520px; }
.hero-copy .hero-actions { justify-content: flex-start; }
.hero-copy .hero-code-block { margin: 0; max-width: 100%; }

/* ── TRUST BAR ────────────────────────────────────────────────────────────── */
.trust-bar {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02); padding: 28px 0;
}
.trust-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 48px;
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
}
.trust-item { text-align: center; min-width: 120px; }
.trust-value {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em;
  background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.trust-label { font-size: 0.8rem; color: var(--text-dim); margin-top: 4px; }

/* ── PRODUCT CARDS (enhanced) ─────────────────────────────────────────────── */
.products-overview-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px;
}
.product-card {
  position: relative; overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 0;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(0,0,0,0.35); }
.product-card.prism { border-color: rgba(99,102,241,0.35); }
.product-card.prism:hover { border-color: rgba(99,102,241,0.6); box-shadow: 0 24px 48px rgba(99,102,241,0.12); }
.product-card.delib { border-color: rgba(45,212,191,0.3); }
.product-card.delib:hover { border-color: rgba(45,212,191,0.55); box-shadow: 0 24px 48px rgba(45,212,191,0.1); }
.product-card-visual {
  padding: 24px 28px 0; background: linear-gradient(180deg, rgba(99,102,241,0.06), transparent);
  border-bottom: 1px solid var(--border);
}
.product-card.delib .product-card-visual {
  background: linear-gradient(180deg, rgba(45,212,191,0.06), transparent);
}
.product-card-visual img { width: 100%; height: auto; max-height: 160px; object-fit: contain; }
.product-card-body { padding: 28px; }
.product-card-body h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 12px; }
.product-card-body p { font-size: 0.925rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.product-tag {
  font-size: 0.7rem; font-weight: 600; padding: 4px 10px; border-radius: 99px;
  background: rgba(99,102,241,0.12); color: #a5b4fc; border: 1px solid rgba(99,102,241,0.2);
}
.product-card.delib .product-tag { background: rgba(45,212,191,0.1); color: #5eead4; border-color: rgba(45,212,191,0.25); }
.product-link {
  font-size: 0.875rem; font-weight: 600; color: var(--indigo);
  display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s;
}
.product-card.delib .product-link { color: var(--teal); }
.product-link:hover { gap: 10px; }

/* ── VISUAL COMPARE DIAGRAM ───────────────────────────────────────────────── */
.compare-visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px;
}
.compare-diagram {
  border-radius: var(--radius); padding: 24px; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border);
}
.compare-diagram.bad { border-color: rgba(239,68,68,0.2); }
.compare-diagram.good { border-color: rgba(45,212,191,0.25); }
.compare-diagram svg { width: 100%; max-width: 280px; height: auto; margin: 0 auto 12px; display: block; }
.compare-diagram-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.compare-diagram.bad .compare-diagram-label { color: #f87171; }
.compare-diagram.good .compare-diagram-label { color: var(--teal); }

/* ── ICON CARDS (use cases) ───────────────────────────────────────────────── */
.uc-icon-wrap {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; font-size: 1.25rem;
  background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.2);
}

/* ── STATS ROW ────────────────────────────────────────────────────────────── */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin: 48px 0 0;
}
.stat-card {
  text-align: center; padding: 28px 16px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
}
.stat-card strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.stat-card span { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }

@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .hero-h1, .hero-copy .hero-sub { text-align: center; }
  .hero-copy .hero-actions { justify-content: center; }
  .hero-copy { margin: 0 auto; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 360px; }
  .products-overview-grid { grid-template-columns: 1fr; }
  .compare-visual { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .hero-code-block { display: block !important; }
  .stats-row { grid-template-columns: 1fr; }
}

/* ── Legal pages ─────────────────────────────────────────────────────────── */
.legal-page { background: var(--bg); color: var(--text); min-height: 100vh; }
.legal-content {
  max-width: 720px; margin: 0 auto; padding: 48px 24px 80px;
  line-height: 1.7;
}
.legal-content h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-content h2 { font-size: 1.15rem; margin: 32px 0 12px; }
.legal-content ul { padding-left: 1.25rem; margin: 12px 0; }
.legal-content a { color: var(--accent); }
