/*
 * Coravio Web — Main Stylesheet
 * Design: Refined Dark — Marine + Cyan Accent
 */

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --ink:      #0A0F1E;
  --ink-2:    #111827;
  --ink-3:    #1C2B45;
  --cyan:     #00D4FF;
  --cyan-dim: #0099BB;
  --white:    #F0F4FF;
  --muted:    #6B7FA3;
  --border:   rgba(0,212,255,0.12);
  --border-s: rgba(0,212,255,0.25);
  --glow:     rgba(0,212,255,0.06);
  --green:    #27C93F;
  --red:      #FF5252;
  --orange:   #FF8C00;

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body:    'Instrument Sans', 'Helvetica Neue', sans-serif;
  --font-mono:    'DM Mono', 'Cascadia Code', 'Fira Mono', monospace;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  /* Footer immer sichtbar: min-height = viewport, footer unten fixiert */
  padding-bottom: 68px;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 2px; }

/* ── Custom Cursor ────────────────────────────────────────── */
/* Dot und Ring sind eigenständige fixed-Elemente — kein gemeinsamer Container */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s;
  will-change: transform;
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 32px; height: 32px;
  border: 1px solid rgba(0,212,255,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.23,1,0.32,1),
              height 0.25s cubic-bezier(0.23,1,0.32,1),
              border-color 0.25s,
              background 0.25s;
  will-change: transform;
}
.cursor-ring.expanded {
  width: 48px; height: 48px;
  border-color: var(--cyan);
  background: rgba(0,212,255,0.04);
}

/* ── Grid Background ──────────────────────────────────────── */
.grid-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
}

/* ── Navigation ───────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px;
  height: 68px;
  border-bottom: 1px solid var(--border);
  background: rgba(10,15,30,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo-mark {
  width: 28px; height: 28px;
  border: 1.5px solid var(--cyan);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-mark::before {
  content: '';
  width: 10px; height: 10px;
  background: var(--cyan);
  border-radius: 2px;
}

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-sm  { padding: 8px 20px; font-size: 14px; }
.btn-lg  { padding: 14px 32px; font-size: 15px; border-radius: 8px; }

.btn-ghost {
  color: var(--muted);
  border: 1px solid var(--border-s);
  background: transparent;
  font-weight: 500;
}
.btn-ghost:hover { color: var(--white); border-color: var(--cyan); }

.btn-primary {
  color: var(--ink);
  background: var(--cyan);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: #33DDFF;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,212,255,0.25);
}

/* ── Footer — Fixed Bottom ────────────────────────────────── */
footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  border-top: 1px solid var(--border);
  padding: 0 60px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,15,30,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.footer-left { display: flex; align-items: center; gap: 24px; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  color: var(--muted);
}
.footer-copy { font-size: 12px; color: var(--muted); opacity: 0.6; }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a {
  font-size: 12px; color: var(--muted);
  text-decoration: none; opacity: 0.7;
  transition: all 0.2s;
}
.footer-links a:hover { color: var(--white); opacity: 1; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 60px 100px;
  z-index: 1;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border-s);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px; color: var(--cyan);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 28px;
  background: rgba(0,212,255,0.04);
  animation: fadeUp 0.8s ease both;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--cyan); border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 300; line-height: 1.1;
  letter-spacing: -2px; color: var(--white);
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero-title em { font-style: italic; color: var(--cyan); font-weight: 300; }

.hero-sub {
  font-size: 17px; color: var(--muted);
  line-height: 1.7; margin-top: 24px;
  max-width: 480px;
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero-actions {
  display: flex; align-items: center; gap: 16px;
  margin-top: 40px;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-note {
  font-size: 12px; color: var(--muted);
  margin-top: 16px;
  font-family: var(--font-mono);
  animation: fadeUp 0.8s 0.4s ease both;
}

/* ── Hero Visual — Mail Window ────────────────────────────── */
.hero-visual { position: relative; animation: fadeUp 0.8s 0.2s ease both; }

.mail-window {
  background: var(--ink-2);
  border: 1px solid var(--border-s);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,212,255,0.06);
  position: relative;
}
.mail-window::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.mail-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.titlebar-dot { width: 10px; height: 10px; border-radius: 50%; }
.titlebar-dot:nth-child(1) { background: #FF5F56; }
.titlebar-dot:nth-child(2) { background: #FFBD2E; }
.titlebar-dot:nth-child(3) { background: #27C93F; }
.titlebar-label { margin-left: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

.mail-sidebar { display: flex; }
.mail-folders { width: 140px; border-right: 1px solid var(--border); padding: 16px 0; flex-shrink: 0; }
.folder-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 16px; font-size: 12px; color: var(--muted);
  cursor: pointer; transition: all 0.15s;
}
.folder-item.active {
  color: var(--cyan);
  background: rgba(0,212,255,0.06);
  border-right: 2px solid var(--cyan);
}
.folder-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.folder-badge {
  margin-left: auto;
  font-family: var(--font-mono); font-size: 10px;
  background: var(--cyan); color: var(--ink);
  padding: 1px 6px; border-radius: 10px; font-weight: 600;
}

.mail-list { flex: 1; padding: 8px 0; border-right: 1px solid var(--border); min-width: 0; }
.mail-item { padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,0.03); cursor: pointer; transition: background 0.15s; }
.mail-item:hover { background: rgba(255,255,255,0.02); }
.mail-item.unread .mail-sender { font-weight: 600; color: var(--white); }
.mail-item.selected { background: rgba(0,212,255,0.05); }
.mail-sender { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.mail-subject { font-size: 12px; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-preview { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.mail-meta { display: flex; justify-content: space-between; align-items: center; }
.mail-time { font-family: var(--font-mono); font-size: 10px; color: var(--muted); }

.mail-reader { flex: 1.5; padding: 20px; min-width: 0; }
.reader-from { font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.reader-subject { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 16px; }
.reader-body { font-size: 11px; color: var(--muted); line-height: 1.8; }
.reader-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 4px;
  font-family: var(--font-mono); font-size: 9px; color: var(--cyan);
  margin-top: 12px;
}

.scan-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--ink-3);
  border: 1px solid var(--border-s);
  border-radius: 10px; padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  animation: float 3s ease-in-out infinite;
}
.scan-icon { font-size: 18px; }
.scan-label { font-size: 11px; color: var(--muted); }
.scan-value { font-size: 13px; font-weight: 600; color: var(--green); }

/* ── Metrics Bar ──────────────────────────────────────────── */
.metrics-bar {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.metrics-inner {
  display: flex;
  max-width: 1200px; margin: 0 auto;
  padding: 40px 60px;
}
.metric {
  flex: 1; padding: 0 40px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.metric:first-child { padding-left: 0; }
.metric:last-child { border-right: none; }
.metric-value {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 300;
  color: var(--white); letter-spacing: -1px; line-height: 1;
}
.metric-value span { color: var(--cyan); }
.metric-label { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ── Sections ─────────────────────────────────────────────── */
.section {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  padding: 100px 60px;
}
.section-divider {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--cyan);
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300; letter-spacing: -1.5px;
  line-height: 1.15; color: var(--white);
  margin-bottom: 20px;
}
.section-sub {
  font-size: 16px; color: var(--muted);
  max-width: 560px; line-height: 1.7;
}

/* ── Features Grid ────────────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  margin-top: 60px;
}
.feature-card {
  background: var(--ink-2);
  padding: 36px 32px;
  transition: background 0.25s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover { background: var(--ink-3); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border-s); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 18px;
  background: var(--glow);
}
.feature-title { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 10px; letter-spacing: -0.2px; }
.feature-desc { font-size: 13px; color: var(--muted); line-height: 1.7; }
.feature-tag { display: inline-block; margin-top: 14px; font-family: var(--font-mono); font-size: 10px; color: var(--cyan-dim); letter-spacing: 0.08em; }

/* ── Security ─────────────────────────────────────────────── */
.security-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; margin-top: 60px; align-items: start;
}
.security-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.security-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--ink-2); transition: border-color 0.2s;
}
.security-item:hover { border-color: var(--border-s); }
.security-check {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(39,201,63,0.15);
  border: 1px solid rgba(39,201,63,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--green);
  flex-shrink: 0; margin-top: 1px;
}
.security-text strong { display: block; font-size: 13px; color: var(--white); margin-bottom: 3px; }
.security-text span  { font-size: 12px; color: var(--muted); }

/* Score Widget */
.score-widget {
  background: var(--ink-2);
  border: 1px solid var(--border-s);
  border-radius: 12px; padding: 28px;
  position: sticky; top: 100px;
}
.score-title { font-family: var(--font-mono); font-size: 11px; color: var(--cyan); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.score-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.score-row:last-of-type { border-bottom: none; }
.score-label { font-size: 12px; color: var(--muted); flex: 1; }
.score-bar-wrap { width: 80px; height: 4px; background: var(--border); border-radius: 2px; }
.score-bar { height: 100%; border-radius: 2px; width: 0; transition: width 0.8s cubic-bezier(0.23,1,0.32,1); }
.score-val { font-family: var(--font-mono); font-size: 11px; width: 36px; text-align: right; }
.score-total { margin-top: 16px; padding: 14px; background: rgba(255,82,82,0.08); border: 1px solid rgba(255,82,82,0.2); border-radius: 8px; text-align: center; }
.score-total-val { font-family: var(--font-display); font-size: 28px; color: var(--red); font-weight: 300; }
.score-total-label { font-size: 11px; color: var(--muted); margin-top: 4px; }
.score-verdict { margin-top: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--red); text-align: center; }

/* ── Architecture ─────────────────────────────────────────── */
.arch-diagram { margin-top: 60px; display: flex; flex-direction: column; align-items: center; gap: 0; }
.arch-row { display: flex; align-items: center; width: 100%; max-width: 860px; }
.arch-box {
  flex: 1; padding: 14px 20px;
  border: 1px solid var(--border-s); border-radius: 8px;
  background: var(--ink-2); text-align: center;
  transition: all 0.2s;
}
.arch-box:hover { border-color: var(--cyan); background: var(--ink-3); box-shadow: 0 0 20px rgba(0,212,255,0.08); }
.arch-box.primary { border-color: var(--cyan); background: rgba(0,212,255,0.06); }
.arch-box.primary .arch-box-label { color: var(--cyan); }
.arch-box-label { font-size: 12px; font-weight: 600; color: var(--white); }
.arch-box-sub { font-size: 10px; color: var(--muted); font-family: var(--font-mono); margin-top: 3px; }
.arch-arrow { display: flex; flex-direction: column; align-items: center; padding: 6px 0; }
.arch-arrow-line { width: 1px; height: 24px; background: linear-gradient(to bottom, var(--cyan-dim), transparent); opacity: 0.4; }
.arch-arrow-head { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid var(--cyan-dim); opacity: 0.4; }
.arch-row-multi { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; width: 100%; max-width: 860px; }
.arch-row-single { max-width: 320px; }
.arch-row-medium { max-width: 480px; }

/* ── Roadmap ──────────────────────────────────────────────── */
.roadmap {
  display: flex; gap: 0; margin-top: 60px;
  position: relative;
}
.roadmap::before {
  content: '';
  position: absolute; top: 24px; left: 24px; right: 24px; height: 1px;
  background: linear-gradient(to right, var(--cyan), var(--border), var(--border));
  z-index: 0;
}
.roadmap-item { flex: 1; position: relative; z-index: 1; }
.roadmap-dot {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid var(--border-s);
}
.roadmap-dot.active { background: var(--cyan); color: var(--ink); border-color: var(--cyan); box-shadow: 0 0 20px rgba(0,212,255,0.3); }
.roadmap-dot.next { background: var(--ink-3); color: var(--muted); }
.roadmap-dot.future { background: var(--ink-2); color: var(--muted); border-style: dashed; }
.roadmap-version { font-family: var(--font-mono); font-size: 11px; color: var(--cyan); margin-bottom: 6px; letter-spacing: 0.05em; }
.roadmap-title { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.roadmap-features { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.roadmap-features li { font-size: 12px; color: var(--muted); padding-left: 14px; position: relative; }
.roadmap-features li::before { content: '·'; position: absolute; left: 4px; color: var(--cyan-dim); }

/* ── CTA ──────────────────────────────────────────────────── */
.cta-section {
  position: relative; z-index: 1;
  padding: 120px 60px 160px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title { font-family: var(--font-display); font-size: clamp(36px,5vw,64px); font-weight: 300; letter-spacing: -2px; line-height: 1.1; color: var(--white); margin-bottom: 24px; position: relative; }
.cta-title em { font-style: italic; color: var(--cyan); }
.cta-sub { font-size: 16px; color: var(--muted); margin-bottom: 40px; position: relative; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; position: relative; }

/* ── Subpages ─────────────────────────────────────────────── */
.subpage-hero {
  padding: 140px 60px 60px;
  position: relative; z-index: 1;
  max-width: 900px; margin: 0 auto;
}
.subpage-content {
  max-width: 900px; margin: 0 auto;
  padding: 0 60px 160px;
  position: relative; z-index: 1;
}
.subpage-content h2 { font-family: var(--font-display); font-size: 28px; font-weight: 300; color: var(--white); margin: 48px 0 16px; letter-spacing: -0.5px; }
.subpage-content h3 { font-size: 16px; font-weight: 600; color: var(--white); margin: 32px 0 12px; }
.subpage-content p  { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.subpage-content a  { color: var(--cyan); text-decoration: none; }
.subpage-content a:hover { text-decoration: underline; }
.subpage-content ul { list-style: none; margin: 16px 0; }
.subpage-content ul li { font-size: 15px; color: var(--muted); line-height: 1.8; padding-left: 20px; position: relative; margin-bottom: 8px; }
.subpage-content ul li::before { content: '→'; position: absolute; left: 0; color: var(--cyan); font-size: 12px; top: 3px; }
.subpage-content .placeholder-box {
  margin: 32px 0;
  padding: 32px;
  border: 1px dashed var(--border-s);
  border-radius: 12px;
  background: rgba(0,212,255,0.02);
  text-align: center;
}
.subpage-content .placeholder-box p { color: var(--muted); font-family: var(--font-mono); font-size: 13px; margin: 0; }
.legal-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.legal-table th, .legal-table td { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--border); text-align: left; }
.legal-table th { color: var(--cyan); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.legal-table td { color: var(--muted); }
.contact-card {
  border: 1px solid var(--border-s); border-radius: 10px;
  padding: 24px; background: var(--ink-2); margin: 24px 0;
}
.contact-card h3 { margin-top: 0; }

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  body { padding-bottom: 120px; }
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  footer { padding: 0 24px; height: auto; padding: 16px 24px; flex-direction: column; gap: 10px; align-items: flex-start; position: fixed; }
  .hero { padding: 100px 24px 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .metrics-inner { flex-direction: column; gap: 32px; padding: 40px 24px; }
  .metric { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 24px; text-align: left; }
  .roadmap { flex-direction: column; gap: 32px; }
  .roadmap::before { display: none; }
  .cta-section { padding: 80px 24px 160px; }
  .subpage-hero, .subpage-content { padding-left: 24px; padding-right: 24px; }
}
