/* DEXtra Public Pages — Shared Styles
   Uses exact brand variables from dashboard.css / login.html */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-base: #000000;
  --bg-card: #0c1018;
  --bg-elevated: #131820;
  --border-subtle: rgba(255,255,255,0.06);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;
  --red: #ef4444;
  --red-dark: #dc2626;
  --green: #22c55e;
  --blue: #3b82f6;
  --amber: #f59e0b;
  --purple: #a855f7;
  --cyan: #06b6d4;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ─── Brand Lockup (from login.html) ─────────────────────────── */
.brand-wordmark { font-size: 24px; line-height: 1; }
.brand-dex {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-style: italic;
  background: linear-gradient(155deg,
    #59595b 0%, #888a8e 18%, #eaebec 32%,
    #ffffff 38%, #c8cacd 45%, #878789 58%,
    #6a6c70 75%, #59595b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brand-tra {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  color: var(--red);
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700; font-size: 14px;
  border-radius: 10px; border: none;
  cursor: pointer; transition: all 0.2s;
  text-decoration: none; white-space: nowrap;
}
.btn-sm  { padding: 10px 24px; font-size: 13px; }
.btn-lg  { padding: 16px 36px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; padding: 14px; }
.btn-red {
  background: rgba(239,68,68,0.1); color: var(--red);
  border: 1px solid rgba(239,68,68,0.25);
}
.btn-red:hover { background: rgba(239,68,68,0.18); transform: translateY(-1px); }
.btn-outline {
  background: rgba(255,255,255,0.04); color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); transform: translateY(-1px); }
.btn-green {
  background: rgba(34,197,94,0.1); color: var(--green);
  border: 1px solid rgba(34,197,94,0.25);
}
.btn-green:hover { background: rgba(34,197,94,0.18); transform: translateY(-1px); }
.btn-purple {
  background: rgba(168,85,247,0.1); color: var(--purple);
  border: 1px solid rgba(168,85,247,0.25);
}
.btn-purple:hover { background: rgba(168,85,247,0.18); transform: translateY(-1px); }
.btn-yellow {
  background: rgba(245,158,11,0.1); color: var(--amber);
  border: 1px solid rgba(245,158,11,0.25);
}
.btn-yellow:hover { background: rgba(245,158,11,0.18); transform: translateY(-1px); }
.btn-blue {
  background: rgba(59,130,246,0.1); color: var(--blue);
  border: 1px solid rgba(59,130,246,0.25);
}
.btn-blue:hover { background: rgba(59,130,246,0.18); transform: translateY(-1px); }

/* ─── Nav ────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 64px;
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
.nav.scrolled {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-subtle);
  padding: 12px 64px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
}
.nav-icon { width: 32px; height: 32px; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.3)); }
.nav-links { display: flex; gap: 32px; }
.nav-link {
  font-size: 14px; color: var(--text-secondary);
  transition: color 0.15s; font-weight: 500;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-right { display: flex; align-items: center; gap: 16px; }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative; z-index: 1;
  min-height: 110vh;
  display: flex; align-items: center; justify-content: center;
  padding: 140px 80px 100px;
  overflow: hidden;
}
#particle-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 80px;
  max-width: 1280px; width: 100%;
}
.hero-text { flex: 1; max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 20px; padding: 6px 18px;
  font-size: 12px; font-weight: 600; color: var(--red);
  letter-spacing: 0.5px; margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.hero-h1 {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 900; line-height: 1.0;
  letter-spacing: -3px; margin-bottom: 24px;
  background: linear-gradient(155deg,
    #59595b 0%, #888a8e 12%, #c8cacd 24%,
    #eaebec 32%, #ffffff 40%, #eaebec 48%,
    #c8cacd 55%, #878789 65%,
    #6a6c70 78%, #59595b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: brightness(1.2);
}
.hero-sub {
  font-size: 18px; color: #fff;
  line-height: 1.7; margin-bottom: 40px;
  max-width: 440px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Sentinel (hero right) */
.hero-sentinel {
  position: relative;
  width: 480px; height: 520px;
  flex-shrink: 0;
  display: flex; align-items: flex-end; justify-content: center;
  perspective: 600px;
}
.sentinel-glow { display: none; }
.sentinel-wrap {
  position: relative;
  display: inline-block;
  transition: transform 0.3s ease-out;
  transform-style: preserve-3d;
  z-index: 2;
  margin-bottom: 60px;
}
.sentinel-img {
  width: 320px; height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition: filter 0.3s;
}

/* Circuit circle pulsing glow overlays */
.circuit-pulse {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  transform: translate(-50%, -50%);
  animation: circuit-glow 2.5s ease-in-out infinite;
}
/* Positions as % of image (image coords / image dimensions) */
.circuit-red    { left: 57.03%; top: 4.06%;  --pulse-color: 239,68,68;   animation-delay: 0s; }
.circuit-green  { left: 57.03%; top: 29.80%; --pulse-color: 34,197,94;   animation-delay: 0.5s; }
.circuit-blue   { left: 80.47%; top: 61.00%; --pulse-color: 59,130,246;  animation-delay: 1.0s; }
.circuit-yellow { left: 94.73%; top: 65.52%; --pulse-color: 245,158,11;  animation-delay: 1.5s; }
.circuit-gray   { left: 57.62%; top: 80.81%; --pulse-color: 100,116,139; animation-delay: 2.0s; }

@keyframes circuit-glow {
  0%, 100% {
    box-shadow: 0 0 4px 1px rgba(var(--pulse-color), 0.3),
                0 0 10px 3px rgba(var(--pulse-color), 0.15);
    background: rgba(var(--pulse-color), 0.15);
  }
  50% {
    box-shadow: 0 0 8px 3px rgba(var(--pulse-color), 0.6),
                0 0 18px 6px rgba(var(--pulse-color), 0.3);
    background: rgba(var(--pulse-color), 0.35);
  }
}

/* ─── Trust Bar ──────────────────────────────────────────────── */
.trust-bar {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 48px 80px;
  max-width: 1440px; margin: 0 auto;
}
.trust-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 28px 20px;
  transition: border-color 0.2s, transform 0.2s;
}
.trust-card:hover { border-color: rgba(255,255,255,0.14); transform: translateY(-2px); }
.trust-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--tc) 10%, transparent);
  color: var(--tc);
  border-radius: 12px;
}
.trust-title {
  font-size: 16px; font-weight: 700; color: var(--text-primary);
}
.trust-desc {
  font-size: 13px; color: var(--text-muted); line-height: 1.4;
}

/* ─── Sections ───────────────────────────────────────────────── */
.section {
  position: relative; z-index: 1;
  padding: 100px 80px;
  max-width: 1440px; margin: 0 auto;
}
.section-header {
  text-align: center; margin-bottom: 64px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.section-badge {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  color: var(--badge-color);
  background: color-mix(in srgb, var(--badge-color) 8%, transparent);
  padding: 6px 18px; border-radius: 20px;
}
.section-title {
  font-size: clamp(36px, 3.5vw, 48px);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.1;
}
.section-title.left, .section-sub.left { text-align: left; }
.section-sub {
  font-size: 18px; color: var(--text-muted);
  max-width: 560px; text-align: center; margin-left: auto; margin-right: auto;
}

/* ─── Steps ──────────────────────────────────────────────────── */
.steps-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.step-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 32px 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.step-card h3 { font-size: 20px; font-weight: 700; }
.step-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.step-num {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--step-color) 10%, transparent);
  color: var(--step-color);
  border-radius: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px; font-weight: 700;
}
.step-icon { flex-shrink: 0; }

/* ─── Bento Grid ─────────────────────────────────────────────── */
.bento-grid { display: flex; flex-direction: column; gap: 20px; }
.bento-row { display: flex; gap: 20px; }
.bento-card {
  flex: 1;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 32px 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color 0.2s, transform 0.2s;
}
.bento-card:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-2px); }
.bento-card h3 { font-size: 20px; font-weight: 700; }
.bento-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.bento-lg { min-height: 260px; }
.bento-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--ic) 10%, transparent);
  color: var(--ic);
  border-radius: 12px;
}
.bento-tag {
  display: inline-block; width: fit-content;
  font-size: 11px; font-weight: 600;
  color: var(--ic);
  background: color-mix(in srgb, var(--ic) 8%, transparent);
  padding: 4px 12px; border-radius: 6px;
  margin-top: auto;
}

/* ─── Security Split ─────────────────────────────────────────── */
.section-split {
  display: flex; align-items: center; gap: 80px;
}
.split-text { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.split-visual {
  position: relative; width: 400px; height: 400px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.shield-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(34,197,94,0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow-pulse 5s ease-in-out infinite;
}
.shield-svg { opacity: 0.6; animation: shield-float 6s ease-in-out infinite; }
@keyframes shield-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.check-list {
  list-style: none; display: flex; flex-direction: column; gap: 14px;
}
.check-list li {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px; color: var(--text-secondary);
}

/* ─── Pricing Cards ──────────────────────────────────────────── */
.pricing-section { background: transparent; border-radius: 0; }
.price-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.price-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 40px 32px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
}
.price-card h4 { font-size: 16px; font-weight: 600; color: var(--text-secondary); }
.price-card.popular {
  border-color: var(--red);
  border-width: 2px;
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 40px rgba(239,68,68,0.15);
}
.price-card.popular.green {
  border-color: var(--green);
  box-shadow: 0 0 40px rgba(34,197,94,0.15);
}
.price-card.popular h4 { color: var(--red); }
.price-card.popular.green h4 { color: var(--green); }
.popular-badge {
  position: absolute; top: -1px; right: 24px;
  background: rgba(239,68,68,0.15); color: var(--red);
  border: 1px solid rgba(239,68,68,0.25); border-top: none;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  padding: 6px 16px; border-radius: 0 0 8px 8px;
}
.price-card.popular.green .popular-badge {
  background: rgba(34,197,94,0.15); color: var(--green);
  border-color: rgba(34,197,94,0.25);
}
.price { display: flex; align-items: flex-end; gap: 4px; }
.price-amount { font-size: 56px; font-weight: 900; letter-spacing: -2px; }
.price-period { font-size: 16px; color: var(--text-muted); padding-bottom: 10px; }
.price-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.price-features {
  list-style: none; display: flex; flex-direction: column; gap: 12px;
  padding-top: 20px; border-top: 1px solid var(--border-subtle);
  flex: 1;
}
.price-features li {
  font-size: 14px; color: var(--text-secondary);
  display: flex; align-items: center; gap: 10px;
}
.price-features li::before {
  content: ''; width: 16px; height: 16px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.price-card.popular .price-features li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.price-card.popular.green .price-features li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.coming-soon-badge {
  position: absolute; top: -1px; right: 24px;
  background: rgba(245,158,11,0.15); color: #f59e0b;
  border: 1px solid rgba(245,158,11,0.25); border-top: none;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  padding: 6px 16px; border-radius: 0 0 8px 8px;
}
.btn-disabled {
  opacity: 0.5; cursor: not-allowed; pointer-events: none;
}

/* ─── Final CTA ──────────────────────────────────────────────── */
.cta-section { position: relative; z-index: 1; text-align: center; padding: 120px 80px; display: flex; flex-direction: column; align-items: center; }
.cta-h2 {
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 900; letter-spacing: -2px; line-height: 1.1;
  margin-bottom: 20px;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 64px 80px 32px;
  border-top: 1px solid var(--border-subtle);
}
.footer-cols {
  display: flex; gap: 64px; margin-bottom: 48px;
}
.footer-brand { width: 300px; flex-shrink: 0; }
.footer-brand p { font-size: 14px; color: var(--text-dim); line-height: 1.6; margin-top: 12px; }
.footer-logo {
  display: flex; align-items: center; gap: 10px;
}
.footer-logo img { width: 28px; height: 28px; }
.footer-col {
  flex: 1; display: flex; flex-direction: column; gap: 12px;
}
.footer-col h5 {
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px;
}
.footer-col a { font-size: 14px; color: var(--text-secondary); transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border-subtle);
  font-size: 13px; color: var(--text-dim);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--text-dim); transition: color 0.15s; }
.footer-legal a:hover { color: var(--text-secondary); }

/* ─── Pricing Hero ──────────────────────────────────────────── */
.pricing-hero {
  position: relative; z-index: 1;
  padding: 160px 80px 64px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.pricing-hero-h1 {
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 900; letter-spacing: -2px; line-height: 1.1;
}
.billing-toggle {
  display: flex; align-items: center; gap: 14px; margin-top: 16px;
}
.toggle-label {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: color 0.2s;
}
.toggle-label.active { color: var(--text-primary); }
.toggle-save {
  font-size: 11px; font-weight: 700; color: var(--green);
  background: rgba(34,197,94,0.1);
  padding: 2px 8px; border-radius: 4px;
}
.toggle-switch {
  width: 48px; height: 26px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 13px;
  cursor: pointer; position: relative;
  transition: background 0.2s;
}
.toggle-switch.active { background: var(--red); border-color: var(--red); }
.toggle-knob {
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #fff; border-radius: 50%;
  transition: transform 0.2s;
}
.toggle-switch.active .toggle-knob { transform: translateX(22px); }

/* ─── Compare Table ─────────────────────────────────────────── */
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed;
}
.compare-table col.col-feature { width: 25%; }
.compare-table col.col-plan { width: 25%; }
.compare-table th, .compare-table td {
  padding: 14px 20px; text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}
.compare-table th {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
}
.compare-table td:first-child {
  text-align: left; font-weight: 500; color: #fff; background: rgba(148,163,184,0.16);
}
.compare-table th.col-feature {
  text-align: left; color: var(--text-muted); background: rgba(148,163,184,0.20);
}
/* Starter = Red */
.compare-table th.col-starter { color: var(--red); background: rgba(239,68,68,0.20); }
.compare-table td.col-starter { background: rgba(239,68,68,0.16); }
/* Professional = Green */
.compare-table th.col-pro { color: var(--green); background: rgba(34,197,94,0.20); }
.compare-table td.col-pro { background: rgba(34,197,94,0.16); }
/* Enterprise = Blue */
.compare-table th.col-ent { color: var(--blue); background: rgba(59,130,246,0.20); }
.compare-table td.col-ent { background: rgba(59,130,246,0.16); }
/* Values */
.compare-table .yes { color: var(--green); }
.compare-table .no { color: var(--text-dim); }

/* ─── FAQ ───────────────────────────────────────────────────── */
.faq-list {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; overflow: hidden;
}
.faq-q {
  padding: 20px 24px; cursor: pointer;
  font-size: 16px; font-weight: 600;
  list-style: none; display: flex; align-items: center; gap: 12px;
}
.faq-q::before {
  content: '+'; font-size: 20px; font-weight: 300;
  color: var(--red); transition: transform 0.2s;
  flex-shrink: 0; width: 20px;
}
.faq-item[open] .faq-q::before { content: '−'; }
.faq-a {
  padding: 0 24px 20px 56px;
  font-size: 14px; color: var(--text-secondary); line-height: 1.7;
}

/* ─── Docs Hero ─────────────────────────────────────────────── */
.docs-hero {
  position: relative; z-index: 1;
  padding: 140px 80px 48px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.docs-hero-h1 {
  font-size: clamp(36px, 3.5vw, 48px);
  font-weight: 900; letter-spacing: -1.5px;
}
.docs-search {
  display: flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px 16px; width: 100%; max-width: 500px;
  margin-top: 8px;
}
.docs-search input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text-primary); font-family: 'Outfit', sans-serif; font-size: 14px;
}
.docs-search input::placeholder { color: var(--text-dim); }
.docs-search kbd {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--text-dim);
  background: rgba(0,0,0,0.4);
  padding: 2px 8px; border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.06);
}

/* ─── Docs Layout ───────────────────────────────────────────── */
.docs-layout {
  position: relative; z-index: 1;
  display: flex; max-width: 1440px; margin: 0 auto;
  min-height: calc(100vh - 300px);
}

/* Sidebar */
.docs-sidebar {
  width: 280px; flex-shrink: 0;
  padding: 32px 24px;
  border-right: 1px solid var(--border-subtle);
  position: sticky; top: 60px; height: fit-content;
  max-height: calc(100vh - 60px); overflow-y: auto;
}
.sidebar-section { margin-bottom: 24px; }
.sidebar-heading {
  font-size: 11px; font-weight: 700; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.sidebar-link {
  display: block; padding: 6px 12px;
  font-size: 13px; color: var(--text-secondary);
  border-radius: 6px; transition: all 0.15s;
  margin-bottom: 2px;
}
.sidebar-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.03); }
.sidebar-link.active {
  color: var(--red); background: rgba(239,68,68,0.06);
  font-weight: 600;
}

/* Content */
.docs-content {
  flex: 1; padding: 32px 64px 80px;
  min-width: 0;
}
.docs-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-dim);
  margin-bottom: 32px;
}
.docs-breadcrumb a { color: var(--text-muted); transition: color 0.15s; }
.docs-breadcrumb a:hover { color: var(--text-primary); }
.docs-content h1 {
  font-size: 36px; font-weight: 800; letter-spacing: -1px;
  margin-bottom: 16px;
}
.docs-content h2 {
  font-size: 24px; font-weight: 700; letter-spacing: -0.5px;
  margin-top: 48px; margin-bottom: 16px;
  padding-top: 24px; border-top: 1px solid var(--border-subtle);
}
.docs-content p {
  font-size: 15px; color: var(--text-secondary); line-height: 1.8;
  margin-bottom: 16px;
}
.docs-content strong { color: var(--text-primary); }

/* Callouts */
.callout {
  display: flex; gap: 14px;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 14px; line-height: 1.6;
  margin-bottom: 24px;
}
.callout svg { flex-shrink: 0; margin-top: 2px; }
.callout strong { display: block; margin-bottom: 4px; }
.callout-info {
  background: rgba(59,130,246,0.06);
  border: 1px solid rgba(59,130,246,0.15);
  color: var(--text-secondary);
}
.callout-info svg { color: var(--blue); }
.callout-info strong { color: var(--blue); }
.callout-success {
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.15);
  color: var(--text-secondary);
}
.callout-success svg { color: var(--green); }
.callout-success strong { color: var(--green); }

/* Code blocks */
.code-block {
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden; margin-bottom: 24px;
}
.code-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 16px;
  background: rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 12px; color: var(--text-dim);
}
.code-copy {
  background: transparent; border: 1px solid var(--border-subtle);
  color: var(--text-muted); border-radius: 4px;
  padding: 2px 10px; font-size: 11px; cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all 0.15s;
}
.code-copy:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.15); }
.code-block pre {
  padding: 16px; margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; line-height: 1.7;
  overflow-x: auto; color: var(--text-secondary);
}
.code-block code { background: none; }

/* Docs grid */
.docs-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin: 24px 0;
}
.docs-grid-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.docs-grid-card h4 { font-size: 15px; font-weight: 700; }
.docs-grid-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* Docs list */
.docs-list {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin: 16px 0;
}
.docs-list li {
  font-size: 14px; color: var(--text-secondary);
  padding-left: 20px; position: relative;
}
.docs-list li::before {
  content: '→'; position: absolute; left: 0; color: var(--red);
}
.docs-list a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.docs-list a:hover { color: #fff; }

/* Docs bottom nav */
.docs-nav-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}
.docs-nav-next {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 2px; color: var(--text-secondary);
  transition: color 0.15s;
}
.docs-nav-next:hover { color: var(--red); }
.docs-nav-label { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
.docs-nav-title {
  display: flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 600;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav { padding: 12px 32px; }
  .hero { padding: 100px 40px 60px; }
  .hero-content { flex-direction: column; text-align: center; gap: 48px; }
  .hero-text { max-width: 100%; align-items: center; display: flex; flex-direction: column; }
  .hero-sub { max-width: 100%; }
  .hero-sentinel { width: 320px; height: 320px; }
  .sentinel-img { width: 220px; }
  .section { padding: 80px 40px; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); padding: 32px 40px; }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .bento-row { flex-direction: column; }
  .section-split { flex-direction: column; }
  .price-cards { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .footer-cols { flex-wrap: wrap; }
  .pricing-hero { padding: 120px 40px 48px; }
  .docs-hero { padding: 120px 40px 32px; }
  .docs-layout { flex-direction: column; }
  .docs-sidebar {
    width: 100%; position: static; max-height: none;
    border-right: none; border-bottom: 1px solid var(--border-subtle);
    display: flex; flex-wrap: wrap; gap: 8px; padding: 16px;
  }
  .sidebar-section { margin-bottom: 0; }
  .docs-content { padding: 24px 40px 60px; }
  .docs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero-h1 { font-size: 40px; letter-spacing: -2px; }
  .steps-row { grid-template-columns: 1fr; }
  .footer-cols { flex-direction: column; gap: 32px; }
  .footer-brand { width: 100%; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .docs-content { padding: 16px 20px 40px; }
  .docs-content h1 { font-size: 28px; }
  .docs-content h2 { font-size: 20px; }
}
