
/* ── TOKENS ──────────────────────────────────────────── */
:root {
  --void:       #000000;
  --surface:    #0a0a0a;
  --surface-2:  #111111;
  --surface-3:  #1a1a1a;
  --border:     rgba(255,255,255,0.07);
  --border-hi:  rgba(139,92,246,0.35);

  --v900: #2e1065;
  --v800: #4c1d95;
  --v700: #5b21b6;
  --v600: #7c3aed;
  --v500: #8b5cf6;
  --v400: #a78bfa;
  --v300: #c4b5fd;

  --tx1: #ffffff;
  --tx2: #a1a1aa;
  --tx3: #52525b;

  --critical: #ef4444;
  --high:     #f97316;
  --medium:   #eab308;
  --low:      #22c55e;

  --ff-display: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --ff-body:    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --ff-mono:    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --r:    12px;
  --r-sm: 8px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg { display: block; }
a { color: inherit; }

body {
  background: var(--void);
  color: var(--tx1);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── LAYOUT ──────────────────────────────────────────── */
.container    { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.container-sm { max-width: 760px;  margin: 0 auto; padding: 0 28px; }
section { padding: 96px 0; }

/* ── NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--ff-display);
  font-size: 19px; font-weight: 700;
  letter-spacing: -0.5px;
  text-decoration: none; color: var(--tx1);
  display: flex; align-items: center; gap: 7px;
}
.nav-logo-icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--tx2); text-decoration: none;
  font-size: 14px; font-weight: 450;
  transition: color .18s;
}
.nav-links a:hover { color: var(--tx1); }

.nav-right { display: flex; align-items: center; gap: 16px; }

.btn-nav {
  background: var(--v600);
  color: #fff; border: none;
  padding: 9px 18px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 550;
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all .2s;
  font-family: var(--ff-body);
}
.btn-nav:hover { background: var(--v500); transform: translateY(-1px); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--tx1); border-radius: 2px; transition: all .3s;
}

/* mobile nav */
@media (max-width: 820px) {
  .nav-links, .nav-right { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(24px);
    padding: 28px; gap: 22px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open + .nav-right { display: flex; }
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, var(--v600) 0%, var(--v500) 100%);
  color: #fff; border: none;
  padding: 14px 28px; border-radius: var(--r);
  font-size: 15px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .25s;
  font-family: var(--ff-body); letter-spacing: -0.2px;
  box-shadow: 0 0 40px rgba(139,92,246,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 48px rgba(139,92,246,.4); }

.btn-secondary {
  background: transparent; color: var(--tx1);
  border: 1px solid var(--border);
  padding: 14px 28px; border-radius: var(--r);
  font-size: 15px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .25s; font-family: var(--ff-body);
}
.btn-secondary:hover { border-color: var(--v500); color: var(--v400); }

.btn-outline {
  background: transparent;
  color: var(--v400);
  border: 1px solid rgba(139,92,246,.35);
  padding: 10px 20px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all .2s; font-family: var(--ff-body);
}
.btn-outline:hover { background: rgba(139,92,246,.08); }

/* ── EYEBROW ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(139,92,246,.08);
  border: 1px solid rgba(139,92,246,.2);
  color: var(--v400);
  padding: 5px 14px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 500;
  font-family: var(--ff-mono); letter-spacing: .04em;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--v500); border-radius: 50%;
  flex-shrink: 0;
}

/* ── SECTION HEADER ──────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
  font-family: var(--ff-display);
  font-size: clamp(28px,4vw,46px); font-weight: 800;
  letter-spacing: -1.5px; line-height: 1.05;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 17px; color: var(--tx2);
  max-width: 540px; margin: 0 auto; line-height: 1.65;
}

/* ── PAGE HEADER (subpages) ──────────────────────────── */
.page-header {
  padding: 136px 0 72px;
  text-align: center; position: relative; overflow: hidden;
}
.page-header h1 {
  font-family: var(--ff-display);
  font-size: clamp(34px,5vw,60px); font-weight: 800;
  letter-spacing: -2px; line-height: 1;
  margin-bottom: 18px;
}
.page-header p {
  font-size: 18px; color: var(--tx2);
  max-width: 500px; margin: 0 auto; line-height: 1.6;
}

/* ── CARDS ───────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  transition: all .25s;
}
.card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(139,92,246,.08);
}

/* ── BADGES ──────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-size: 10px; font-weight: 700;
  font-family: var(--ff-mono);
  text-transform: uppercase; letter-spacing: .07em;
}
.badge-critical { background: rgba(239,68,68,.12);  color: #f87171; border: 1px solid rgba(239,68,68,.2); }
.badge-high     { background: rgba(249,115,22,.12); color: #fb923c; border: 1px solid rgba(249,115,22,.2); }
.badge-medium   { background: rgba(234,179,8,.12);  color: #facc15; border: 1px solid rgba(234,179,8,.2); }
.badge-low      { background: rgba(34,197,94,.12);  color: #4ade80; border: 1px solid rgba(34,197,94,.2); }
.badge-category { background: rgba(139,92,246,.1);  color: var(--v400); border: 1px solid rgba(139,92,246,.2); }

/* ── FILTER TABS ─────────────────────────────────────── */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-tab {
  padding: 8px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: transparent; color: var(--tx2);
  font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all .2s;
  font-family: var(--ff-body);
}
.filter-tab:hover  { border-color: var(--v500); color: var(--tx1); }
.filter-tab.active { background: var(--v600); border-color: var(--v600); color: #fff; }

/* ── LINK ────────────────────────────────────────────── */
a.link {
  color: var(--v400); text-decoration: none;
  font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap .2s, color .2s;
}
a.link:hover { gap: 8px; color: var(--v300); }

/* ── GRIDS ───────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }

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

/* ── DECORATIVE ──────────────────────────────────────── */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.dot-grid {
  background-image: radial-gradient(circle, rgba(139,92,246,.12) 1px, transparent 1px);
  background-size: 28px 28px;
}
.line-grid {
  background-image:
    linear-gradient(rgba(139,92,246,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--v300) 0%, var(--v400) 50%, var(--v500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── FOOTER ──────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand-desc {
  color: var(--tx3); font-size: 14px;
  margin-top: 14px; max-width: 240px; line-height: 1.6;
}
.footer-col h4 {
  font-size: 12px; font-weight: 600;
  color: var(--tx2); text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 16px;
  font-family: var(--ff-display);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  color: var(--tx3); text-decoration: none;
  font-size: 14px; transition: color .18s;
}
.footer-col ul a:hover { color: var(--tx1); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--tx3); font-size: 13px; }

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── PRICING ─────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px; align-items: start;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 36px 32px;
  transition: all .25s; position: relative;
}
.pricing-card.featured {
  background: linear-gradient(135deg, rgba(124,58,237,.12) 0%, rgba(139,92,246,.06) 100%);
  border-color: rgba(139,92,246,.4);
  box-shadow: 0 0 60px rgba(124,58,237,.12);
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured:hover { box-shadow: 0 20px 80px rgba(124,58,237,.2); }

.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--v600), var(--v500));
  color: #fff; padding: 4px 16px;
  border-radius: var(--r-pill); font-size: 12px; font-weight: 600;
  font-family: var(--ff-mono); white-space: nowrap;
}
.pricing-name {
  font-family: var(--ff-display);
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.5px; margin-bottom: 8px;
}
.pricing-price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 6px;
}
.pricing-amount {
  font-family: var(--ff-display);
  font-size: 44px; font-weight: 800;
  letter-spacing: -2px; line-height: 1;
}
.pricing-period { color: var(--tx2); font-size: 15px; }
.pricing-desc { color: var(--tx2); font-size: 14px; margin-bottom: 28px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--tx2);
}
.pricing-features li::before {
  content: '✓';
  color: var(--v400); font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}

@media (max-width: 820px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ── TESTIMONIALS ────────────────────────────────────── */
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  transition: border-color .25s;
}
.testimonial-card:hover { border-color: var(--border-hi); }
.testimonial-text {
  font-size: 15px; line-height: 1.6;
  color: var(--tx1); margin-bottom: 20px;
}
.testimonial-text::before { content: '"'; color: var(--v500); font-size: 20px; }
.testimonial-text::after  { content: '"'; color: var(--v500); font-size: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--v700), var(--v500));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: #fff;
  font-family: var(--ff-display); flex-shrink: 0;
}
.testimonial-handle { color: var(--tx2); font-size: 13px; font-family: var(--ff-mono); }
.testimonial-name { font-weight: 500; font-size: 14px; }

@media (max-width: 820px) { .testimonial-grid { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .testimonial-grid { grid-template-columns: repeat(2,1fr); } }

/* ── STEP ────────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; position: relative; }
.steps::before {
  content: '';
  position: absolute; left: 22px; top: 28px; bottom: 28px; width: 1px;
  background: linear-gradient(to bottom, var(--v600), transparent);
}
.step { display: flex; gap: 28px; padding: 32px 0; position: relative; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--v700), var(--v600));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono); font-size: 15px; font-weight: 600;
  box-shadow: 0 0 24px rgba(124,58,237,.4);
  z-index: 1;
}
.step-content h3 {
  font-family: var(--ff-display);
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.5px; margin-bottom: 8px;
}
.step-content p { color: var(--tx2); font-size: 15px; }

/* ── INPUT ───────────────────────────────────────────── */
.input-group {
  display: flex; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 8px;
  transition: border-color .2s;
}
.input-group:focus-within { border-color: var(--border-hi); }
.input-group input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--tx1); font-size: 15px; padding: 8px 12px;
  font-family: var(--ff-body);
}
.input-group input::placeholder { color: var(--tx3); }

.input-solo {
  width: 100%; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 14px 20px; color: var(--tx1);
  font-size: 15px; outline: none; font-family: var(--ff-body);
  transition: border-color .2s;
}
.input-solo:focus { border-color: var(--border-hi); }
.input-solo::placeholder { color: var(--tx3); }

/* ── PROSE (legal pages) ──────────────────────────────── */
.prose { color: var(--tx2); }
.prose h2 {
  font-family: var(--ff-display); font-size: 22px; font-weight: 700;
  letter-spacing: -0.5px; color: var(--tx1); margin: 48px 0 16px;
}
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 16px; font-size: 15px; line-height: 1.75; }
.prose ul { padding-left: 20px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.prose ul li { font-size: 15px; }
.prose a { color: var(--v400); }

/* ── BLOG CARDS ──────────────────────────────────────── */
.blog-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  text-decoration: none; display: flex; flex-direction: column;
  transition: all .25s;
}
.blog-card:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.blog-card-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--v900) 0%, var(--v800) 50%, rgba(0,0,0,0) 100%);
  position: relative; overflow: hidden;
}
.blog-card-thumb-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono); font-size: 11px;
  color: rgba(167,139,250,.4); letter-spacing: .1em; text-transform: uppercase;
}
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.blog-card-meta { display: flex; align-items: center; gap: 10px; }
.blog-date { color: var(--tx3); font-size: 12px; font-family: var(--ff-mono); }
.blog-card-title { font-family: var(--ff-display); font-size: 16px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.3; color: var(--tx1); }
.blog-card-excerpt { color: var(--tx2); font-size: 14px; line-height: 1.6; flex: 1; }
.blog-card-link { color: var(--v400); font-size: 13px; font-weight: 500; margin-top: auto; display: flex; align-items: center; gap: 4px; }

/* ── GUIDE CARDS ─────────────────────────────────────── */
.guide-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 26px;
  text-decoration: none; display: flex; flex-direction: column; gap: 12px;
  transition: all .25s;
}
.guide-card:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.guide-icon {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.2);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.guide-card h3 { font-family: var(--ff-display); font-size: 16px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.3; }
.guide-card p { color: var(--tx2); font-size: 14px; line-height: 1.55; }
.guide-card .link { margin-top: auto; }

/* ── CHECKLIST CARDS ─────────────────────────────────── */
.checklist-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 26px;
  text-decoration: none; display: flex; align-items: flex-start; gap: 18px;
  transition: all .25s;
}
.checklist-card:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.checklist-count {
  font-family: var(--ff-mono); font-size: 11px; color: var(--v400);
  background: rgba(139,92,246,.08); border: 1px solid rgba(139,92,246,.15);
  padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap; flex-shrink: 0; margin-top: 2px;
}
.checklist-info h3 { font-family: var(--ff-display); font-size: 16px; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 6px; }
.checklist-info p { color: var(--tx2); font-size: 14px; line-height: 1.5; }

/* ── ISSUE CARDS ─────────────────────────────────────── */
.issue-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: all .25s;
}
.issue-card:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.issue-card h3 { font-family: var(--ff-display); font-size: 15px; font-weight: 700; letter-spacing: -0.2px; line-height: 1.35; }
.issue-card p { color: var(--tx2); font-size: 13px; line-height: 1.55; flex: 1; }

/* ── CTA SECTION ─────────────────────────────────────── */
.cta-section {
  padding: 96px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section h2 {
  font-family: var(--ff-display);
  font-size: clamp(32px,5vw,56px); font-weight: 800;
  letter-spacing: -2px; line-height: 1.05; margin-bottom: 16px;
}
.cta-section p { font-size: 18px; color: var(--tx2); margin-bottom: 36px; }

/* ── DIVIDER ─────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); }

/* ── FEATURE CARDS ───────────────────────────────────── */
.feature-icon {
  width: 48px; height: 48px; border-radius: var(--r);
  background: rgba(139,92,246,.08); border: 1px solid rgba(139,92,246,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}
.feature-card h3 {
  font-family: var(--ff-display); font-size: 18px; font-weight: 700;
  letter-spacing: -0.4px; margin-bottom: 10px;
}
.feature-card p { color: var(--tx2); font-size: 14px; line-height: 1.6; }

/* ── SCROLL FADE IN ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s ease both; }
.fade-up-d1 { animation-delay: .1s; }
.fade-up-d2 { animation-delay: .2s; }
.fade-up-d3 { animation-delay: .3s; }
.fade-up-d4 { animation-delay: .4s; }
