/* ========================================
   KycImmo — Landing page
   Dark / Light SaaS theme (auto via OS)
   Blue (Compliance) + Amber (Data Room)
   ======================================== */

:root {
  --bg:          #08090e;
  --bg-card:     #0e1017;
  --bg-card-2:   #121420;
  --bg-subtle:   #161828;
  --border:      #1c2035;
  --border-glow: #2a3560;
  --text:        #b8bdd0;
  --text-dim:    #5e6585;
  --text-bright: #eef0f6;

  /* Blue — Compliance */
  --accent:       #4d8eff;
  --accent-light: #6da3ff;
  --accent-glow:  rgba(77, 142, 255, 0.12);
  --accent-glow2: rgba(77, 142, 255, 0.06);

  /* Amber — Data Room */
  --amber:       #f59e0b;
  --amber-light: #fbbf24;
  --amber-glow:  rgba(245, 158, 11, 0.12);
  --amber-glow2: rgba(245, 158, 11, 0.06);

  --red:    #ef4444;
  --green:  #22c55e;
  --teal:   #14b8a6;
  --indigo: #818cf8;
  --mono:   'SF Mono', 'Fira Code', 'Cascadia Code', 'JetBrains Mono', Consolas, monospace;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; color-scheme: light dark; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-light); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }

h1, h2, h3, h4 { color: var(--text-bright); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; }

.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-warm {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-light) 50%, #fde68a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all .25s;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}
.btn:hover {
  background: var(--accent-light);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow), 0 0 0 1px rgba(77, 142, 255, 0.15);
  transform: translateY(-1px);
}
.btn--lg { padding: 14px 32px; font-size: 1rem; border-radius: 10px; }
.btn--sm { padding: 8px 16px; font-size: 0.8rem; }
.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-glow2);
  box-shadow: none;
  transform: translateY(-1px);
}

/* ---- Section tags ---- */
.section-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid rgba(77, 142, 255, 0.2);
  background: var(--accent-glow2);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-tag--amber {
  color: var(--amber);
  border-color: rgba(245, 158, 11, 0.2);
  background: var(--amber-glow2);
}
.section-tag--red {
  color: var(--red);
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.05);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-sub {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-top: 16px;
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 9, 14, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-bright);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo:hover { color: #fff; }
.logo-icon {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--amber));
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color .2s;
}
.nav__links a:hover { color: var(--text-bright); }
.nav__links .btn { color: #fff; }
.nav__links .btn--ghost { color: var(--text); }
.nav__links .btn--ghost:hover { color: var(--accent-light); }
.nav__toggle { display: none; }

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(77, 142, 255, 0.08) 0%, rgba(245, 158, 11, 0.04) 40%, transparent 70%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.hero__badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.hero__sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  margin-top: 20px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.hero__cta {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__logos {
  margin-top: 48px;
}
.hero__trust {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
}

/* ========== STATS ========== */
.stats {
  padding: 80px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 24px;
  text-align: center;
  transition: border-color .3s, box-shadow .3s;
}
.stat-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 4px 40px var(--accent-glow);
}
.stat-card__value {
  font-family: var(--mono);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-card__label {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.4;
}
.stat-card__source {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========== SANCTIONS CHART ========== */
.sanctions {
  padding: 20px 0 100px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card) 50%, var(--bg) 100%);
}
.sanctions__chart-wrap {
  position: relative;
  max-width: 780px;
  margin: 0 auto 48px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px 24px 12px;
}
.sanctions__chart-wrap canvas {
  display: block;
  width: 100%;
  height: 360px;
}
.sanctions__chart-note {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sanctions__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sanctions__stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color .3s, box-shadow .3s;
}
.sanctions__stat:hover {
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 4px 24px rgba(239, 68, 68, 0.08);
}
.sanctions__stat-value {
  font-family: var(--mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 10px;
}
.sanctions__stat-label {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.4;
}
.sanctions__stat-source {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sanctions__context {
  max-width: 780px;
  margin: 36px auto 0;
  text-align: center;
}
.sanctions__context p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.65;
}
.sanctions__context strong {
  color: var(--text-bright);
}

/* ========== PROBLEM ========== */
.problem {
  padding: 100px 0;
}
.problem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color .3s;
}
.problem-card:hover { border-color: rgba(239, 68, 68, 0.4); }
.problem-card__icon {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.problem-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.problem-card p { color: var(--text-dim); font-size: 0.88rem; }

/* ========== PILLARS ========== */
.pillars {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card) 50%, var(--bg) 100%);
}
.pillars__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pillar-card {
  display: block;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  text-decoration: none;
}
.pillar-card:hover {
  transform: translateY(-3px);
}
.pillar-card--blue:hover {
  border-color: rgba(77, 142, 255, 0.4);
  box-shadow: 0 8px 40px var(--accent-glow);
}
.pillar-card--amber:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 8px 40px var(--amber-glow);
}
.pillar-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 20px;
}
.pillar-card--blue .pillar-card__icon {
  background: var(--accent-glow2);
  border: 1px solid rgba(77, 142, 255, 0.15);
  color: var(--accent);
}
.pillar-card--amber .pillar-card__icon {
  background: var(--amber-glow2);
  border: 1px solid rgba(245, 158, 11, 0.15);
  color: var(--amber);
}
.pillar-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}
.pillar-card p {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 20px;
}
.pillar-card__link {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pillar-card--blue .pillar-card__link { color: var(--accent); }
.pillar-card--amber .pillar-card__link { color: var(--amber); }

/* ========== SOLUTION / FEATURES ========== */
.solution {
  padding: 100px 0;
}
.dataroom {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(245, 158, 11, 0.02) 50%, var(--bg) 100%);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.feature-card:hover {
  transform: translateY(-2px);
}
.feature-card:not(.feature-card--warm):hover {
  border-color: rgba(77, 142, 255, 0.3);
  box-shadow: 0 4px 24px var(--accent-glow);
}
.feature-card--warm {
  background: var(--bg-card);
}
.feature-card--warm:hover {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 4px 24px var(--amber-glow);
}
.feature-card__icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 18px;
}
.feature-card__icon--blue {
  background: var(--accent-glow2);
  border: 1px solid rgba(77, 142, 255, 0.12);
  color: var(--accent);
}
.feature-card__icon--amber {
  background: var(--amber-glow2);
  border: 1px solid rgba(245, 158, 11, 0.12);
  color: var(--amber);
}
.feature-card h3 { margin-bottom: 8px; font-size: 1.02rem; }
.feature-card p { color: var(--text-dim); font-size: 0.88rem; }

/* ========== WORKFLOW ========== */
.workflow {
  padding: 80px 0 100px;
}
.workflow__track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.workflow__step {
  flex: 1;
  text-align: center;
  max-width: 200px;
}
.workflow__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--amber);
  border: 2px solid rgba(245, 158, 11, 0.3);
  background: var(--amber-glow2);
  margin-bottom: 14px;
}
.workflow__step h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.workflow__step p {
  font-size: 0.8rem;
  color: var(--text-dim);
}
.workflow__connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.3), rgba(245, 158, 11, 0.1));
  margin-top: 19px;
}

/* ========== AUDIT TRAIL ========== */
.audit {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card) 50%, var(--bg) 100%);
}
.audit__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.audit__text h2 { margin-bottom: 20px; }
.audit__text > p { color: var(--text-dim); margin-bottom: 24px; font-size: 0.95rem; }
.audit__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.audit__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--text);
}
.audit__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}
.audit__list li strong { color: var(--text-bright); }
.audit__note {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* Chain visual */
.chain {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.chain-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  width: 100%;
  max-width: 380px;
  transition: border-color .3s;
}
.chain-block--glow {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow), 0 0 40px var(--accent-glow2);
}
.chain-block__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.chain-block__seq {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-dim);
  background: var(--bg-subtle);
  padding: 2px 8px;
  border-radius: 4px;
}
.chain-block__action {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-glow2);
  padding: 2px 10px;
  border-radius: 10px;
}
.action--teal { color: var(--teal); background: rgba(20, 184, 166, 0.08); }
.action--green { color: var(--green); background: rgba(34, 197, 94, 0.08); }
.action--amber { color: var(--amber); background: var(--amber-glow2); }
.action--indigo { color: var(--indigo); background: rgba(129, 140, 248, 0.08); }
.chain-block__meta {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.chain-block__hash {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  line-height: 1.8;
}
.chain-block__hash span {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  width: 28px;
  flex-shrink: 0;
}
.chain-block__hash code {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text);
}
.chain-block__hash code.genesis { color: var(--text-dim); font-style: italic; }
.chain-block__diff {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  margin: 8px 0;
  padding: 6px 10px;
  background: var(--bg-subtle);
  border-radius: 6px;
}
.diff-field { font-weight: 600; color: var(--text); font-family: var(--mono); font-size: 0.68rem; }
.diff-from { font-family: var(--mono); font-size: 0.68rem; color: var(--red); background: rgba(239, 68, 68, 0.08); padding: 1px 6px; border-radius: 3px; }
.diff-arrow { color: var(--text-dim); }
.diff-to { font-family: var(--mono); font-size: 0.68rem; color: var(--green); background: rgba(34, 197, 94, 0.08); padding: 1px 6px; border-radius: 3px; }
.chain-block__justification {
  font-size: 0.73rem;
  font-style: italic;
  color: var(--text-dim);
  padding: 6px 10px;
  background: rgba(129, 140, 248, 0.04);
  border-radius: 6px;
  margin-bottom: 8px;
}
.chain-link {
  width: 2px;
  height: 16px;
  background: linear-gradient(180deg, var(--accent), var(--border));
  opacity: 0.4;
}

/* ========== TIMELINE ========== */
.timeline {
  padding: 100px 0;
}
.timeline__track {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}
.timeline__line {
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--border), var(--accent), var(--border));
}
.timeline__item {
  position: relative;
  padding-left: 52px;
  padding-bottom: 40px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: 9px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
}
.timeline__dot--past { border-color: var(--text-dim); background: var(--text-dim); }
.timeline__dot--now {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.timeline__dot--future {
  border-color: var(--accent);
  background: var(--bg);
}
.timeline__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
}
.timeline__year {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.timeline__card h3 { margin-bottom: 6px; font-size: 0.98rem; }
.timeline__card p { font-size: 0.85rem; color: var(--text-dim); }

/* ========== COMPARISON ========== */
.comparison {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card) 50%, var(--bg) 100%);
}
.comparison__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.comparison__col {
  border-radius: 14px;
  padding: 32px;
}
.comparison__col h3 {
  margin-bottom: 20px;
  font-size: 1.08rem;
}
.comparison__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.comparison__col li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
}
.comparison__col--before {
  background: rgba(239, 68, 68, 0.03);
  border: 1px solid rgba(239, 68, 68, 0.12);
}
.comparison__col--before h3 { color: var(--red); }
.comparison__col--before li::before {
  content: '\00D7';
  position: absolute;
  left: 0;
  top: -1px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red);
}
.comparison__col--after {
  background: var(--accent-glow2);
  border: 1px solid rgba(77, 142, 255, 0.15);
}
.comparison__col--after h3 { color: var(--accent-light); }
.comparison__col--after li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
}

/* ========== PERSONAS ========== */
.personas {
  padding: 100px 0;
}
.personas__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.persona-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color .3s;
}
.persona-card:hover {
  border-color: var(--border-glow);
}
.persona-card__role {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.persona-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ========== CTA ========== */
.cta {
  padding: 100px 0;
}
.cta__inner {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
}
.cta__inner::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), transparent 40%, var(--amber), transparent 80%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0.25;
  pointer-events: none;
}
.cta__inner h2 { margin-bottom: 16px; }
.cta__inner p { color: var(--text-dim); margin-bottom: 32px; font-size: 1.05rem; }
.cta__note {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========== FOOTER ========== */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
}
.footer__brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-bright);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__brand .logo-icon {
  display: inline-flex;
}
.footer__brand p { font-weight: 400; font-size: 0.85rem; color: var(--text-dim); }
.footer__links {
  display: flex;
  gap: 56px;
}
.footer__links h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.footer__links a {
  display: block;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 8px;
}
.footer__bottom {
  grid-column: 1 / -1;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ========== ANIMATIONS (scroll reveal) ========== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: 1fr; }
  .sanctions__stats { grid-template-columns: 1fr 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .problem__grid { grid-template-columns: 1fr; }
  .pillars__grid { grid-template-columns: 1fr; }
  .audit__layout { grid-template-columns: 1fr; }
  .comparison__grid { grid-template-columns: 1fr; }
  .personas__grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .workflow__track { flex-direction: column; align-items: center; }
  .workflow__connector { width: 2px; height: 24px; background: linear-gradient(180deg, rgba(245, 158, 11, 0.3), rgba(245, 158, 11, 0.1)); margin: 0; }
}

@media (max-width: 700px) {
  .nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(8, 9, 14, 0.96);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav__links.open { display: flex; }
  .nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }
  .nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
  }
  .sanctions__stats { grid-template-columns: 1fr; }
  .sanctions__chart-wrap { padding: 16px 10px 8px; }
  .sanctions__chart-wrap canvas { height: 260px; }
  .sanctions__stat-value { font-size: 1.8rem; }
  .hero { padding: 120px 0 60px; }
  .hero__cta { flex-direction: column; align-items: center; }
  .stat-card__value { font-size: 2.4rem; }
  .cta__inner { padding: 40px 20px; }
  .footer__links { flex-direction: column; gap: 32px; }
  .personas__grid { grid-template-columns: 1fr; }
}

/* ========== LIGHT MODE (auto via OS preference) ========== */
@media (prefers-color-scheme: light) {
  :root {
    --bg:          #f8f9fc;
    --bg-card:     #ffffff;
    --bg-card-2:   #f1f3f8;
    --bg-subtle:   #e8ebf2;
    --border:      #dce0ea;
    --border-glow: #c0c6d4;
    --text:        #4a5068;
    --text-dim:    #7c859c;
    --text-bright: #111827;

    --accent:       #3b7ae8;
    --accent-light: #2563eb;
    --accent-glow:  rgba(59, 122, 232, 0.08);
    --accent-glow2: rgba(59, 122, 232, 0.04);

    --amber:       #d97706;
    --amber-light: #b45309;
    --amber-glow:  rgba(217, 119, 6, 0.08);
    --amber-glow2: rgba(217, 119, 6, 0.04);

    --red:    #dc2626;
    --green:  #16a34a;
    --teal:   #0d9488;
    --indigo: #6366f1;
  }

  a:hover { color: var(--text-bright); }

  .text-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .text-gradient-warm {
    background: linear-gradient(135deg, #d97706 0%, #b45309 50%, #92400e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .btn:hover { color: #fff; }

  .nav {
    background: rgba(248, 249, 252, 0.88);
    backdrop-filter: blur(20px);
  }
  .nav__logo:hover { color: var(--text-bright); }

  .stat-card,
  .problem-card,
  .feature-card,
  .pillar-card,
  .persona-card,
  .timeline__card,
  .chain-block,
  .cta__inner,
  .sanctions__chart-wrap,
  .sanctions__stat {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  }

  .sanctions__stat:hover {
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.10);
  }

  .stat-card:hover {
    box-shadow: 0 4px 20px rgba(59, 122, 232, 0.10);
  }
  .feature-card:not(.feature-card--warm):hover {
    box-shadow: 0 4px 20px rgba(59, 122, 232, 0.10);
  }
  .feature-card--warm:hover {
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.10);
  }
  .pillar-card--blue:hover {
    box-shadow: 0 8px 28px rgba(59, 122, 232, 0.12);
  }
  .pillar-card--amber:hover {
    box-shadow: 0 8px 28px rgba(217, 119, 6, 0.12);
  }

  .hero__glow {
    background: radial-gradient(ellipse at center, rgba(59, 122, 232, 0.06) 0%, rgba(217, 119, 6, 0.03) 40%, transparent 70%);
  }

  .pillars,
  .audit,
  .comparison {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card-2) 50%, var(--bg) 100%);
  }
  .dataroom {
    background: linear-gradient(180deg, var(--bg) 0%, rgba(217, 119, 6, 0.03) 50%, var(--bg) 100%);
  }

  .timeline__dot { background: var(--bg); }
  .timeline__dot--past { background: var(--text-dim); }
  .timeline__dot--now { background: var(--accent); }

  .chain-block--glow {
    box-shadow: 0 0 16px var(--accent-glow), 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  .cta__inner::before { opacity: 0.35; }
}

@media (prefers-color-scheme: light) and (max-width: 700px) {
  .nav__links {
    background: rgba(248, 249, 252, 0.97);
    backdrop-filter: blur(20px);
  }
}
