/* ============================================================
   ORUKKAWAVE — style.css  v3.0
   Light/Dark modes · Security section · Neural payments
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ─────────────────────────────────────────────
   THEME VARIABLES
   Light mode is default. .dark overrides.
───────────────────────────────────────────── */
:root {
  --bg:         #030308;
  --bg2:        #080C14;
  --bg3:        #0C1020;
  --cyan:       #00CFFF;
  --cyanglow:   rgba(0,207,255,0.16);
  --cyan-dim:   rgba(0,207,255,0.08);
  --cyan-mid:   rgba(0,207,255,0.45);
  --orange:     #FF5500;
  --text:       #E8ECF2;
  --muted:      rgba(232,236,242,0.5);
  --dim:        rgba(232,236,242,0.25);
  --border:     rgba(0,207,255,0.14);
  --border-hi:  rgba(0,207,255,0.4);
  --card-bg:    #080C14;
  --card-shadow:0 2px 30px rgba(0,0,0,0.4);
  --hero-ol:    linear-gradient(to bottom, rgba(3,3,8,0.08) 0%, rgba(3,3,8,0.6) 60%, #030308 100%);
  --ff-h:       'Syne', sans-serif;
  --ff-b:       'DM Sans', sans-serif;
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --t:          background 0.4s var(--ease), color 0.4s var(--ease),
                border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

/* Light mode — activated when user toggles */
html.light, html.light body {
  --bg:         #F4F6FB;
  --bg2:        #ECEEF6;
  --bg3:        #E2E5EF;
  --cyan:       #007BB5;
  --cyanglow:   rgba(0,123,181,0.15);
  --cyan-dim:   rgba(0,123,181,0.08);
  --cyan-mid:   rgba(0,123,181,0.5);
  --orange:     #D44400;
  --text:       #0A0D1A;
  --muted:      rgba(10,13,26,0.55);
  --dim:        rgba(10,13,26,0.32);
  --border:     rgba(0,123,181,0.16);
  --border-hi:  rgba(0,123,181,0.5);
  --card-bg:    #FFFFFF;
  --card-shadow:0 2px 20px rgba(10,13,26,0.07);
  --hero-ol:    linear-gradient(to bottom, rgba(244,246,251,0.05) 0%, rgba(244,246,251,0.55) 55%, #F4F6FB 100%);
}

/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-b);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  transition: var(--t);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─────────────────────────────────────────────
   LAYOUT
───────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }

/* ─────────────────────────────────────────────
   UTILITY
───────────────────────────────────────────── */
.text-cyan   { color: var(--cyan); }
.text-orange { color: var(--orange); }

.eyebrow {
  font-family: var(--ff-h);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--cyan);
  flex-shrink: 0;
}
.eyebrow--center { justify-content: center; }

/* ─────────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--ff-h);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.6rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--cyan);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.btn-primary { color: #000; }
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.18);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease);
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { box-shadow: 0 0 28px var(--cyanglow); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hi);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}

.btn-orange {
  background: var(--orange);
  color: #fff;
}
.btn-orange:hover { box-shadow: 0 0 28px rgba(212,68,0,0.4); }

.pulse-ring {
  display: inline-block;
  position: relative;
}
.pulse-ring::before, .pulse-ring::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 3px;
  border: 1px solid var(--cyan);
  opacity: 0;
  animation: pulseOut 2.5s ease-out infinite;
}
.pulse-ring::after { animation-delay: 1.25s; }
@keyframes pulseOut {
  0%   { inset: -3px; opacity: 0.5; }
  100% { inset: -20px; opacity: 0; }
}

/* ─────────────────────────────────────────────
   THEME TOGGLE
───────────────────────────────────────────── */
#theme-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.38rem 0.9rem;
  cursor: pointer;
  font-family: var(--ff-h);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}
#theme-btn:hover { border-color: var(--cyan); color: var(--cyan); }

.toggle-track {
  width: 30px; height: 17px;
  border-radius: 9px;
  background: var(--bg3);
  border: 1px solid var(--border);
  position: relative;
  transition: background 0.3s;
}
.toggle-track { background: var(--cyan-dim); border-color: var(--border-hi); }

.toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--muted);
  transition: all 0.3s var(--ease);
}
html.light .toggle-thumb { transform: translateX(13px); background: var(--cyan); }

/* ─────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────── */
#nav {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(244,246,251,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  transition: var(--t);
}
#nav { background: rgba(3,3,8,0.92); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  font-family: var(--ff-h);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
  flex-shrink: 0;
}
.nav-logo .logo-main { color: var(--text); }
.nav-logo .logo-sub {
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-transform: uppercase;
}
.nav-logo .logo-sub a { color: var(--cyan); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-family: var(--ff-h);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-right { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  width: 22px; height: 1.5px;
  background: var(--text);
  display: block;
  transition: all 0.3s;
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-bottom: 5rem;
}
#neural-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hero-ol);
  transition: background 0.4s;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 9rem;
}
.hero-kicker {
  font-family: var(--ff-h);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero-kicker .pipe { color: var(--border-hi); }
.hero-kicker a { color: var(--cyan); opacity: 0.75; transition: opacity 0.2s; }
.hero-kicker a:hover { opacity: 1; }
.hero-title {
  font-family: var(--ff-h);
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 1.75rem;
}
.hero-title .line { display: block; }
.hero-title .line-accent { display: block; color: var(--cyan); }
.hero-sub {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--muted);
  max-width: 520px;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.hero-markets {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.hero-markets span {
  font-family: var(--ff-h);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.hero-markets strong {
  font-family: var(--ff-h);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  opacity: 0.35;
  animation: scrollBob 2s ease-in-out infinite;
}
.hero-scroll span {
  font-family: var(--ff-h);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
}
@keyframes scrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ─────────────────────────────────────────────
   TICKER
───────────────────────────────────────────── */
#ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  overflow: hidden;
  padding: 0.8rem 0;
  transition: var(--t);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerRun 26s linear infinite;
}
.ticker-item {
  font-family: var(--ff-h);
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 2rem;
  color: var(--muted);
}
.ticker-item.accent { color: var(--cyan); }
.ticker-item.orange { color: var(--orange); }
@keyframes tickerRun {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────────
   SECTIONS (shared)
───────────────────────────────────────────── */
section { padding: 7rem 0; transition: var(--t); }
.section-title {
  font-family: var(--ff-h);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin-bottom: 1rem;
}
.section-body {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 0.85rem;
}

/* ─────────────────────────────────────────────
   WHAT IS / TECHNOLOGY
───────────────────────────────────────────── */
#what { background: var(--bg); }
.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border);
}
.stat-number {
  font-family: var(--ff-h);
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 0.22rem;
}
.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  font-family: var(--ff-h);
}
/* Brain canvas panel */
.brain-panel {
  position: relative;
  height: 360px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg2);
  overflow: hidden;
  transition: var(--t);
}
.brain-panel::before {
  content: 'NEURAL ACTIVITY';
  position: absolute;
  top: 1rem; left: 1.4rem;
  font-family: var(--ff-h);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  color: var(--cyan);
  opacity: 0.65;
  z-index: 2;
}
.brain-panel::after {
  content: 'LIVE';
  position: absolute;
  top: 1rem; right: 1.4rem;
  font-family: var(--ff-h);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  color: var(--orange);
  z-index: 2;
}
#brain-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* EEG strip */
.eeg-strip {
  margin-top: 0.9rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1.1rem 1.4rem;
  position: relative;
  transition: var(--t);
}
.eeg-strip-label-left {
  position: absolute; top: 0.75rem; left: 1.1rem;
  font-family: var(--ff-h); font-size: 0.52rem;
  letter-spacing: 0.14em; color: var(--cyan); opacity: 0.65;
}
.eeg-strip-label-right {
  position: absolute; top: 0.75rem; right: 1.1rem;
  font-family: var(--ff-h); font-size: 0.52rem;
  letter-spacing: 0.12em; color: var(--orange);
}
.eeg-path {
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: drawEEG 3.2s var(--ease) 0.5s forwards, glowPulse 4s ease-in-out 3.7s infinite;
}
@keyframes drawEEG { to { stroke-dashoffset: 0; } }
@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(0,123,181,0.4)); }
  50%       { filter: drop-shadow(0 0 8px rgba(0,123,181,0.8)); }
}
.dark .eeg-path { animation: drawEEG 3.2s var(--ease) 0.5s forwards, glowPulseDark 4s ease-in-out 3.7s infinite; }
@keyframes glowPulseDark {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(0,207,255,0.4)); }
  50%       { filter: drop-shadow(0 0 8px rgba(0,207,255,0.9)); }
}
.eeg-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
}
.eeg-footer span {
  font-family: var(--ff-h); font-size: 0.54rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim);
}
.eeg-footer .eeg-active { color: var(--cyan); }
/* Chip tags */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}
.chip {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.32rem 0.75rem;
  font-family: var(--ff-h);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: var(--t);
}
.chip-accent { color: var(--cyan); border-color: var(--border-hi); }

/* ─────────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────────── */
#how { background: var(--bg2); }
.how-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin-top: 4rem;
  position: relative;
}
.step {
  padding: 0 2.5rem;
  text-align: center;
  position: relative;
}
.step:not(:last-child) { border-right: 1px solid var(--border); }
.step-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  border: 1px solid var(--border-hi);
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  transition: all 0.4s var(--ease);
}
.step-icon:hover { box-shadow: 0 0 32px var(--cyanglow); }
.step-icon svg { width: 28px; height: 28px; }
.step-num {
  font-family: var(--ff-h);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}
.step-title {
  font-family: var(--ff-h);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.9rem;
}
.step-body { font-size: 0.88rem; color: var(--muted); font-weight: 300; line-height: 1.75; }

/* ─────────────────────────────────────────────
   SECURITY & PRIVACY
───────────────────────────────────────────── */
#security {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
#security::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 70% at 50% 100%, rgba(0,123,181,0.06), transparent 70%);
  pointer-events: none;
}
#security::before {
  background: radial-gradient(ellipse 65% 70% at 50% 100%, rgba(0,207,255,0.04), transparent 70%);
}
.security-header {
  text-align: center;
  margin-bottom: 4.5rem;
}
.security-header .section-body { max-width: 560px; margin-left: auto; margin-right: auto; }
/* Two-col risk + pricing */
.security-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}
/* Risk panel */
.risk-panel {
  background: var(--card-bg);
  border: 1px solid rgba(212,68,0,0.25);
  border-radius: 8px;
  padding: 2.25rem 2rem;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  transition: var(--t);
}
.risk-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--orange), transparent);
}
.risk-heading {
  font-family: var(--ff-h);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.risk-icon { font-size: 1.4rem; }
.risk-body { font-size: 0.88rem; color: var(--muted); line-height: 1.8; margin-bottom: 1.4rem; }
.risk-list { display: flex; flex-direction: column; gap: 0.65rem; }
.risk-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
}
.risk-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  margin-top: 0.5rem;
}
/* Pricing comparison */
.pricing-label {
  font-family: var(--ff-h);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1.1rem;
}
.pricing-cards { display: flex; flex-direction: column; gap: 0.9rem; }
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 1.3rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.3s var(--ease);
  box-shadow: var(--card-shadow);
}
.pricing-card:hover { transform: translateX(4px); }
.pricing-card.featured {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan-mid), var(--card-shadow);
}
.pricing-card.featured:hover {
  box-shadow: 0 0 0 1px var(--cyan), 0 0 24px var(--cyanglow);
}
.pc-left { display: flex; align-items: center; gap: 1rem; }
.pc-icon { font-size: 1.5rem; width: 40px; text-align: center; flex-shrink: 0; }
.pc-name { font-family: var(--ff-h); font-size: 0.85rem; font-weight: 700; margin-bottom: 0.18rem; }
.pc-desc { font-size: 0.72rem; color: var(--muted); }
.pc-badge {
  display: inline-block;
  font-family: var(--ff-h);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--cyan);
  color: #fff;
  border-radius: 2px;
  padding: 0.18rem 0.55rem;
  margin-top: 0.38rem;
}
.dark .pc-badge { color: #000; }
.pc-price {
  font-family: var(--ff-h);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  text-align: right;
  flex-shrink: 0;
}
.pc-price small {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 400;
}
.pricing-card.featured .pc-name,
.pricing-card.featured .pc-price { color: var(--cyan); }
/* Quote card */
.security-quote {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  margin-bottom: 3.5rem;
  transition: var(--t);
}
.shield-wrap {
  position: relative;
  width: 64px; height: 64px;
  margin: 0 auto 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shield-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  opacity: 0;
  animation: shieldPulse 2.5s ease-out infinite;
}
.shield-ring:nth-child(2) { animation-delay: 0.83s; }
.shield-ring:nth-child(3) { animation-delay: 1.66s; }
@keyframes shieldPulse {
  0%   { transform: scale(0.8); opacity: 0.65; }
  100% { transform: scale(1.7); opacity: 0; }
}
.shield-icon { font-size: 2.2rem; position: relative; z-index: 1; }
.security-quote blockquote {
  font-family: var(--ff-h);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  max-width: 720px;
  margin: 0 auto 1.4rem;
}
.security-quote blockquote em { color: var(--cyan); font-style: normal; }
.security-quote cite {
  font-size: 0.72rem;
  color: var(--dim);
  font-style: normal;
  font-family: var(--ff-h);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* Features grid */
.security-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 3.5rem;
}
.sec-feature {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 1.6rem 1.75rem;
  transition: all 0.3s var(--ease);
  box-shadow: var(--card-shadow);
}
.sec-feature:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px var(--cyanglow);
}
.sec-feature-icon { font-size: 1.6rem; margin-bottom: 0.85rem; }
.sec-feature-title {
  font-family: var(--ff-h);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}
.sec-feature-body { font-size: 0.76rem; color: var(--muted); line-height: 1.65; }
/* Security CTA */
.security-cta { text-align: center; }
.security-cta-note {
  font-size: 0.68rem;
  color: var(--dim);
  margin-top: 0.85rem;
  font-family: var(--ff-h);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────
   USE CASES
───────────────────────────────────────────── */
#usecases { background: var(--bg); }
.usecase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem;
}
.usecase-card {
  background: var(--bg);
  padding: 2.5rem 2.25rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.usecase-card:hover { background: var(--bg2); }
.usecase-card:hover .uc-num { color: var(--cyan); }
.uc-num {
  font-family: var(--ff-h);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--bg3);
  line-height: 1;
  margin-bottom: 1.25rem;
  transition: color 0.4s;
  letter-spacing: -0.04em;
}
.uc-icon { font-size: 1.9rem; margin-bottom: 1.1rem; }
.uc-title {
  font-family: var(--ff-h);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
.uc-body { font-size: 0.86rem; color: var(--muted); line-height: 1.75; font-weight: 300; }
.uc-tag {
  display: inline-block;
  margin-top: 1.1rem;
  font-family: var(--ff-h);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--border-hi);
  padding: 0.22rem 0.6rem;
  border-radius: 2px;
}

/* ─────────────────────────────────────────────
   APPLICATIONS
───────────────────────────────────────────── */
#applications { background: var(--bg2); }
.app-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.1rem;
  margin-top: 3rem;
}
.app-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s;
  box-shadow: var(--card-shadow);
}
.app-card:hover { transform: translateY(-5px); border-color: var(--cyan); box-shadow: 0 8px 32px var(--cyanglow); }
.app-card--payments { border-color: rgba(0,123,181,0.25); }
.app-card--payments::before,
.app-card--sos::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.app-card--payments::before { background: var(--cyan); }
.app-card--sos        { border-color: rgba(212,68,0,0.25); }
.app-card--sos::before { background: var(--orange); }
.app-eyebrow {
  font-family: var(--ff-h);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.app-card--payments .app-eyebrow { color: var(--cyan); }
.app-card--safety   .app-eyebrow { color: var(--muted); }
.app-card--sos      .app-eyebrow { color: var(--orange); }
.app-icon { font-size: 2.2rem; margin-bottom: 1.4rem; display: block; }
.app-title {
  font-family: var(--ff-h);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.app-body { font-size: 0.86rem; color: var(--muted); line-height: 1.75; font-weight: 300; }
.app-features { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; }
.app-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.app-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  margin-top: 0.44rem;
}
.app-card--sos .app-dot { background: var(--orange); }

/* ─────────────────────────────────────────────
   VISION
───────────────────────────────────────────── */
#vision { background: var(--bg); position: relative; overflow: hidden; text-align: center; }
.vision-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(0,123,181,0.05), transparent 70%);
  pointer-events: none;
}
.vision-bg {
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(0,207,255,0.04), transparent 70%);
}
.vision-bg-num {
  font-family: var(--ff-h);
  font-size: clamp(5rem, 18vw, 16rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,123,181,0.1);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.04em;
}
.vision-bg-num { -webkit-text-stroke: 1px rgba(0,207,255,0.07); }
.vision-content { position: relative; z-index: 1; }
.vision-title {
  font-family: var(--ff-h);
  font-size: clamp(1.9rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 740px;
  margin-left: auto; margin-right: auto;
}
.vision-body {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 4rem;
  font-weight: 300;
  line-height: 1.85;
}
.vision-timeline { display: flex; justify-content: center; gap: 0; margin-top: 4rem; }
.vt-item { flex: 1; max-width: 215px; padding: 0 1.25rem; text-align: center; }
.vt-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  background: var(--bg);
  margin: 0 auto 1.3rem;
  transition: background 0.3s, box-shadow 0.3s;
  cursor: default;
}
.vt-item:hover .vt-dot { background: var(--cyan); box-shadow: 0 0 14px var(--cyanglow); }
.vt-year { font-family: var(--ff-h); font-size: 1.1rem; font-weight: 800; color: var(--cyan); margin-bottom: 0.38rem; }
.vt-title { font-family: var(--ff-h); font-size: 0.78rem; font-weight: 600; margin-bottom: 0.38rem; }
.vt-body  { font-size: 0.72rem; color: var(--dim); line-height: 1.6; }

/* ─────────────────────────────────────────────
   ORUKKA FAMILY
───────────────────────────────────────────── */
#family {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.family-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.family-link {
  font-family: var(--ff-h);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: gap 0.2s;
  flex-shrink: 0;
}
.family-link:hover { gap: 0.8rem; }
.family-products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.fp {
  background: var(--bg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background 0.3s;
}
.fp:hover { background: var(--bg3); }
.fp-icon { font-size: 1.75rem; margin-bottom: 0.85rem; }
.fp-name {
  font-family: var(--ff-h);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.28rem;
}
.fp-name span { color: var(--cyan); }
.fp-desc { font-size: 0.65rem; color: var(--dim); line-height: 1.5; }
.fp-active { background: var(--bg3); border-bottom: 2px solid var(--cyan); }

/* ─────────────────────────────────────────────
   FOUNDER
───────────────────────────────────────────── */
#founder { border-top: 1px solid var(--border); background: var(--bg); }
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.founder-sig {
  font-family: var(--ff-h);
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 0.28rem;
  letter-spacing: -0.02em;
}
.founder-role {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  font-family: var(--ff-h);
  margin-bottom: 1.4rem;
}
.founder-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 2.5rem 2.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--t);
}
.founder-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--cyan), transparent);
}
.founder-credentials { display: flex; flex-direction: column; gap: 1.1rem; }
.fc-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}
.fc-item:last-child { border-bottom: none; padding-bottom: 0; }
.fc-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 1px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.fc-title { font-family: var(--ff-h); font-size: 0.78rem; font-weight: 600; margin-bottom: 0.18rem; }
.fc-sub   { font-size: 0.72rem; color: var(--dim); }

/* ─────────────────────────────────────────────
   PRE-ORDER CTA
───────────────────────────────────────────── */
#preorder {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--border);
}
#preorder::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(0,123,181,0.06), transparent 60%);
  pointer-events: none;
}
#preorder::before {
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(0,207,255,0.06), transparent 60%);
}
.preorder-title {
  font-family: var(--ff-h);
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.preorder-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 3rem;
  font-weight: 300;
  line-height: 1.8;
  position: relative; z-index: 1;
}
.preorder-note {
  font-size: 0.7rem;
  color: var(--dim);
  margin-top: 1.25rem;
  font-family: var(--ff-h);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.preorder-markets {
  display: flex;
  justify-content: center;
  gap: 2.25rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.pm-item { display: flex; flex-direction: column; align-items: center; gap: 0.28rem; }
.pm-flag { font-size: 1.5rem; }
.pm-name { font-family: var(--ff-h); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
#footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2rem;
  transition: var(--t);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-logo { font-family: var(--ff-h); font-weight: 800; font-size: 1.05rem; display: flex; flex-direction: column; line-height: 1; gap: 2px; margin-bottom: 1.25rem; }
.footer-logo .logo-main { color: var(--text); }
.footer-logo .logo-sub  { font-size: 0.5rem; letter-spacing: 0.14em; color: var(--cyan); text-transform: uppercase; }
.footer-tagline { font-size: 0.82rem; color: var(--dim); line-height: 1.7; max-width: 200px; }
.footer-col-title { font-family: var(--ff-h); font-size: 0.63rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { font-size: 0.83rem; color: var(--dim); transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.7rem; color: var(--dim); font-family: var(--ff-h); letter-spacing: 0.06em; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.7rem; color: var(--dim); transition: color 0.2s; font-family: var(--ff-h); letter-spacing: 0.06em; }
.footer-legal a:hover { color: var(--cyan); }

/* ─────────────────────────────────────────────
   MODAL
───────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,13,26,0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
  padding: 1rem;
}
.modal-overlay { background: rgba(3,3,8,0.85); }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--card-bg);
  border: 1px solid var(--border-hi);
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
  padding: 2.75rem 2.75rem 2.25rem;
  position: relative;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.38s var(--ease), background 0.4s;
  box-shadow: 0 0 60px var(--cyanglow), 0 30px 80px rgba(0,0,0,0.12);
}
.modal-box { box-shadow: 0 0 60px rgba(0,207,255,0.12), 0 30px 80px rgba(0,0,0,0.5); }
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--cyan), transparent);
}
.modal-close {
  position: absolute;
  top: 1.1rem; right: 1.4rem;
  background: none;
  border: none;
  color: var(--dim);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
  font-family: var(--ff-h);
  line-height: 1;
}
.modal-close:hover { color: var(--cyan); }
.modal-eeg { width: 100%; height: 46px; margin-bottom: 1.5rem; overflow: visible; }
.modal-eeg-path { stroke-dasharray: 420; stroke-dashoffset: 420; }
.modal-overlay.open .modal-eeg-path { animation: drawModalEEG 1s var(--ease) 0.22s forwards; }
@keyframes drawModalEEG { to { stroke-dashoffset: 0; } }
.modal-logo { font-family: var(--ff-h); font-size: 1.5rem; font-weight: 800; color: var(--text); margin-bottom: 0.18rem; }
.modal-logo span { color: var(--cyan); }
.modal-sub { font-family: var(--ff-h); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.9rem; }
.form-group label {
  font-family: var(--ff-h);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group label .req { color: var(--orange); margin-left: 0.2rem; }
.form-group input,
.form-group select {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.7rem 1rem;
  color: var(--text);
  font-family: var(--ff-b);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, background 0.4s, box-shadow 0.2s;
  width: 100%;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-dim);
}
.form-group input::placeholder { color: var(--dim); }
.form-group select option { background: var(--bg2); color: var(--text); }
.btn-pay {
  width: 100%;
  margin-top: 1.35rem;
  background: var(--cyan);
  color: #fff;
  font-family: var(--ff-h);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.05rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-pay { color: #000; }
.btn-pay::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.18);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease);
}
.btn-pay:hover::before { transform: translateX(0); }
.btn-pay:hover { box-shadow: 0 0 30px var(--cyanglow); }
.modal-note {
  text-align: center;
  font-size: 0.65rem;
  color: var(--dim);
  margin-top: 1rem;
  font-family: var(--ff-h);
  letter-spacing: 0.05em;
  line-height: 1.65;
}
.modal-note a { color: var(--cyan); }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .what-grid    { grid-template-columns: 1fr; gap: 4rem; }
  .how-steps    { grid-template-columns: 1fr; gap: 3.5rem; }
  .how-steps .step:not(:last-child) { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 3.5rem; }
  .security-main    { grid-template-columns: 1fr; }
  .security-features{ grid-template-columns: 1fr 1fr; }
  .app-grid     { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; gap: 4rem; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .usecase-grid { grid-template-columns: 1fr; }
  .vision-timeline { flex-wrap: wrap; gap: 2.5rem; }
  .family-products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-links    { display: none; }
  .nav-hamburger{ display: flex; }
  #theme-btn .toggle-label { display: none; }
  .hero-title   { font-size: clamp(2.8rem, 11vw, 4.5rem); }
  .security-features { grid-template-columns: 1fr; }
  .pricing-cards .pricing-card { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .footer-grid  { grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction: column; text-align: center; }
  .form-row     { grid-template-columns: 1fr; }
  .modal-box    { padding: 2rem 1.5rem 1.75rem; }
  .family-products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  section    { padding: 5rem 0; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .preorder-markets { gap: 1.25rem; }
}

/* ─────────────────────────────────────────────
   LIGHT MODE COMPONENT OVERRIDES
   Applied when html has class="light"
───────────────────────────────────────────── */
html.light #nav { background: rgba(244,246,251,0.92); }
html.light .modal-overlay { background: rgba(10,13,26,0.55); }
html.light .modal-box { box-shadow: 0 0 50px rgba(0,123,181,0.15), 0 30px 80px rgba(0,0,0,0.12); }
html.light .btn-primary { color: #fff; }
html.light .btn-pay { color: #fff; }
html.light .toggle-thumb { transform: translateX(0); background: var(--muted); }
html.light .toggle-track { background: var(--bg3); border-color: var(--border); }
html.light #preorder::before { background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(0,123,181,0.06), transparent 60%); }
html.light .vision-bg { background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(0,123,181,0.05), transparent 70%); }
html.light .vision-bg-num { -webkit-text-stroke: 1px rgba(0,123,181,0.1); }
html.light #security::before { background: radial-gradient(ellipse 65% 70% at 50% 100%, rgba(0,123,181,0.06), transparent 70%); }
html.light .eeg-path { animation: drawEEG 3.2s var(--ease) 0.5s forwards, glowPulseLight 4s ease-in-out 3.7s infinite; }
@keyframes glowPulseLight {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(0,123,181,0.4)); }
  50%       { filter: drop-shadow(0 0 8px rgba(0,123,181,0.8)); }
}

/* Logo wave accent */
.nav-logo .logo-wave { color: var(--cyan); }
.footer-logo .logo-wave { color: var(--cyan); }
