/* ===========================
   VERACITY AI — LANDING PAGE
   =========================== */

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

:root {
  --bg: #0a0a0f;
  --bg-card: #111118;
  --bg-card-2: #16161f;
  --border: rgba(255,255,255,0.08);
  --border-bright: rgba(255,255,255,0.15);
  --text: #f0f0f5;
  --text-muted: #8888a0;
  --text-dim: #555568;
  --green: #22c55e;
  --green-bg: rgba(34,197,94,0.12);
  --green-border: rgba(34,197,94,0.25);
  --amber: #f59e0b;
  --amber-bg: rgba(245,158,11,0.12);
  --amber-border: rgba(245,158,11,0.25);
  --red: #ef4444;
  --red-bg: rgba(239,68,68,0.12);
  --red-border: rgba(239,68,68,0.25);
  --blue: #6366f1;
  --blue-bg: rgba(99,102,241,0.12);
  --blue-border: rgba(99,102,241,0.25);
  --accent: #818cf8;
  --radius: 12px;
  --radius-lg: 20px;
  font-size: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}
.logo-text { font-weight: 700; font-size: 17px; color: var(--text); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; }

/* ── HERO ── */
.hero {
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(99,102,241,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.045) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero-bg-grid {
  display: none;
}

/* Split layout */
.hero-split {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}
.hero-left {
  flex: 1;
  min-width: 0;
}
.hero-right {
  flex-shrink: 0;
  position: relative;
}

/* Logo in hero */
.hero-logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.hero-logo-mark {
  width: 60px; height: 60px;
  border-radius: 14px;
  object-fit: cover;
  display: block;
  box-shadow: 0 0 40px rgba(99,102,241,0.3);
}
.hero-logo-name {
  font-size: 32px; font-weight: 800; color: var(--text);
  letter-spacing: -0.8px; line-height: 1;
}
.hero-logo-tagline {
  font-size: 13px; color: var(--text-muted); margin-top: 4px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--text);
}
.hero-title-accent {
  background: linear-gradient(135deg, var(--accent), #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
}

/* Stat plus/times suffix */
.stat-plus { color: var(--accent); }

/* Hero popup mockup */
.hero-live-badge {
  position: absolute;
  top: -16px; right: -16px;
  background: linear-gradient(135deg, #6366f1, #818cf8);
  color: white; font-size: 12px; font-weight: 700;
  padding: 6px 14px; border-radius: 100px;
  box-shadow: 0 8px 20px rgba(99,102,241,0.35);
  z-index: 2;
}
.hero-popup {
  width: 340px;
  background: #0a0a0f;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(129,140,248,0.15),
    0 0 60px rgba(99,102,241,0.08);
}
.hero-popup-header {
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.hero-popup-header::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #6366f1, #818cf8, #a78bfa);
}
.hero-popup-logo-wrap { display: flex; align-items: center; gap: 10px; }
.hero-popup-logo {
  width: 30px; height: 30px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}
.hero-popup-name { font-size: 14px; font-weight: 800; color: var(--text); letter-spacing: -0.3px; }
.hero-popup-sub { font-size: 10px; color: var(--text-muted); }
.hero-toggle {
  width: 36px; height: 20px;
  background: rgba(129,140,248,0.15);
  border: 1px solid rgba(129,140,248,0.3);
  border-radius: 20px; position: relative;
}
.hero-toggle-thumb {
  width: 14px; height: 14px; background: var(--accent);
  border-radius: 50%; position: absolute; top: 2px; right: 2px;
}
.hero-popup-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hps-cell {
  background: #0a0a0f; padding: 10px 6px; text-align: center;
  position: relative;
}
.hps-cell::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; }
.hps-blue::after { background: var(--accent); }
.hps-green::after { background: var(--green); }
.hps-amber::after { background: var(--amber); }
.hps-red::after { background: var(--red); }
.hps-num { font-size: 18px; font-weight: 700; color: var(--text); line-height: 1; margin-bottom: 2px; }
.hps-label { font-size: 9px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.hero-popup-claims { padding: 12px 14px; }
.hpc-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px; margin-bottom: 7px;
  position: relative; overflow: hidden;
}
.hpc-item:last-child { margin-bottom: 0; }
.hpc-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2.5px; }
.hpc-green::before { background: var(--green); }
.hpc-red::before { background: var(--red); }
.hpc-amber::before { background: var(--amber); }
.hpc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; }
.hpc-badge {
  font-size: 9px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.4px; padding: 2px 7px; border-radius: 4px;
}
.hpc-badge-green { background: var(--green-bg); color: var(--green); }
.hpc-badge-red { background: var(--red-bg); color: var(--red); }
.hpc-badge-amber { background: var(--amber-bg); color: var(--amber); }
.hpc-meta { font-size: 9px; color: var(--text-dim); }
.hpc-text { font-size: 11px; font-weight: 500; color: var(--text); line-height: 1.4; margin-bottom: 3px; }
.hpc-reason { font-size: 10px; color: var(--text-muted); line-height: 1.4; }

.hero-popup-footer {
  padding: 9px 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 9px; color: var(--text-dim);
}
.hpf-dot { display: inline-block; width: 5px; height: 5px; background: var(--green); border-radius: 50%; margin-right: 5px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  color: white;
  border: none;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-bright);
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s, border-color 0.2s;
}
.btn-secondary:hover { color: var(--text); border-color: rgba(255,255,255,0.3); }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.stat { text-align: left; }
.stat-num { display: block; font-size: 28px; font-weight: 800; color: var(--text); }
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ── BROWSER MOCKUP ── */
.browser-section {
  padding: 0 24px 100px;
  display: flex;
  justify-content: center;
}
.browser-mockup {
  max-width: 760px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}
.browser-bar {
  background: var(--bg-card-2);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--border-bright);
}
.browser-url {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--text-dim);
  font-family: monospace;
}
.browser-content { padding: 32px; }
.article-mockup { position: relative; }
.article-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 12px;
}
.article-headline {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text);
}
.article-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}
.claim-highlighted {
  background: rgba(129,140,248,0.15);
  border-bottom: 2px solid var(--accent);
  padding: 1px 2px;
  border-radius: 2px;
  color: var(--text);
}
.floating-verdict {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  border-radius: 10px;
  padding: 10px 16px;
  margin-top: 20px;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.verdict-true .verdict-icon {
  width: 28px; height: 28px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
  font-weight: 700;
}
.verdict-label { font-size: 13px; font-weight: 600; color: var(--green); }
.verdict-score { font-size: 11px; color: var(--text-muted); margin-top: 1px; }

/* ── SECTIONS ── */
.section { padding: 100px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
}
.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ── HOW IT WORKS ── */
.how-it-works { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.step {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.step-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.step-icon { font-size: 28px; margin-bottom: 16px; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.step-arrow {
  font-size: 24px;
  color: var(--text-dim);
  padding-top: 80px;
  flex-shrink: 0;
}

/* ── DEMO ── */
.demo-section { background: var(--bg); }
.demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.demo-examples { margin-bottom: 24px; }
.demo-example-label, .demo-input-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.example-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 8px;
  transition: all 0.2s;
  font-family: inherit;
}
.example-btn:hover {
  background: var(--bg-card-2);
  border-color: var(--border-bright);
  color: var(--text);
}
.example-btn.active {
  border-color: var(--accent);
  background: var(--blue-bg);
  color: var(--text);
}
.demo-input-area { margin-top: 8px; }
textarea#claim-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  resize: vertical;
  margin-bottom: 12px;
  transition: border-color 0.2s;
  line-height: 1.5;
}
textarea#claim-input:focus {
  outline: none;
  border-color: var(--accent);
}
textarea#claim-input::placeholder { color: var(--text-dim); }
#verify-btn {
  width: 100%;
  justify-content: center;
  font-size: 14px;
  padding: 12px;
}
.verify-btn-icon { font-size: 16px; }

/* Demo result panel */
.demo-result-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  position: sticky;
  top: 88px;
}
.result-idle {
  text-align: center;
  color: var(--text-dim);
}
.idle-icon { font-size: 40px; margin-bottom: 16px; opacity: 0.5; }
.result-idle p { font-size: 14px; line-height: 1.6; max-width: 240px; }

/* Loading */
.result-loading { width: 100%; }
.loading-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.loading-spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-steps { display: flex; flex-direction: column; gap: 14px; }
.loading-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.3s;
}
.loading-step.active { color: var(--text); }
.loading-step.done { color: var(--green); }
.ls-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
  transition: background 0.3s;
}
.loading-step.active .ls-dot { background: var(--accent); animation: pulse 1s infinite; }
.loading-step.done .ls-dot { background: var(--green); }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Result card */
.result-card { width: 100%; animation: slideUp 0.4s ease-out; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.result-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.result-verdict-badge {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}
.badge-true { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.badge-mostly-true { background: rgba(34,197,94,0.08); color: #4ade80; border: 1px solid rgba(34,197,94,0.2); }
.badge-mixed { background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber-border); }
.badge-mostly-false { background: rgba(239,68,68,0.08); color: #f87171; border: 1px solid rgba(239,68,68,0.2); }
.badge-false { background: var(--red-bg); color: var(--red); border: 1px solid var(--red-border); }
.badge-unverifiable { background: rgba(100,116,139,0.1); color: #94a3b8; border: 1px solid rgba(100,116,139,0.2); }

.result-confidence {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.conf-high { color: var(--green); }
.conf-medium { color: var(--amber); }
.conf-low { color: var(--red); }

.result-claim-text {
  font-size: 14px;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
  padding-left: 12px;
  border-left: 2px solid var(--border-bright);
}
.result-correction {
  background: var(--red-bg);
  border: 1px solid var(--red-border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.5;
}
.result-correction strong { color: var(--red); display: block; margin-bottom: 4px; }
.result-summary {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.result-sources { margin-bottom: 16px; }
.sources-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.source-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.source-tier {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.tier-high { background: var(--green-bg); color: var(--green); }
.tier-medium { background: var(--amber-bg); color: var(--amber); }
.result-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.result-powered { font-size: 11px; color: var(--text-dim); }
.result-time { font-size: 11px; color: var(--text-dim); }

/* ── FEATURES ── */
.features-section { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--border-bright); }
.feature-card-large {
  grid-column: 1 / 3;
  background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(167,139,250,0.04));
  border-color: var(--blue-border);
}
.feature-icon { font-size: 24px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.feature-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--blue-bg);
  color: var(--accent);
  border: 1px solid var(--blue-border);
}

/* ── VERDICT SYSTEM ── */
.verdicts { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.verdict-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
}
.verdict-chip {
  min-width: 140px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 100px;
  flex-shrink: 0;
}
.chip-true { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.chip-mostly-true { background: rgba(34,197,94,0.06); color: #4ade80; border: 1px solid rgba(74,222,128,0.2); }
.chip-mixed { background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber-border); }
.chip-mostly-false { background: rgba(239,68,68,0.08); color: #f87171; border: 1px solid rgba(248,113,113,0.25); }
.chip-false { background: var(--red-bg); color: var(--red); border: 1px solid var(--red-border); }
.chip-unverifiable { background: rgba(100,116,139,0.1); color: #94a3b8; border: 1px solid rgba(148,163,184,0.2); }
.verdict-row p { font-size: 14px; color: var(--text-muted); }

/* ── CTA ── */
.cta-section { background: var(--bg); }
.cta-box {
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(167,139,250,0.05));
  border: 1px solid var(--blue-border);
  border-radius: 24px;
  padding: 64px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-box h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta-box p { font-size: 16px; color: var(--text-muted); margin-bottom: 32px; }
.install-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.btn-large {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: 100px;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(99,102,241,0.35);
}
.install-note {
  font-size: 12px !important;
  color: var(--text-dim) !important;
  margin-bottom: 24px !important;
}
.investor-note {
  margin-top: 24px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.investor-note strong { color: var(--text); }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-tagline { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.footer-links { display: flex; gap: 20px; margin-bottom: 10px; }
.footer-links a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 12px; color: var(--text-dim); }

/* ── HAMBURGER BUTTON ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-right: -8px;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV OVERLAY ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,15,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  padding: 32px 24px;
  gap: 4px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 768px) {
  .mobile-nav { display: flex; pointer-events: none; opacity: 0; transform: translateY(-8px); transition: opacity 0.2s ease, transform 0.2s ease; }
  .mobile-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
}
.mobile-nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color 0.2s;
}
.mobile-nav-link:hover, .mobile-nav-link:active { color: var(--text); }
.mobile-nav-cta {
  margin-top: 20px;
  background: var(--accent);
  color: white !important;
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  border: none !important;
  font-size: 16px;
  font-weight: 600;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .steps { flex-direction: column; }
  .step-arrow { display: none; }
  .demo-container { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card-large { grid-column: 1 / -1; }
  .demo-result-panel { position: static; min-height: 300px; }
  .hero-split { flex-direction: column; gap: 48px; }
  .hero-right { width: 100%; display: flex; flex-direction: column; align-items: center; }
  .hero-popup { width: 100%; max-width: 380px; }
  .hero-live-badge { top: -12px; right: 8px; }
}
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links { display: none; }
  .hero { padding: 96px 20px 60px; }
  .section { padding: 72px 20px; }
  .browser-section { padding: 0 20px 72px; }
  .browser-content { padding: 20px; }
  .article-headline { font-size: 18px; }
}
@media (max-width: 600px) {
  .hero { padding: 88px 16px 56px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; min-height: 48px; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr; gap: 0; padding-top: 28px; }
  .stat { text-align: center; padding: 0 4px; }
  .stat-num { font-size: 24px; }
  .stat-divider { display: block; width: 1px; background: var(--border); height: auto; align-self: stretch; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card-large { grid-column: 1; }
  .cta-box { padding: 32px 20px; }
  .cta-box h2 { font-size: 28px; }
  .verdict-row { flex-direction: column; gap: 12px; text-align: center; }
  .section { padding: 60px 16px; }
  .section-inner { padding: 0; }
  .hero-popup { max-width: 100%; }
  .hero-split { gap: 36px; }
  .demo-container { gap: 24px; }
  .features-grid { gap: 12px; }
  .steps { gap: 12px; }
  .step { padding: 24px 20px; }
  .vd-demo { gap: 28px; }
  .footer-links { justify-content: center; }
  .footer-inner { padding: 0 16px; }
}
@media (max-width: 390px) {
  .hero { padding: 80px 14px 48px; }
  .section { padding: 52px 14px; }
  .hero-logo-name { font-size: 26px; }
  .hero-popup { font-size: 90%; }
  .hps-num { font-size: 15px; }
  .cta-box { padding: 28px 16px; }
}

/* ===========================
   AI VIDEO DETECTOR SECTION
   =========================== */

.video-detector-section { background: var(--bg); }

.vd-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 16px;
}

/* Tweet card */
.tweet-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color 0.3s;
}
.tweet-card.scanning { border-color: rgba(99,102,241,0.4); }

.tweet-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tweet-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a78bfa);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.tweet-name { font-size: 14px; font-weight: 700; color: var(--text); }
.tweet-verified { color: #1d9bf0; font-size: 13px; }
.tweet-handle { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.tweet-body { font-size: 14px; line-height: 1.6; color: var(--text); margin-bottom: 14px; }

.tweet-video {
  position: relative;
  background: #0a0a18;
  border-radius: 12px;
  overflow: hidden;
  height: 160px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}
.tvf-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.tvf-bars {
  display: flex; align-items: flex-end; gap: 5px;
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  opacity: 0.15;
}
.tvf-bar {
  width: 8px;
  background: linear-gradient(to top, #6366f1, #a78bfa);
  border-radius: 2px;
  transition: height 0.3s ease;
}
.tvf-play {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
}
.tvf-label {
  font-size: 11px; color: rgba(255,255,255,0.3);
  position: absolute; bottom: 10px; right: 12px;
}

/* Scan overlay */
.vd-scan-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,24,0.7);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.vd-scan-overlay.active { opacity: 1; }

.scan-line {
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6366f1, transparent);
  animation: none;
  opacity: 0;
}
.scan-line.active {
  opacity: 1;
  animation: scanDown 1.4s ease-in-out infinite;
}
@keyframes scanDown {
  0%   { top: 0; }
  100% { top: calc(100% - 2px); }
}
.scan-label {
  font-size: 12px; color: #818cf8;
  font-weight: 500; letter-spacing: 0.5px;
  background: rgba(10,10,24,0.8);
  padding: 4px 12px; border-radius: 100px;
  border: 1px solid rgba(99,102,241,0.3);
}

/* AI badge on video */
.vd-ai-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(239,68,68,0.9);
  color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
  display: flex; align-items: center; gap: 5px;
  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  backdrop-filter: blur(4px);
}
.vd-ai-badge.show { opacity: 1; transform: translateY(0); }
.vd-ai-icon { font-size: 10px; }

.tweet-footer {
  display: flex; gap: 24px;
  font-size: 13px; color: var(--text-muted);
}

.vd-detect-btn {
  width: 100%; margin-top: 16px;
  justify-content: center;
  font-size: 15px; padding: 14px;
}

/* Result panel */
.vd-result-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 380px;
  display: flex;
  align-items: stretch;
}
.vd-result-panel > * { width: 100%; }

.vd-idle {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; text-align: center;
  color: var(--text-muted); font-size: 14px; line-height: 1.6;
  height: 100%;
}
.vd-idle-icon { font-size: 36px; opacity: 0.4; }

.vd-loading { display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.vd-loading-title {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 600; color: var(--text);
}
.vd-steps { display: flex; flex-direction: column; gap: 12px; }
.vd-step {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-muted);
  opacity: 0.3; transition: all 0.4s ease;
}
.vd-step.active { opacity: 1; color: var(--accent); }
.vd-step.done { opacity: 0.7; color: var(--green); }
.vd-step-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor; flex-shrink: 0;
}

/* Result */
.vd-result { display: flex; flex-direction: column; gap: 18px; }

.vd-result-header { display: flex; align-items: center; justify-content: space-between; }
.vd-verdict-badge {
  background: var(--red-bg);
  border: 1px solid var(--red-border);
  color: var(--red);
  font-size: 13px; font-weight: 700;
  padding: 6px 14px; border-radius: 100px;
}
.vd-confidence-label { font-size: 13px; color: var(--text-muted); }

.vd-bar-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.vd-bar-pct { font-weight: 700; color: var(--red); }
.vd-bar-track {
  height: 6px; background: var(--bg-card-2); border-radius: 100px; overflow: hidden;
}
.vd-bar-fill {
  height: 100%; border-radius: 100px;
  background: linear-gradient(90deg, #ef4444, #f97316);
  width: 0%; transition: width 1.2s ease;
}

.vd-signals-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); }
.vd-signals { display: flex; flex-direction: column; gap: 10px; }
.vd-signal {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  opacity: 0; transform: translateX(-8px);
  transition: all 0.4s ease;
}
.vd-signal.show { opacity: 1; transform: translateX(0); }
.vd-signal-red { background: var(--red-bg); border: 1px solid var(--red-border); }
.vd-signal-amber { background: var(--amber-bg); border: 1px solid var(--amber-border); }
.vd-signal-icon {
  font-size: 12px; font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.vd-signal-red .vd-signal-icon { color: var(--red); }
.vd-signal-amber .vd-signal-icon { color: var(--amber); }
.vd-signal-text { display: flex; flex-direction: column; gap: 2px; }
.vd-signal-text strong { font-size: 13px; color: var(--text); font-weight: 600; }
.vd-signal-text span { font-size: 12px; color: var(--text-muted); }

/* Generator breakdown */
.vd-generator { display: flex; flex-direction: column; gap: 10px; }
.vd-gen-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); }
.vd-gen-bars { display: flex; flex-direction: column; gap: 8px; }
.vd-gen-row { display: flex; align-items: center; gap: 10px; }
.vd-gen-name { font-size: 12px; color: var(--text-muted); width: 52px; flex-shrink: 0; }
.vd-gen-track { flex: 1; height: 5px; background: var(--bg-card-2); border-radius: 100px; overflow: hidden; }
.vd-gen-bar {
  height: 100%; border-radius: 100px;
  background: linear-gradient(90deg, #6366f1, #a78bfa);
  width: 0%; transition: width 1s ease;
}
.vd-gen-pct { font-size: 12px; font-weight: 700; color: var(--accent); width: 28px; text-align: right; }

.vd-footer {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--text-dim);
  padding-top: 4px; border-top: 1px solid var(--border);
}
.vd-footer-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}

@media (max-width: 900px) {
  .vd-demo { grid-template-columns: 1fr; }
}

.tweet-verova-running {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--accent); font-weight: 500;
  margin-top: 8px; opacity: 0.8;
}
.tvr-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.vd-live-note {
  font-size: 12px; color: var(--text-muted);
  margin-top: 12px; text-align: center;
  line-height: 1.5;
}
