/* ===== Reset & Tokens ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #000000;
  --bg-elevated: #0a0a0a;
  --bg-card: #0d0d0d;
  --border: #1f1f1f;
  --border-strong: #2a2a2a;
  --text: #fafafa;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --accent: #f59e0b;
  --accent-soft: #fbbf24;
  --green: #22c55e;
  --red: #ef4444;
  --violet: #a78bfa;
  --amber: #f59e0b;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius: 12px;
  --radius-lg: 16px;
  --max: 1120px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  background: var(--text);
  color: #000;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 150ms ease, transform 150ms ease;
}
.btn-primary:hover { opacity: 0.9; }
.btn-primary.large { height: 46px; padding: 0 24px; font-size: 15px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 15px;
  transition: color 150ms ease;
}
.btn-ghost:hover { color: var(--text); }
.btn-ghost span { transition: transform 150ms ease; }
.btn-ghost:hover span { transform: translateX(3px); }

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--text);
}
.logo img {
  display: block;
  height: 20px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.32));
}

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 150ms ease;
}
.nav-links a:hover { color: var(--text); }

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

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
  height: 32px;
}
.lang-icon {
  margin: 0 6px 0 8px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease;
  font-family: var(--font);
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
  background: rgba(255,255,255,0.1);
  color: var(--text);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 340px;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 25%, #000 60%);
  z-index: 1;
  pointer-events: none;
}

.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  will-change: transform, opacity;
  pointer-events: none;
  transform-origin: center center;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.15);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, 
      rgba(0,0,0,0.25) 0%, 
      rgba(0,0,0,0.45) 35%, 
      rgba(0,0,0,0.75) 60%, 
      rgba(0,0,0,0.95) 78%, 
      #000 88%, 
      #000 100%
    ),
    radial-gradient(ellipse at center, transparent 10%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}

/* soft gleam that sweeps across the whole hero block */
.hero-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
.hero-shine::before {
  content: '';
  position: absolute;
  top: -10%;
  bottom: -10%;
  width: 28%;
  left: -40%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255,255,255,0) 35%,
    rgba(255,255,255,0.07) 48%,
    rgba(255,255,255,0.16) 50%,
    rgba(255,255,255,0.07) 52%,
    rgba(255,255,255,0) 65%,
    transparent 100%
  );
  mix-blend-mode: screen;
  animation: hero-gleam 9s ease-in-out infinite;
}
@keyframes hero-gleam {
  0%, 12% { transform: translateX(0); opacity: 0; }
  18% { opacity: 1; }
  55% { transform: translateX(520%); opacity: 1; }
  62%, 100% { transform: translateX(520%); opacity: 0; }
}

.hero > *:not(.hero-bg) {
  position: relative;
  z-index: 2;
  will-change: transform;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 20px 40px -10px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}
.app-icon img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
  gap: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 36px;
  background: rgba(255,255,255,0.03);
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(52px, 7.2vw, 84px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.038em;
  margin-bottom: 28px;
}
.hero-title .line-white,
.hero-title .gradient {
  display: inline-block;
  background: linear-gradient(
    100deg,
    #fafafa 0%,
    #f7f4ee 28%,
    #e8c98a 52%,
    #f7f1e4 78%,
    #fafafa 100%
  );
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: aurora 10s ease-in-out infinite;
}
.hero-title .gradient {
  animation-delay: -3s;
}
@keyframes aurora {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-meta {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  font-weight: 400;
}

/* ===== Atmosphere after hero ===== */
.page-atmosphere {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(59, 130, 246, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 70% 45% at 80% 60%, rgba(167, 139, 250, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 80%, rgba(245, 158, 11, 0.035) 0%, transparent 50%),
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.04) 0.7px, transparent 1.2px),
    radial-gradient(circle at 85% 35%, rgba(255,255,255,0.035) 0.7px, transparent 1.2px),
    radial-gradient(circle at 30% 70%, rgba(255,255,255,0.03) 0.6px, transparent 1.2px),
    radial-gradient(circle at 70% 75%, rgba(255,255,255,0.032) 0.7px, transparent 1.2px),
    radial-gradient(circle at 50% 15%, rgba(255,255,255,0.025) 0.6px, transparent 1.2px),
    #000;
  background-size: 
    100% 100%, 100% 100%, 100% 100%,
    180px 180px, 220px 220px, 160px 160px, 200px 200px, 240px 240px,
    100% 100%;
  opacity: 0;
  will-change: opacity;
}

/* content sections sit above atmosphere, transparent bg so it shows through edges */
.features,
.prototype,
.roadmap,
.alpha,
.closing,
.footer {
  background: transparent;
  position: relative;
  z-index: 1;
}
.features {
  padding: 100px 0 180px;
  scroll-margin-top: 80px;
}
.features::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  height: 320px;
  background: linear-gradient(to bottom, #000 0%, #000 25%, rgba(0,0,0,0.7) 55%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.features .section-header,
.features-grid {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 0;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2,
.prototype-text h2,
.roadmap h2,
.alpha-inner h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  background: linear-gradient(
    110deg,
    var(--text) 0%,
    var(--text) 40%,
    rgba(255,255,255,0.55) 50%,
    var(--text) 60%,
    var(--text) 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s ease-in-out infinite;
}

/* Features heading stays on top of the transition shadow and keeps the shimmer */
.features .section-header h2 {
  position: relative;
  z-index: 3;
}
@keyframes shimmer {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
}
.section-header p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 200ms ease;
  display: flex;
  flex-direction: column;
}
.feature-card:hover { border-color: var(--border-strong); }

.feature-mock {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  background: #080808;
  flex-shrink: 0;
  height: 152px;
  min-height: 152px;
  display: flex;
  flex-direction: column;
}
.mock-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot.green { background: var(--green); }
.dot.amber { background: var(--amber); }
.dot.violet { background: var(--violet); }

.mock-body { font-size: 13px; }
.mock-body.mono { font-family: var(--mono); font-size: 12px; }
.mock-body.small { font-size: 12px; line-height: 1.7; }
.line { display: flex; gap: 10px; color: var(--text-muted); }
.line, .risk-row, .code-line {
  transition: opacity 0.6s ease, background-color 0.4s ease;
}
.line.updating, .risk-row.updating, .code-line.updating {
  opacity: 0.4;
}
.code-line.new {
  animation: softFadeIn 0.7s ease-out;
}
@keyframes softFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.line.highlight { color: var(--text); background: rgba(167,139,250,0.06); margin: 0 -16px; padding: 2px 16px; }
.time { color: var(--text-dim); min-width: 36px; }
.buy { color: var(--green); }
.sell { color: var(--red); }
.muted { color: var(--text-dim); }

.risk-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.risk-row .green { color: var(--green); }
.risk-row .amber { color: var(--amber); }

.feature-content {
  padding: 24px 20px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.feature-content h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  text-align: center;
}
.feature-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== Prototype ===== */
.prototype {
  width: 100%;
  background: transparent;
  position: relative;
  z-index: 1;
  padding: 32px 0 120px;
  scroll-margin-top: 80px;
}
.prototype-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.prototype-text h2 {
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.prototype-text .lead {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 14px;
}
.prototype-text p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}
.prototype-text .muted { color: var(--text-dim); font-size: 14px; margin-top: 16px; }

.code-window {
  background: #050505;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.code-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
  background: #0a0a0a;
}
.code-tabs .active {
  color: var(--text);
  background: var(--bg-elevated);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.code-tabs .copy {
  margin-left: auto;
  cursor: pointer;
  opacity: 0.6;
}
.code-body {
  padding: 16px 8px 20px 0;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.8;
  height: 214px;
  overflow: hidden;
}
.code-line {
  display: flex;
  gap: 16px;
  padding: 0 16px;
  color: var(--text-muted);
}
.code-line.highlight {
  background: rgba(245, 158, 11, 0.06);
  color: var(--text);
}
.ln { color: #3f3f46; min-width: 20px; text-align: right; }
.code-line .time { color: #52525b; min-width: 70px; }
.code-line .buy { color: var(--green); min-width: 36px; }
.code-line .sell { color: var(--red); min-width: 36px; }

/* ===== Roadmap ===== */
.roadmap {
  width: 100%;
  background: transparent;
  position: relative;
  z-index: 1;
  padding: 80px 0 220px;
  scroll-margin-top: 80px;
}
.roadmap .section-header,
.roadmap-list,
.roadmap-note {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.roadmap-list {
  max-width: 620px;
  margin-bottom: 40px;
}
.roadmap-item {
  display: flex;
  gap: 20px;
  padding-bottom: 48px;
}
.roadmap-item:last-child { padding-bottom: 0; }
.roadmap-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.marker-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #2a2a2a;
  background: #0a0a0a;
  z-index: 1;
  transition: all 0.3s ease;
}
.roadmap-item.done .marker-dot {
  background: #3f3f46;
  border-color: #52525b;
}
.roadmap-item.active .marker-dot {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15), 0 0 16px rgba(245, 158, 11, 0.5);
  width: 12px;
  height: 12px;
  animation: pulse 2s ease-in-out infinite;
}
.marker-line {
  width: 1px;
  flex: 1;
  background: #1f1f1f;
  margin-top: 4px;
}
.roadmap-item.done .marker-line {
  background: #3f3f46;
}
.roadmap-status {
  font-family: var(--mono);
  font-size: 12px;
  color: #52525b;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.roadmap-item.done .roadmap-status { color: #71717a; }
.roadmap-item.active .roadmap-status { color: var(--amber); font-weight: 500; }
.roadmap-status .now {
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.roadmap-content h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.roadmap-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}
.roadmap-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto;
}

/* ===== Alpha ===== */
.alpha {
  width: 100%;
  background: transparent;
  position: relative;
  z-index: 1;
  padding: 100px 0 60px;
  scroll-margin-top: 80px;
}
.alpha-inner {
  max-width: var(--max);
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 72px 48px 64px;
  text-align: center;
  background: linear-gradient(180deg, #0d0d0d 0%, #000 100%);
}
.alpha-inner h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.alpha-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.5;
}
.alpha-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto 32px;
}
.benefit {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}
.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--text-muted);
}
.benefit-icon svg {
  display: block;
}
.alpha-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 46px;
  padding: 0 28px;
  border-radius: 10px;
  font-size: 15px;
  margin: 8px auto 18px;
}
.alpha-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 auto 16px;
  transition: color 150ms ease;
  text-align: center;
}
.alpha-more:hover { color: var(--text); }
.alpha-more span { transition: transform 150ms ease; }
.alpha-more:hover span { transform: translateX(3px); }
.alpha-disclaimer {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-dim);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.alpha .btn-primary {
  position: relative;
  overflow: hidden;
}
.alpha .btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.alpha .btn-primary:hover::after {
  left: 120%;
}
.alpha-disclaimer {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-dim);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Closing ===== */
.closing {
  width: 100%;
  background: transparent;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 24px 72px;
}
.closing-text {
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  will-change: filter, opacity;
}

.closing-sub {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 36px;
}
.closing-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text-dim);
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  position: relative;
}
.closing-brand span {
  background: linear-gradient(
    105deg,
    #9ca3af 0%,
    #9ca3af 32%,
    #e5e7eb 44%,
    #ffffff 50%,
    #e5e7eb 56%,
    #9ca3af 68%,
    #9ca3af 100%
  ) 0 0 / 320% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: chrome-sheen 8.5s ease-in-out infinite;
}
.closing-brand img {
  height: auto;
  width: 36px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
  display: block;
}
.logo-sheen {
  position: relative;
  display: inline-block;
}
.logo-sheen .app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 20px 40px -10px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  position: relative;
}
.logo-sheen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0 35%,
    rgba(255,255,255,0) 42%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0) 58%,
    transparent 65% 100%
  );
  background-size: 280% 100%;
  background-position: 100% 0;
  animation: logo-sheen 8.5s ease-in-out infinite;
  mix-blend-mode: screen;
  pointer-events: none;
  border-radius: 18px;
}
@keyframes logo-sheen {
  0%, 12%   { background-position: 100% 0; }
  28%       { background-position: 0% 0; }
  44%, 100% { background-position: 100% 0; }
}
@keyframes chrome-sheen {
  0%, 12%   { background-position: 100% 0; }
  28%       { background-position: 0% 0; }
  44%, 100% { background-position: 100% 0; }
}

/* ===== Footer ===== */
.footer {
  width: 100%;
  background: transparent;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto 36px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 150ms ease;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
}

/* ===== Animations ===== */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: 1fr; }
  .prototype-inner { grid-template-columns: 1fr; gap: 40px; }
  .alpha-inner { padding: 48px 28px; }
}

@media (max-width: 640px) {
  .nav-links, .nav-actions .btn-primary { display: none; }
  .nav-actions { display: flex; }
  .mobile-menu-btn { display: flex; }
  .footer-inner { flex-direction: column; }
  .hero-title { font-size: 42px; }
  .hero { padding-top: 120px; }
}

/* Functional mobile menu; leaves the original closed visual appearance unchanged. */
@media(max-width:640px){
 .nav-links.is-open{display:flex;position:absolute;top:60px;left:0;right:0;flex-direction:column;gap:0;padding:12px 24px 18px;background:rgba(0,0,0,.97);border-bottom:1px solid var(--border)}
 .nav-links.is-open a{padding:10px 0;display:block}
}
@media(min-width:641px){.nav-links.is-open{display:flex}}
