/* ═══════════════════════════════
   INDOSECURE — Minimalist Theme
   ═══════════════════════════════ */

:root {
  --bg: #f8f7f4;
  --bg-dark: #0c0c0b;
  --ink: #0c0c0b;
  --ink-dim: rgba(12,12,11,0.45);
  --ink-faint: rgba(12,12,11,0.12);
  --red: #c0392b;
  --red-light: rgba(192,57,43,0.08);
  --red-border: rgba(192,57,43,0.2);
  --surface: rgba(255,255,255,0.7);
  --mono: 'DM Mono', monospace;
  --sans: 'DM Sans', sans-serif;
  --nav-h: 64px;
  --pad: clamp(48px, 8vw, 96px);
  --w: 1080px;
}

*,*::before,*::after { margin:0; padding:0; box-sizing:border-box }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100% }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

/* ─── Custom cursor ─── */
#cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s, width 0.2s, height 0.2s;
  transform: translate(-50%, -50%);
}
#cursor-trail {
  position: fixed;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(192,57,43,0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: width 0.25s, height 0.25s, border-color 0.25s;
  transform: translate(-50%, -50%);
}
#cursor.expand { width: 16px; height: 16px; }
#cursor-trail.expand { width: 44px; height: 44px; border-color: rgba(192,57,43,0.5); }

/* ─── Canvas ─── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* ─── Nav ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 4vw, 48px);
  transition: background 0.4s, border-color 0.4s;
}
nav.scrolled {
  background: rgba(248,247,244,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ink-faint);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--w);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
}
.nav-logo svg { color: var(--red); flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  font-family: var(--mono) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.06em !important;
  color: var(--red) !important;
  border: 1px solid var(--red-border);
  padding: 7px 16px;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover {
  background: var(--red-light) !important;
  color: var(--red) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s;
  transform-origin: center;
}
.hamburger.active span:first-child { transform: rotate(45deg) translate(5.5px, 5.5px); }
.hamburger.active span:last-child  { transform: rotate(-45deg) translate(5.5px, -5.5px); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(248,247,244,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 90;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--red); }

/* ─── Hero ─── */
.hero {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--red);
  padding: 6px 16px;
  border: 1px solid var(--red-border);
  border-radius: 100px;
  background: var(--red-light);
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.tag-dot {
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.12s forwards;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--red);
}

.hero-sub {
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 300;
  color: var(--ink-dim);
  line-height: 1.75;
  max-width: 500px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.24s forwards;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.36s forwards;
}

.hero-note {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
}

/* ─── Countdown ─── */
.countdown {
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.48s forwards;
}
.cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.cd-val {
  font-family: var(--mono);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
  min-width: 2.4ch;
  text-align: center;
}
.cd-unit {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.cd-sep {
  width: 1px;
  height: 28px;
  background: var(--ink-faint);
}

/* ─── Scroll hint ─── */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--ink-faint), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

/* ─── Waitlist form ─── */
.waitlist-form {
  display: flex;
  gap: 0;
  max-width: 420px;
  width: 100%;
  border: 1px solid var(--ink-faint);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s;
  background: white;
}
.waitlist-form:focus-within { border-color: rgba(192,57,43,0.35); }

.waitlist-form input {
  flex: 1;
  padding: 13px 18px;
  background: transparent;
  border: none;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  outline: none;
}
.waitlist-form input::placeholder { color: var(--ink-dim); }

.cta-btn {
  padding: 13px 22px;
  background: var(--ink);
  border: none;
  color: white;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.cta-btn:hover { background: var(--red); }

.form-msg {
  display: none;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: #2e7d32;
  letter-spacing: 0.03em;
}

/* ─── Terminal ─── */
.terminal-wrap {
  position: relative;
  z-index: 10;
  padding: 0 24px var(--pad);
  max-width: 760px;
  margin: 0 auto;
}

.terminal {
  background: #0c0c0b;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.terminal-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.chrome-dots { display: flex; gap: 6px; }
.chrome-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.chrome-dots span:first-child { background: #f85149; }
.chrome-dots span:nth-child(2) { background: #d29922; }
.chrome-dots span:last-child  { background: #3fb950; }
.chrome-title {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
  margin-left: 6px;
}

.terminal-body {
  padding: 20px 22px;
  font-family: var(--mono);
  font-size: 0.73rem;
  line-height: 1.85;
  min-height: 280px;
  max-height: 360px;
  overflow-y: auto;
  color: rgba(255,255,255,0.75);
}
.terminal-body::-webkit-scrollbar { width: 3px; }
.terminal-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 2px; }

.t-line { opacity: 0; animation: termFade 0.25s forwards; }
.t-cmd  { color: #3fb950; }
.t-info { color: rgba(255,255,255,0.65); }
.t-warn { color: #d29922; }
.t-crit { color: #f85149; }
.t-dim  { color: rgba(255,255,255,0.3); }
.t-ok   { color: #3fb950; font-weight: 500; }
.t-indent { padding-left: 20px; }

/* ─── Tech strip ─── */
.tech-strip {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: var(--pad);
}
.strip-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  text-transform: uppercase;
  white-space: nowrap;
}
.strip-items {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.strip-items span {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.strip-items span:hover { color: var(--ink); }

/* ─── Section shared ─── */
.section {
  position: relative;
  z-index: 10;
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 24px var(--pad);
}

.section-header {
  margin-bottom: 52px;
}
.section-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.section-header h2 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}

/* ─── Pipeline ─── */
.pipeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
}
.pipe-node {
  flex: 1;
  min-width: 160px;
  padding: 24px 20px;
  border: 1px solid var(--ink-faint);
  border-radius: 6px;
  transition: border-color 0.3s, background 0.3s;
  cursor: default;
}
.pipe-node:hover {
  border-color: var(--red-border);
  background: var(--red-light);
}
.pipe-arrow {
  flex-shrink: 0;
  width: 32px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 28px;
  color: var(--ink-dim);
  font-size: 1rem;
  font-weight: 300;
}
.pipe-num {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--red);
  margin-bottom: 12px;
}
.pipe-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}
.pipe-node p {
  font-size: 0.72rem;
  color: var(--ink-dim);
  line-height: 1.7;
}

/* ─── Stats bar ─── */
.stats-bar {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 56px 24px;
  gap: 0;
  margin-bottom: var(--pad);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 52px;
}
.stat-rule {
  width: 1px;
  height: 48px;
  background: var(--ink-faint);
}
.stat-n, .stat-suf {
  font-family: var(--mono);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-suf { font-size: 1.2rem; vertical-align: super; }
.stat-d {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-align: center;
}

/* ─── Capabilities ─── */
.caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-faint);
  border: 1px solid var(--ink-faint);
  border-radius: 8px;
  overflow: hidden;
}
.cap-card {
  background: var(--bg);
  padding: 32px 28px;
  transition: background 0.25s;
}
.cap-card:hover { background: white; }
.cap-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid var(--ink-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--red);
  transition: border-color 0.25s;
}
.cap-card:hover .cap-icon { border-color: var(--red-border); background: var(--red-light); }
.cap-card h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.cap-card p {
  font-size: 0.72rem;
  color: var(--ink-dim);
  line-height: 1.8;
}

/* ─── Roadmap ─── */
.roadmap { position: relative; }
.rm-track {
  position: absolute;
  top: 20px;
  left: 20px;
  bottom: 0;
  width: 1px;
  background: var(--ink-faint);
}
.rm-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rm-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  padding-bottom: 32px;
}
.rm-item:last-child { padding-bottom: 0; }
.rm-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-dim);
  background: var(--bg);
  flex-shrink: 0;
  margin-top: 15px;
  position: relative;
  z-index: 2;
  transition: border-color 0.3s;
}
.rm-dot.done  { border-color: #2e7d32; background: #2e7d32; }
.rm-dot.active { border-color: var(--red); background: var(--red); animation: pulse 2s infinite; }
.rm-card {
  flex: 1;
  padding: 20px 24px;
  border: 1px solid var(--ink-faint);
  border-radius: 6px;
  transition: border-color 0.3s;
}
.rm-card.active { border-color: var(--red-border); }
.rm-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.rm-badge {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  color: var(--ink-dim);
  background: rgba(0,0,0,0.05);
}
.rm-badge.done   { color: #2e7d32; background: rgba(46,125,50,0.08); }
.rm-badge.active { color: var(--red); background: var(--red-light); }
.rm-date {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
}
.rm-phase {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 12px;
}
.rm-card ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.rm-card li {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-dim);
  padding-left: 12px;
  position: relative;
}
.rm-card li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--red);
}

/* ─── FAQ ─── */
.faq-list {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--ink-faint);
  border: 1px solid var(--ink-faint);
  border-radius: 8px;
  overflow: hidden;
}
.faq-item {
  background: var(--bg);
  transition: background 0.2s;
}
.faq-item.open { background: white; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ink);
  gap: 16px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--red); }
.faq-chevron {
  flex-shrink: 0;
  color: var(--ink-dim);
  transition: transform 0.3s, color 0.2s;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--red);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p {
  padding: 0 24px 20px;
  font-size: 0.8rem;
  color: var(--ink-dim);
  line-height: 1.85;
}

/* ─── Final CTA ─── */
.final-cta {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--ink-faint);
  padding: var(--pad) 24px;
  text-align: center;
}
.cta-inner {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.final-cta h2 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}
.final-cta p {
  font-size: 0.85rem;
  color: var(--ink-dim);
  line-height: 1.7;
}

/* ─── Footer ─── */
footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--ink-faint);
  padding: 56px 24px 36px;
}
.footer-inner { max-width: var(--w); margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  gap: 40px;
}
.footer-logo {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 0.72rem;
  color: var(--ink-dim);
  line-height: 1.7;
  max-width: 260px;
}
.footer-cols { display: flex; gap: 52px; }
.footer-col h5 {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-dim);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
}

/* ─── 3D tilt system ─── */
.tilt-card {
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(0deg) rotateY(0deg) scale3d(1,1,1);
  transition: transform 0.08s linear, box-shadow 0.3s;
  will-change: transform;
}
.tilt-card:hover {
  box-shadow: 0 24px 48px rgba(0,0,0,0.10), 0 4px 12px rgba(192,57,43,0.08);
}
.tilt-card .tilt-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.18) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.tilt-card:hover .tilt-shine { opacity: 1; }

/* ─── Hero 3D parallax layers ─── */
.hero-inner { transform-style: preserve-3d; }
.hero-tag   { transform: translateZ(40px); }
.hero-title { transform: translateZ(30px); }
.hero-sub   { transform: translateZ(20px); }
.hero-actions { transform: translateZ(15px); }
.countdown  { transform: translateZ(10px); }

/* ─── Magnetic button effect ─── */
.cta-btn {
  position: relative;
  overflow: hidden;
  transition: background 0.2s, transform 0.15s;
}
.cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.cta-btn:hover::after { opacity: 1; }

/* ─── Pipeline 3D hover ─── */
.pipe-node {
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.23,1,0.32,1), border-color 0.3s, background 0.3s;
}
.pipe-node:hover {
  transform: translateY(-6px) rotateX(3deg) rotateY(-2deg);
}

/* ─── Feature cards 3D ─── */
.cap-card {
  transform-style: preserve-3d;
  transition: transform 0.12s linear, background 0.25s, box-shadow 0.3s;
  will-change: transform;
  position: relative;
  overflow: hidden;
}

/* ─── Roadmap card 3D ─── */
.rm-card {
  transform-style: preserve-3d;
  transition: transform 0.12s linear, border-color 0.3s, box-shadow 0.3s;
  will-change: transform;
  position: relative;
  overflow: hidden;
}

/* ─── Stats bar hover ─── */
.stat {
  transition: transform 0.3s cubic-bezier(0.23,1,0.32,1);
  cursor: default;
}
.stat:hover { transform: translateY(-4px) scale(1.04); }

/* ─── Terminal 3D ─── */
.terminal {
  transform-style: preserve-3d;
  transition: transform 0.12s linear, box-shadow 0.3s;
  will-change: transform;
}

/* ─── Scroll reveal ─── */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(192,57,43,0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(192,57,43,0); }
}
@keyframes termFade { to { opacity: 1; } }
@keyframes scrollPulse {
  0%   { opacity: 0.4; transform: scaleY(0.8) translateY(-8px); }
  50%  { opacity: 1;   transform: scaleY(1)   translateY(0); }
  100% { opacity: 0.4; transform: scaleY(0.8) translateY(8px); }
}

/* ─── Tablet ─── */
@media(max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .pipeline { gap: 0; flex-wrap: nowrap; }
  .caps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; }
}

/* ─── Mobile ─── */
@media(max-width: 640px) {
  .hero-title { font-size: 2.6rem; }
  .hero-sub   { font-size: 0.85rem; }
  .pipeline   { flex-direction: column; }
  .pipe-arrow { transform: rotate(90deg); padding: 0 0 0 24px; align-self: flex-start; height: 32px; }
  .pipe-node  { min-width: 0; width: 100%; }
  .caps-grid  { grid-template-columns: 1fr; }
  .stats-bar  { flex-direction: column; gap: 24px; }
  .stat-rule  { width: 48px; height: 1px; }
  .stat       { padding: 0; }
  .footer-cols { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  body { cursor: auto; }
  #cursor, #cursor-trail { display: none; }
  .countdown { gap: 12px; }
  .cd-sep    { height: 18px; }
}

@media(max-width: 420px) {
  .waitlist-form { flex-direction: column; border-radius: 6px; }
  .waitlist-form input { text-align: center; border-bottom: 1px solid var(--ink-faint); }
  .cta-btn { border-radius: 0 0 4px 4px; text-align: center; }
}

@media(prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
