/* ==========================================================================
   VamiSec Compliance Module — Landing Page Styles
   Dark, premium, European cybersecurity SaaS aesthetic
   ========================================================================== */

/* ── Custom Properties ──────────────────────────────────────────────── */
:root {
  --bg-base:       #08090d;
  --bg-surface:    #0e1016;
  --bg-card:       #13151c;
  --bg-card-hover: #181b24;
  --bg-input:      #0e1016;

  --border:        rgba(255,255,255,0.07);
  --border-accent: rgba(0, 196, 180, 0.25);
  --border-glow:   rgba(0, 196, 180, 0.5);

  --teal:          #00c4b4;
  --teal-dim:      #007f86;
  --teal-muted:    rgba(0, 196, 180, 0.12);
  --teal-glow:     rgba(0, 196, 180, 0.06);
  --blue-accent:   #3b82f6;
  --amber:         #f59e0b;
  --rose:          #f43f5e;
  --emerald:       #10b981;
  --violet:        #8b5cf6;

  --text-primary:  #f0f2f7;
  --text-secondary:#9aa3b5;
  --text-muted:    #5a6275;
  --text-accent:   #00c4b4;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  --radius:   8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-card: 0 1px 3px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px rgba(0,196,180,0.08);
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Light theme overrides ──────────────────────────────────────────── */
[data-theme="light"] {
  --bg-base:        #f4f6fa;
  --bg-surface:     #eaecf2;
  --bg-card:        #ffffff;
  --bg-card-hover:  #f5f7fd;
  --bg-input:       #ffffff;

  --border:         rgba(0,0,0,0.08);
  --border-accent:  rgba(0, 122, 130, 0.3);
  --border-glow:    rgba(0, 122, 130, 0.5);

  --teal:           #007a82;
  --teal-dim:       #005f66;
  --teal-muted:     rgba(0, 122, 130, 0.08);
  --teal-glow:      rgba(0, 122, 130, 0.04);

  --text-primary:   #0f1117;
  --text-secondary: #374151;
  --text-muted:     #6b7280;
  --text-accent:    #007a82;

  --shadow-card:    0 1px 3px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-glow:    0 0 40px rgba(0,122,130,0.08);
}

/* ── Reset & Base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: #fff; }

img, svg { display: block; max-width: 100%; }

/* ── Grid background texture ────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,196,180,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,196,180,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ── Layout Utilities ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section--tight { padding: 72px 0; }
.section--flush { padding: 0; }

/* ── Typography ─────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--teal);
  opacity: 0.7;
}

h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text-primary);
}

h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
}

h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
}

h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

p { color: var(--text-secondary); }

.text-accent { color: var(--teal); }
.text-primary { color: var(--text-primary); }
.text-muted { color: var(--text-muted); }

.highlight {
  background: linear-gradient(90deg, var(--teal), #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--teal);
  color: #000;
}

.btn--primary:hover {
  background: #00d4c4;
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,196,180,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-muted);
}

.btn--ghost {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--border-accent);
}

.btn--ghost:hover {
  background: var(--teal-muted);
  color: #fff;
}

.btn--lg {
  padding: 15px 32px;
  font-size: 15px;
}

/* ── Nav · oxblood ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #1B8A9E;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(27,138,158,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 0 rgba(0,0,0,0.45);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

/* Fraunces wordmark */
.va-wordmark {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #FFFFFF;
  font-variation-settings: "opsz" 144;
}
.va-wordmark em {
  font-style: italic;
  font-weight: 500;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color var(--transition);
}

.nav__links a:hover { color: #FFFFFF; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 3px;
  background: none;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  padding: 6px 11px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  transition: border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.lang-toggle:hover { border-color: rgba(255,255,255,0.5); color: rgba(255,255,255,0.85); }
.lang-toggle__option { transition: color var(--transition); }
.lang-toggle__option.active { color: #FFFFFF; }
.lang-toggle__sep { color: rgba(255,255,255,0.22); margin: 0 1px; }

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: none;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  cursor: pointer;
  color: rgba(255,255,255,0.75);
  transition: border-color var(--transition), color var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: rgba(255,255,255,0.5); color: #FFFFFF; }

.theme-toggle__moon { display: none; }
[data-theme="light"] .theme-toggle__moon { display: block; }
[data-theme="light"] .theme-toggle__sun  { display: none; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Override btn--outline for oxblood nav */
.nav .btn--outline {
  border-color: rgba(255,255,255,0.4);
  color: #FFFFFF;
}
.nav .btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #FFFFFF;
}

/* Mobile nav toggle */
.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: rgba(255,255,255,0.75);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Radial glow behind hero */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center top, rgba(0,196,180,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-muted);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  padding: 5px 14px 5px 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.hero__proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.hero__proof-item svg {
  color: var(--teal);
  flex-shrink: 0;
}

/* Hero visual / dashboard mock */
.hero__visual {
  position: relative;
}

.hero__dashboard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.hero__dash-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hero__dash-title {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 6px;
  font-family: var(--font-mono);
}

.hero__dash-body {
  padding: 16px;
}

.dash-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.dash-metric {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
}

.dash-metric__value {
  font-size: 22px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-primary);
  line-height: 1;
}

.dash-metric__value.green { color: var(--emerald); }
.dash-metric__value.amber { color: var(--amber); }
.dash-metric__value.teal { color: var(--teal); }

.dash-metric__label {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

.dash-progress-block {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 10px;
}

.dash-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.dash-progress-label span:first-child {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

.dash-progress-label span:last-child {
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--teal);
}

.dash-bar {
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  overflow: hidden;
}

.dash-bar__fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--teal), #3b82f6);
}

.dash-finding-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 6px;
}

.dash-finding-id {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.dash-finding-title {
  font-size: 11px;
  color: var(--text-secondary);
  margin: 0 8px;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  border: 1px solid;
}

.badge--satisfied { color: var(--emerald); border-color: rgba(16,185,129,0.3); background: rgba(16,185,129,0.08); }
.badge--not-satisfied { color: var(--rose); border-color: rgba(244,63,94,0.3); background: rgba(244,63,94,0.08); }
.badge--in-progress { color: var(--amber); border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.08); }
.badge--draft { color: var(--text-muted); border-color: var(--border); background: transparent; }
.badge--teal { color: var(--teal); border-color: var(--border-accent); background: var(--teal-muted); }

/* ── Section Headers ────────────────────────────────────────────────── */
.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.7;
}

/* ── Divider ────────────────────────────────────────────────────────── */
.divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── Problem Section ────────────────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.problem-item {
  background: var(--bg-card);
  padding: 28px 28px 28px 24px;
  border-left: 3px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.problem-item:hover {
  background: var(--bg-card-hover);
  border-left-color: var(--rose);
}

.problem-item__icon {
  width: 36px;
  height: 36px;
  background: rgba(244,63,94,0.1);
  border: 1px solid rgba(244,63,94,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--rose);
}

.problem-item__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.problem-item__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Features Grid ──────────────────────────────────────────────────── */
.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: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.feature-card:hover::before { opacity: 1; }

.feature-card--wide {
  grid-column: span 2;
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  background: var(--teal-muted);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--teal);
}

.feature-card__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-muted);
  border: 1px solid var(--border-accent);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 12px;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 13.5px;
  line-height: 1.65;
}

.feature-list {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 7px;
  flex-shrink: 0;
}

/* ── How it works ───────────────────────────────────────────────────── */
.workflow {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.workflow::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal) 0%, #3b82f6 50%, rgba(59,130,246,0.1) 100%);
}

.workflow-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.workflow-step:last-child { border-bottom: none; }

.workflow-step__num {
  width: 56px;
  height: 56px;
  background: var(--bg-card);
  border: 2px solid var(--border-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--teal);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.workflow-step__content h3 {
  margin-bottom: 8px;
  margin-top: 12px;
}

.workflow-step__content p {
  font-size: 14px;
  line-height: 1.7;
}

.workflow-step__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.workflow-step__tag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--teal-muted);
  color: var(--teal);
  border: 1px solid var(--border-accent);
}

/* ── Framework cards ────────────────────────────────────────────────── */
.frameworks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.framework-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color var(--transition), transform var(--transition);
  cursor: default;
}

.framework-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.framework-card__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.framework-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.framework-card__desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.framework-card__status {
  margin-top: 12px;
}

/* EU flag accent on EU-specific frameworks */
.framework-card--eu .framework-card__name::after {
  content: ' 🇪🇺';
  font-size: 12px;
}

/* ── Evidence Section ───────────────────────────────────────────────── */
.evidence-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.evidence-graph {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  position: relative;
  min-height: 340px;
  overflow: hidden;
}

.evidence-graph::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(0,196,180,0.07) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(59,130,246,0.06) 0%, transparent 50%);
}

.evidence-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.evidence-node__circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  background: var(--bg-card);
  position: relative;
  z-index: 1;
}

.evidence-node__label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  white-space: nowrap;
}

/* Node connection lines (SVG drawn inline) */
.evidence-graph svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.evidence-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.evidence-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.evidence-item__icon {
  width: 40px;
  height: 40px;
  background: var(--teal-muted);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.evidence-item__content h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  text-transform: none;
  letter-spacing: normal;
}

.evidence-item__content p {
  font-size: 12.5px;
  line-height: 1.6;
}

/* ── AI Governance ──────────────────────────────────────────────────── */
.ai-governance-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.ai-governance-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color var(--transition);
}

.ai-card:hover { border-color: var(--border-accent); }

.ai-card__icon {
  width: 36px;
  height: 36px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
  flex-shrink: 0;
}

.ai-card__text h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 4px;
}

.ai-card__text p {
  font-size: 12.5px;
  line-height: 1.55;
}

/* ── Sovereignty Section ────────────────────────────────────────────── */
.sovereignty-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sovereignty-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
  align-items: start;
}

.sovereignty-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color var(--transition);
}

.pillar-card:hover { border-color: var(--border-accent); }

.pillar-card__icon {
  width: 36px;
  height: 36px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-accent);
  margin-bottom: 12px;
}

.pillar-card__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pillar-card__desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Use Cases ──────────────────────────────────────────────────────── */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.use-case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--transition), transform var(--transition);
}

.use-case-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.use-case-card__framework {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.use-case-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.use-case-card__desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Stats bar ──────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.stat-item {
  background: var(--bg-surface);
  padding: 32px 24px;
  text-align: center;
}

.stat-item__value {
  font-size: 36px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── CTA Section ────────────────────────────────────────────────────── */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,196,180,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  padding: 72px 64px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow-card), 0 0 80px rgba(0,196,180,0.05);
  position: relative;
  z-index: 1;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.cta-box h2 {
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 16px;
  margin-bottom: 36px;
}

.cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cta-micro {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-micro span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  background: var(--bg-surface);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.7;
  max-width: 280px;
}

.footer__col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer__col ul a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__col ul a:hover { color: var(--text-primary); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
}

.footer__bottom-links a {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Animate-in on scroll ───────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up--delay-1 { transition-delay: 0.1s; }
.fade-up--delay-2 { transition-delay: 0.2s; }
.fade-up--delay-3 { transition-delay: 0.3s; }
.fade-up--delay-4 { transition-delay: 0.4s; }

/* ── Light mode overrides ───────────────────────────────────────────── */
[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}

[data-theme="light"] a:hover { color: var(--teal-dim); }

[data-theme="light"] .btn--ghost:hover { color: var(--teal); }

[data-theme="light"] .dash-bar { background: rgba(0,0,0,0.07); }

[data-theme="light"] .hero::after {
  background: radial-gradient(ellipse at center top, rgba(0,122,130,0.07) 0%, transparent 65%);
}

[data-theme="light"] .cta-section::before {
  background: radial-gradient(ellipse, rgba(0,122,130,0.06) 0%, transparent 65%);
}

[data-theme="light"] .evidence-graph::before {
  background:
    radial-gradient(circle at 30% 40%, rgba(0,122,130,0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(59,130,246,0.04) 0%, transparent 50%);
}

[data-theme="light"] .nav__links.open {
  background: rgba(27,138,158,0.98);
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card--wide { grid-column: span 1; }
  .ai-governance-layout { grid-template-columns: 1fr; gap: 40px; }
  .sovereignty-grid { grid-template-columns: 1fr; gap: 48px; }
  .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
  .evidence-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(27,138,158,0.98);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 24px;
    gap: 20px;
  }

  .features-grid { grid-template-columns: 1fr; }
  .use-cases-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .frameworks-grid { grid-template-columns: repeat(2, 1fr); }
  .sovereignty-pillars { grid-template-columns: 1fr; }
  .cta-box { padding: 48px 28px; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 72px; }
}

@media (max-width: 480px) {
  .use-cases-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .frameworks-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 36px 20px; }
}
