/* Trace Continuity Labs — Premium Electric CSS
   Electric/Fluorescent blue design system, circuit-board aesthetics */

:root {
  /* ELECTRIC BLUE — the core brand color */
  --blue: #00D4FF;
  --blue-bright: #00E5FF;
  --blue-mid: #00AAFF;
  --blue-dark: #0080CC;
  --blue-glow: rgba(0, 212, 255, 0.15);
  --blue-glow-strong: rgba(0, 212, 255, 0.3);

  /* Supporting palette */
  --cyan: #00FFD4;
  --silver: #C0C0C0;
  --silver-light: #F0F0F5;
  --dark: #060810;
  --dark-card: #0A0D18;
  --dark-surface: #0D1020;
  --dark-border: rgba(0, 212, 255, 0.12);
  --dark-border-mid: rgba(0, 212, 255, 0.25);
  --white: #FFFFFF;
  --gray: #6A7A8A;
  --gray-bright: #9AACBA;
  --green: #00FF9D;
  --green-glow: rgba(0, 255, 157, 0.15);
  --red: #FF3366;
  --red-glow: rgba(255, 51, 102, 0.15);
  --orange: #FFB800;

  /* Typography */
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  --mono: 'SF Mono', 'Fira Code', 'Consolas', 'Monaco', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--silver-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-bright); }

/* ─── GLOW UTILITIES ─────────────────────────────────────── */
.glow-border { border: 1px solid var(--dark-border-mid) !important; }
.glow-border-blue { border: 1px solid rgba(0, 212, 255, 0.4) !important; box-shadow: 0 0 20px rgba(0, 212, 255, 0.08), inset 0 0 20px rgba(0, 212, 255, 0.03); }
.glow-text { text-shadow: 0 0 20px rgba(0, 212, 255, 0.6), 0 0 40px rgba(0, 212, 255, 0.3); }
.glow-blue-bg { background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 136, 204, 0.04) 100%); }
.glow-box { box-shadow: 0 0 30px rgba(0, 212, 255, 0.15), 0 0 60px rgba(0, 212, 255, 0.06); }

/* ─── CIRCUIT BOARD BACKGROUND ───────────────────────────── */
.circuit-bg {
  position: relative;
}
.circuit-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.circuit-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* ─── NAVIGATION ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(6, 8, 16, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--dark-border);
  padding: 0 32px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 34px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--gray-bright); font-size: 13px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--blue) !important;
  color: var(--dark) !important;
  padding: 8px 18px; border-radius: 8px;
  font-weight: 700 !important; font-size: 13px !important;
  transition: all 0.2s;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}
.nav-cta:hover {
  background: var(--blue-bright) !important;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
  transform: translateY(-1px);
}
.mobile-menu { display: none; background: none; border: none; color: var(--white); font-size: 24px; cursor: pointer; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 { color: var(--white); font-weight: 700; letter-spacing: -0.01em; }

/* ─── SECTIONS ───────────────────────────────────────────── */
.section { padding: 100px 32px; max-width: 1200px; margin: 0 auto; }
.section-sm { padding: 60px 32px; max-width: 1200px; margin: 0 auto; }
.page-top { padding-top: 120px; }

/* Section label */
.section-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-sub {
  font-size: 1rem;
  color: var(--gray-bright);
  line-height: 1.8;
  max-width: 600px;
}
.section-sub-wide {
  font-size: 1.05rem;
  color: var(--gray-bright);
  line-height: 1.8;
  max-width: 720px;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}
.btn-primary {
  background: var(--blue);
  color: var(--dark);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
}
.btn-primary:hover {
  background: var(--blue-bright);
  box-shadow: 0 0 35px rgba(0, 212, 255, 0.6), 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
  color: var(--dark);
}
.btn-outline {
  background: transparent;
  color: var(--silver-light);
  border: 1px solid var(--dark-border-mid);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}
.btn-break {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}
.btn-break:hover {
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 35px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
  color: var(--blue-bright);
}
.btn-sm { padding: 8px 18px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 16px 40px; font-size: 16px; border-radius: 12px; }

/* ─── CARDS ─────────────────────────────────────────────── */
.card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  border-color: var(--dark-border-mid);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.06);
}
.card-blue {
  border-color: rgba(0, 212, 255, 0.35) !important;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.1), inset 0 0 30px rgba(0, 212, 255, 0.03);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, var(--dark-card) 100%);
}
.card h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--gray-bright); font-size: 0.9rem; }

/* ─── GRIDS ──────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.grid-5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }

/* ─── CONSOLE / CODE BLOCKS ──────────────────────────────── */
.console {
  background: #04060E;
  border: 1px solid var(--dark-border-mid);
  border-radius: 12px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 13px;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.04);
}
.console-header {
  background: var(--dark-card);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--dark-border);
}
.console-dot { width: 10px; height: 10px; border-radius: 50%; }
.console-dot.red { background: var(--red); box-shadow: 0 0 6px rgba(255, 51, 102, 0.5); }
.console-dot.yellow { background: var(--orange); box-shadow: 0 0 6px rgba(255, 184, 0, 0.5); }
.console-dot.green { background: var(--green); box-shadow: 0 0 6px rgba(0, 255, 157, 0.5); }
.console-body {
  padding: 18px 20px;
  overflow-x: auto;
  line-height: 1.8;
  color: var(--gray-bright);
}
.console-body .highlight { color: var(--blue); }
.console-body .redacted { color: var(--red); }
.console-body .safe { color: var(--green); }
.console-body .token { color: var(--orange); }
.console-body .dim { color: var(--gray); }

/* ─── INPUTS ──────────────────────────────────────────────── */
textarea.input-area, input.input-field {
  width: 100%;
  background: #04060E;
  color: var(--silver-light);
  border: 1px solid var(--dark-border-mid);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 13px;
  resize: vertical;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
textarea.input-area:focus, input.input-field:focus {
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2), 0 0 0 3px rgba(0, 212, 255, 0.08);
}
select.input-field {
  background: #04060E;
  color: var(--silver-light);
  border: 1px solid var(--dark-border-mid);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
select.input-field:focus {
  border-color: var(--blue);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
}

/* ─── RESULT BOX ─────────────────────────────────────────── */
.result-box {
  background: #04060E;
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 13px;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 400px;
  overflow-y: auto;
  color: var(--gray-bright);
}
.result-box.glow-result {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.08);
}

/* ─── METRICS ─────────────────────────────────────────────── */
.metric-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.metric-card:hover {
  border-color: var(--dark-border-mid);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.08);
}
.metric-value { font-size: 2rem; font-weight: 700; color: var(--blue); text-shadow: 0 0 20px rgba(0, 212, 255, 0.4); }
.metric-label { font-size: 0.75rem; color: var(--gray); margin-top: 6px; text-transform: uppercase; letter-spacing: 1px; }

/* ─── PRICING ────────────────────────────────────────────── */
.price-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.price-card:hover {
  border-color: var(--dark-border-mid);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.07);
}
.price-card.featured {
  border-color: rgba(0, 212, 255, 0.45) !important;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.12), inset 0 0 40px rgba(0, 212, 255, 0.03);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, var(--dark-card) 100%);
}
.price-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--dark);
  padding: 4px 18px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}
.price-card.free-tier {
  border-color: rgba(0, 255, 157, 0.35) !important;
  box-shadow: 0 0 30px rgba(0, 255, 157, 0.08);
  background: linear-gradient(135deg, rgba(0, 255, 157, 0.07) 0%, var(--dark-card) 100%);
}
.price-card.free-tier::before {
  content: 'FREE FOREVER';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--dark);
  padding: 4px 18px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 0 15px rgba(0, 255, 157, 0.4);
}
.price-amount { font-size: 2.8rem; font-weight: 700; color: var(--white); letter-spacing: -0.02em; }
.price-period { font-size: 0.85rem; color: var(--gray); margin-top: 4px; }
.price-features { list-style: none; margin: 20px 0; }
.price-features li { padding: 9px 0; color: var(--gray-bright); font-size: 0.9rem; border-bottom: 1px solid rgba(0, 212, 255, 0.06); }
.price-features li:last-child { border-bottom: none; }
.price-features li::before { content: '▸ '; color: var(--blue); font-weight: 700; }

/* ─── BADGES / TAGS ──────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.tag-blue { background: rgba(0, 212, 255, 0.15); color: var(--blue); border: 1px solid rgba(0, 212, 255, 0.25); }
.tag-green { background: rgba(0, 255, 157, 0.12); color: var(--green); border: 1px solid rgba(0, 255, 157, 0.25); }
.tag-red { background: rgba(255, 51, 102, 0.12); color: var(--red); border: 1px solid rgba(255, 51, 102, 0.25); }
.tag-orange { background: rgba(255, 184, 0, 0.12); color: var(--orange); border: 1px solid rgba(255, 184, 0, 0.25); }

/* ─── PLAYGROUND ─────────────────────────────────────────── */
.playground-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--dark-border);
  padding-bottom: 16px;
}
.playground-tab {
  padding: 8px 16px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  color: var(--gray-bright);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
  font-weight: 500;
}
.playground-tab:hover {
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.15);
}
.playground-tab.active {
  background: var(--blue);
  color: var(--dark) !important;
  border-color: var(--blue);
  font-weight: 700;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}
.playground-panel { display: none; }
.playground-panel.active { display: block; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--dark-border);
  padding: 48px 32px;
  text-align: center;
  color: var(--gray);
  font-size: 0.85rem;
}
.footer a { color: var(--gray-bright); }
.footer a:hover { color: var(--blue); }

/* ─── DIVIDERS ───────────────────────────────────────────── */
.divider-glow {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--blue) 50%, transparent 100%);
  opacity: 0.2;
  margin: 0;
}
.divider-line {
  height: 1px;
  background: var(--dark-border);
  margin: 0;
}

/* ─── HOMEPAGE HERO ──────────────────────────────────────── */
.home-hero {
  position: relative;
  overflow: hidden;
  /* Hero image fills container edge-to-edge; background matches image edge color
     so body background never shows through transparent PNG areas */
  background: #0D1520;
  /* Gradient fade at bottom — content appears to blend into image */
  background: linear-gradient(to bottom, #0D1520 0%, #0A1420 50%, #061018 100%);
}
.hero-headline {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 20px;
}
.hero-headline .accent { color: var(--blue); text-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 0 60px rgba(0, 212, 255, 0.2); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--gray-bright);
  max-width: 620px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hero-note {
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 16px;
}
.hero-note a { color: var(--blue); }

/* Hero stats row */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--dark-border);
  flex-wrap: wrap;
}
.hero-stat-value {
  font-family: var(--mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue);
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}
.hero-stat-label { font-size: 0.78rem; color: var(--gray); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

/* ─── THREE QUESTIONS (post-hero) ──────────────────────── */
.three-questions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.q-block {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.q-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.6;
}
.q-block:hover {
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
  transform: translateY(-3px);
}
.q-block-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}
.q-block-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.q-block-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
}
.q-block-answer {
  font-size: 0.88rem;
  color: var(--gray-bright);
  line-height: 1.75;
}
.q-block-answer strong { color: var(--blue); }

/* ─── CHALLENGE CALLOUT ─────────────────────────────────── */
.challenge-section {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.06) 0%, rgba(0, 136, 204, 0.03) 50%, rgba(0, 212, 255, 0.08) 100%);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 20px;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.08);
}
.challenge-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.challenge-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.challenge-headline {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.challenge-sub {
  font-size: 1rem;
  color: var(--gray-bright);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.challenge-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── ARCHITECTURE FLOW ──────────────────────────────────── */
.arch-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 40px 0 32px;
  flex-wrap: wrap;
  row-gap: 16px;
}
.arch-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.arch-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
}
.arch-label {
  font-size: 0.68rem;
  color: var(--gray);
  text-align: center;
  max-width: 80px;
  line-height: 1.3;
  font-weight: 500;
}
.arch-arrow {
  font-size: 1.2rem;
  color: var(--dark-border-mid);
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.3));
}

/* ─── CORE RULES GRID ────────────────────────────────────── */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.rule-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}
.rule-card:hover {
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
  transform: translateY(-4px);
}
.rule-num {
  font-family: var(--mono);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(0, 212, 255, 0.1);
  margin-bottom: 12px;
  line-height: 1;
}
.rule-card h3 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.rule-card p {
  font-size: 0.75rem;
  color: var(--gray);
  line-height: 1.5;
}
.rule-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
  display: block;
}

/* ─── FEATURES GRID ──────────────────────────────────────── */
.feature-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 35px rgba(0, 212, 255, 0.08);
  transform: translateY(-2px);
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at 100% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-glow);
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--gray-bright);
  line-height: 1.7;
}
.feature-break-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 600;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.feature-break-link:hover { opacity: 1; }

/* ─── DETECTION GRID ─────────────────────────────────────── */
.detection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.detect-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--silver-light);
  transition: all 0.2s;
  font-family: var(--mono);
}
.detect-card:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.2);
}

/* ─── CONTINUITY SECTION ─────────────────────────────────── */
.section-continuity {
  background: var(--dark-surface);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}
.continuity-inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  max-width: 880px;
  margin: 0 auto;
}
.continuity-pillars { margin-top: 24px; }
.pillar {
  padding: 14px 0;
  border-bottom: 1px solid var(--dark-border);
  font-size: 0.92rem;
  color: var(--gray-bright);
}
.pillar span { color: var(--blue); font-weight: 700; }

/* ─── COMPLIANCE FEATURES ───────────────────────────────── */
.compliance-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.comp-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.25s;
}
.comp-feat:hover {
  border-color: var(--dark-border-mid);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.06);
}
.comp-icon { color: var(--blue); font-size: 1.3rem; flex-shrink: 0; }

/* ─── VERTICALS ──────────────────────────────────────────── */
.verticals-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 32px 0 48px;
}
.vert-chip {
  background: var(--blue-glow);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--blue);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}
.vert-chip:hover {
  background: rgba(0, 212, 255, 0.2);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.2);
}

/* ─── TRUST FLOW ─────────────────────────────────────────── */
.trust-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 32px 0;
  flex-wrap: wrap;
  row-gap: 12px;
}
.trust-node {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--silver-light);
  white-space: nowrap;
  transition: all 0.2s;
}
.trust-node:hover { border-color: var(--dark-border-mid); }
.trust-enforce {
  border-color: var(--blue) !important;
  color: var(--blue) !important;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
}
.trust-arrow {
  color: var(--dark-border-mid);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ─── GOVERNOR BANNER ───────────────────────────────────── */
.govern-banner {
  background: linear-gradient(135deg, var(--dark-card) 0%, rgba(0, 212, 255, 0.06) 100%);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 14px;
  padding: 32px;
  text-align: center;
  margin: 0 auto;
  max-width: 700px;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.06);
}
.govern-banner-text {
  font-family: var(--mono);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.05em;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

/* ─── ANIMATIONS ────────────────────────────────────────── */
.fade-in { animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pulse { animation: pulse 2.5s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.scan-glow { animation: scanGlow 1.2s ease-in-out; }
@keyframes scanGlow { 0% { box-shadow: 0 0 0 rgba(0, 212, 255, 0); } 50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.4); } 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.1); } }
.write-flash { animation: writeFlash 0.6s ease-out; }
@keyframes writeFlash { 0% { box-shadow: 0 0 60px rgba(0, 212, 255, 0.5); } 100% { box-shadow: none; } }
.loading { opacity: 0.5; pointer-events: none; }
.hidden { display: none !important; }

/* ─── SYSTEM STATUS PANEL ──────────────────────────────── */
.status-panel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 32px 0 24px;
}
.status-item {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.status-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
  animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.status-item:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.08);
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(0, 255, 157, 0.6);
  margin: 0 auto 12px;
  position: relative;
}
.status-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(0, 255, 157, 0.2);
  animation: statusRing 2s ease-out infinite;
}
@keyframes statusRing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}
.status-label {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-state {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--green);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.status-badge {
  display: inline-block;
  background: rgba(0, 255, 157, 0.1);
  border: 1px solid rgba(0, 255, 157, 0.3);
  color: var(--green);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ─── ARCHITECTURE BANNER ───────────────────────────────── */
.arch-banner {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, var(--dark-card) 100%);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 14px;
  padding: 28px 32px;
  margin: 0 auto;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.04);
}
.arch-banner-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.arch-banner-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.arch-banner-sub {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ─── TEXTURE OVERLAY ────────────────────────────────────── */
.infra-texture {
  position: relative;
}
.infra-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_93465/e1dd56f5-67ca-4669-ad0b-ea991c5750c5.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
}
.infra-texture > * { position: relative; z-index: 2; }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.max-w-600 { max-width: 600px; }
.max-w-720 { max-width: 720px; }
.max-w-900 { max-width: 900px; }

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .rules-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--dark);
    padding: 20px;
    border-bottom: 1px solid var(--dark-border);
  }
  .home-hero { min-height: auto; padding-top: 80px; }
  .hero-headline { font-size: 2rem; }
  .three-questions-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr 1fr; }
  .compliance-features { grid-template-columns: 1fr; }
  .detection-grid { grid-template-columns: repeat(2, 1fr); }
  .challenge-section { padding: 36px 24px; }
  .section { padding: 60px 20px; }
  .grid-5 { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 24px; }
  .continuity-inner { flex-direction: column; }
}
@media (max-width: 480px) {
  .rules-grid { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: 1fr; }
  .arch-flow { gap: 2px; }
  .arch-label { display: none; }
  .hero-stats { gap: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}