@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;400;500;600;700&family=Russo+One&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --bg: #07070c;
  --bg-elev: #0d0d15;
  --bg-card: #121220;
  --bg-glass: rgba(25, 20, 45, 0.45);
  --border: rgba(145, 71, 255, 0.18);
  --border-strong: rgba(145, 71, 255, 0.45);
  --text: #ebeaf4;
  --text-muted: #9e9db0;
  --text-dim: #6b6a80;
  --primary: #9147ff;
  --primary-hi: #b380ff;
  --primary-dim: #5c2eb3;
  --cta: #ff3e7f;
  --cta-hi: #ff6ea0;
  --accent: #00e6c3;
  --danger: #ff4d4d;
  --success: #22c55e;
  --z-nav: 50;
  --z-modal: 80;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-glow: 0 0 48px rgba(145, 71, 255, 0.28);
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: 'Chakra Petch', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(145, 71, 255, 0.22), transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 30%, rgba(255, 62, 127, 0.12), transparent 70%),
    radial-gradient(ellipse 70% 45% at 10% 70%, rgba(0, 230, 195, 0.08), transparent 70%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Russo One', 'Chakra Petch', sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.1;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { margin: 0 0 1em; color: var(--text-muted); }

a { color: var(--primary-hi); text-decoration: none; transition: color 150ms var(--ease); }
a:hover { color: var(--cta-hi); }

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

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: var(--z-nav);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: rgba(12, 12, 20, 0.72);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1168px;
  margin-left: auto;
  margin-right: auto;
  transition: padding 200ms var(--ease);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Russo One', sans-serif;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav__logo {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--cta) 100%);
  box-shadow: 0 0 16px rgba(145, 71, 255, 0.5);
}

.nav__logo svg { width: 18px; height: 18px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav__links a:hover { color: var(--text); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--primary);
  color: white !important;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 150ms var(--ease), box-shadow 200ms var(--ease), transform 150ms var(--ease);
}
.nav__cta:hover {
  background: var(--primary-hi);
  box-shadow: 0 0 22px rgba(145, 71, 255, 0.5);
}
.nav__cta svg { width: 16px; height: 16px; }

.nav__burger {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 150ms var(--ease), background 150ms var(--ease), box-shadow 200ms var(--ease), border-color 150ms var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--cta) 100%);
  color: white;
  box-shadow: 0 8px 28px rgba(145, 71, 255, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(145, 71, 255, 0.55), 0 0 20px rgba(255, 62, 127, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
  color: white;
}

.btn--ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  background: rgba(145, 71, 255, 0.12);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--lg { padding: 18px 32px; font-size: 1.05rem; }

/* ============ HERO ============ */
.hero {
  padding: 160px 0 80px;
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-hi);
  background: rgba(145, 71, 255, 0.1);
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero__eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse 2.2s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.2); }
}

.hero h1 .grad {
  background: linear-gradient(120deg, var(--primary-hi) 0%, var(--cta) 60%, var(--primary-hi) 100%);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero__sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__meta svg { width: 16px; height: 16px; color: var(--primary-hi); }

/* ============ HERO DEMO MOCKUP ============ */
.demo {
  position: relative;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(145,71,255,0.35) 0%, rgba(255,62,127,0.22) 100%);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}
.demo::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(145, 71, 255, 0.25) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(20px);
}

.demo__frame {
  background: #0a0a14;
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.demo__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #0e0e18;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.demo__bar .dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.demo__bar .dot:nth-child(1) { background: #ff5f57; }
.demo__bar .dot:nth-child(2) { background: #febc2e; }
.demo__bar .dot:nth-child(3) { background: #28c940; }
.demo__url {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.demo__video {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #000;
  overflow: hidden;
}
.demo__scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.demo__video::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.35), transparent 55%),
    linear-gradient(180deg, rgba(7,7,12,0.28) 0%, transparent 15%, transparent 80%, rgba(7,7,12,0.55) 100%);
  pointer-events: none;
}

/* ============ YOLO BOUNDING BOXES ============ */
.yolo {
  position: absolute;
  border: 1.5px solid;
  border-radius: 3px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 240ms var(--ease);
  box-sizing: border-box;
}
.yolo::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
  pointer-events: none;
}
.yolo__label {
  position: absolute;
  left: -1px;
  top: -22px;
  padding: 2px 7px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 2px 2px 0 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}
.yolo__conf { display: inline-block; min-width: 2ch; text-align: right; }

/* Raider boxes — coordinates from REAL Arc Raiders YOLO training labels (frame 0626) */
.yolo--r1 {
  left: 56.8%; top: 17.5%;
  width: 5.4%; height: 12.4%;
  border-color: var(--success);
  box-shadow: 0 0 0 1px rgba(34,197,94,0.35), 0 0 16px rgba(34,197,94,0.5);
  animation: yolo-r1 4s var(--ease) infinite;
}
.yolo--r1 .yolo__label { background: var(--success); color: #06120a; }
@keyframes yolo-r1 {
  0%, 14% { opacity: 0; transform: scale(0.85); }
  22% { opacity: 1; transform: scale(1.08); }
  28%, 90% { opacity: 1; transform: scale(1); }
  98%, 100% { opacity: 0; }
}

.yolo--r2 {
  left: 53.9%; top: 29.4%;
  width: 12.3%; height: 45.1%;
  border-color: var(--success);
  box-shadow: 0 0 0 1px rgba(34,197,94,0.35), 0 0 22px rgba(34,197,94,0.55);
  animation: yolo-r2 4s var(--ease) infinite;
}
.yolo--r2 .yolo__label { background: var(--success); color: #06120a; }
@keyframes yolo-r2 {
  0%, 4% { opacity: 0; transform: scale(0.85); }
  12% { opacity: 1; transform: scale(1.06); }
  18%, 92% { opacity: 1; transform: scale(1); }
  98%, 100% { opacity: 0; }
}

.yolo--r3 {
  left: 69.4%; top: 19.7%;
  width: 8.9%; height: 40.6%;
  border-color: var(--success);
  box-shadow: 0 0 0 1px rgba(34,197,94,0.35), 0 0 20px rgba(34,197,94,0.52);
  animation: yolo-r3 4s var(--ease) infinite;
}
.yolo--r3 .yolo__label { background: var(--success); color: #06120a; }
@keyframes yolo-r3 {
  0%, 28% { opacity: 0; transform: scale(0.85); }
  36% { opacity: 1; transform: scale(1.06); }
  42%, 88% { opacity: 1; transform: scale(1); }
  96%, 100% { opacity: 0; }
}

/* ============ HUD OVERLAYS ============ */
.demo__timestamp {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(7,7,12,0.78);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.4px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.rec {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 8px var(--danger);
  animation: rec-blink 1.4s var(--ease) infinite;
}
@keyframes rec-blink {
  0%, 70% { opacity: 1; }
  75%, 100% { opacity: 0.25; }
}

.demo__detect {
  position: absolute;
  bottom: 12px; right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 8px;
  border: 1.5px solid var(--success);
  border-radius: 6px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--success);
  background: rgba(3, 15, 8, 0.82);
  letter-spacing: 0.6px;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.12), 0 0 22px rgba(34,197,94,0.45);
  animation: pop 4s var(--ease) infinite;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.demo__detect svg {
  width: 14px; height: 14px;
}
@keyframes pop {
  0%, 62% { opacity: 0; transform: translateY(6px) scale(0.9); }
  68% { opacity: 1; transform: translateY(0) scale(1.04); }
  74%, 90% { opacity: 1; transform: translateY(0) scale(1); }
  98%, 100% { opacity: 0; transform: translateY(0) scale(1); }
}

/* ============ DETECTED CLIPS STRIP ============ */
.demo__clips {
  padding: 14px;
  background: linear-gradient(180deg, #0a0a14 0%, #07070c 100%);
  border-top: 1px solid rgba(255,255,255,0.04);
}
.demo__clips-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.8px;
}
.demo__clips-title { color: rgba(255,255,255,0.78); }
.demo__clips-count {
  color: var(--primary-hi);
  background: rgba(145,71,255,0.12);
  border: 1px solid rgba(145,71,255,0.3);
  border-radius: 10px;
  padding: 1px 8px;
  font-size: 0.64rem;
}
.demo__clips-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.demo__clip {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid rgba(145, 71, 255, 0.25);
  background: #1a0e28;
  background-size: cover;
  background-position: center;
  transition: transform 240ms var(--ease), border-color 240ms var(--ease);
}
.demo__clip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.82) 100%);
  z-index: 1;
}
.demo__clip-dot {
  position: absolute;
  top: 5px; right: 5px;
  width: 6px; height: 6px;
  border-radius: 50%;
  z-index: 2;
}
.demo__clip-label {
  position: absolute;
  bottom: 4px; left: 6px; right: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  color: rgba(255,255,255,0.94);
  letter-spacing: 0.4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0,0,0,0.85);
  z-index: 2;
}
.demo__clip--1 { background-image: url('img/arc-clip-1.jpg'); border-color: rgba(255,62,127,0.5); }
.demo__clip--1 .demo__clip-dot { background: var(--cta); box-shadow: 0 0 6px var(--cta); }
.demo__clip--2 { background-image: url('img/arc-clip-2.jpg'); border-color: rgba(145,71,255,0.5); }
.demo__clip--2 .demo__clip-dot { background: var(--primary-hi); box-shadow: 0 0 6px var(--primary-hi); }
.demo__clip--3 { background-image: url('img/arc-clip-3.jpg'); border-color: rgba(0,230,195,0.5); }
.demo__clip--3 .demo__clip-dot { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.demo__clip--4 { background-image: url('img/arc-clip-4.jpg'); border-color: rgba(34,197,94,0.5); }
.demo__clip--4 .demo__clip-dot { background: var(--success); box-shadow: 0 0 6px var(--success); }

/* ============ SCAN SWEEP ============ */
.demo__scan {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-hi), transparent);
  box-shadow: 0 0 12px var(--primary-hi), 0 0 24px rgba(145,71,255,0.5);
  animation: scan 4s linear infinite;
  pointer-events: none;
}
@keyframes scan {
  0% { top: -2px; opacity: 0; }
  10% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ============ SECTIONS ============ */
section { padding: 100px 0; position: relative; }

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section__eyebrow {
  color: var(--primary-hi);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-block;
}
.section__head p {
  font-size: 1.1rem;
  line-height: 1.65;
}

/* ============ BENTO ============ */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 18px;
}
.bento__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.bento__item:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5), 0 0 30px rgba(145, 71, 255, 0.15);
}
.bento__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(145, 71, 255, 0.12), transparent 40%);
  opacity: 0;
  transition: opacity 300ms var(--ease);
  pointer-events: none;
}
.bento__item:hover::before { opacity: 1; }

.bento__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(145,71,255,0.22), rgba(255,62,127,0.12));
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  margin-bottom: 18px;
  color: var(--primary-hi);
}
.bento__icon svg { width: 22px; height: 22px; }

.bento__item h3 { margin-bottom: 10px; }
.bento__item p { font-size: 0.98rem; margin: 0; }

.bento__a { grid-column: span 4; }
.bento__b { grid-column: span 2; }
.bento__c { grid-column: span 2; }
.bento__d { grid-column: span 2; }
.bento__e { grid-column: span 2; }
.bento__f { grid-column: span 3; }
.bento__g { grid-column: span 3; }

.bento__a {
  background:
    radial-gradient(ellipse at top right, rgba(145,71,255,0.2), transparent 60%),
    var(--bg-card);
  min-height: 240px;
}
.bento__a .mockup-feed {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.mockup-feed .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(145,71,255,0.12);
  border: 1px solid var(--border);
  color: var(--primary-hi);
}
.mockup-feed .tag.cta { background: rgba(255,62,127,0.18); color: var(--cta-hi); border-color: rgba(255,62,127,0.3); }
.mockup-feed .tag.acc { background: rgba(0,230,195,0.12); color: var(--accent); border-color: rgba(0,230,195,0.3); }

/* ============ VOICE / CLIP IT ============ */
.section__eyebrow--new {
  background: linear-gradient(135deg, var(--cta) 0%, var(--primary-hi) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  padding-right: 50px;
}
.section__eyebrow--new::after {
  content: "LIVE";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  padding: 2px 8px;
  background: var(--cta);
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-size: 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.08em;
  font-weight: 800;
  box-shadow: 0 0 12px rgba(255, 62, 127, 0.5);
}

.voice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

/* LEFT: listening stage */
.voice__stage {
  position: relative;
  background: radial-gradient(ellipse at top, rgba(145, 71, 255, 0.15), transparent 70%), var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.voice__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 62, 127, 0.08), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0, 230, 195, 0.06), transparent 40%);
  pointer-events: none;
}

.voice__mic {
  position: relative;
  width: 128px; height: 128px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.voice__mic-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--cta);
  opacity: 0;
}
.voice__mic-ring--1 { width: 100%; height: 100%; animation: voicePulse 2.6s var(--ease) infinite; }
.voice__mic-ring--2 { width: 100%; height: 100%; animation: voicePulse 2.6s var(--ease) 0.65s infinite; }
.voice__mic-ring--3 { width: 100%; height: 100%; animation: voicePulse 2.6s var(--ease) 1.3s infinite; }
@keyframes voicePulse {
  0%   { transform: scale(0.65); opacity: 0.7; border-color: var(--cta); }
  70%  { transform: scale(1.25); opacity: 0.1; border-color: var(--primary-hi); }
  100% { transform: scale(1.5);  opacity: 0;   border-color: var(--primary-hi); }
}
.voice__mic-icon {
  position: relative;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--cta) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 12px 40px rgba(145, 71, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.voice__mic-icon svg { width: 32px; height: 32px; }

.voice__waveform {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 36px;
  margin-bottom: 20px;
  width: 100%;
}
.voice__waveform span {
  display: block;
  width: 4px;
  background: linear-gradient(180deg, var(--primary-hi), var(--cta));
  border-radius: 2px;
  animation: voiceBar 1.1s ease-in-out infinite;
  opacity: 0.85;
}
.voice__waveform span:nth-child(1)  { animation-delay: 0.00s; height: 20%; }
.voice__waveform span:nth-child(2)  { animation-delay: 0.07s; height: 45%; }
.voice__waveform span:nth-child(3)  { animation-delay: 0.14s; height: 65%; }
.voice__waveform span:nth-child(4)  { animation-delay: 0.21s; height: 80%; }
.voice__waveform span:nth-child(5)  { animation-delay: 0.28s; height: 55%; }
.voice__waveform span:nth-child(6)  { animation-delay: 0.35s; height: 90%; }
.voice__waveform span:nth-child(7)  { animation-delay: 0.42s; height: 70%; }
.voice__waveform span:nth-child(8)  { animation-delay: 0.49s; height: 40%; }
.voice__waveform span:nth-child(9)  { animation-delay: 0.56s; height: 75%; }
.voice__waveform span:nth-child(10) { animation-delay: 0.63s; height: 55%; }
.voice__waveform span:nth-child(11) { animation-delay: 0.70s; height: 85%; }
.voice__waveform span:nth-child(12) { animation-delay: 0.77s; height: 65%; }
.voice__waveform span:nth-child(13) { animation-delay: 0.84s; height: 45%; }
.voice__waveform span:nth-child(14) { animation-delay: 0.91s; height: 30%; }
.voice__waveform span:nth-child(15) { animation-delay: 0.98s; height: 20%; }
@keyframes voiceBar {
  0%, 100% { transform: scaleY(0.45); }
  50%      { transform: scaleY(1); }
}

.voice__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 62, 127, 0.1);
  border: 1px solid rgba(255, 62, 127, 0.25);
  border-radius: 999px;
  color: var(--cta-hi);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.voice__status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cta);
  box-shadow: 0 0 10px var(--cta);
  animation: voiceDot 1.5s ease-in-out infinite;
}
@keyframes voiceDot {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

.voice__transcript {
  list-style: none;
  padding: 14px 16px;
  margin: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  line-height: 1.8;
  position: relative;
}
.voice__line { position: relative; padding-left: 14px; }
.voice__line::before {
  content: ">";
  position: absolute;
  left: 0; top: 0;
  color: var(--text-dim);
}
.voice__line--ambient { color: var(--text-dim); }
.voice__line--trigger {
  color: var(--cta-hi);
  font-weight: 700;
  animation: voiceTrigger 4s ease-in-out infinite;
}
.voice__line--trigger::before { color: var(--cta); }
.voice__line--snap {
  color: var(--accent);
  padding-left: 14px;
}
.voice__line--snap::before { content: "✓"; color: var(--accent); }
.voice__tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  background: rgba(255, 62, 127, 0.2);
  border-radius: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
@keyframes voiceTrigger {
  0%, 60%, 100% { filter: brightness(1); text-shadow: none; }
  70%, 80%      { filter: brightness(1.4); text-shadow: 0 0 8px var(--cta); }
}

/* RIGHT: mode selector */
.modes {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.modes__title {
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.modes__sub {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.modes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}
.mode { position: relative; cursor: pointer; display: block; }
.mode input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}
.mode__card {
  padding: 16px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 180ms var(--ease);
  height: 100%;
}
.mode:hover .mode__card {
  border-color: var(--border-strong);
  background: rgba(145, 71, 255, 0.06);
}
.mode input:checked + .mode__card {
  border-color: rgba(145, 71, 255, 0.6);
  background: linear-gradient(135deg, rgba(145, 71, 255, 0.12) 0%, rgba(255, 62, 127, 0.06) 100%);
  box-shadow: 0 0 0 1px rgba(145, 71, 255, 0.3) inset, 0 8px 30px -12px rgba(145, 71, 255, 0.5);
}
.mode__badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.mode__badge--cv     { background: rgba(0, 230, 195, 0.15); color: var(--accent); border: 1px solid rgba(0, 230, 195, 0.3); }
.mode__badge--yolo   { background: rgba(145, 71, 255, 0.2); color: var(--primary-hi); border: 1px solid rgba(145, 71, 255, 0.4); }
.mode__badge--voice  { background: rgba(255, 62, 127, 0.18); color: var(--cta-hi); border: 1px solid rgba(255, 62, 127, 0.35); }
.mode__badge--hybrid {
  background: linear-gradient(135deg, rgba(145, 71, 255, 0.25), rgba(255, 62, 127, 0.25));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.mode__name {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  font-size: 0.95rem;
}
.mode__desc {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  margin-bottom: 10px;
}
.mode__meta {
  color: var(--text-dim);
  font-size: 0.72rem;
  font-family: 'Chakra Petch', sans-serif;
  letter-spacing: 0.04em;
}

.modes__phrases {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}
.modes__phrase-label {
  color: var(--text-dim);
  font-size: 0.78rem;
  margin-right: 4px;
}
.modes__chip {
  padding: 4px 10px;
  background: rgba(255, 62, 127, 0.1);
  border: 1px solid rgba(255, 62, 127, 0.25);
  border-radius: 999px;
  color: var(--cta-hi);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
}
.modes__chip--editable {
  background: transparent;
  border: 1px dashed var(--border-strong);
  color: var(--text-dim);
  cursor: pointer;
  font-family: 'Chakra Petch', sans-serif;
}
.modes__chip--editable:hover {
  color: var(--primary-hi);
  border-color: var(--primary-hi);
}

@media (max-width: 960px) {
  .voice { grid-template-columns: 1fr; }
  .modes__grid { grid-template-columns: 1fr; }
}

/* ============ PERFORMANCE ============ */
.perf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.perf__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.perf__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(145, 71, 255, 0.08), transparent 60%);
  pointer-events: none;
}
.perf__label {
  color: var(--text-dim);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.perf__metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}
.perf__num {
  font-family: 'Russo One', sans-serif;
  font-size: 2.8rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-hi), var(--cta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.perf__unit {
  color: var(--text-muted);
  font-size: 1rem;
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 500;
}
.perf__desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 16px;
}
.perf__bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}
.perf__fill {
  height: 100%;
  border-radius: 3px;
  box-shadow: 0 0 10px currentColor;
}

.perf__details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.perf__detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 8px;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}
.perf__detail:nth-child(2) { border-left-color: var(--cta); }
.perf__detail:nth-child(3) { border-left-color: var(--primary-hi); }
.perf__detail:nth-child(4) { border-left-color: var(--accent); }
.perf__detail-num {
  font-family: 'Russo One', sans-serif;
  font-size: 1.4rem;
  color: var(--text);
}
.perf__detail-desc {
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.45;
}

@media (max-width: 960px) {
  .perf { grid-template-columns: 1fr; }
  .perf__details { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .perf__details { grid-template-columns: 1fr; }
}

/* ============ USE CASES ============ */
.usecases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.usecase {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
  position: relative;
  overflow: hidden;
}
.usecase::after {
  content: "";
  position: absolute;
  inset: auto -40% -40% auto;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(145, 71, 255, 0.15), transparent 70%);
  pointer-events: none;
}
.usecase:hover {
  transform: translateY(-4px);
  border-color: rgba(145, 71, 255, 0.4);
  box-shadow: 0 24px 60px -30px rgba(145, 71, 255, 0.5);
}
.usecase__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(145, 71, 255, 0.25), rgba(255, 62, 127, 0.18));
  border: 1px solid rgba(145, 71, 255, 0.3);
  color: var(--primary-hi);
  margin-bottom: 18px;
}
.usecase__icon svg { width: 24px; height: 24px; }
.usecase h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.usecase p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.usecase ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.usecase ul li {
  position: relative;
  padding-left: 22px;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.usecase ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 960px) {
  .usecases { grid-template-columns: 1fr; }
}

/* ============ INSTALL — REINSTALL TOGGLE ============ */
.install2__reinstall {
  margin-top: 22px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(0, 230, 195, 0.06), rgba(145, 71, 255, 0.04));
  border: 1px solid rgba(0, 230, 195, 0.22);
  border-radius: 12px;
  transition: border-color 180ms var(--ease);
}
.install2__reinstall[open] {
  border-color: rgba(0, 230, 195, 0.5);
}
.install2__reinstall summary {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 600;
}
.install2__reinstall summary::-webkit-details-marker { display: none; }
.install2__reinstall summary svg {
  width: 18px; height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 220ms var(--ease);
}
.install2__reinstall[open] summary svg {
  transform: rotate(180deg);
}
.install2__reinstall-body {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(0, 230, 195, 0.25);
}
.install2__reinstall-body p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 12px;
}
.install2__reinstall-body code {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.85em;
}
.install2__reinstall-body .install2__code {
  margin-bottom: 10px;
}

/* ============ HOW IT WORKS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease);
}
.step:hover { border-color: var(--border-strong); transform: translateY(-3px); }

.step__num {
  font-family: 'Russo One', sans-serif;
  font-size: 3.2rem;
  background: linear-gradient(120deg, var(--primary) 0%, var(--cta) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -2px;
}

/* ============ GAMES ============ */
.games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.game {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}
.game:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.game__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(34,197,94,0.15);
  color: var(--success);
  border: 1px solid rgba(34,197,94,0.35);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.game__tag.soon {
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  border-color: rgba(255,255,255,0.1);
}
.game h3 { margin-bottom: 8px; font-size: 1.3rem; }
.game ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.game li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: 5px;
  background: rgba(145, 71, 255, 0.1);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* ============ INSTALL ============ */
.install {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.install__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.install__card h3 {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.install__card svg { width: 22px; height: 22px; color: var(--primary-hi); }

.install__code {
  background: #06060c;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--primary-hi);
  overflow-x: auto;
  line-height: 1.7;
  position: relative;
}
.install__code .c { color: var(--text-dim); }
.install__code .v { color: var(--accent); }

.copy-btn {
  position: absolute;
  top: 10px; right: 10px;
  padding: 5px 8px;
  background: rgba(145,71,255,0.14);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  color: var(--primary-hi);
  font-size: 0.7rem;
  font-family: 'Chakra Petch', sans-serif;
  cursor: pointer;
  transition: background 150ms var(--ease);
}
.copy-btn:hover { background: rgba(145,71,255,0.28); }
.copy-btn.copied { color: var(--success); border-color: rgba(34,197,94,0.5); }

.install__note {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ============ INSTALL — CURL-PIPE ONE-LINER ============ */
.curl-install {
  max-width: 880px;
  margin: 0 auto 36px;
  padding: 30px 32px;
  background: linear-gradient(135deg, rgba(0, 230, 195, 0.1), rgba(145, 71, 255, 0.08));
  border: 1px solid rgba(0, 230, 195, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -40px rgba(0, 230, 195, 0.4);
  position: relative;
  overflow: hidden;
}
.curl-install::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0, 230, 195, 0.15), transparent 60%);
  pointer-events: none;
}
.curl-install__head {
  position: relative;
  margin-bottom: 20px;
}
.curl-install__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--accent);
  color: #00201b;
  border-radius: 999px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  box-shadow: 0 0 20px rgba(0, 230, 195, 0.4);
}
.curl-install__badge svg { width: 14px; height: 14px; }
.curl-install h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.curl-install p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 640px;
}
.curl-install p code {
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.85em;
}
.curl-install__note {
  position: relative;
  margin-top: 12px !important;
  padding: 10px 14px;
  background: rgba(0, 230, 195, 0.05);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  font-size: 0.88rem !important;
  color: var(--text-muted);
}
.curl-install__note strong { color: var(--accent); }
.curl-install__code {
  position: relative;
  background: linear-gradient(180deg, #06060c 0%, #050509 100%);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 18px 20px;
  padding-right: 80px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--primary-hi);
  overflow-x: auto;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.curl-install__code code {
  display: block;
  white-space: nowrap;
  background: transparent;
  padding: 0;
  color: var(--accent);
}
.curl-install__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.curl-install__step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.35;
}
.curl-install__step span {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #00201b;
  font-family: 'Russo One', sans-serif;
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .curl-install { padding: 22px 20px; }
  .curl-install__steps { grid-template-columns: 1fr; }
  .curl-install__code { padding-right: 20px; font-size: 0.72rem; }
  .curl-install__code .copy-btn { position: static; display: block; margin-bottom: 10px; }
}

.curl-install__windows {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  position: relative;
}
.curl-install__windows strong { color: var(--text); }
.curl-install__windows a { color: var(--primary-hi); text-decoration: underline; text-underline-offset: 3px; }
.curl-install__code--small {
  margin: 10px 0 10px;
  padding: 14px 18px;
  padding-right: 80px;
  font-size: 0.78rem;
}

/* ============ INSTALL — COLLAPSED ALTERNATES ============ */
.dl-alt,
.install2-alt {
  max-width: 880px;
  margin: 24px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  transition: border-color 180ms var(--ease);
}
.dl-alt[open],
.install2-alt[open] {
  border-color: var(--border-strong);
}
.dl-alt__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  cursor: pointer;
  list-style: none;
  color: var(--text-muted);
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 180ms var(--ease), background 180ms var(--ease);
}
.dl-alt__summary::-webkit-details-marker { display: none; }
.dl-alt__summary:hover {
  color: var(--text);
  background: rgba(145, 71, 255, 0.04);
}
.dl-alt__summary > svg:first-child {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--text-dim);
}
.dl-alt__summary > span {
  flex: 1;
}
.dl-alt__note {
  color: var(--text-dim);
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  margin-left: 4px;
}
.dl-alt__chev {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform 220ms var(--ease);
}
.dl-alt[open] .dl-alt__chev,
.install2-alt[open] .dl-alt__chev {
  transform: rotate(180deg);
}
.dl-alt .dl,
.install2-alt .install2 {
  padding: 20px 24px 24px;
  border: none;
  background: transparent;
  box-shadow: none;
  border-top: 1px dashed var(--border);
  border-radius: 0;
  max-width: none;
  margin: 0;
}

/* ============ INSTALL — DIRECT DOWNLOADS ============ */
.dl {
  max-width: 880px;
  margin: 0 auto 28px;
}
.dl__head {
  text-align: center;
  margin-bottom: 18px;
}
.dl__eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(0, 230, 195, 0.15), rgba(145, 71, 255, 0.1));
  border: 1px solid rgba(0, 230, 195, 0.3);
  border-radius: 999px;
  color: var(--accent);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.dl__sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.dl__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}
.dl__card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(145, 71, 255, 0.12), rgba(255, 62, 127, 0.06));
  border: 1px solid rgba(145, 71, 255, 0.35);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  transition: all 220ms var(--ease);
  overflow: hidden;
}
.dl__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(255, 62, 127, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 220ms var(--ease);
}
.dl__card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-hi);
  box-shadow: 0 18px 50px -20px rgba(145, 71, 255, 0.6), 0 0 0 1px rgba(145, 71, 255, 0.2) inset;
  color: var(--text);
}
.dl__card:hover::before { opacity: 1; }

.dl__logo {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--primary-hi);
  z-index: 1;
}
.dl__logo svg { width: 22px; height: 22px; }

.dl__meta {
  flex: 1;
  z-index: 1;
}
.dl__label {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 2px;
}
.dl__ext {
  color: var(--text-dim);
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
}

.dl__arrow {
  width: 30px; height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--primary-hi);
  transition: transform 220ms var(--ease);
  z-index: 1;
}
.dl__card:hover .dl__arrow {
  transform: translateY(2px);
  background: var(--primary);
  color: #fff;
}
.dl__arrow svg { width: 16px; height: 16px; }

.dl__card--recommended {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(0, 230, 195, 0.15), rgba(145, 71, 255, 0.08));
  box-shadow: 0 0 0 1px rgba(0, 230, 195, 0.4) inset, 0 12px 40px -16px rgba(0, 230, 195, 0.4);
}
.dl__card--recommended::after {
  content: "For your OS";
  position: absolute;
  top: -9px;
  right: 16px;
  padding: 2px 8px;
  background: var(--accent);
  color: #00201b;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 0 10px rgba(0, 230, 195, 0.5);
}
.dl__card--recommended .dl__logo {
  background: rgba(0, 230, 195, 0.12);
  color: var(--accent);
}

.dl__note {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.6;
  margin-top: 14px;
  padding: 0 8px;
}
.dl__note a {
  color: var(--primary-hi);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dl__gatekeeper {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(255, 200, 60, 0.06);
  border: 1px solid rgba(255, 200, 60, 0.25);
  border-left: 3px solid #ffc83d;
  border-radius: 10px;
}
.dl__gk-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  color: #ffc83d;
  margin-top: 2px;
}
.dl__gk-icon svg { width: 20px; height: 20px; }
.dl__gk-body {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}
.dl__gk-body strong { color: var(--text); }
.dl__gk-body code {
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.85em;
}
.dl__gk-body a {
  color: var(--primary-hi);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .dl__grid { grid-template-columns: 1fr; }
}

/* ============ INSTALL v2 — DMG-easy ============ */
.install2 {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 30px 80px -40px rgba(145, 71, 255, 0.4);
}

.install2__tabs {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 22px;
}
.install2__tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-muted);
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 180ms var(--ease);
}
.install2__tab svg { width: 18px; height: 18px; }
.install2__tab:hover {
  color: var(--text);
  background: rgba(145, 71, 255, 0.08);
}
.install2__tab.is-active {
  background: linear-gradient(135deg, rgba(145, 71, 255, 0.25), rgba(145, 71, 255, 0.1));
  border-color: rgba(145, 71, 255, 0.4);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(145, 71, 255, 0.2) inset;
}

.install2__panels { position: relative; }
.install2__panel {
  display: none;
  animation: fadeSwap 220ms var(--ease);
}
.install2__panel.is-active { display: block; }
@keyframes fadeSwap {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.install2__hint {
  padding: 12px 16px;
  background: rgba(255, 62, 127, 0.06);
  border: 1px solid rgba(255, 62, 127, 0.2);
  border-left: 3px solid var(--cta);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 16px;
}
.install2__hint a {
  color: var(--cta);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.install2__hint code {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.install2__code {
  position: relative;
  background: linear-gradient(180deg, #06060c 0%, #050509 100%);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 18px 20px;
  padding-right: 80px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--primary-hi);
  overflow-x: auto;
  margin-bottom: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.install2__code code {
  display: block;
  white-space: pre-wrap;
  word-break: break-word;
  background: transparent;
  padding: 0;
  font-size: inherit;
  color: inherit;
}
.install2__code .c { color: var(--text-dim); }
.install2__code .v { color: var(--accent); }

.install2__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.install2__bullets li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.install2__bullets li::before {
  content: "";
  position: absolute;
  left: 6px; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(0, 230, 195, 0.6);
}
.install2__bullets code {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary-hi);
  font-size: 0.85em;
}

.install2__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed var(--border);
}
.install2__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.4;
}
.install2__trust-item svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--primary-hi);
}
.install2__trust-item code {
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--accent);
  font-size: 0.9em;
}

@media (max-width: 680px) {
  .install2 { padding: 18px; }
  .install2__tabs { flex-direction: column; }
  .install2__tab { justify-content: flex-start; }
  .install2__trust { grid-template-columns: 1fr; }
  .install2__code { padding-right: 18px; font-size: 0.78rem; }
  .install2__code .copy-btn { position: static; display: block; margin-bottom: 10px; }
}

/* ============ FAQ ============ */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 200ms var(--ease);
}
.faq__item[open] { border-color: var(--border-strong); }
.faq__q {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 150ms var(--ease);
}
.faq__q:hover { background: rgba(145,71,255,0.06); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q svg {
  width: 18px; height: 18px;
  color: var(--primary-hi);
  transition: transform 200ms var(--ease);
  flex-shrink: 0;
}
.faq__item[open] .faq__q svg { transform: rotate(45deg); }
.faq__a {
  padding: 0 22px 22px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============ FINAL CTA ============ */
.finalcta {
  text-align: center;
  padding: 120px 0;
  position: relative;
}
.finalcta__box {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 32px;
  background: linear-gradient(135deg, rgba(145,71,255,0.12) 0%, rgba(255,62,127,0.08) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.finalcta__box::before {
  content: '';
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle at 50% 50%, rgba(145,71,255,0.28), transparent 60%);
  filter: blur(24px);
  z-index: 0;
}
.finalcta__box > * { position: relative; z-index: 1; }
.finalcta h2 { margin-bottom: 14px; }
.finalcta__box p { margin-bottom: 28px; font-size: 1.1rem; }

/* ============ FOOTER ============ */
.footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.footer__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.footer__brand {
  font-family: 'Russo One', sans-serif;
  font-size: 1.1rem;
  color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.footer__links {
  display: flex; gap: 24px; list-style: none; padding: 0; margin: 0;
}
.footer__links a { color: var(--text-muted); font-size: 0.9rem; }
.footer__links a:hover { color: var(--text); }
.footer__legal {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.7;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero { padding: 140px 0 60px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__a, .bento__b, .bento__c, .bento__d, .bento__e, .bento__f, .bento__g { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .install { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav { top: 10px; left: 10px; right: 10px; padding: 10px 14px; gap: 10px; }
  .nav__links { display: none; }
  .nav__burger { display: grid; place-items: center; }
  .nav__cta { padding: 8px 14px; font-size: 0.82rem; }
  .nav__cta span, .nav__cta__label { display: none; }
  .nav__cta .btn-label { display: none; }
  .nav.open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    gap: 16px;
    align-items: flex-start;
  }
  .hero h1 { font-size: 2.3rem; }
  .hero__sub { font-size: 1.05rem; }
  .bento { grid-template-columns: 1fr; }
  .bento__a, .bento__b, .bento__c, .bento__d, .bento__e, .bento__f, .bento__g { grid-column: span 1; }
  section { padding: 72px 0; }
  .finalcta { padding: 72px 0; }
  .finalcta__box { padding: 44px 22px; }
  .footer__grid { flex-direction: column; text-align: center; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus rings */
:focus-visible {
  outline: 2px solid var(--primary-hi);
  outline-offset: 3px;
  border-radius: 6px;
}
