/* =============================================
   flagctl.github.io — Vercel-inspired dark theme
   ============================================= */

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

:root {
  --bg:       #000000;
  --srf:      #0a0a0a;
  --srf2:     #111111;
  --srf3:     #1a1a1a;
  --bdr:      #2a2a2a;
  --bdr-l:    #383838;
  --acc:      #0070f3;
  --acc-dim:  rgba(0,112,243,0.12);
  --acc-glow: rgba(0,112,243,0.3);
  --warn:     #f5a623;
  --err:      #e53e3e;
  --success:  #0cce6b;
  --purple:   #7c3aed;
  --txt:      #ededed;
  --muted:    #888888;
  --dim:      #444444;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius:   6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--txt);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ============ LAYOUT ============ */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  border: none;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.btn-sm  { padding: 7px 14px; font-size: 13px; }
.btn-md  { padding: 9px 18px; font-size: 14px; }
.btn-lg  { padding: 12px 22px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--acc);
  color: #fff;
}
.btn-primary:hover { background: #0060df; box-shadow: 0 0 0 3px var(--acc-dim); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--bdr);
}
.btn-ghost:hover { background: var(--srf2); color: var(--txt); border-color: var(--bdr-l); }

.btn-outline {
  background: transparent;
  color: var(--txt);
  border: 1px solid var(--bdr-l);
}
.btn-outline:hover { background: var(--srf2); border-color: var(--muted); }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.nav.scrolled { border-color: var(--bdr); }

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.nav-links a {
  padding: 6px 12px;
  font-size: 14px;
  color: var(--muted);
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--txt); background: var(--srf2); }
.nav-link-muted { color: var(--dim) !important; }

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--muted);
  transition: all 0.2s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--bdr);
}
.mobile-menu a {
  padding: 10px 12px;
  font-size: 14px;
  color: var(--muted);
  border-radius: var(--radius);
}
.mobile-menu a:hover { color: var(--txt); background: var(--srf2); }
.mobile-menu .btn { margin-top: 8px; }
.mobile-menu.open { display: flex; }

/* ============ HERO ============ */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(0,112,243,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid;
}
.badge-blue   { background: rgba(0,112,243,0.1);   border-color: rgba(0,112,243,0.25);   color: #79b8ff; }
.badge-green  { background: rgba(12,206,107,0.1);  border-color: rgba(12,206,107,0.25);  color: #0cce6b; }
.badge-red    { background: rgba(229,62,62,0.1);   border-color: rgba(229,62,62,0.25);   color: #e53e3e; }
.badge-yellow { background: rgba(245,166,35,0.1);  border-color: rgba(245,166,35,0.25);  color: #f5a623; }
.badge-default{ background: var(--srf2); border-color: var(--bdr-l); color: var(--muted); }

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--txt);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

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

.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.trust-sep {
  width: 1px;
  height: 14px;
  background: var(--bdr);
}

/* ---- Dashboard Preview ---- */
.hero-preview {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--bdr);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(0,112,243,0.06);
  background: var(--srf);
  text-align: left;
}

.preview-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--srf2);
  border-bottom: 1px solid var(--bdr);
}
.preview-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red    { background: #e53e3e; }
.dot-yellow { background: #f5a623; }
.dot-green  { background: #0cce6b; }
.preview-url { font-size: 11px; color: var(--dim); font-family: var(--font-mono); margin: 0 auto; }

.preview-body {
  display: flex;
  height: 280px;
}

.preview-sidebar {
  width: 140px;
  border-right: 1px solid var(--bdr);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--srf);
  flex-shrink: 0;
}

.preview-logo-mark {
  width: 22px;
  height: 22px;
  background: var(--acc);
  border-radius: 5px;
  margin: 0 auto 4px;
  position: relative;
}
.preview-logo-mark::after {
  content: '';
  position: absolute;
  top: 4px; left: 4px;
  width: 14px; height: 14px;
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
}

.preview-nav-items { display: flex; flex-direction: column; gap: 3px; }
.preview-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 5px;
  font-size: 11px;
  color: var(--dim);
}
.preview-nav-active {
  background: var(--srf2);
  color: var(--txt);
}
.preview-nav-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }

.preview-content {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.preview-stat {
  background: var(--srf2);
  border: 1px solid var(--bdr);
  border-radius: 6px;
  padding: 8px 10px;
}
.preview-stat-val {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: 2px;
}
.preview-stat-label { font-size: 9px; color: var(--muted); }

.preview-table { flex: 1; }
.preview-table-head {
  display: grid;
  grid-template-columns: 1fr 80px 120px 50px;
  gap: 8px;
  font-size: 9px;
  color: var(--dim);
  padding: 0 0 6px;
  border-bottom: 1px solid var(--bdr);
  margin-bottom: 6px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.preview-row {
  display: grid;
  grid-template-columns: 1fr 80px 120px 50px;
  gap: 8px;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.preview-key { font-size: 11px; font-family: var(--font-mono); color: var(--acc); }
.preview-chip {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-block;
}
.preview-chip-green  { background: rgba(12,206,107,0.1);  color: #0cce6b; }
.preview-chip-yellow { background: rgba(245,166,35,0.1);  color: #f5a623; }
.preview-chip-red    { background: rgba(229,62,62,0.1);   color: #e53e3e; }
.preview-bar-wrap {
  height: 4px;
  background: var(--srf3);
  border-radius: 2px;
  overflow: hidden;
}
.preview-bar {
  height: 100%;
  border-radius: 2px;
  transition: width 0.5s ease;
}
.preview-trend { font-size: 10px; font-family: var(--font-mono); font-weight: 600; }

/* ============ LOGOS ============ */
.logos-section {
  padding: 40px 0;
  border-top: 1px solid var(--bdr);
  border-bottom: 1px solid var(--bdr);
  background: var(--srf);
}
.logos-label {
  text-align: center;
  font-size: 12px;
  color: var(--dim);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.logos-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.logo-pill {
  padding: 6px 16px;
  border: 1px solid var(--bdr);
  border-radius: 99px;
  font-size: 12px;
  color: var(--dim);
  background: var(--srf2);
}

/* ============ SECTIONS ============ */
.section {
  padding: 96px 0;
}
.section-alt {
  background: var(--srf);
  border-top: 1px solid var(--bdr);
  border-bottom: 1px solid var(--bdr);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--acc);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--txt);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============ FEATURES GRID ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.feature-card {
  background: var(--srf2);
  border: 1px solid var(--bdr);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: var(--bdr-l);
  box-shadow: var(--shadow-md);
}
.feature-card-wide {
  grid-column: span 2;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon-blue   { background: rgba(0,112,243,0.12);   color: var(--acc); }
.feature-icon-purple { background: rgba(124,58,237,0.12);  color: var(--purple); }
.feature-icon-red    { background: rgba(229,62,62,0.12);   color: var(--err); }
.feature-icon-green  { background: rgba(12,206,107,0.12);  color: var(--success); }
.feature-icon-yellow { background: rgba(245,166,35,0.12);  color: var(--warn); }

.feature-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--txt);
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Feature code block */
.feature-code {
  background: var(--bg);
  border: 1px solid var(--bdr);
  border-radius: var(--radius);
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
}
.feature-code pre { white-space: pre; }
.c-key    { color: #79b8ff; }
.c-str    { color: #9ecbff; }
.c-bool   { color: #f97583; }
.c-num    { color: #79b8ff; }
.c-colon  { color: var(--muted); }
.c-comment{ color: var(--dim); font-style: italic; }
.c-type   { color: #b392f0; }

/* Lang pills */
.feature-langs { display: flex; gap: 6px; flex-wrap: wrap; }
.lang-pill {
  padding: 4px 10px;
  background: var(--srf3);
  border: 1px solid var(--bdr);
  border-radius: 4px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--muted);
}

/* Kill switch demo */
.feature-ks-demo {
  background: var(--bg);
  border: 1px solid rgba(229,62,62,0.25);
  border-radius: var(--radius);
  padding: 12px;
}
.ks-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.ks-key { font-family: var(--font-mono); font-size: 12px; color: var(--txt); }
.ks-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  background: rgba(229,62,62,0.15);
  color: var(--err);
  border-radius: 3px;
  letter-spacing: 0.05em;
}
.ks-action {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ks-input {
  flex: 1;
  font-size: 11px;
  color: var(--dim);
  font-family: var(--font-mono);
  background: var(--srf2);
  padding: 5px 8px;
  border-radius: 4px;
  border: 1px solid var(--bdr);
}
.ks-btn {
  padding: 5px 10px;
  background: var(--err);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

/* CEL rule */
.feature-rule {
  background: var(--bg);
  border: 1px solid var(--bdr);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 2;
}
.rule-kw      { color: #f97583; }
.rule-attr    { color: #79b8ff; }
.rule-op      { color: var(--muted); }
.rule-val     { color: #9ecbff; }
.rule-comment { color: var(--dim); font-style: italic; }

/* Mini chart */
.feature-mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 60px;
  margin-bottom: 12px;
}
.mini-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  min-height: 2px;
}
.feature-stats-row {
  display: flex;
  gap: 20px;
}
.mini-stat { display: flex; flex-direction: column; }
.mini-val {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: -0.03em;
}
.mini-lbl { font-size: 10px; color: var(--muted); }

/* Audit rows */
.feature-audit { display: flex; flex-direction: column; gap: 8px; }
.audit-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.audit-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.audit-text { flex: 1; color: var(--txt); }
.audit-who { color: var(--muted); }
.audit-time { color: var(--dim); white-space: nowrap; font-family: var(--font-mono); }

/* ============ HOW IT WORKS ============ */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--srf2);
  border: 1px solid var(--bdr-l);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--acc);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.step-connector {
  flex: 0 0 1px;
  height: 1px;
  background: var(--bdr);
  margin-top: 24px;
  align-self: flex-start;
  width: 40px;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============ CODE SHOWCASE ============ */
.code-showcase {
  max-width: 800px;
  margin: 0 auto;
  background: var(--srf);
  border: 1px solid var(--bdr);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.code-tabs {
  display: flex;
  border-bottom: 1px solid var(--bdr);
  background: var(--srf2);
}
.code-tab {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-sans);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: -1px;
}
.code-tab:hover { color: var(--txt); }
.code-tab-active { color: var(--txt) !important; border-bottom-color: var(--acc) !important; }

.code-panel { display: none; }
.code-panel-active { display: block; }

.code-block {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  color: #cdd9e5;
  overflow-x: auto;
  white-space: pre;
}

/* ============ PRICING ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--srf2);
  border: 1px solid var(--bdr);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { border-color: var(--bdr-l); }
.pricing-card-featured {
  border-color: rgba(0,112,243,0.4);
  box-shadow: 0 0 0 1px rgba(0,112,243,0.15), var(--shadow-md);
}
.pricing-card-featured:hover {
  border-color: var(--acc);
  box-shadow: 0 0 0 1px rgba(0,112,243,0.3), var(--shadow-md);
}

.pricing-popular {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--acc);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 99px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.pricing-plan {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 12px;
}
.pricing-amount {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--txt);
  line-height: 1;
}
.pricing-period {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

.pricing-tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 52px;
}

.pricing-features {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
}
.pricing-features li svg { flex-shrink: 0; }

/* ============ CTA ============ */
.cta-section {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,112,243,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--txt);
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--srf);
  border-top: 1px solid var(--bdr);
  padding: 56px 0 32px;
}

.footer-top {
  display: flex;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand { flex: 0 0 240px; }
.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 12px 0 16px;
}
.footer-badges { display: flex; gap: 6px; }

.footer-links {
  display: flex;
  gap: 48px;
  flex: 1;
  justify-content: flex-end;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--txt);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--txt); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--bdr);
  font-size: 12px;
  color: var(--dim);
}

.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a { color: var(--dim); transition: color 0.15s; }
.footer-legal a:hover { color: var(--muted); }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-up {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-wide { grid-column: span 2; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card-wide { grid-column: span 1; }

  .steps { flex-direction: column; align-items: center; gap: 32px; }
  .step-connector { display: none; }

  .footer-top { flex-direction: column; gap: 36px; }
  .footer-brand { flex: none; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; gap: 36px; }

  .preview-sidebar { display: none; }
  .preview-stats { grid-template-columns: repeat(2, 1fr); }
  .preview-table-head,
  .preview-row { grid-template-columns: 1fr 70px 80px 40px; }

  .trust-bar { gap: 12px; }
  .trust-sep { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .hero-preview { border-radius: var(--radius-md); }
  .preview-stats { grid-template-columns: repeat(2, 1fr); }
}
