/* ═══════════════════════════════════════════════════════════
   Livodit AI , Landing Page Styles
   ═══════════════════════════════════════════════════════════ */

/* ─── FLAG ICONS (SVG, Chrome-safe) ─── */
.flag-icon {
  display: inline-block; width: 1.25em; height: 0.95em;
  vertical-align: -0.15em; background-size: contain;
  background-repeat: no-repeat; background-position: center;
  border-radius: 2px; flex-shrink: 0;
}
.flag-fr { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Crect fill='%23002395' width='1' height='2'/%3E%3Crect fill='%23fff' x='1' width='1' height='2'/%3E%3Crect fill='%23ED2939' x='2' width='1' height='2'/%3E%3C/svg%3E"); }
.flag-gb { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect fill='%23012169' width='60' height='30'/%3E%3Cpath d='M0 0l60 30M60 0L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30M60 0L0 30' stroke='%23C8102E' stroke-width='4' clip-path='polygon(30 15,60 30,60 0)' /%3E%3Cpath d='M0 0l60 30' stroke='%23C8102E' stroke-width='4' clip-path='polygon(0 0,30 15,0 30)' /%3E%3Cpath d='M60 0L0 30' stroke='%23C8102E' stroke-width='4' clip-path='polygon(30 15,60 0,60 30)' /%3E%3Cpath d='M60 0L0 30' stroke='%23C8102E' stroke-width='4' clip-path='polygon(0 0,30 15,0 30)' /%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E"); }
.flag-us { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 190 100'%3E%3Crect fill='%23B22234' width='190' height='100'/%3E%3Cg fill='%23fff'%3E%3Crect y='7.69' width='190' height='7.69'/%3E%3Crect y='23.08' width='190' height='7.69'/%3E%3Crect y='38.46' width='190' height='7.69'/%3E%3Crect y='53.85' width='190' height='7.69'/%3E%3Crect y='69.23' width='190' height='7.69'/%3E%3Crect y='84.62' width='190' height='7.69'/%3E%3C/g%3E%3Crect fill='%233C3B6E' width='76' height='53.85'/%3E%3C/svg%3E"); }

:root {
  --bg: #0a0e1a;
  --bg2: #0f1525;
  --bg3: #151d30;
  --surface: #1a2340;
  --surface2: #1e2a4a;
  --border: rgba(255,255,255,0.06);
  --border2: rgba(255,255,255,0.10);
  --text: #e8ecf4;
  --text2: #94a3b8;
  --text3: #64748b;
  --accent: #4786F5;
  --accent2: #3a6fd4;
  --accent-bg: rgba(71,134,245,0.08);
  --accent-border: rgba(71,134,245,0.20);
  --danger: #ff3b5c;
  --warn: #ffaa00;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.4);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1200px;
}

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

html { scroll-behavior: smooth; }

/* ═══ ACCESSIBILITY ═══ */
.skip-to-content {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
  z-index: 10000;
  background: var(--accent); color: var(--bg);
  padding: 12px 24px; font-weight: 700; border-radius: 0 0 var(--radius) 0;
  text-decoration: none;
}
.skip-to-content:focus {
  position: fixed; left: 0; top: 0;
  width: auto; height: auto; overflow: visible;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .85; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px;
  font: 600 15px/1 var(--font);
  cursor: pointer; transition: all .2s;
  border: none; text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, #00ff88, #4786F5); color: #0a0e1a;
  box-shadow: 0 0 20px rgba(71,134,245,0.25);
}
.btn-primary:hover { background: linear-gradient(135deg, #00dd77, #3a6fd4); box-shadow: 0 0 30px rgba(71,134,245,0.40); opacity: 1; }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border2);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); opacity: 1; }
.btn-ghost { background: transparent; color: var(--text2); }
.btn-ghost:hover { color: var(--text); opacity: 1; }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; justify-content: center; }

/* ═══ NAVBAR ═══ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,14,26,0.80); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.navbar.scrolled { background: rgba(10,14,26,0.95); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; color: var(--text); }
.logo-icon {
  display: flex; align-items: center; justify-content: center;
}
.logo-icon img { height: 36px; width: auto; display: block; }
.logo-ai { color: var(--accent); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--text2); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); opacity: 1; }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-cta {
  padding: 8px 20px;
  background: linear-gradient(135deg, #00ff88, #4786F5);
  color: #0a0e1a;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
  box-shadow: 0 0 16px rgba(71,134,245,0.2);
}
.nav-cta:hover { background: linear-gradient(135deg, #00dd77, #3a6fd4); box-shadow: 0 0 24px rgba(71,134,245,0.35); transform: translateY(-1px); }
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    background: rgba(10,14,26,0.98); padding: 24px; gap: 16px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-actions .btn { display: none; }
  .nav-cta { padding: 6px 14px; font-size: 13px; }
  .nav-hamburger { display: flex; }
}

/* ═══ HERO ═══ */
.hero {
  position: relative; padding: 140px 0 0; text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(71,134,245,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block; padding: 8px 20px; border-radius: 100px;
  background: var(--accent-bg); border: 1px solid var(--accent-border);
  color: var(--accent); font-size: 13px; font-weight: 600;
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(36px, 5vw, 64px); font-weight: 800;
  line-height: 1.1; max-width: 800px; margin: 0 auto 24px;
}
.hero-gradient {
  background: linear-gradient(135deg, #00ff88, #3b82f6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(14px, 2vw, 18px); color: var(--text2); max-width: 640px;
  margin: 0 auto 20px; line-height: 1.7;
}
.hero-benefits {
  display: flex; flex-direction: column; gap: 10px; align-items: center;
  margin: 0 auto 40px; max-width: 640px;
}
.hero-benefit {
  display: flex; flex-direction: row; gap: 10px;
  font-size: 16px; align-items: center; color: var(--text2);
}
.hero-benefit-icon { font-size: 20px; flex-shrink: 0; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats {
  display: flex; justify-content: center; align-items: center; gap: 40px;
  flex-wrap: wrap; margin-bottom: 80px;
}
.hero-stat-value { font-size: 32px; font-weight: 800; color: var(--accent); }
.hero-stat-label { font-size: 13px; color: var(--text3); font-weight: 500; margin-top: 4px; }
.hero-stat-sep { width: 1px; height: 40px; background: var(--border2); }
@media (max-width: 600px) {
  .hero-stats { gap: 24px; }
  .hero-stat-sep { display: none; }
}

/* Screenshot mock */
.hero-screenshot { margin: 0 auto; max-width: 1000px; padding: 0 24px 64px; }
.screenshot-frame {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border2); overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(71,134,245,0.05);
}
.screenshot-topbar {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px; background: var(--bg3); border-bottom: 1px solid var(--border);
}
.screenshot-dots { display: flex; gap: 6px; }
.screenshot-dots span { width: 10px; height: 10px; border-radius: 50%; }
.screenshot-dots span:nth-child(1) { background: #ff5f57; }
.screenshot-dots span:nth-child(2) { background: #ffbd2e; }
.screenshot-dots span:nth-child(3) { background: #28c840; }
.screenshot-url { font-size: 12px; color: var(--text3); background: var(--bg2); padding: 4px 16px; border-radius: 6px; flex: 1; text-align: center; }
.screenshot-body { display: flex; min-height: 320px; }
.mock-sidebar { width: 180px; background: var(--bg2); padding: 20px 12px; border-right: 1px solid var(--border); flex-shrink: 0; }
.mock-nav-item { padding: 10px 14px; border-radius: 8px; font-size: 13px; color: var(--text3); margin-bottom: 4px; }
.mock-nav-item.active { background: var(--accent-bg); color: var(--accent); }
.mock-main { flex: 1; padding: 24px; }
.mock-score-row { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.mock-score { text-align: center; }
.mock-score-num { font-size: 48px; font-weight: 800; color: var(--warn); }
.mock-score-den { font-size: 20px; color: var(--text3); }
.mock-score-label { font-size: 12px; font-weight: 700; color: var(--warn); background: rgba(255,170,0,0.12); padding: 4px 12px; border-radius: 6px; margin-top: 4px; display: inline-block; }
.mock-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.mock-pill { font-size: 12px; padding: 6px 12px; border-radius: 6px; font-weight: 600; }
.mock-pill--crit { background: rgba(255,59,92,0.12); color: var(--danger); }
.mock-pill--high { background: rgba(255,100,0,0.12); color: #ff6400; }
.mock-pill--med { background: rgba(255,170,0,0.10); color: var(--warn); }
.mock-pill--low { background: var(--accent-bg); color: var(--accent); }
.mock-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.mock-panel { background: var(--bg3); border-radius: 10px; padding: 16px; border: 1px solid var(--border); }
.mock-panel-title { font-size: 12px; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px; }
.mock-lines div { height: 8px; background: var(--surface2); border-radius: 4px; margin-bottom: 8px; }
.mock-benchmark { background: var(--bg3); border-radius: 10px; padding: 16px; border: 1px solid var(--border); }
.mock-bar { position: relative; height: 16px; background: linear-gradient(90deg, var(--danger) 0%, var(--warn) 40%, #00ff88 100%); border-radius: 8px; margin-top: 8px; opacity: .6; }
.mock-bar-fill { height: 100%; border-radius: 8px; }
.mock-bar-marker { position: absolute; top: -4px; width: 4px; height: 24px; background: #fff; border-radius: 2px; transform: translateX(-50%); }

@media (max-width: 700px) {
  .mock-sidebar { display: none; }
  .mock-panels { grid-template-columns: 1fr; }
  .mock-score-row { flex-direction: column; }
}

/* ═══ TRUST BAR ═══ */
.trust-bar { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg2); }
.trust-label { text-align: center; font-size: 12px; color: var(--text3); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; font-weight: 600; }
.trust-logos {
  display: grid;
  grid-template-columns: repeat(6, auto);
  justify-content: center;
  gap: 12px;
}
@media (max-width: 800px) {
  .trust-logos { grid-template-columns: repeat(3, auto); }
}
.trust-item {
  padding: 8px 16px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 12px; font-weight: 600; color: var(--text2);
  white-space: nowrap;
}

/* ═══ SOVEREIGN BAR ═══ */
.sovereign-bar {
  padding: 40px 0;
  background: linear-gradient(90deg, rgba(71,134,245,0.03), rgba(139,92,246,0.04), rgba(71,134,245,0.03));
  border-bottom: 1px solid var(--border);
}
.sovereign-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 48px;
  max-width: 900px;
  margin: 0 auto;
}
.sovereign-item { display: flex; align-items: center; gap: 14px; }
.sovereign-icon { font-size: 28px; flex-shrink: 0; }
.sovereign-title { font-size: 14px; font-weight: 700; color: var(--text); }
.sovereign-desc { font-size: 12px; color: var(--text3); margin-top: 2px; }
.sovereign-sep { display: none; }
@media (max-width: 600px) {
  .sovereign-inner { grid-template-columns: 1fr; }
}

/* ═══ SECTIONS ═══ */
.section { padding: 120px 0; }
.section--dark { background: var(--bg2); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-badge {
  display: inline-block; padding: 6px 16px; border-radius: 100px;
  background: var(--accent-bg); border: 1px solid var(--accent-border);
  color: var(--accent); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
}
.section-header h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.2; }
.section-desc { font-size: 17px; color: var(--text2); max-width: 600px; margin: 16px auto 0; }
.text-accent { color: var(--accent); }
.text-danger { color: var(--danger); }

/* ═══ PAIN POINTS ═══ */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.pain-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--border);
  transition: border-color .3s, transform .3s;
}
.pain-card:hover { border-color: rgba(255,59,92,0.3); transform: translateY(-4px); }
.pain-icon { font-size: 36px; margin-bottom: 16px; }
.pain-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pain-card p { font-size: 14px; color: var(--text2); line-height: 1.7; }
.pain-grid--4 { grid-template-columns: repeat(4, 1fr); }
.pain-grid--wide { margin-top: 24px; }
.pain-card--opensource { grid-column: 1 / -1; }
@media (max-width: 900px) { .pain-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pain-grid--4 { grid-template-columns: 1fr; } }
.pain-lead { margin-bottom: 16px !important; }
.pain-missing-grid {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px;
}
.pain-missing-item {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,59,92,0.08); color: var(--danger, #ff3b5c);
  border: 1px solid rgba(255,59,92,0.18); border-radius: 20px;
  padding: 5px 14px; font-size: 13px; font-weight: 500;
  white-space: nowrap;
}
.pain-missing-item::before {
  content: "✗"; font-weight: 700; font-size: 12px; opacity: .7;
}

/* ═══ FEATURES ═══ */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feature-card {
  position: relative;
  background: var(--surface); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--border);
  transition: border-color .3s, transform .3s;
}
.feature-card:hover { border-color: var(--accent-border); transform: translateY(-4px); }
.feature-card--highlight { border-color: var(--accent-border); background: linear-gradient(135deg, var(--surface), rgba(71,134,245,0.03)); }
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text2); line-height: 1.7; }
.feature-tag {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700;
  background: var(--accent); color: #0a0e1a; text-transform: uppercase;
}

/* ═══ SECURITY DNA SECTION ═══ */
:root { --dna-color: #06b6d4; --dna-bg: rgba(6,182,212,0.08); --dna-border: rgba(6,182,212,0.20); }
.section--dna {
  background: linear-gradient(180deg, var(--bg) 0%, #0a1628 50%, var(--bg) 100%);
  position: relative; overflow: hidden;
}
.section--dna::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 30%, rgba(6,182,212,0.06), transparent);
  pointer-events: none;
}
.section-badge--dna {
  background: var(--dna-bg); color: var(--dna-color); border: 1px solid var(--dna-border);
}
.text-dna { color: var(--dna-color); }

.dna-showcase {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px;
  align-items: start; margin-top: 20px;
}
@media (max-width: 900px) {
  .dna-showcase { grid-template-columns: 1fr; }
}

/* Mock DNA card */
.dna-mock {
  background: rgba(6,182,212,0.04);
  border: 1px solid var(--dna-border);
  border-radius: 16px; overflow: hidden;
}
.dna-mock-header {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px;
  background: rgba(6,182,212,0.06);
  border-bottom: 1px solid var(--dna-border);
}
.dna-mock-icon { font-size: 20px; }
.dna-mock-title { font-weight: 700; font-size: 14px; color: var(--dna-color); flex: 1; }
.dna-mock-score { font-family: var(--mono); font-weight: 800; font-size: 18px; color: var(--accent); }
.dna-mock-score small { font-size: 12px; opacity: 0.5; }

.dna-mock-body { padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; }
.dna-mock-row {
  display: grid; grid-template-columns: 140px 1fr 45px; align-items: center; gap: 10px;
}
.dna-mock-label { font-size: 12px; color: var(--text2); white-space: nowrap; }
.dna-mock-bar {
  height: 10px; background: rgba(255,255,255,0.06); border-radius: 5px; overflow: hidden;
}
.dna-mock-fill { height: 100%; border-radius: 5px; transition: width 1s ease; }
.dna-mock-val { font-family: var(--mono); font-size: 12px; font-weight: 700; text-align: right; }

.dna-mock-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--dna-border);
  background: rgba(6,182,212,0.03);
}
.dna-mock-archetype {
  display: flex; align-items: center; gap: 12px;
}
.dna-mock-archetype-icon { font-size: 28px; }
.dna-mock-archetype-name { font-weight: 700; font-size: 14px; color: var(--text); }
.dna-mock-archetype-desc { font-size: 12px; color: var(--text3); margin-top: 2px; }

/* DNA feature bullets */
.dna-features { display: flex; flex-direction: column; gap: 20px; }
.dna-feature {
  display: flex; gap: 14px; align-items: flex-start;
}
.dna-feature-icon {
  font-size: 22px; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--dna-bg); border: 1px solid var(--dna-border);
  border-radius: 12px; flex-shrink: 0;
}
.dna-feature h4 {
  font-size: 15px; font-weight: 700; color: var(--text); margin: 0 0 4px;
}
.dna-feature p {
  font-size: 13px; color: var(--text3); line-height: 1.5; margin: 0;
}

/* ═══ THREAT MODEL AI SECTION ═══ */
:root { --threat-color: #a855f7; --threat-bg: rgba(168,85,247,0.08); --threat-border: rgba(168,85,247,0.20); }
.section--threat-model {
  background: linear-gradient(180deg, var(--bg) 0%, #120a28 50%, var(--bg) 100%);
  position: relative; overflow: hidden;
}
.section--threat-model::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 30%, rgba(168,85,247,0.06), transparent);
  pointer-events: none;
}
.section-badge--threat {
  background: var(--threat-bg); color: var(--threat-color); border: 1px solid var(--threat-border);
}
.text-threat { color: var(--threat-color); }

.threat-showcase {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px;
  align-items: start; margin-top: 20px;
}
@media (max-width: 900px) {
  .threat-showcase { grid-template-columns: 1fr; }
}

/* Mock scenario card */
.threat-mock {
  background: rgba(168,85,247,0.04);
  border: 1px solid var(--threat-border);
  border-radius: 16px; overflow: hidden;
}
.threat-mock-header {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px;
  background: rgba(168,85,247,0.10);
  border-bottom: 1px solid var(--threat-border);
}
.threat-mock-icon { font-size: 1.4rem; }
.threat-mock-title { flex: 1; font-size: 15px; font-weight: 700; color: var(--text); }
.threat-mock-score {
  font-size: 22px; font-weight: 800; color: var(--threat-color);
  font-variant-numeric: tabular-nums;
}
.threat-mock-score small { font-size: 12px; opacity: 0.6; }

.threat-mock-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }

.threat-step {
  display: flex; gap: 14px; align-items: flex-start;
}
.threat-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--threat-color); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; flex-shrink: 0;
}
.threat-step-tactic {
  font-size: 11px; font-weight: 700; color: var(--threat-color);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px;
  font-family: var(--mono, 'JetBrains Mono', monospace);
}
.threat-step-desc { font-size: 13px; color: var(--text2); line-height: 1.6; }

.threat-mock-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-top: 1px solid var(--threat-border);
  background: rgba(168,85,247,0.05);
}
.threat-impact { display: flex; align-items: center; gap: 6px; }
.threat-impact-label { font-size: 11px; color: var(--text3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.threat-impact-badge {
  width: 26px; height: 26px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}
.threat-impact--c { background: rgba(239,68,68,0.15); color: #ef4444; }
.threat-impact--i { background: rgba(245,158,11,0.15); color: #f59e0b; }
.threat-impact--a { background: rgba(34,197,94,0.15); color: #22c55e; }
.threat-cost { font-size: 13px; color: var(--text2); }
.threat-cost strong { color: var(--danger, #ef4444); font-size: 14px; }

/* Feature bullets */
.threat-features { display: flex; flex-direction: column; gap: 20px; }
.threat-feature {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 18px; border-radius: 12px;
  background: rgba(168,85,247,0.04); border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.threat-feature:hover { border-color: var(--threat-border); background: rgba(168,85,247,0.08); }
.threat-feature-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.threat-feature h4 { font-size: 15px; font-weight: 700; margin: 0 0 4px; color: var(--text); }
.threat-feature p { font-size: 13px; color: var(--text2); line-height: 1.6; margin: 0; }

/* ═══ AUTO-FIX SECTION ═══ */
:root { --autofix-color: #00c8ff; --autofix-bg: rgba(0,200,255,0.08); --autofix-border: rgba(0,200,255,0.20); }
.section--autofix {
  background: linear-gradient(180deg, var(--bg) 0%, #0a1628 50%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
.section--autofix::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,200,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.section-badge--autofix {
  background: var(--autofix-bg); border-color: var(--autofix-border); color: var(--autofix-color);
}
.text-autofix { color: var(--autofix-color); }

.autofix-hero-grid { margin-bottom: 48px; }
.autofix-flow {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap; margin-bottom: 40px;
}
.autofix-flow-step {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 24px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); min-width: 140px; transition: border-color .3s, transform .3s;
}
.autofix-flow-step:hover { border-color: var(--autofix-border); transform: translateY(-3px); }
.autofix-flow-step--fix {
  border-color: var(--autofix-border);
  background: linear-gradient(135deg, rgba(0,200,255,0.06), rgba(0,200,255,0.02));
}
.autofix-flow-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.autofix-flow-icon--detect { background: rgba(59,130,246,0.12); color: var(--blue); }
.autofix-flow-icon--identify { background: rgba(255,170,0,0.12); color: var(--warn); }
.autofix-flow-icon--preview { background: rgba(139,92,246,0.12); color: var(--purple); }
.autofix-flow-icon--fix { background: var(--autofix-bg); color: var(--autofix-color); }
.autofix-flow-label { font-size: 14px; font-weight: 700; color: var(--text); }
.autofix-flow-desc { font-size: 11px; color: var(--text3); text-align: center; }
.autofix-flow-arrow { color: var(--text3); flex-shrink: 0; }

.autofix-stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.autofix-stat {
  text-align: center; padding: 20px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.autofix-stat-value {
  font-size: 28px; font-weight: 800; color: var(--autofix-color);
  font-family: 'Inter', monospace;
}
.autofix-stat-label { font-size: 12px; color: var(--text3); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }

.autofix-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin-bottom: 48px;
}
.autofix-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color .3s, transform .3s;
}
.autofix-card:hover { border-color: var(--autofix-border); transform: translateY(-4px); }
.autofix-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--autofix-bg); border: 1px solid var(--autofix-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.autofix-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.autofix-card p { font-size: 14px; color: var(--text2); line-height: 1.7; }

.autofix-examples {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 32px;
}
.autofix-examples-title {
  font-size: 14px; font-weight: 700; color: var(--text2);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 20px; text-align: center;
}
.autofix-examples-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px;
}
.autofix-example {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 8px;
  background: rgba(255,255,255,0.02); transition: background .15s;
}
.autofix-example:hover { background: rgba(0,200,255,0.04); }
.autofix-example-sev {
  font-size: 9px; font-weight: 800; padding: 3px 8px; border-radius: 4px;
  letter-spacing: 0.5px; flex-shrink: 0; min-width: 62px; text-align: center;
}
.autofix-example-sev--critical { background: rgba(255,59,92,0.12); color: var(--danger); }
.autofix-example-sev--high { background: rgba(255,170,0,0.12); color: var(--warn); }
.autofix-example-sev--medium { background: rgba(59,130,246,0.12); color: var(--blue); }
.autofix-example-text { font-size: 13px; color: var(--text2); }

/* Autofix pricing tiers */
.autofix-pricing { margin-top: 48px; text-align: center; }
.autofix-pricing-title { font-size: 20px; font-weight: 700; color: var(--text1); margin-bottom: 8px; }
.autofix-pricing-desc { font-size: 14px; color: var(--text2); margin-bottom: 28px; max-width: 600px; margin-left: auto; margin-right: auto; }
.autofix-pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 0 auto;
}
.autofix-pricing-tier {
  padding: 28px 24px; border-radius: 12px; text-align: center;
  background: var(--surface); border: 1px solid rgba(255,255,255,0.06);
  transition: border-color .2s, transform .2s;
}
.autofix-pricing-tier:hover { border-color: var(--autofix-color); transform: translateY(-2px); }
.autofix-pricing-tier-cost {
  font-size: 32px; font-weight: 800; color: var(--autofix-color); margin-bottom: 6px;
}
.autofix-pricing-tier-cost span { font-size: 14px; font-weight: 500; color: var(--text2); }
.autofix-pricing-tier-label { font-size: 14px; font-weight: 600; color: var(--text1); margin-bottom: 10px; }
.autofix-pricing-tier-examples { font-size: 12px; color: var(--text2); line-height: 1.5; }
.autofix-pricing-tier--low .autofix-pricing-tier-cost { color: #34c78a; }
.autofix-pricing-tier--medium .autofix-pricing-tier-cost { color: #f59e0b; }
.autofix-pricing-tier--high .autofix-pricing-tier-cost { color: #ff6b6b; }

@media (max-width: 768px) {
  .autofix-flow { gap: 12px; }
  .autofix-flow-arrow { display: none; }
  .autofix-flow-step { min-width: 100px; padding: 14px 16px; }
  .autofix-stats-row { grid-template-columns: repeat(2, 1fr); }
  .autofix-pricing-grid { grid-template-columns: 1fr; max-width: 340px; }
}

/* ═══ PROVIDERS ═══ */
.providers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.provider-card-big {
  position: relative;
  background: var(--surface); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--border);
  transition: border-color .3s, transform .3s;
}
.provider-card-big:hover { border-color: var(--accent-border); transform: translateY(-4px); }
.provider-card-big--sovereign { border-color: rgba(139,92,246,0.3); }
.provider-card-big--sovereign:hover { border-color: rgba(139,92,246,0.5); }
.provider-logo { font-size: 36px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; min-height: 48px; }
.provider-logo-img { height: 80px; width: auto; max-width: 160px; object-fit: contain; }
.provider-logo-img--invert { filter: brightness(0) invert(1); }
.provider-card-big h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.provider-checks { font-size: 14px; color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.provider-domains { font-size: 13px; color: var(--text3); line-height: 1.5; }
.provider-badge-sov {
  display: inline-block; margin-top: 12px; padding: 4px 12px; border-radius: 6px;
  background: rgba(139,92,246,0.12); color: var(--purple); font-size: 12px; font-weight: 600;
}

/* ═══ RANKING ═══ */
.ranking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .ranking-grid { grid-template-columns: 1fr; }
}
.ranking-preview { position: relative; }
.ranking-mock-frame {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border2);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(71,134,245,0.04);
}
.ranking-mock-topbar {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 18px; background: var(--bg3);
  border-bottom: 1px solid var(--border);
}
.ranking-iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.ranking-iframe {
  position: absolute;
  top: 0; left: 0;
  width: 200%;
  height: 350%;
  transform: scale(0.5);
  transform-origin: top left;
  border: none;
  pointer-events: none;
}
.ranking-iframe-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}

.ranking-info { display: flex; flex-direction: column; gap: 24px; }
.ranking-feature {
  display: flex; gap: 16px; align-items: flex-start;
}
.ranking-feature-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--accent-bg); border: 1px solid var(--accent-border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.ranking-feature h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.ranking-feature p { font-size: 14px; color: var(--text2); line-height: 1.6; }
.ranking-cta { margin-top: 8px; align-self: flex-start; }

/* ═══ STEPS ═══ */
.steps-grid { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.step-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 40px 32px; border: 1px solid var(--border);
  text-align: center; flex: 1; min-width: 260px; max-width: 340px;
}
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: #0a0e1a;
  font-size: 24px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.step-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step-content p { font-size: 14px; color: var(--text2); line-height: 1.7; }
.step-arrow { flex-shrink: 0; }
@media (max-width: 900px) {
  .step-arrow { transform: rotate(90deg); }
  .steps-grid { flex-direction: column; }
}

/* ═══ CARBON SECTION ═══ */
.section-badge--carbon { background: rgba(6,214,160,0.12); color: #06d6a0; border-color: rgba(6,214,160,0.3); }
.carbon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.carbon-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 28px; border: 1px solid var(--border);
  transition: border-color .3s, transform .3s;
  text-align: center;
}
.carbon-card:hover { border-color: rgba(6,214,160,0.3); transform: translateY(-3px); }
.carbon-card-icon { margin-bottom: 16px; display: flex; justify-content: center; }
.carbon-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.carbon-card p { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* ═══ FINOPS / COST SAVING ═══ */
:root { --finops-color: #f59e0b; --finops-bg: rgba(245,158,11,0.08); --finops-border: rgba(245,158,11,0.20); }
.section--finops {
  background: linear-gradient(180deg, var(--bg) 0%, #1a1708 50%, var(--bg) 100%);
  position: relative; overflow: hidden;
}
.section--finops::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 30%, rgba(245,158,11,0.06), transparent);
  pointer-events: none;
}
.section-badge--finops {
  background: var(--finops-bg); border-color: var(--finops-border); color: var(--finops-color);
}
.text-finops { color: var(--finops-color); }

.finops-hero-stats {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  margin-bottom: 48px; padding: 32px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--finops-border);
}
.finops-stat { text-align: center; }
.finops-stat-value { font-size: 28px; font-weight: 800; color: var(--finops-color); }
.finops-stat-label { font-size: 13px; color: var(--text2); margin-top: 4px; }

.finops-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
  margin-bottom: 48px;
}
.finops-card {
  background: var(--surface); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border); transition: border-color .3s, transform .3s;
}
.finops-card:hover { border-color: var(--finops-border); transform: translateY(-3px); }
.finops-card--highlight { border-color: var(--finops-border); }
.finops-card-icon { margin-bottom: 16px; }
.finops-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.finops-card p { font-size: 14px; color: var(--text2); line-height: 1.7; }

.finops-savings-example {
  background: var(--surface); border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--finops-border);
}
.finops-savings-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
}
.finops-savings-header h3 { font-size: 18px; font-weight: 700; }
.finops-savings-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--finops-bg); flex-shrink: 0;
}
.finops-savings-grid { display: flex; flex-direction: column; gap: 12px; }
.finops-saving-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-radius: var(--radius);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
}
.finops-saving-label { font-size: 14px; color: var(--text2); }
.finops-saving-amount { font-size: 14px; font-weight: 700; color: var(--finops-color); white-space: nowrap; }
.finops-saving-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px; border-radius: var(--radius);
  background: var(--finops-bg); border: 1px solid var(--finops-border);
  margin-top: 4px;
}
.finops-saving-total .finops-saving-label { color: var(--text); }
.finops-saving-amount--total { font-size: 16px; color: var(--finops-color); }

@media (max-width: 768px) {
  .finops-hero-stats { gap: 24px; padding: 24px; }
  .finops-grid { grid-template-columns: 1fr; }
  .finops-saving-item { flex-direction: column; gap: 4px; text-align: center; }
  .finops-saving-total { flex-direction: column; gap: 8px; text-align: center; }
}

/* ═══ AI SECTION ═══ */
.ai-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.ai-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 28px; border: 1px solid var(--border);
  transition: border-color .3s, transform .3s;
}
.ai-card:hover { border-color: var(--accent-border); transform: translateY(-3px); }
.ai-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ai-card-icon { font-size: 24px; }
.ai-card h3 { font-size: 16px; font-weight: 700; }
.ai-card p { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* ═══ PRICING ═══ */
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.pricing-card {
  position: relative;
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 32px 24px; border: 1px solid var(--border);
  text-align: center;
  transition: border-color .3s, transform .3s;
  width: calc(33.333% - 12px);
  min-width: 220px;
  box-sizing: border-box;
}
.pricing-card:hover { border-color: var(--accent-border); transform: translateY(-4px); }
.pricing-card--popular {
  border-color: var(--accent); background: linear-gradient(180deg, rgba(71,134,245,0.05), var(--surface));
  transform: scale(1.04);
}
.pricing-card--popular:hover { transform: scale(1.06); }
.pricing-popular-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 6px 20px; border-radius: 100px;
  background: var(--accent); color: #0a0e1a;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  white-space: nowrap;
}
.pricing-name { font-size: 16px; font-weight: 700; color: var(--text2); margin-bottom: 16px; }
.pricing-price { margin-bottom: 4px; }
.pricing-amount { font-size: 40px; font-weight: 800; }
.pricing-currency { font-size: 16px; color: var(--text3); margin-left: 4px; }
.pricing-credits { font-size: 14px; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.pricing-unit { font-size: 12px; color: var(--text3); margin-bottom: 20px; }
.pricing-save { font-size: 12px; color: var(--warn); font-weight: 600; margin-bottom: 20px; }
.pricing-note { text-align: center; font-size: 13px; color: var(--text3); margin-top: 32px; }

@media (max-width: 1100px) {
  .pricing-card { width: calc(50% - 12px); }
}
@media (max-width: 600px) {
  .pricing-card { width: 100%; }
}

/* ═══ PRICING ADVANTAGE ═══ */
.pricing-advantage {
  margin-top: 48px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.pricing-advantage-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}
.pricing-advantage-icon {
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
}
.pricing-advantage-header h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
}
.pricing-advantage-desc {
  font-size: 15px;
  color: var(--text2);
  max-width: 640px;
  margin: 0 auto 32px;
}
.pricing-vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .pricing-vs-grid { grid-template-columns: 1fr; }
}
.pricing-vs-card {
  border-radius: var(--radius);
  padding: 24px;
  text-align: left;
}
.pricing-vs-card--them {
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.15);
}
.pricing-vs-card--us {
  background: rgba(71,134,245,0.06);
  border: 1px solid rgba(71,134,245,0.2);
}
.pricing-vs-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.pricing-vs-card--them .pricing-vs-label { color: #ef4444; }
.pricing-vs-card--us .pricing-vs-label { color: var(--accent); }
.pricing-vs-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}
@media (max-width: 600px) {
  .pricing-vs-timeline { grid-template-columns: repeat(3, 1fr); }
}
.pricing-vs-month {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
}
.pricing-vs-month--skip {
  opacity: 0.5;
}
.pricing-vs-month-name {
  font-size: 11px;
  color: var(--text3);
  font-weight: 600;
}
.pricing-vs-amount {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.pricing-vs-amount--paid { color: #ef4444; }
.pricing-vs-amount--credit { color: var(--accent); }
.pricing-vs-amount--free { color: var(--text3); }
.pricing-vs-note {
  font-size: 10px;
  color: #ef4444;
  font-style: italic;
}
.pricing-vs-note--good {
  color: var(--accent);
}
.pricing-vs-total {
  font-size: 13px;
  color: var(--text2);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.pricing-vs-waste {
  color: #ef4444;
  font-weight: 600;
}
.pricing-vs-saved {
  color: var(--accent);
  font-weight: 600;
}
.pricing-advantage-bottom {
  display: flex;
  justify-content: center;
  gap: 48px;
}
@media (max-width: 600px) {
  .pricing-advantage-bottom { flex-direction: column; gap: 20px; }
}
.pricing-advantage-stat {
  text-align: center;
}
.pricing-advantage-stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}
.pricing-advantage-stat-label {
  font-size: 13px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ═══ COMPARISON TABLE ═══ */
.comparison-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.comparison-table {
  width: 100%; border-collapse: collapse; min-width: 700px;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
}
.comparison-table th, .comparison-table td {
  padding: 16px 20px; text-align: center; font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.comparison-table thead th {
  background: var(--bg3); font-weight: 700; color: var(--text2);
  font-size: 13px; text-transform: uppercase; letter-spacing: .5px;
}
.comp-highlight { background: rgba(71,134,245,0.04) !important; color: var(--accent) !important; }
.comp-brand {
  background: linear-gradient(135deg, #00ff88, #4786F5);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900; font-size: 15px;
}
.comp-infinity {
  font-size: 1.5em; vertical-align: middle; line-height: 1;
  background: linear-gradient(135deg, #00ff88, #4786F5);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-weight: 700;
}
.comp-feature { text-align: left !important; font-weight: 600; color: var(--text); }
.comparison-note { text-align: center; font-size: 13px; color: var(--text3); margin-top: 20px; }

/* ═══ USE CASES ═══ */
.usecases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.usecase-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--border);
  transition: border-color .3s, transform .3s;
}
.usecase-card:hover { border-color: var(--accent-border); transform: translateY(-4px); }
.usecase-icon { font-size: 36px; margin-bottom: 16px; }
.usecase-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.usecase-card p { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* ═══ CTA ═══ */
.section--cta {
  background: linear-gradient(180deg, var(--bg2), var(--bg));
  text-align: center;
  padding: 100px 0;
}
.cta-inner h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 16px; }
.cta-inner p { font-size: 17px; color: var(--text2); margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.cta-reassurance { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; font-size: 14px; color: var(--text3); }

/* ═══ FOOTER ═══ */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 64px 0 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand { max-width: 280px; }
.footer-desc { font-size: 14px; color: var(--text3); margin-top: 12px; }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--text3); margin-bottom: 10px; }
.footer-col a:hover { color: var(--text); }
.footer-security-item { display: flex !important; align-items: center; gap: 6px; cursor: default; }
.footer-security-item:hover { color: var(--text3); }
.footer-bottom { margin-top: 48px; padding: 20px 0; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 13px; color: var(--text3); text-align: center; }

/* ═══ ANIMATIONS ═══ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp .6s ease-out forwards; }

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══ SCROLL PROGRESS ═══ */
.scroll-progress {
  position: fixed; top: 72px; left: 0; height: 2px; z-index: 999;
  background: var(--accent); transition: width .1s;
}

/* ═══ LANGUAGE SWITCHER ═══ */
.lang-switcher {
  display: flex; align-items: center; gap: 4px;
  margin-right: 4px;
}
.lang-switcher-btn {
  background: none; border: none; cursor: pointer;
  font: 600 13px/1 var(--font);
  color: var(--text3); padding: 4px 6px; border-radius: 4px;
  transition: color .2s, background .2s;
}
.lang-switcher-btn:hover { color: var(--text); }
.lang-switcher-btn.active {
  color: var(--accent); background: var(--accent-bg);
}
.lang-switcher-sep {
  color: var(--text3); font-size: 12px; user-select: none;
}
@media (max-width: 900px) {
  .lang-switcher { margin-right: 0; }
}

/* ═══ Back to top ═══ */
#back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(6,214,160,.35);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s, background .2s;
}
#back-to-top.visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
#back-to-top:hover {
  background: var(--accent2); transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(6,214,160,.45);
}
@media (max-width: 600px) {
  #back-to-top { bottom: 1.2rem; right: 1.2rem; width: 40px; height: 40px; }
}

/* ═══════════════════════════════════════════════════════════
   Legal / Privacy Policy Page
   ═══════════════════════════════════════════════════════════ */
.legal-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
}
.legal-card--alert {
  background: linear-gradient(135deg, rgba(255,59,92,0.08), rgba(255,59,92,0.03)) !important;
  border-color: rgba(255,59,92,0.3) !important;
}
.legal-card-icon {
  position: absolute;
  top: -16px;
  left: 28px;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 800;
  font-size: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.legal-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}
.legal-text {
  color: var(--text2);
  font-size: 15px;
  line-height: 1.75;
}
.legal-text p {
  margin-bottom: 12px;
}
.legal-text ul {
  margin: 12px 0;
  padding-left: 24px;
}
.legal-text ul li {
  margin-bottom: 8px;
}
.legal-text a {
  color: var(--accent);
  text-decoration: none;
}
.legal-text a:hover {
  text-decoration: underline;
}
.legal-text strong {
  color: var(--text);
}
.legal-text code {
  background: var(--bg3);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--accent);
}

/* Legal tables */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.legal-table th {
  background: var(--bg3);
  color: var(--text);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border2);
}
.legal-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
  vertical-align: top;
}
.legal-table tr:last-child td {
  border-bottom: none;
}
.legal-table td strong {
  color: var(--text);
}

/* RGPD Rights grid */
.legal-rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
.legal-right {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}
.legal-right-icon {
  font-size: 28px;
  margin-bottom: 8px;
}
.legal-right h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.legal-right p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
  margin: 0;
}
.legal-right a {
  color: var(--accent);
  text-decoration: none;
}
.legal-right a:hover {
  text-decoration: underline;
}

/* Security measures grid */
.legal-security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.legal-security-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.legal-security-item strong {
  color: var(--accent);
  font-size: 14px;
}
.legal-security-item span {
  color: var(--text2);
  font-size: 13px;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   Guide Page
   ═══════════════════════════════════════════════════════════ */
.guide-toc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 600px) {
  .guide-toc { grid-template-columns: 1fr; }
}
.guide-toc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.guide-toc-item:hover {
  background: var(--accent-bg);
  color: var(--accent);
  opacity: 1;
}
.guide-toc-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg3);
  color: var(--text3);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.guide-toc-item:hover .guide-toc-num {
  background: var(--accent);
  color: var(--bg);
}
.guide-screenshot {
  margin: 20px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border2);
  background: var(--bg3);
}
.guide-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}
.guide-screenshot img[src$=".png"]:not([src*="/"]),
.guide-screenshot img[alt] {
  min-height: 60px;
}
.guide-providers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
@media (max-width: 600px) {
  .guide-providers-grid { grid-template-columns: 1fr 1fr; }
}
.guide-provider-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  transition: border-color .2s;
}
.guide-provider-card:hover {
  border-color: var(--accent-border);
}
.guide-provider-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.guide-provider-checks {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}
.guide-provider-domains {
  font-size: 12px;
  color: var(--text3);
  margin-top: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .legal-card { padding: 24px; }
  .legal-table { font-size: 12px; }
  .legal-table th, .legal-table td { padding: 8px 10px; }
  .legal-rights-grid { grid-template-columns: 1fr; }
  .legal-security-grid { grid-template-columns: 1fr; }
  .legal-table { display: block; overflow-x: auto; }
}

/* ═══ ACTIVE NAV INDICATOR ═══ */
.nav-links a.active { color: var(--accent); }

/* ═══ FEATURES FILTERS & TOGGLE ═══ */
.features-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 20px; justify-content: center;
}
.features-filter-btn {
  display: inline-flex; align-items: center;
  padding: 8px 18px; border-radius: 999px;
  font: 500 14px/1 var(--font);
  cursor: pointer; transition: all .2s;
  border: 1px solid var(--border2);
  background: transparent; color: var(--text2);
}
.features-filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.features-filter-btn.active {
  background: var(--accent); color: var(--bg);
  border-color: var(--accent); font-weight: 600;
}
.feature-card.feature-hidden { display: none; }
.features-toggle-btn { margin: 0 auto; }

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
