/* ═══════════════════════════════════════════════════════
   ROOT & RESET — LIGHT THEME
═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #ffffff;
  --bg2:       #f8f9fa;
  --surface:   #f2f4f6;
  --surface2:  #eaecef;
  --border:    #e0e3e8;
  --border2:   #c8cdd5;
  --accent:    #2563eb;
  --accent-dim: rgba(37,99,235,0.07);
  --accent-glow: rgba(37,99,235,0.18);
  --green:     #16a34a;
  --green-dim: rgba(22,163,74,0.08);
  --amber:     #b45309;
  --text:      #0d0d0d;
  --text2:     #2a3040;
  --muted:     #4b5563;
  --muted2:    #8898aa;
  --card:      #ffffff;
  --card2:     #f6f7f9;
  --ink:       #0f1117;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

/* Custom cursor — universally visible on any background */
.cursor {
  width: 12px; height: 12px;
  background: #ffffff;
  border-radius: 50%;
  position: fixed; pointer-events: none;
  z-index: 9999; transform: translate(-50%, -50%);
  transition: width 0.18s ease, height 0.18s ease;
  mix-blend-mode: difference;
}

.cursor-ring {
  width: 38px; height: 38px;
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 50%; position: fixed;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.22s ease, height 0.22s ease;
  mix-blend-mode: difference;
}

/* Subtle dot grid background */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none; z-index: 0;
}

/* ═══════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-logo {
  font-size: 17px; font-weight: 800;
  letter-spacing: 0.01em; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
}

.nav-logo-icon {
  width: 30px; height: 30px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

.nav-logo span { color: var(--muted); }

.nav-center {
  display: flex; align-items: center; gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 40px; padding: 4px;
}

.nav-center a {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; cursor: pointer;
  padding: 8px 18px; border-radius: 36px;
  transition: color 0.2s, background 0.2s;
  border: none; background: none;
}

.nav-center a:hover { color: var(--text); background: rgba(0,0,0,0.04); }
.nav-center a.active { color: var(--ink); background: #ffffff; box-shadow: 0 1px 4px rgba(0,0,0,0.1); }

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

.nav-contact-btn {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  background: transparent; color: var(--muted);
  border: 1px solid var(--border2); padding: 9px 18px; border-radius: 4px;
  cursor: pointer; transition: color 0.2s, border-color 0.2s;
}

.nav-contact-btn:hover { color: var(--text); border-color: var(--ink); }

.nav-cta-btn {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--ink); color: #ffffff;
  border: none; padding: 10px 20px; border-radius: 4px;
  cursor: pointer; transition: opacity 0.2s, transform 0.2s;
  font-weight: 500;
}

.nav-cta-btn:hover { opacity: 0.82; transform: translateY(-1px); }

/* ═══════════════════════════════════════════════════════
   PAGE SYSTEM
═══════════════════════════════════════════════════════ */
.page { display: none; padding-top: 68px; min-height: 100vh; position: relative; z-index: 2; }
/* page.active handled by override block below */

@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════
   HOME — HERO
═══════════════════════════════════════════════════════ */
.hero {
  min-height: calc(100vh - 68px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 48px 80px;
  max-width: 1200px; margin: 0 auto; position: relative;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 32px; width: fit-content;
  animation: slideIn 0.7s 0.1s ease both;
}

.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; width: 24px; height: 1px; background: var(--muted2);
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-headline {
  font-size: clamp(56px, 9vw, 110px);
  font-weight: 800; line-height: 0.92;
  letter-spacing: -0.04em; margin-bottom: 36px;
  animation: heroFade 0.8s 0.2s ease both;
}

@keyframes heroFade {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-headline .word1 { display: block; color: var(--ink); }
.hero-headline .word2 { display: block; color: var(--muted); }
.hero-headline .word3 {
  display: block;
  -webkit-text-stroke: 1.5px rgba(0,0,0,0.18);
  color: transparent;
}

.hero-sub {
  font-family: 'DM Mono', monospace;
  font-size: 14px; line-height: 1.9; color: var(--muted);
  max-width: 480px; margin-bottom: 48px;
  animation: heroFade 0.8s 0.35s ease both;
}

.hero-actions {
  display: flex; gap: 16px; align-items: center;
  animation: heroFade 0.8s 0.5s ease both;
}

.btn-primary {
  font-family: 'DM Mono', monospace;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--ink); color: #ffffff;
  border: none; padding: 16px 32px; border-radius: 3px;
  cursor: pointer; transition: all 0.25s;
  font-weight: 500; text-decoration: none; display: inline-block;
  position: relative; overflow: hidden;
}

.btn-primary:hover { opacity: 0.82; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }

.btn-outline {
  font-family: 'DM Mono', monospace;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  background: transparent; color: var(--text2);
  border: 1.5px solid var(--border2); padding: 16px 32px; border-radius: 3px;
  cursor: pointer; transition: all 0.25s; text-decoration: none; display: inline-block;
}

.btn-outline:hover { color: var(--ink); border-color: var(--ink); background: var(--accent-dim); }

/* Hero floating cards */
.hero-float {
  position: absolute; right: 48px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
  animation: heroFade 0.8s 0.6s ease both;
}

.float-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px; padding: 18px 22px;
  min-width: 210px; box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.float-card:hover { transform: translateX(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }

.float-card-label {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted2); margin-bottom: 6px;
}

.float-card-value { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.float-card-value.green { color: var(--green); }
.float-card-value.amber { color: var(--amber); }

/* ═══════════════════════════════════════════════════════
   MARQUEE
═══════════════════════════════════════════════════════ */
.marquee-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 16px 0; overflow: hidden; position: relative; z-index: 2;
}

.marquee-track {
  display: flex; animation: marquee 30s linear infinite; width: max-content;
}

.marquee-item {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); padding: 0 44px;
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
}

.marquee-item span { color: var(--muted2); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════
   SECTIONS COMMON
═══════════════════════════════════════════════════════ */
.section { padding: 120px 48px; max-width: 1200px; margin: 0 auto; }

.section-kicker {
  display: flex; align-items: center; gap: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}

.section-kicker::before { content: ''; width: 20px; height: 1px; background: var(--muted2); }

.section-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink);
}

.section-title span { color: var(--muted); }

.section-body {
  font-family: 'DM Mono', monospace;
  font-size: 13px; line-height: 1.9; color: var(--muted);
}

/* ═══════════════════════════════════════════════════════
   HOME — PRODUCTS
═══════════════════════════════════════════════════════ */
.product-showcase { padding: 100px 48px; max-width: 1200px; margin: 0 auto; }

.product-big-card {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 60px;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 72px; align-items: center;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.product-big-card:hover {
  border-color: var(--border2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.09);
}

.product-big-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--ink);
}

.product-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }

.product-num {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.15em; color: var(--muted);
}

.live-badge {
  display: flex; align-items: center; gap: 6px;
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green); background: var(--green-dim);
  border: 1px solid rgba(22,163,74,0.2);
  padding: 4px 12px; border-radius: 20px;
}

.live-badge::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--green); animation: blink 2s infinite;
}

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.product-big-card h3 {
  font-size: 52px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; line-height: 1;
}

.product-big-card .product-sub {
  font-family: 'DM Mono', monospace; font-size: 13px; color: var(--muted); line-height: 1.8; margin-bottom: 28px;
}

.feature-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }

.feature-pill {
  font-family: 'DM Mono', monospace; font-size: 11px;
  padding: 6px 14px; border-radius: 20px;
  border: 1px solid var(--border); color: var(--text2);
  background: #ffffff; transition: all 0.2s;
}

.feature-pill:hover { border-color: var(--ink); color: var(--ink); background: var(--accent-dim); }

/* Terminal */
.terminal-wrap {
  background: #111111;
  border: 1px solid #2a2a2a;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.terminal-top {
  background: #1c1c1c; border-bottom: 1px solid #2a2a2a;
  padding: 12px 16px; display: flex; align-items: center; gap: 8px;
}

.t-btn { width: 11px; height: 11px; border-radius: 50%; }

.terminal-top span {
  font-family: 'DM Mono', monospace; font-size: 11px; color: #555; margin-left: 6px;
}

.terminal-body { padding: 28px; font-family: 'DM Mono', monospace; font-size: 12px; line-height: 2.1; }

.t-c  { color: #444; }
.t-p  { color: #f0a050; }
.t-cmd{ color: #cccccc; }
.t-ok { color: #4ec94e; }
.t-info{ color: #50c8f0; }
.t-warn{ color: #f0a050; }
.t-blink{ animation: blink 1.2s step-end infinite; color: #ccc; }

/* Coming soon */
.coming-card {
  margin-top: 20px;
  border: 1.5px dashed var(--border2);
  border-radius: 16px; padding: 44px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface);
}

.coming-text h4 { font-size: 22px; font-weight: 800; color: var(--muted2); margin-bottom: 8px; }
.coming-text p { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--muted2); }
.coming-num { font-size: 64px; font-weight: 800; color: var(--border2); letter-spacing: -0.05em; }

/* ═══════════════════════════════════════════════════════
   HOME — MISSION
═══════════════════════════════════════════════════════ */
.mission-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--ink);
  padding: 120px 48px;
  position: relative; overflow: hidden;
}

.mission-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 100px; align-items: center;
}

.mission-quote {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800; line-height: 1.25; letter-spacing: -0.02em;
  color: #ffffff;
}

.mission-quote em { font-style: normal; color: #a0a0a0; }

.mission-body {
  font-family: 'DM Mono', monospace;
  font-size: 13px; color: #b0b8c8; line-height: 1.9; margin-bottom: 36px;
}

.mission-body p + p { margin-top: 16px; }

.principle-row { display: flex; flex-direction: column; gap: 14px; }

.principle-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px; border-radius: 8px;
  border: 1px solid #2a2a2a;
  transition: border-color 0.2s, background 0.2s;
}

.principle-item:hover { border-color: #3a3a3a; background: rgba(255,255,255,0.04); }

.principle-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.07); border: 1px solid #333;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}

.principle-text h5 { font-size: 13px; font-weight: 700; color: #f0f0f0; margin-bottom: 3px; }
.principle-text p { font-family: 'DM Mono', monospace; font-size: 11px; color: #8898aa; line-height: 1.7; }

/* ═══════════════════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════════════════ */
.about-hero-wrap { border-bottom: 1px solid var(--border); }

.about-hero {
  padding: 100px 48px 80px;
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}

.about-hero-left h2 {
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 800; letter-spacing: -0.04em; line-height: 0.95;
  margin-bottom: 24px; margin-top: 16px; color: var(--ink);
}

.about-hero-left h2 span { color: var(--muted); }

.about-hero-left .about-hero-intro {
  font-family: 'DM Mono', monospace;
  font-size: 13px; color: var(--muted); line-height: 1.9;
}

.about-hero-right { padding-top: 16px; display: flex; flex-direction: column; gap: 18px; }

.about-hero-right p {
  font-family: 'DM Mono', monospace;
  font-size: 13px; color: var(--muted); line-height: 1.9;
}

.about-highlight-box {
  background: var(--ink);
  border-radius: 10px; padding: 24px 28px; margin-top: 4px;
}

.about-highlight-box p {
  font-family: 'DM Mono', monospace;
  font-size: 13px; color: #aaaaaa; line-height: 1.8; margin: 0;
}

.about-highlight-box p strong { color: #ffffff; font-weight: 500; }

.about-quick-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }

.about-fact {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 16px 18px; transition: border-color 0.2s, box-shadow 0.2s;
}

.about-fact:hover { border-color: var(--border2); box-shadow: 0 2px 10px rgba(0,0,0,0.06); }

.about-fact-label {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted2); margin-bottom: 6px;
}

.about-fact-value { font-size: 15px; font-weight: 700; color: var(--ink); }
.about-fact-value span { color: var(--muted); }

/* Stats row */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.stat-box {
  padding: 48px 40px; border-right: 1px solid var(--border); transition: background 0.2s;
}

.stat-box:last-child { border-right: none; }
.stat-box:hover { background: #ffffff; }

.stat-num { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 6px; }
.stat-label { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Values */
.values-section { padding: 100px 48px; max-width: 1200px; margin: 0 auto; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 56px; }

.value-card {
  background: var(--card2); border: 1px solid var(--border);
  padding: 40px; transition: all 0.3s; position: relative; overflow: hidden;
}

.value-card::after {
  content: attr(data-n);
  position: absolute; bottom: -10px; right: 16px;
  font-size: 80px; font-weight: 800;
  color: rgba(0,0,0,0.03); pointer-events: none;
}

.value-card:hover { border-color: var(--border2); background: #ffffff; box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.value-card:first-child { border-radius: 16px 0 0 16px; }
.value-card:last-child  { border-radius: 0 16px 16px 0; }

.value-icon-wrap {
  width: 48px; height: 48px;
  background: var(--ink); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}

.value-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--ink); }
.value-card p { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--muted); line-height: 1.9; }

/* Story & Timeline */
.story-section {
  background: var(--ink);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 100px 48px;
}

.story-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px;
}

.story-left { position: sticky; top: 88px; height: fit-content; }

.story-left h3 { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; line-height: 1.1; color: #fff; }
.story-left h3 span { color: #888; }
.story-left p { font-family: 'DM Mono', monospace; font-size: 12px; color: #666; line-height: 1.9; margin-bottom: 20px; }
.story-left .section-kicker { color: #666; }
.story-left .section-kicker::before { background: #444; }

/* Timeline */
.timeline { position: relative; padding-left: 32px; }

.timeline::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 1px; background: linear-gradient(to bottom, #ffffff, #333, transparent);
}

.tl-item { position: relative; margin-bottom: 44px; padding-top: 4px; }

.tl-item::before {
  content: ''; position: absolute; left: -28px; top: 8px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #222; border: 2px solid #333; transition: border-color 0.3s;
}

.tl-item.active::before { border-color: #fff; background: #fff; }

.tl-date { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: #6b7fa0; margin-bottom: 8px; }
.tl-title { font-size: 17px; font-weight: 700; color: #ffffff; margin-bottom: 8px; }
.tl-body { font-family: 'DM Mono', monospace; font-size: 12px; color: #8898b8; line-height: 1.8; }

/* Philosophy */
.philosophy-section { padding: 100px 48px; max-width: 1200px; margin: 0 auto; }

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

.phil-card {
  background: var(--card2); border: 1px solid var(--border);
  border-radius: 12px; padding: 36px; transition: all 0.3s;
  position: relative; overflow: hidden;
}

.phil-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; bottom: 0;
  background: var(--ink); opacity: 0; transition: opacity 0.3s;
}

.phil-card:hover { border-color: var(--border2); box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.phil-card:hover::before { opacity: 1; }

.phil-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.phil-card h4 span { font-size: 20px; }
.phil-card p { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--muted); line-height: 1.9; }

/* Tech band */
.tech-band {
  background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 80px 48px;
}

.tech-inner { max-width: 1200px; margin: 0 auto; }

.tech-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }

.tech-tag {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.06em;
  padding: 9px 18px; border-radius: 3px;
  border: 1px solid var(--border2); color: var(--text2);
  background: #ffffff; transition: all 0.2s; cursor: default;
}

.tech-tag:hover { border-color: var(--ink); color: var(--ink); background: var(--accent-dim); }

/* ═══════════════════════════════════════════════════════
   DOKSHIELD PAGE
═══════════════════════════════════════════════════════ */
.dok-hero { padding: 100px 48px 80px; max-width: 1200px; margin: 0 auto; position: relative; }

.dok-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.dok-logo {
  width: 80px; height: 80px; border: 2px solid var(--ink); border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 40px;
  margin-bottom: 28px; background: var(--ink);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
  0%,100% { box-shadow: 0 8px 32px rgba(37,99,235,0.20); }
  50%      { box-shadow: 0 16px 56px rgba(37,99,235,0.36); }
}

.dok-product-of {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}

.dok-product-of::before { content: '←'; color: var(--ink); }

.dok-hero h2 { font-size: clamp(48px, 7vw, 76px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.9; margin-bottom: 18px; color: var(--ink); }
.dok-hero h2 span { color: var(--muted); }
.dok-hero .tagline { font-family: 'DM Mono', monospace; font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 32px; }

/* Features */
.features-section { padding: 0 48px 100px; max-width: 1200px; margin: 0 auto; }
.features-header { margin-bottom: 48px; }

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

.feat-card {
  background: var(--card2); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px; transition: all 0.3s;
}

.feat-card:hover { border-color: var(--border2); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); background: #fff; }

/* ═══════════════════════════════════════════════════════
   FEAT ICON — updated for SVG
═══════════════════════════════════════════════════════ */
.feat-icon {
  width: 48px; height: 48px; background: var(--ink); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; flex-shrink: 0;
}
.feat-icon svg { color: #ffffff; stroke: #ffffff; }

/* ═══════════════════════════════════════════════════════
   COMPLIANCE BANNER
═══════════════════════════════════════════════════════ */
.compliance-banner {
  margin-top: 48px; margin-bottom: 4px;
}
.compliance-banner-inner {
  background: linear-gradient(135deg, #0a0f1e 0%, #0d1525 50%, #0a1020 100%);
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: 20px; padding: 44px 48px;
  position: relative; overflow: hidden;
}
.compliance-banner-inner::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #2563eb, #60a5fa, #2563eb, transparent);
}
.compliance-banner-inner::after {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.compliance-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #60a5fa; margin-bottom: 16px;
}
.compliance-headline {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.25;
  color: #ffffff; margin-bottom: 36px; max-width: 720px;
}
.compliance-frameworks {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-bottom: 32px;
}
.compliance-framework {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 28px 22px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.3s;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.compliance-framework:hover { transform: translateY(-3px); }

.compliance-framework.cf-frame-soc2:hover {
  border-color: rgba(37,99,235,0.6);
  background: rgba(37,99,235,0.08);
  box-shadow: 0 0 28px rgba(37,99,235,0.25), 0 0 60px rgba(37,99,235,0.1);
}
.compliance-framework.cf-frame-iso:hover {
  border-color: rgba(16,185,129,0.6);
  background: rgba(16,185,129,0.07);
  box-shadow: 0 0 28px rgba(16,185,129,0.22), 0 0 60px rgba(16,185,129,0.09);
}
.compliance-framework.cf-frame-gdpr:hover {
  border-color: rgba(139,92,246,0.6);
  background: rgba(139,92,246,0.07);
  box-shadow: 0 0 28px rgba(139,92,246,0.22), 0 0 60px rgba(139,92,246,0.09);
}
.compliance-framework.cf-frame-apa:hover {
  border-color: rgba(245,158,11,0.6);
  background: rgba(245,158,11,0.07);
  box-shadow: 0 0 28px rgba(245,158,11,0.22), 0 0 60px rgba(245,158,11,0.09);
}

/* ── Toggle / expanded state ── */
.compliance-framework { cursor: pointer; }

.compliance-framework.cf-active.cf-frame-soc2 {
  border-color: rgba(37,99,235,0.7);
  background: rgba(37,99,235,0.11);
  box-shadow: 0 0 36px rgba(37,99,235,0.3), 0 0 80px rgba(37,99,235,0.12);
  transform: translateY(-3px);
}
.compliance-framework.cf-active.cf-frame-iso {
  border-color: rgba(16,185,129,0.7);
  background: rgba(16,185,129,0.10);
  box-shadow: 0 0 36px rgba(16,185,129,0.28), 0 0 80px rgba(16,185,129,0.11);
  transform: translateY(-3px);
}
.compliance-framework.cf-active.cf-frame-gdpr {
  border-color: rgba(139,92,246,0.7);
  background: rgba(139,92,246,0.10);
  box-shadow: 0 0 36px rgba(139,92,246,0.28), 0 0 80px rgba(139,92,246,0.11);
  transform: translateY(-3px);
}
.compliance-framework.cf-active.cf-frame-apa {
  border-color: rgba(245,158,11,0.7);
  background: rgba(245,158,11,0.10);
  box-shadow: 0 0 36px rgba(245,158,11,0.28), 0 0 80px rgba(245,158,11,0.11);
  transform: translateY(-3px);
}

.cf-desc-panel {
  font-family: 'DM Mono', monospace;
  font-size: 12.5px; line-height: 1.85; text-align: left;
  overflow: hidden; max-height: 0;
  transition: max-height 0.42s cubic-bezier(0.22,1,0.36,1),
              opacity 0.3s ease;
  opacity: 0;
}
.cf-desc-panel.cf-panel-open {
  max-height: 400px; opacity: 1;
}
.cf-panel-what {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 9px; display: block;
}
.cf-panel-body { color: #a0b4cc; }
.cf-panel-impl {
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.cf-panel-impl-label {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 7px; display: block; opacity: 0.7;
}
.cf-panel-impl-body { color: #7a9abf; }

.cf-badge {
  font-family: 'DM Mono', monospace;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 6px; display: inline-block;
  margin-bottom: 16px;
}
.cf-soc2  { background: rgba(37,99,235,0.18);  color: #93c5fd; border: 1px solid rgba(37,99,235,0.35); }
.cf-iso   { background: rgba(16,185,129,0.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); }
.cf-gdpr  { background: rgba(139,92,246,0.15); color: #c4b5fd; border: 1px solid rgba(139,92,246,0.3); }
.cf-apa   { background: rgba(245,158,11,0.15); color: #fcd34d; border: 1px solid rgba(245,158,11,0.3); }
.cf-desc {
  font-family: 'DM Mono', monospace;
  font-size: 13.5px; color: #8898b8; line-height: 1.85; text-align: center;
}
.compliance-footer-row {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px;
}
.compliance-footer-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: 'DM Mono', monospace; font-size: 13.5px; color: #a0b4cc;
  line-height: 1.65; font-weight: 500;
}
.compliance-footer-item svg { color: #60a5fa; flex-shrink: 0; margin-top: 2px; width: 15px; height: 15px; }
@media (max-width: 900px) {
  .compliance-frameworks { grid-template-columns: 1fr 1fr; }
  .compliance-footer-row { grid-template-columns: 1fr; }
  .compliance-banner-inner { padding: 28px 24px; }
}

.feat-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.feat-card p { font-family: 'DM Mono', monospace; font-size: 12px; color: #3a4455; line-height: 1.85; }

/* How it works */
.how-section { background: var(--ink); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 100px 48px; }
.how-inner { max-width: 1200px; margin: 0 auto; }
.how-section .section-kicker { color: #555; }
.how-section .section-kicker::before { background: #444; }
.how-section .section-title { color: #fff; }
.how-section .section-title span { color: #888; }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; position: relative; }

.steps-grid::before {
  content: ''; position: absolute; top: 36px; left: 13%;
  width: 74%; height: 1px;
  background: linear-gradient(90deg, #ffffff 0%, #333 40%); z-index: 0;
}

.step-card {
  background: #151515; border: 1px solid #222;
  border-radius: 12px; padding: 28px 24px; text-align: center;
  position: relative; z-index: 1; transition: all 0.3s;
}

.step-card:hover { border-color: #444; transform: translateY(-3px); }

.step-num {
  width: 56px; height: 56px; border-radius: 50%; border: 2px solid #2a2a2a;
  background: #111; display: flex; align-items: center; justify-content: center;
  font-family: 'DM Mono', monospace; font-size: 14px; color: #6b7fa0;
  margin: 0 auto 20px;
}

.step-card:first-child .step-num { border-color: #2563eb; color: #7aa8f8; box-shadow: 0 0 18px rgba(37,99,235,0.18); }
.step-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: #f0f4ff; }
.step-card p { font-family: 'DM Mono', monospace; font-size: 11px; color: #8898b8; line-height: 1.8; }

/* Pricing */
.pricing-section { padding: 100px 48px; max-width: 1200px; margin: 0 auto; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }

.price-card {
  background: var(--card2); border: 1px solid var(--border);
  border-radius: 16px; padding: 40px; transition: all 0.3s; position: relative; overflow: hidden;
}

.price-card.featured {
  background: var(--ink); border-color: var(--ink);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.price-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute; top: 16px; right: -28px;
  font-family: 'DM Mono', monospace; font-size: 9px;
  letter-spacing: 0.1em; background: #ffffff; color: #111;
  padding: 5px 44px; transform: rotate(45deg);
}

.price-card:hover:not(.featured) { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); border-color: var(--border2); }

.price-plan { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.price-card.featured .price-plan { color: #666; }

.price-amount { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 4px; color: var(--ink); }
.price-card.featured .price-amount { color: #fff; }
.price-amount span { font-size: 16px; color: var(--muted); font-weight: 400; }
.price-card.featured .price-amount span { color: #555; }

.price-desc { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.price-card.featured .price-desc { color: #666; }

.price-divider { height: 1px; background: var(--border); margin-bottom: 20px; }
.price-card.featured .price-divider { background: #2a2a2a; }

.price-feature { display: flex; align-items: center; gap: 10px; font-family: 'DM Mono', monospace; font-size: 12px; color: var(--text2); margin-bottom: 12px; }
.price-feature::before { content: '✓'; color: var(--green); font-size: 13px; }
.price-card.featured .price-feature { color: #999; }
.price-card.featured .price-feature::before { color: #5adb5a; }

.price-note { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--muted2); text-align: center; margin-top: 32px; }

/* ═══════════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════════ */
.contact-hero {
  padding: 100px 48px 80px; max-width: 1200px; margin: 0 auto;
  border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}

.contact-hero h2 { font-size: clamp(44px, 6vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; margin-bottom: 24px; margin-top: 16px; color: var(--ink); }
.contact-hero h2 span { color: var(--muted); }
.contact-hero p { font-family: 'DM Mono', monospace; font-size: 13px; color: var(--muted); line-height: 1.9; }

.contact-details-card {
  background: var(--ink); border-radius: 16px; padding: 40px;
  display: flex; flex-direction: column; gap: 0;
}

.contact-detail-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid #1e1e1e;
}

.contact-detail-item:last-child { border-bottom: none; }

.contact-detail-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid #2a2a2a;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}

.contact-detail-label { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #555; margin-bottom: 4px; }
.contact-detail-value { font-size: 15px; font-weight: 600; color: #ffffff; }
.contact-detail-value a { color: #aaaaaa; text-decoration: none; transition: color 0.2s; }
.contact-detail-value a:hover { color: #ffffff; }

/* Contact form */
.contact-form-section { padding: 80px 48px; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; }

.form-title { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; color: var(--ink); }
.form-sub { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--muted); margin-bottom: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }

.form-label { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.form-input, .form-select, .form-textarea {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 6px; padding: 13px 15px;
  font-family: 'DM Mono', monospace; font-size: 13px;
  color: var(--text); outline: none; transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}

.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,0.07); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted2); }
.form-select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-textarea { min-height: 140px; resize: vertical; line-height: 1.7; }

.form-submit { margin-top: 22px; width: 100%; font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; background: var(--ink); color: #fff; border: none; padding: 18px; border-radius: 6px; cursor: pointer; transition: all 0.25s; font-weight: 500; }
.form-submit:hover { opacity: 0.85; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.form-note { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--muted2); text-align: center; margin-top: 12px; }

/* FAQ */
.faq-title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 28px; color: var(--ink); }

.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; cursor: pointer; }
.faq-item:first-of-type { border-top: 1px solid var(--border); }

.faq-q { font-size: 14px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: color 0.2s; }
.faq-q:hover { color: var(--muted); }
.faq-arrow { color: var(--muted2); font-size: 20px; flex-shrink: 0; transition: transform 0.3s; font-weight: 300; }
.faq-a { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--muted); line-height: 1.8; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, margin-top 0.2s; }
.faq-item.open .faq-a { max-height: 200px; margin-top: 12px; }
.faq-item.open .faq-arrow { transform: rotate(45deg); color: var(--ink); }

/* Social */
.social-band { background: var(--surface); border-top: 1px solid var(--border); padding: 60px 48px; }
.social-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.social-text h4 { font-size: 22px; font-weight: 800; margin-bottom: 4px; color: var(--ink); }
.social-text p { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--muted); }
.social-links { display: flex; gap: 12px; }

.social-link {
  width: 48px; height: 48px; border-radius: 10px;
  background: #ffffff; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; cursor: pointer; text-decoration: none;
  transition: all 0.2s; box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.social-link:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.1); }

/* ═══════════════════════════════════════════════════════
   CTA BAND (shared)
═══════════════════════════════════════════════════════ */
.cta-band { padding: 120px 48px; text-align: center; background: var(--surface); border-top: 1px solid var(--border); }

.cta-band h3 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; color: var(--ink); }
.cta-band h3 span { color: var(--muted); }
.cta-band p { font-family: 'DM Mono', monospace; font-size: 13px; color: var(--muted); margin-bottom: 40px; }
.cta-btn-group { display: flex; gap: 16px; justify-content: center; }

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
footer { border-top: 1px solid var(--border); background: var(--ink); padding: 60px 48px 40px; position: relative; z-index: 2; }

.footer-top { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }

.footer-brand-col .footer-logo { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: #fff; }

.footer-brand-col .footer-logo-icon { width: 28px; height: 28px; border: 2px solid #fff; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 13px; }

.footer-logo span { color: #666; }
.footer-brand-col p { font-family: 'DM Mono', monospace; font-size: 12px; color: #666; line-height: 1.8; max-width: 240px; }

.footer-col h5 { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: #444; margin-bottom: 20px; }

.footer-col a { display: block; font-family: 'DM Mono', monospace; font-size: 12px; color: #888; text-decoration: none; cursor: pointer; margin-bottom: 12px; transition: color 0.2s; }
.footer-col a:hover { color: #ffffff; }

.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid #1a1a1a; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-family: 'DM Mono', monospace; font-size: 11px; color: #444; }
.footer-bottom a { font-family: 'DM Mono', monospace; font-size: 11px; color: #444; text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: #888; }

/* ═══════════════════════════════════════════════════════
   REVEALS & DELAYS
═══════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* ═══════════════════════════════════════════════════════
   BLUE ACCENT OVERRIDES (applied after base styles)
═══════════════════════════════════════════════════════ */

/* Buttons — blue primary */
.btn-primary {
  background: #2563eb !important; color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(37,99,235,0.25) !important;
  border-radius: 5px !important;
  transition: background 0.2s, box-shadow 0.2s, transform 0.18s !important;
}
.btn-primary:hover {
  background: #1d4ed8 !important;
  box-shadow: 0 8px 28px rgba(37,99,235,0.38) !important;
  transform: translateY(-2px) !important; opacity: 1 !important;
}

/* Nav CTA — blue */
.nav-cta-btn {
  background: #2563eb !important; color: #fff !important;
  box-shadow: 0 2px 10px rgba(37,99,235,0.28) !important;
}
.nav-cta-btn:hover { background: #1d4ed8 !important; opacity: 1 !important; transform: none; }

/* Section kicker — blue bar + blue text */
.section-kicker { color: #2563eb !important; gap: 10px !important; margin-bottom: 16px !important; }
.section-kicker::before { width: 20px !important; height: 2px !important; background: linear-gradient(90deg,#2563eb,#93c5fd) !important; }

/* Dark-section kicker overrides */
.story-left .section-kicker { color: #4a7cdc !important; }
.story-left .section-kicker::before { background: #2a50a0 !important; }
.how-section .section-kicker { color: #4a7cdc !important; }
.how-section .section-kicker::before { background: #2a50a0 !important; }

/* story-left body text — readable on dark */
.story-left p { color: #8898b8 !important; }

/* Feat-card hover — blue accent bottom line */
.feat-card { position: relative; overflow: hidden; }
.feat-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.feat-card:hover::after { transform: scaleX(1); }
.feat-card:hover { border-color: #bdd0f8 !important; box-shadow: 0 8px 32px rgba(37,99,235,0.12) !important; transform: translateY(-4px) !important; }

/* Phil-card left accent bar — blue */
.phil-card::before { background: linear-gradient(to bottom, #2563eb, #60a5fa) !important; }
.phil-card:hover { border-color: #bdd0f8 !important; box-shadow: 0 4px 24px rgba(37,99,235,0.1) !important; }

/* Step-card hover blue */
.step-card:hover { border-color: #2563eb !important; box-shadow: 0 4px 24px rgba(37,99,235,0.18) !important; transform: translateY(-4px) !important; }
.step-card:hover .step-num { border-color: #2563eb !important; color: #7aa8f8 !important; }

/* Price checkmarks — blue */
.price-feature::before { color: #2563eb !important; }
.price-card.featured .price-feature::before { color: #93c5fd !important; }
.price-card:hover:not(.featured) { border-color: #bdd0f8 !important; box-shadow: 0 12px 36px rgba(37,99,235,0.10) !important; }

/* Stat hover — blue number */
.stat-box:hover .stat-num { color: #2563eb; transition: color 0.2s; }

/* Marquee dots */
.marquee-item span { color: #2563eb !important; }

/* Tech tag hover */
.tech-tag:hover { border-color: #2563eb !important; color: #2563eb !important; background: rgba(37,99,235,0.06) !important; }

/* Product card top border — blue */
.product-big-card::before { background: linear-gradient(90deg, #2563eb, #60a5fa) !important; }

/* Page transition */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page.active { display: block; animation: pageFadeIn 0.42s cubic-bezier(0.22,1,0.36,1) both; }

/* Logo pulse — blue glow */
@keyframes logoPulse {
  0%,100% { box-shadow: 0 8px 32px rgba(37,99,235,0.20); }
  50%      { box-shadow: 0 16px 56px rgba(37,99,235,0.36); }
}

@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-center { display: none; }
  .hero, .section, .product-showcase { padding-left: 24px; padding-right: 24px; }
  .hero-float { display: none; }
  .hero-headline { font-size: clamp(48px, 12vw, 80px); }
  .product-big-card { grid-template-columns: 1fr; gap: 36px; padding: 32px; }
  .mission-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-hero { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px 48px; }
  .about-quick-facts { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-box:nth-child(2) { border-right: none; }
  .values-grid { grid-template-columns: 1fr; gap: 16px; }
  .value-card:first-child, .value-card:last-child { border-radius: 12px; }
  .story-inner { grid-template-columns: 1fr; gap: 40px; }
  .story-left { position: static; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .features-big-grid { grid-template-columns: 1fr 1fr; }
  .dok-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .dok-hero, .features-section, .how-section .how-inner, .pricing-section { padding-left: 24px; padding-right: 24px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .contact-hero, .contact-form-section { grid-template-columns: 1fr; gap: 40px; padding-left: 24px; padding-right: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .social-inner { flex-direction: column; gap: 24px; text-align: center; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .story-section, .values-section, .philosophy-section, .tech-band { padding-left: 24px; padding-right: 24px; }
  .mission-band, .cta-band, .social-band, .how-section { padding-left: 24px; padding-right: 24px; }
}
/* ═══════════════════════════════════════════════════════
   EARLY ACCESS FORM PAGE
═══════════════════════════════════════════════════════ */
.ea-hero {
  padding: 80px 48px 60px; max-width: 1200px; margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.ea-hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.ea-hero h2 {
  font-size: clamp(38px, 5.5vw, 64px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 0.96;
  margin-bottom: 20px; color: var(--ink);
}
.ea-hero h2 span { color: var(--muted); }
.ea-hero p {
  font-family: 'DM Mono', monospace; font-size: 13px;
  color: var(--muted); line-height: 1.9; max-width: 560px;
}
.ea-form-wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 64px 48px 100px;
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 80px;
}
.ea-form-card {
  background: var(--card2); border: 1px solid var(--border);
  border-radius: 20px; padding: 48px;
  position: relative; overflow: hidden;
}
.ea-form-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}
.ea-form-title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; color: var(--ink); }
.ea-form-sub { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--muted); margin-bottom: 36px; line-height: 1.7; }
.ea-section-label {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin: 28px 0 16px;
  display: flex; align-items: center; gap: 10px;
}
.ea-section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.ea-section-label:first-of-type { margin-top: 0; }
.ea-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ea-group { display: flex; flex-direction: column; gap: 6px; }
.ea-group.full { grid-column: 1 / -1; }
.ea-label {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.ea-required { color: #e24b4a; margin-left: 3px; }
.ea-input, .ea-select, .ea-textarea {
  background: #ffffff; border: 1.5px solid var(--border);
  border-radius: 6px; padding: 12px 14px;
  font-family: 'DM Mono', monospace; font-size: 13px;
  color: var(--text); outline: none; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ea-input:focus, .ea-select:focus, .ea-textarea:focus {
  border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.ea-input::placeholder, .ea-textarea::placeholder { color: var(--muted2); }
.ea-select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  background-color: #ffffff;
}
.ea-textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.ea-modules-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; margin-top: 4px;
}
.ea-module-check {
  display: flex; align-items: center; gap: 9px;
  font-family: 'DM Mono', monospace; font-size: 12px; color: var(--text2);
  padding: 9px 12px; border-radius: 6px; border: 1px solid var(--border);
  background: #ffffff; cursor: pointer; transition: all 0.18s;
  user-select: none;
}
.ea-module-check input { accent-color: #2563eb; width: 14px; height: 14px; cursor: pointer; }
.ea-module-check:has(input:checked) {
  border-color: #2563eb; background: rgba(37,99,235,0.05); color: #1e40af;
}
.ea-submit {
  margin-top: 32px; width: 100%;
  font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  background: #2563eb; color: #fff; border: none; padding: 18px;
  border-radius: 6px; cursor: pointer; font-weight: 500;
  transition: all 0.25s; box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.ea-submit:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(37,99,235,0.4); }
.ea-submit:disabled { opacity: 0.65; transform: none; cursor: default; }
.ea-note {
  font-family: 'DM Mono', monospace; font-size: 10px;
  color: var(--muted2); text-align: center; margin-top: 14px; line-height: 1.7;
}
/* Sidebar */
.ea-sidebar { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.ea-info-card {
  background: var(--ink); border-radius: 14px; padding: 28px;
}
.ea-info-card-title {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #4a6da0; margin-bottom: 18px;
}
.ea-info-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid #1a1a1a;
}
.ea-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.ea-info-icon {
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  background: rgba(255,255,255,0.05); border: 1px solid #2a2a2a;
  display: flex; align-items: center; justify-content: center;
}
.ea-info-icon svg { color: #60a5fa; }
.ea-info-label {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase; color: #4a5568; margin-bottom: 3px;
}
.ea-info-val { font-size: 13px; font-weight: 600; color: #d0d8e8; }
.ea-promise-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px;
}
.ea-promise-card h5 { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: var(--ink); }
.ea-promise-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-family: 'DM Mono', monospace; font-size: 12px; color: var(--muted);
  margin-bottom: 10px; line-height: 1.6;
}
.ea-promise-item::before {
  content: ''; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(37,99,235,0.1); border: 1.5px solid #2563eb;
  flex-shrink: 0; margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8L6.5 11L12.5 5' stroke='%232563eb' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}
@media (max-width: 900px) {
  .ea-form-wrap { grid-template-columns: 1fr; gap: 40px; padding: 40px 24px 60px; }
  .ea-hero { padding: 60px 24px 40px; }
  .ea-grid { grid-template-columns: 1fr; }
  .ea-modules-grid { grid-template-columns: 1fr; }
  .ea-form-card { padding: 28px 22px; }
}

/* EA page animations — trigger on page.active, not IntersectionObserver */
@keyframes eaFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page.active .ea-animate {
  animation: eaFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) both;
}
.page.active .ea-delay-1 { animation-delay: 0.1s; }
.page.active .ea-delay-2 { animation-delay: 0.2s; }
.page.active .ea-delay-3 { animation-delay: 0.3s; }
