/* ═══════════════════════════════════════════════
   DocEnsure — Product Website Styles
   ═══════════════════════════════════════════════ */

:root {
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --violet: #8b5cf6;
  --emerald: #34d399;
  --amber: #fbbf24;
  --rose: #fb7185;
  --danger: #f87171;
  --bg: #030712;
  --bg-card: rgba(255,255,255,0.03);
  --border: rgba(255,255,255,0.06);
  --text-1: #f1f5f9;
  --text-2: #cbd5e1;
  --text-3: #64748b;
  --text-4: #334155;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-2);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── Scroll Progress Bar ─── */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 200;
}

/* ─── Word reveal animations ─── */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.word {
  display: inline-block;
  transform-style: preserve-3d;
}

/* ─── Perspective card transforms ─── */
.feature-card,
.detection-card,
.pricing-card,
.step {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ─── Utilities ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.w-full { width: 100%; text-align: center; }

/* ─── Section spacing ─── */
section { padding: 120px 0; position: relative; }

.section-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.section-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(6,182,212,0.08);
  border: 1px solid rgba(6,182,212,0.15);
  color: var(--cyan-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-header h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--text-1);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-header p { font-size: 16px; line-height: 1.7; color: var(--text-3); }

/* ═══════════ NAV ═══════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(3,7,18,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
#navbar.scrolled { background: rgba(3,7,18,0.9); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-1);
}
.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(6,182,212,0.15), rgba(139,92,246,0.15));
  border: 1px solid rgba(6,182,212,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-shield { width: 18px; height: 18px; color: var(--cyan); }

.nav-links { display: flex; gap: 8px; }
.nav-links a {
  text-decoration: none;
  color: var(--text-3);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--text-1); background: rgba(255,255,255,0.05); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.btn-ghost {
  text-decoration: none;
  color: var(--text-3);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}
.btn-ghost:hover { color: var(--text-1); }

.btn-primary-sm {
  text-decoration: none;
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(6,182,212,0.15);
}
.btn-primary-sm:hover { transform: translateY(-1px); box-shadow: 0 6px 25px rgba(6,182,212,0.25); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-2);
  margin: 4px 0;
  transition: all 0.3s;
  border-radius: 2px;
}

/* ═══════════ BUTTONS ═══════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: white;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(6,182,212,0.2);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(6,182,212,0.3); }
.btn-primary i { width: 18px; height: 18px; }

.btn-primary.btn-lg { padding: 18px 36px; font-size: 16px; border-radius: 16px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  background: transparent;
  color: var(--text-2);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.03); color: var(--text-1); }
.btn-outline i { width: 18px; height: 18px; }

/* ═══════════ HERO ═══════════ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-gradient-1 {
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 70%);
  filter: blur(60px);
}
.hero-gradient-2 {
  position: absolute;
  bottom: -200px; left: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 70%);
  filter: blur(60px);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6,182,212,0.3), rgba(139,92,246,0.3), transparent);
  animation: scanMove 5s linear infinite;
}
@keyframes scanMove { 0% { top: -5%; } 100% { top: 105%; } }

.hero-content {
  text-align: center;
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(6,182,212,0.06);
  border: 1px solid rgba(6,182,212,0.12);
  font-size: 13px;
  color: var(--cyan-light);
  font-weight: 500;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

#hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 900;
  color: var(--text-1);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-gradient-word {
  background: linear-gradient(135deg, var(--cyan), var(--violet), var(--cyan));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
}
@keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-3);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 56px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.stat { text-align: center; }
.stat-value { display: block; font-size: 28px; font-weight: 800; color: var(--text-1); font-family: 'JetBrains Mono', monospace; }
.stat-label { font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero floating card */
.hero-visual {
  position: relative;
  z-index: 2;
  margin-top: 60px;
  padding: 20px 80px;
  perspective: 1000px;
}
.hero-card {
  width: 420px;
  max-width: 90vw;
  border-radius: 16px;
  background: rgba(15,23,42,0.8);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  overflow: visible;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  position: relative;
  animation: floatCard 6s ease-in-out infinite;
}
/* Card inner sections clip their own content but card itself doesn't */
@keyframes floatCard { 0%, 100% { transform: translateY(0) rotateX(2deg); } 50% { transform: translateY(-10px) rotateX(-1deg); } }

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  border-radius: 16px 16px 0 0;
}
.card-dots { display: flex; gap: 6px; }
.card-dots span { width: 8px; height: 8px; border-radius: 50%; }
.card-dots span:nth-child(1) { background: #f87171; }
.card-dots span:nth-child(2) { background: #fbbf24; }
.card-dots span:nth-child(3) { background: #34d399; }
.card-title { font-size: 12px; color: var(--text-3); font-weight: 500; }

.hero-card-body { padding: 16px; }

.verdict-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.verdict-suspicious {
  background: rgba(251,146,60,0.08);
  border: 1px solid rgba(251,146,60,0.2);
}
.verdict-banner i { width: 24px; height: 24px; color: #fb923c; flex-shrink: 0; }
.verdict-banner strong { display: block; color: #fb923c; font-size: 14px; font-weight: 700; letter-spacing: 0.03em; }
.verdict-banner span { font-size: 11px; color: var(--text-3); }
.verdict-score { margin-left: auto; font-size: 28px; font-weight: 800; color: #fb923c; font-family: 'JetBrains Mono', monospace; }
.verdict-score small { font-size: 14px; color: var(--text-4); font-weight: 400; }

.check-list { display: flex; flex-direction: column; gap: 8px; }
.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-2);
}
.check-item i { width: 16px; height: 16px; flex-shrink: 0; }
.check-fail i { color: var(--danger); }
.check-pass i { color: var(--emerald); }
.check-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(248,113,113,0.1);
  color: var(--danger);
  letter-spacing: 0.05em;
}
.check-badge.pass { background: rgba(52,211,153,0.1); color: var(--emerald); }

/* Floating badges */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(15,23,42,0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-2);
  white-space: nowrap;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.float-badge i { width: 14px; height: 14px; color: var(--cyan); }
.fb-1 { top: -10px; right: -60px; animation: floatBadge1 5s ease-in-out infinite; }
.fb-2 { bottom: 40px; left: -70px; animation: floatBadge2 6s ease-in-out infinite; }
.fb-3 { top: 60px; left: -50px; animation: floatBadge3 7s ease-in-out infinite; }
@keyframes floatBadge1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes floatBadge2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@keyframes floatBadge3 { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }

/* ═══════════ TRUST ═══════════ */
#trust { padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.01); }
.trust-label { text-align: center; font-size: 13px; color: var(--text-4); margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.1em; }
.trust-logos { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-4);
  opacity: 0.5;
  transition: opacity 0.3s;
  letter-spacing: 0.02em;
}
.trust-item:hover { opacity: 1; }

/* ═══════════ FEATURES ═══════════ */
#features { background: var(--bg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 32px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card:hover {
  border-color: rgba(6,182,212,0.15);
  background: rgba(255,255,255,0.05);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon i { width: 22px; height: 22px; }
.fi-cyan { background: rgba(6,182,212,0.1); color: var(--cyan); border: 1px solid rgba(6,182,212,0.15); }
.fi-violet { background: rgba(139,92,246,0.1); color: var(--violet); border: 1px solid rgba(139,92,246,0.15); }
.fi-emerald { background: rgba(52,211,153,0.1); color: var(--emerald); border: 1px solid rgba(52,211,153,0.15); }
.fi-amber { background: rgba(251,191,36,0.1); color: var(--amber); border: 1px solid rgba(251,191,36,0.15); }
.fi-rose { background: rgba(251,113,133,0.1); color: var(--rose); border: 1px solid rgba(251,113,133,0.15); }
.fi-blue { background: rgba(59,130,246,0.1); color: #3b82f6; border: 1px solid rgba(59,130,246,0.15); }

.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--text-1); margin-bottom: 10px; }
.feature-card p { font-size: 14px; line-height: 1.6; color: var(--text-3); }

/* ═══════════ HOW IT WORKS ═══════════ */
#how-it-works { background: rgba(255,255,255,0.01); }

.steps { max-width: 700px; margin: 0 auto; }

.step {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.step:hover { border-color: rgba(6,182,212,0.15); background: rgba(255,255,255,0.04); }

.step-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--text-4);
  font-family: 'JetBrains Mono', monospace;
  opacity: 0.3;
  flex-shrink: 0;
}
.step-content { flex: 1; }
.step-content h3 { font-size: 20px; font-weight: 700; color: var(--text-1); margin-bottom: 8px; }
.step-content p { font-size: 14px; line-height: 1.6; color: var(--text-3); }

.step-visual { flex-shrink: 0; }
.step-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(6,182,212,0.1), rgba(139,92,246,0.1));
  border: 1px solid rgba(6,182,212,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon i { width: 24px; height: 24px; color: var(--cyan); }

.step-connector { display: flex; justify-content: center; padding: 8px 0; }
.connector-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--border), rgba(6,182,212,0.2), var(--border)); }

/* ═══════════ DETECTION ═══════════ */
#detection { background: var(--bg); }

.detection-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.detection-card {
  padding: 28px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.detection-card:hover { border-color: rgba(255,255,255,0.1); transform: translateY(-2px); }

.dc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dc-header i { width: 20px; height: 20px; color: var(--text-4); }
.dc-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.dc-red { background: rgba(248,113,113,0.1); color: var(--danger); border: 1px solid rgba(248,113,113,0.15); }
.dc-amber { background: rgba(251,191,36,0.1); color: var(--amber); border: 1px solid rgba(251,191,36,0.15); }

.detection-card h3 { font-size: 18px; font-weight: 700; color: var(--text-1); margin-bottom: 8px; }
.detection-card p { font-size: 14px; line-height: 1.6; color: var(--text-3); margin-bottom: 16px; }

.dc-example {
  border-radius: 10px;
  overflow: hidden;
}
.dc-example code {
  display: block;
  padding: 12px 14px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 0 0 8px 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--danger);
  line-height: 1.6;
}
/* When no code-header, full rounded */
.dc-example > code:first-child {
  border-radius: 8px;
}

/* Detection hero: before → after scenario */
.detection-hero {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 48px;
  padding: 28px;
  border-radius: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
}
.dh-left, .dh-right { display: flex; flex-direction: column; gap: 16px; }
.dh-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.dh-label i { width: 16px; height: 16px; }
.dh-label-result { color: var(--danger); }
.dh-scenario { flex: 1; }
.dh-scenario p { font-size: 14px; color: var(--text-2); line-height: 1.65; margin-bottom: 14px; }
.dh-scenario strong { color: var(--text-1); }
.dh-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.dh-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(251,191,36,0.06);
  border: 1px solid rgba(251,191,36,0.12);
  font-size: 11px;
  color: var(--amber);
  font-weight: 500;
}
.dh-tag i { width: 12px; height: 12px; }

.dh-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}
.dh-arrow i { width: 28px; height: 28px; color: var(--text-4); }

.dh-result { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.dh-verdict {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(251,146,60,0.06);
  border: 1px solid rgba(251,146,60,0.18);
}
.dh-verdict-badge {
  font-size: 14px;
  font-weight: 800;
  color: #fb923c;
  letter-spacing: 0.06em;
}
.dh-score {
  font-size: 32px;
  font-weight: 800;
  color: #fb923c;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
}
.dh-score small { font-size: 14px; color: var(--text-4); font-weight: 400; }

.dh-findings { display: flex; flex-direction: column; gap: 6px; }
.dh-finding {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.4;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(0,0,0,0.2);
}
.dh-finding i { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; }
.dh-fail { color: var(--danger); }
.dh-fail i { color: var(--danger); }
.dh-warn { color: var(--amber); }
.dh-warn i { color: var(--amber); }

.dh-action {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(248,113,113,0.05);
  border: 1px solid rgba(248,113,113,0.1);
  font-size: 12px;
  color: var(--danger);
  font-weight: 500;
  line-height: 1.4;
}
.dh-action i { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; }

/* Full-width detection card (AI Generated — hero position) */
.dc-full {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(139,92,246,0.04), rgba(6,182,212,0.04));
  border-color: rgba(139,92,246,0.15);
  box-shadow: 0 0 40px rgba(139,92,246,0.04);
}
.dc-full h3 { font-size: 22px; }
.dc-full p { font-size: 15px; max-width: 700px; }
.dc-full code { font-size: 12px; }

/* Code block with terminal header */
.dc-code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.3);
  border-radius: 8px 8px 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
}
.dc-code-header span:last-child { font-size: 10px; color: var(--text-4); margin-left: 6px; font-family: 'JetBrains Mono', monospace; }
.dc-dot { width: 6px; height: 6px; border-radius: 50%; }
.dc-dot-red { background: #f87171; }
.dc-dot-amber { background: #fbbf24; }
.dc-dot-green { background: #34d399; }
.dc-code-header + code {
  display: block;
  border-radius: 0 0 8px 8px;
  border-top: none;
}

.dc-tag.dc-cyan { background: rgba(6,182,212,0.1); color: var(--cyan); border: 1px solid rgba(6,182,212,0.15); }

/* Detection stats bar */
.detection-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-top: 56px;
  padding: 24px 36px;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
}
.ds-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ds-item i { width: 20px; height: 20px; color: var(--cyan); }
.ds-item strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-1);
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
}
.ds-item span { display: block; font-size: 11px; color: var(--text-3); margin-top: 2px; }
.ds-divider { width: 1px; height: 36px; background: var(--border); }

/* Responsive detection section */
@media (max-width: 768px) {
  .detection-hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .dh-arrow { transform: rotate(90deg); }
  .detection-stats { flex-direction: column; gap: 20px; }
  .ds-divider { width: 40px; height: 1px; }
}

/* ═══════════ PRICING ═══════════ */
#pricing { background: rgba(255,255,255,0.01); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  padding: 36px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.3s;
}
.pricing-card:hover { border-color: rgba(255,255,255,0.1); }

.pricing-popular {
  border-color: rgba(6,182,212,0.3);
  background: rgba(6,182,212,0.03);
  box-shadow: 0 0 40px rgba(6,182,212,0.06);
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.price-header { margin-bottom: 28px; }
.price-header h3 { font-size: 20px; font-weight: 700; color: var(--text-1); margin-bottom: 12px; }
.price {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-1);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 8px;
}
.price small { font-size: 16px; color: var(--text-3); font-weight: 400; }
.price-header p { font-size: 14px; color: var(--text-3); }

.price-features { list-style: none; margin-bottom: 28px; }
.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.price-features li:last-child { border-bottom: none; }
.price-features i { width: 16px; height: 16px; color: var(--emerald); }

/* ═══════════ CTA ═══════════ */
#cta { padding: 100px 0; }

.cta-card {
  padding: 80px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(6,182,212,0.05), rgba(139,92,246,0.05));
  border: 1px solid rgba(6,182,212,0.15);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(6,182,212,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(139,92,246,0.08) 0%, transparent 50%);
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--text-1); margin-bottom: 16px; }
.cta-content p { font-size: 16px; color: var(--text-3); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta-note { font-size: 13px; color: var(--text-4); }

/* Contact info cards */
.contact-info {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.3s;
  min-width: 260px;
}
.contact-item:hover {
  border-color: rgba(6,182,212,0.25);
  background: rgba(6,182,212,0.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(6,182,212,0.12), rgba(139,92,246,0.12));
  border: 1px solid rgba(6,182,212,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon i { width: 20px; height: 20px; color: var(--cyan); }
.contact-label {
  display: block;
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-value {
  display: block;
  font-size: 15px;
  color: var(--text-1);
  font-weight: 600;
}

/* ═══════════ DOCUMENT TYPES ═══════════ */
#documents { background: rgba(255,255,255,0.01); }

.doc-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.doc-type-card {
  padding: 28px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.doc-type-card:hover {
  border-color: rgba(6,182,212,0.15);
  background: rgba(255,255,255,0.04);
  transform: translateY(-3px);
}
.dtc-icon { font-size: 32px; margin-bottom: 16px; }
.doc-type-card h3 { font-size: 17px; font-weight: 700; color: var(--text-1); margin-bottom: 10px; }
.doc-type-card p { font-size: 13px; line-height: 1.65; color: var(--text-3); }

/* ═══════════ FAQ ═══════════ */
#faq { background: var(--bg); }

.faq-list { max-width: 750px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  background: var(--bg-card);
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item:hover { border-color: rgba(255,255,255,0.1); }
.faq-item[open] { border-color: rgba(6,182,212,0.15); background: rgba(6,182,212,0.02); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { flex: 1; }
.faq-item summary i { width: 18px; height: 18px; color: var(--text-4); transition: transform 0.3s; flex-shrink: 0; }
.faq-item[open] summary i { transform: rotate(180deg); color: var(--cyan); }
.faq-item[open] summary { color: var(--cyan-light); }

.faq-answer {
  padding: 0 22px 20px;
}
.faq-answer p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-3);
}
.faq-answer strong { color: var(--text-2); }

/* Responsive */
@media (max-width: 768px) {
  .doc-types-grid { grid-template-columns: 1fr; }
  .faq-item summary { font-size: 14px; padding: 15px 18px; }
}
@media (max-width: 1024px) {
  .doc-types-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════ FOOTER ═══════════ */
footer { padding: 80px 0 40px; border-top: 1px solid var(--border); }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--text-3); margin-top: 16px; line-height: 1.6; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  text-decoration: none;
  transition: all 0.3s;
}
.footer-social a:hover { border-color: rgba(6,182,212,0.3); color: var(--cyan); background: rgba(6,182,212,0.05); }
.footer-social i { width: 16px; height: 16px; }

.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--text-1); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col a { display: block; font-size: 14px; color: var(--text-3); text-decoration: none; padding: 6px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--text-1); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-4);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: block; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(3,7,18,0.95);
    backdrop-filter: blur(20px);
    padding: 16px;
    border-bottom: 1px solid var(--border);
  }
  .features-grid { grid-template-columns: 1fr; }
  .detection-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
  .step { flex-direction: column; text-align: center; gap: 16px; }
  .hero-visual { margin-top: 40px; padding: 10px 20px; }
  .float-badge { display: none; }
  .hero-card { max-width: 100%; }
  .cta-card { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
