/* ============================================================
   Analog Copilot — landing page styles (v1)
   ============================================================ */

:root {
  --bg: #0a0d12;
  --bg-elev: #11151c;
  --bg-card: #161b25;
  --bg-card-2: #1a212c;
  --border: #232a36;
  --border-soft: #1a212c;
  --text: #e6edf3;
  --text-dim: #9ba6b3;
  --text-mute: #6b7684;
  --accent: #4ade80;
  --accent-2: #22d3ee;
  --amber: #fbbf24;
  --bad: #ef4444;
  --pink: #f472b6;
  --grad-1: linear-gradient(135deg, #22d3ee 0%, #4ade80 100%);
  --grad-2: linear-gradient(135deg, #fbbf24 0%, #f472b6 100%);
  --shadow-glow: 0 0 40px rgba(74, 222, 128, 0.15);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'HarmonyOS Sans SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', 'Menlo', monospace;
  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-feature-settings: 'cv11', 'ss01';
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}

a { color: inherit; text-decoration: none; }
code { font-family: var(--font-mono); font-size: 0.92em; background: rgba(255,255,255,0.06); padding: 2px 6px; border-radius: 4px; color: var(--accent-2); }
sub { font-size: 0.55em; vertical-align: baseline; padding-left: 4px; color: var(--text-dim); font-weight: 400; }
h1, h2, h3 { letter-spacing: -0.02em; }

/* ----- Background grid ----- */

.grid-bg {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
  background: var(--bg);
}

.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
}

.grid-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 1200px; height: 800px;
  background: radial-gradient(ellipse at center, rgba(74, 222, 128, 0.10) 0%, rgba(34, 211, 238, 0.06) 30%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

/* ----- Scroll progress ----- */

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: transparent;
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--amber));
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
  transition: width 0.1s ease-out;
}

/* ----- Nav ----- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 13, 18, 0.6);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled {
  background: rgba(10, 13, 18, 0.85);
  border-bottom-color: var(--border-soft);
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  color: var(--text);
}
.brand-mark { width: 22px; height: 22px; color: var(--accent); }
.brand-cn { color: var(--text-mute); font-size: 12px; padding-left: 6px; border-left: 1px solid var(--border); margin-left: 4px; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.nav-links a { color: var(--text-dim); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 8px 16px;
  background: var(--accent);
  color: #0a0d12 !important;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(74, 222, 128, 0.35); }

@media (max-width: 720px) {
  .nav { padding: 10px 16px; }
  .nav-links { gap: 0; font-size: 13px; }
  .nav-links a:not(.nav-cta):not(:last-child) { display: none; }
  .nav-cta { padding: 7px 14px; font-size: 13px; }
  .brand-cn { display: none; }
  .brand-text { font-size: 14px; }
  .hero { padding-top: 90px; padding-left: 20px; padding-right: 20px; min-height: auto; }
  .hero-title { font-size: clamp(28px, 8vw, 44px); }
  .hero-cta .btn { font-size: 13px; padding: 10px 16px; }
  .hero-meta { gap: 14px; font-size: 11px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .section h2 { font-size: clamp(22px, 6vw, 30px); }
  .dl-shell { padding: 28px 22px; }
  .dl-title { font-size: clamp(24px, 7vw, 32px); }
  .marquee-track { font-size: 12px; gap: 14px; }
  .quote-card { padding: 28px 24px; }
  .quote-card blockquote { font-size: 15px; }
}

/* ----- Container ----- */

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

/* ----- Buttons ----- */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  font-family: inherit;
  cursor: pointer; border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #0a0d12;
  box-shadow: 0 8px 24px rgba(74, 222, 128, 0.18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(74, 222, 128, 0.32); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--text-mute); }
.btn-magnet { position: relative; will-change: transform; }

/* ----- Hero ----- */

.hero {
  position: relative;
  padding: 140px 32px 80px;
  min-height: 720px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-grid {
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
  display: block;
  text-align: left;
}
.hero-left { max-width: 880px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px; font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.hero-title {
  font-size: clamp(40px, 6.4vw, 80px);
  font-weight: 700;
  line-height: 1.06;
  margin: 28px 0 24px;
  letter-spacing: -0.035em;
}
.hero-title .grad {
  background: var(--grad-1);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradient-pan 6s ease infinite;
}
@keyframes gradient-pan {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-sub {
  font-size: clamp(17px, 1.6vw, 22px);
  color: var(--text-dim);
  max-width: 720px;
  margin: 0 0 36px;
  line-height: 1.55;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-top: 32px;
  font-size: 13px; color: var(--text-mute);
  font-family: var(--font-mono);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.meta-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.meta-good { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.meta-amber { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.meta-cyan { background: var(--accent-2); box-shadow: 0 0 8px var(--accent-2); }

.hero-scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--text-mute);
  font-size: 11px; font-family: var(--font-mono); letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%,100% { transform: translate(-50%, 0); opacity: 0.5; }
  50% { transform: translate(-50%, 6px); opacity: 1; }
}

@media (max-width: 960px) {
  .hero { padding-top: 110px; }
}

/* ----- Marquee ----- */

.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(180deg, transparent, rgba(74,222,128,0.02), transparent);
  padding: 14px 0;
  margin-top: -8px;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 100%); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg) 0%, transparent 100%); }

.marquee-track {
  display: inline-flex; align-items: center; gap: 18px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  animation: marquee-scroll 50s linear infinite;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-label {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-left: 24px;
}
.m-dot { color: var(--text-mute); opacity: 0.4; }
.marquee-track > span:not(.m-dot):not(.marquee-label):hover { color: var(--accent); transition: color 0.2s ease; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ----- Sections ----- */

.section {
  padding: 96px 0;
  position: relative;
}
.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(74, 222, 128, 0.3);
  margin-bottom: 18px;
}
.section h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 16px;
}
.section h2 .muted { color: var(--text-mute); font-weight: 600; }
.section-lede {
  font-size: 17px;
  color: var(--text-dim);
  margin: 0;
  max-width: 680px;
  line-height: 1.65;
}
.section-foot {
  margin-top: 48px;
  text-align: center;
  font-size: 17px;
  color: var(--text-dim);
  font-style: italic;
}
.amber { color: var(--amber); }
.dim { color: var(--text-mute); font-weight: 400; font-size: 0.85em; }

/* ----- Reveal animation -----
   Content is visible by default. .in adds a one-shot accent highlight when the
   element first enters view — a subtle border-pulse and small lift. No
   opacity:0 default state, so SSR / screenshots / no-JS all render content. */

@keyframes accent-pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
  35% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.18); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.reveal.in {
  animation: accent-pulse 1.1s cubic-bezier(0.22, 0.7, 0.3, 1);
}

/* ----- Data wall ----- */

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 760px) { .data-grid { grid-template-columns: 1fr; } }

.data-card {
  position: relative;
  padding: 24px 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.data-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent 30%, rgba(74,222,128,0.3) 60%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.data-card:hover { transform: translateY(-3px); border-color: rgba(74, 222, 128, 0.4); }
.data-card:hover::before { opacity: 1; }

.data-card-head {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.data-tag {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 700;
  padding: 4px 10px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent-2);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 6px;
  letter-spacing: 0.04em;
}
.data-spec { font-size: 13px; color: var(--text-mute); font-family: var(--font-mono); }

.data-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}
.data-bad, .data-good { padding: 12px; border-radius: 10px; }
.data-bad { background: rgba(239, 68, 68, 0.06); border: 1px solid rgba(239, 68, 68, 0.18); }
.data-good { background: rgba(74, 222, 128, 0.06); border: 1px solid rgba(74, 222, 128, 0.22); }
.data-num { font-size: 32px; font-weight: 700; font-family: var(--font-mono); line-height: 1; }
.data-bad .data-num { color: var(--bad); }
.data-good .data-num { color: var(--accent); }
.data-label { font-size: 13px; color: var(--text); margin-top: 6px; }
.data-note { font-size: 12px; color: var(--text-mute); margin-top: 4px; line-height: 1.4; }
.data-arrow { color: var(--text-mute); font-size: 22px; opacity: 0.6; }

/* ----- vs section ----- */

.vs-table {
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
}
.vs-row {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border-top: 1px solid var(--border-soft);
}
.vs-row:first-child { border-top: 0; }
.vs-row > div {
  padding: 16px 20px;
  font-size: 14px;
  display: flex; align-items: center;
  transition: background 0.2s ease;
}
.vs-row:not(.vs-head):hover > div { background: rgba(74, 222, 128, 0.04); }
.vs-row:not(.vs-head):hover .vs-key { background: rgba(74, 222, 128, 0.08); }
.vs-head { background: rgba(255,255,255,0.02); }
.vs-head > div {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-mute);
}
.vs-them { color: var(--bad) !important; }
.vs-us { color: var(--accent) !important; }
.vs-key { font-weight: 600; color: var(--text); font-size: 13px; background: rgba(255,255,255,0.02); }
.vs-them-cell { color: var(--text-dim); border-left: 1px solid var(--border-soft); position: relative; }
.vs-us-cell { color: var(--text); border-left: 1px solid var(--border-soft); position: relative; }
.vs-them-cell::before {
  content: '✗';
  display: inline-block;
  margin-right: 10px;
  color: var(--bad); font-weight: 700;
  font-family: var(--font-mono);
}
.vs-us-cell::before {
  content: '✓';
  display: inline-block;
  margin-right: 10px;
  color: var(--accent); font-weight: 700;
  font-family: var(--font-mono);
}

@media (max-width: 760px) {
  .vs-row { grid-template-columns: 1fr; }
  .vs-head { display: none; }
  .vs-key { background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--border-soft); }
  .vs-them-cell, .vs-us-cell { border-left: 0; }
}

/* ----- Flow walkthrough ----- */

.flow-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 960px) { .flow-grid { grid-template-columns: 1fr; gap: 40px; } }

.flow-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.flow-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--border-soft);
}
.flow-step:last-child { border-bottom: 0; }
.flow-step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.05em;
  font-weight: 700;
  padding-top: 4px;
}
.flow-step h3 {
  margin: 0 0 6px; font-size: 17px; font-weight: 600;
}
.flow-step p { margin: 0; color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }

.flow-terminal {
  background: #050709;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  font-family: var(--font-mono);
  position: sticky;
  top: 100px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.term-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
}
.term-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.term-title { color: var(--text-mute); margin-left: 10px; }
.term-body {
  padding: 18px 18px 22px;
  font-size: 13px;
  line-height: 1.7;
  min-height: 360px;
  color: var(--text);
  white-space: pre-wrap;
  overflow-y: auto;
  max-height: 480px;
}
.term-body .t-prompt { color: var(--accent); }
.term-body .t-cmd { color: var(--text); }
.term-body .t-out { color: var(--text-dim); }
.term-body .t-ok { color: var(--accent); }
.term-body .t-warn { color: var(--amber); }
.term-body .t-bad { color: var(--bad); }
.term-body .t-info { color: var(--accent-2); }
.term-body .t-cursor::after {
  content: '▍';
  color: var(--accent);
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { to { opacity: 0; } }

/* ----- Gallery (product screenshots) ----- */

.gallery-section { padding: 80px 0; }

.gallery {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 960px) {
  .gallery { grid-template-columns: 1fr; gap: 16px; }
}

.gallery-tabs {
  display: flex; flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 90px;
}
@media (max-width: 960px) {
  .gallery-tabs { flex-direction: row; position: static; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
  .gtab { white-space: nowrap; padding: 10px 14px; flex-shrink: 0; }
  .gtab-name { white-space: nowrap; }
}

.gtab {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-dim);
  border-radius: 12px;
  font-family: inherit; font-size: 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.gtab:hover { border-color: var(--text-mute); color: var(--text); }
.gtab-active {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(74, 222, 128, 0.06);
  color: var(--text);
}
.gtab-active .gtab-num { color: var(--accent); }
.gtab-num {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  color: var(--text-mute); letter-spacing: 0.04em;
  width: 24px; flex-shrink: 0;
}
.gtab-name { font-weight: 500; }

.gallery-frame {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  position: relative;
}
.gframe-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: rgba(10, 13, 18, 0.6);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 11px;
}
.gframe-title { color: var(--text-mute); margin-left: 10px; }
.gframe-body { position: relative; aspect-ratio: 1440 / 900; background: #050709; overflow: hidden; }
.gimg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.gimg-active { opacity: 1; pointer-events: auto; }

.gallery-caption {
  margin-top: 16px;
  font-size: 14px; color: var(--text-dim);
  line-height: 1.65;
  grid-column: 2;
}
@media (max-width: 960px) { .gallery-caption { grid-column: 1; } }
.gcap { display: none; margin: 0; }
.gcap.gcap-active { display: block; }
.gallery-note { margin: 10px 0 0; font-size: 12px; color: var(--text-mute); font-family: var(--font-mono); }

/* ----- Capabilities grid ----- */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 960px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cap-grid { grid-template-columns: 1fr; } }

.cap-card {
  position: relative;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  overflow: hidden;
}
.cap-card::after {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(74, 222, 128, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.cap-card:hover { transform: translateY(-3px); border-color: rgba(74, 222, 128, 0.35); }
.cap-card:hover::after { opacity: 1; }
.cap-card h3 { margin: 14px 0 6px; font-size: 16px; font-weight: 600; }
.cap-card p { margin: 0; color: var(--text-dim); font-size: 13.5px; line-height: 1.6; }

.cap-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(74,222,128,0.15));
  border: 1px solid rgba(74, 222, 128, 0.25);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.cap-icon::before {
  content: '';
  width: 16px; height: 16px;
  background: var(--accent);
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.cap-icon[data-icon='chat']::before  { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M21 12a8 8 0 01-12 7l-5 1 1-5a8 8 0 1116-3z' fill='black'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M21 12a8 8 0 01-12 7l-5 1 1-5a8 8 0 1116-3z' fill='black'/></svg>"); }
.cap-icon[data-icon='schem']::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 12h4l2-7 4 14 2-7h6' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 12h4l2-7 4 14 2-7h6' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.cap-icon[data-icon='wave']::before  { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M2 12c4-8 6 8 10 0s4 8 10 0' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M2 12c4-8 6 8 10 0s4 8 10 0' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/></svg>"); }
.cap-icon[data-icon='opt']::before   { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='4' fill='black'/><path d='M12 2v3M12 19v3M2 12h3M19 12h3M5 5l2 2M17 17l2 2M5 19l2-2M17 7l2-2' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='4' fill='black'/><path d='M12 2v3M12 19v3M2 12h3M19 12h3M5 5l2 2M17 17l2 2M5 19l2-2M17 7l2-2' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/></svg>"); }
.cap-icon[data-icon='pack']::before  { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l9 5v10l-9 5-9-5V7l9-5zM12 12l9-5M12 12l-9-5M12 12v10' stroke='black' stroke-width='1.6' fill='none' stroke-linejoin='round'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l9 5v10l-9 5-9-5V7l9-5zM12 12l9-5M12 12l-9-5M12 12v10' stroke='black' stroke-width='1.6' fill='none' stroke-linejoin='round'/></svg>"); }
.cap-icon[data-icon='skill']::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 7h18M3 12h18M3 17h12' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 7h18M3 12h18M3 17h12' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/></svg>"); }
.cap-icon[data-icon='rewind']::before{ -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 12a9 9 0 1018-2A9 9 0 0012 3' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/><path d='M3 4v5h5' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 12a9 9 0 1018-2A9 9 0 0012 3' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/><path d='M3 4v5h5' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.cap-icon[data-icon='debug']::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='6' y='8' width='12' height='12' rx='6' fill='black'/><path d='M6 14H2M22 14h-4M6 18l-3 3M18 18l3 3M9 6l1-2h4l1 2M12 8V4' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='6' y='8' width='12' height='12' rx='6' fill='black'/><path d='M6 14H2M22 14h-4M6 18l-3 3M18 18l3 3M9 6l1-2h4l1 2M12 8V4' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/></svg>"); }
.cap-icon[data-icon='review']::before{ -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 6h18v12H3z' fill='none' stroke='black' stroke-width='2'/><path d='M7 10h10M7 14h6' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 6h18v12H3z' fill='none' stroke='black' stroke-width='2'/><path d='M7 10h10M7 14h6' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/></svg>"); }
.cap-icon[data-icon='corner']::before{ -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='6' cy='6' r='1.6' fill='black'/><circle cx='12' cy='6' r='1.6' fill='black'/><circle cx='18' cy='6' r='1.6' fill='black'/><circle cx='6' cy='12' r='1.6' fill='black'/><circle cx='12' cy='12' r='2.4' fill='black'/><circle cx='18' cy='12' r='1.6' fill='black'/><circle cx='6' cy='18' r='1.6' fill='black'/><circle cx='12' cy='18' r='1.6' fill='black'/><circle cx='18' cy='18' r='1.6' fill='black'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='6' cy='6' r='1.6' fill='black'/><circle cx='12' cy='6' r='1.6' fill='black'/><circle cx='18' cy='6' r='1.6' fill='black'/><circle cx='6' cy='12' r='1.6' fill='black'/><circle cx='12' cy='12' r='2.4' fill='black'/><circle cx='18' cy='12' r='1.6' fill='black'/><circle cx='6' cy='18' r='1.6' fill='black'/><circle cx='12' cy='18' r='1.6' fill='black'/><circle cx='18' cy='18' r='1.6' fill='black'/></svg>"); }

/* ----- Bode section ----- */

.bode-section { padding: 80px 0; }
.bode-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) { .bode-grid { grid-template-columns: 1fr; gap: 32px; } }

.bode-text .kicker { color: var(--amber); border-bottom-color: rgba(251,191,36,0.3); }
.bode-title { font-size: clamp(26px, 3vw, 36px); margin: 8px 0 18px; }
.bode-text p { color: var(--text-dim); font-size: 16px; max-width: 520px; line-height: 1.65; }
.bode-stats {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.bode-stats li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
.bode-stats b { display: block; font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--text); }
.bode-stats span { font-size: 12px; color: var(--text-mute); }

.bode-plot {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.bode-svg { width: 100%; height: auto; display: block; }
/* Default state: fully drawn. .in class replays the draw-in animation. */
.bode-curve { stroke-dasharray: 1000; stroke-dashoffset: 0; }
.bode-curve.in { animation: bode-draw 2s ease-out; }
@keyframes bode-draw {
  from { stroke-dashoffset: 1000; }
  to { stroke-dashoffset: 0; }
}
.bode-marker { opacity: 1; }
.bode-marker.in { animation: marker-pop 0.8s ease-out 1.4s both; }
@keyframes marker-pop {
  0% { opacity: 0; transform: scale(0.7); }
  60% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

/* ----- Testimonial ----- */

.testimonial { padding: 64px 0; }
.quote-card {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 36px 40px 32px;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.quote-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(74,222,128,0.4), transparent 50%, rgba(34,211,238,0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.quote-mark {
  width: 28px; height: 28px;
  color: var(--accent);
  margin-bottom: 12px;
  opacity: 0.6;
}
.quote-card blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}
.quote-card figcaption {
  margin-top: 24px;
  display: flex; gap: 14px;
  font-size: 13px;
  color: var(--text-mute);
  border-top: 1px dashed var(--border);
  padding-top: 16px;
}
.quote-card figcaption .who { color: var(--text-dim); }
.quote-card figcaption .when { color: var(--text-mute); }

/* ----- Pack section ----- */

.pack-cmp {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  margin-top: 24px;
}
.pack-row {
  display: grid;
  grid-template-columns: 200px 1fr 1.1fr;
  border-top: 1px solid var(--border-soft);
}
.pack-row:first-child { border-top: 0; }
.pack-row > div { padding: 14px 18px; font-size: 14px; color: var(--text); }
.pack-row > div:nth-child(1) { background: rgba(255,255,255,0.02); font-weight: 600; font-size: 13px; color: var(--text-dim); }
.pack-row > div:nth-child(2) { color: var(--text-dim); border-left: 1px solid var(--border-soft); }
.pack-row > div:nth-child(3) { color: var(--text); border-left: 1px solid var(--border-soft); }
.pack-head { background: rgba(255,255,255,0.03); }
.pack-head > div { font-family: var(--font-mono); font-size: 13px !important; color: var(--text) !important; font-weight: 700; }
.pack-foot {
  margin-top: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.pack-foot p { color: var(--text-dim); font-size: 15px; max-width: 700px; line-height: 1.65; margin: 0; }

@media (max-width: 760px) {
  .pack-row { grid-template-columns: 1fr; }
  .pack-row > div:nth-child(2), .pack-row > div:nth-child(3) { border-left: 0; border-top: 1px dashed var(--border-soft); }
}

/* ----- Audience ----- */

.aud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 760px) { .aud-grid { grid-template-columns: 1fr; } }
.aud-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.aud-card:hover { transform: translateY(-3px); border-color: rgba(74, 222, 128, 0.35); }
.aud-num {
  font-family: var(--font-mono); font-size: 13px; color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.aud-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.aud-card p { margin: 0; color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }

/* ----- Roadmap ----- */

.roadmap {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  gap: 8px;
}
.roadmap::before {
  content: '';
  position: absolute;
  left: 17px; top: 12px; bottom: 12px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2) 30%, var(--text-mute) 60%, transparent);
  opacity: 0.6;
}
.rm-item {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  padding: 16px 0;
}
.rm-marker {
  width: 14px; height: 14px; border-radius: 50%;
  margin-top: 6px;
  margin-left: 11px;
  border: 2px solid var(--text-mute);
  background: var(--bg);
  position: relative;
  z-index: 1;
}
.rm-done .rm-marker {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.12);
}
.rm-done .rm-marker::after {
  content: '';
  position: absolute; left: 3px; top: 1px;
  width: 4px; height: 7px;
  border-right: 2px solid #0a0d12;
  border-bottom: 2px solid #0a0d12;
  transform: rotate(45deg);
}
.rm-now .rm-marker {
  background: var(--accent);
  border-color: var(--accent);
}
.rm-marker-pulse {
  animation: rm-pulse 2s infinite;
}
@keyframes rm-pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.rm-body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.rm-body:hover { border-color: var(--text-mute); transform: translateX(2px); }
.rm-now .rm-body { border-color: rgba(74, 222, 128, 0.35); }
.rm-when {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.rm-now .rm-when { color: var(--accent); }
.rm-body h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.rm-body p { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.6; }
.rm-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 10px;
}
.rm-tag-done { background: rgba(74, 222, 128, 0.1); color: var(--accent); border: 1px solid rgba(74, 222, 128, 0.3); }
.rm-tag-now { background: rgba(34, 211, 238, 0.1); color: var(--accent-2); border: 1px solid rgba(34, 211, 238, 0.3); }
.rm-tag-soon { background: rgba(251, 191, 36, 0.1); color: var(--amber); border: 1px solid rgba(251, 191, 36, 0.3); }
.rm-tag-future { background: rgba(255,255,255,0.04); color: var(--text-mute); border: 1px solid var(--border); }

/* ----- Download ----- */

.download-section {
  padding: 96px 0;
  position: relative;
}
.download-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(74, 222, 128, 0.06), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(34, 211, 238, 0.06), transparent 50%);
  pointer-events: none;
}
.dl-shell {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  overflow: hidden;
}
.dl-shell::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(74,222,128,0.35), transparent 40%, rgba(34,211,238,0.35) 80%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.dl-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dl-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
.dl-title { font-size: clamp(28px, 3.6vw, 44px); margin: 14px 0 8px; }
.dl-sub { color: var(--text-dim); margin: 0 0 32px; font-size: 16px; }

.dl-cards {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}
@media (max-width: 960px) { .dl-cards { grid-template-columns: 1fr; } }

.dl-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex; flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.dl-card:hover { border-color: rgba(74, 222, 128, 0.35); transform: translateY(-3px); }
.dl-card-head {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px;
  color: var(--text);
  margin-bottom: 14px;
}
.dl-card-head svg { color: var(--accent); }
.dl-badge {
  margin-left: auto;
  font-family: var(--font-mono); font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.dl-badge-ready { background: rgba(74,222,128,0.12); color: var(--accent); border: 1px solid rgba(74,222,128,0.3); }
.dl-badge-soon { background: rgba(251,191,36,0.12); color: var(--amber); border: 1px solid rgba(251,191,36,0.3); }
.dl-badge-ok { background: rgba(34,211,238,0.12); color: var(--accent-2); border: 1px solid rgba(34,211,238,0.3); }
.dl-version { font-size: 13px; color: var(--text-mute); margin: 0 0 14px; }
.dl-version code { background: transparent; padding: 0; color: var(--text-dim); }
.dl-list { list-style: none; padding: 0; margin: 0 0 18px; font-size: 13.5px; color: var(--text-dim); display: flex; flex-direction: column; gap: 6px; }
.dl-list li { display: flex; align-items: center; gap: 8px; }
.dl-list li::before { content: '·'; color: var(--accent); font-weight: 700; font-size: 18px; line-height: 0.8; }
.dl-card-foot { margin-top: auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dl-link { font-size: 13px; color: var(--text-mute); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 4px; transition: color 0.2s ease, text-decoration-color 0.2s ease; }
.dl-link:hover { color: var(--text-dim); text-decoration-color: var(--accent); }

.dl-notify { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; width: 100%; }
.dl-notify input {
  flex: 1; min-width: 160px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease;
}
.dl-notify input:focus { border-color: var(--accent); }
.dl-notify .btn { padding: 10px 16px; font-size: 13px; }
.notify-msg { width: 100%; font-size: 12px; color: var(--accent); font-family: var(--font-mono); }

.dl-fineprint { margin-top: 28px; font-size: 13px; color: var(--text-mute); line-height: 1.6; }
.dl-fineprint a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ----- Footer ----- */

.footer {
  padding: 64px 0 48px;
  border-top: 1px solid var(--border-soft);
  margin-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; text-align: left; } }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.footer-brand .brand-mark { width: 22px; height: 22px; color: var(--accent); }
.footer-tag { color: var(--text-mute); font-size: 13px; max-width: 480px; }
.footer-links { display: flex; gap: 16px; font-size: 13px; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { grid-column: 1 / -1; padding-top: 18px; border-top: 1px dashed var(--border-soft); font-size: 12px; color: var(--text-mute); font-family: var(--font-mono); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-build { color: var(--accent); opacity: 0.8; }

/* ============================================================
   Scenarios section
   ============================================================ */

.scenarios-section { padding: 100px 0 80px; position: relative; }
.scenarios-section::before {
  content: '';
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 1px; height: 56px;
  background: linear-gradient(180deg, transparent, var(--accent));
  opacity: 0.4;
}

.scenarios { display: flex; flex-direction: column; gap: 100px; margin-top: 60px; }

.scenario {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.js .scenario { opacity: 0; transform: translateY(40px); }
.js .scenario.in-view { opacity: 1; transform: translateY(0); }
.scenario.scenario-reverse .scenario-text { order: 2; }
.scenario.scenario-reverse .scenario-visual { order: 1; }

.scenario-text { position: relative; }
.scenario-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.18em;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.scenario-num::after {
  content: '';
  width: 36px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.scenario-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.scenario-text h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.scenario-text p {
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0 0 18px;
  max-width: 540px;
}
.scenario-bullets {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.scenario-bullets li {
  position: relative;
  padding-left: 22px;
  color: var(--text-dim);
  font-size: 14px;
  font-family: var(--font-mono);
  line-height: 1.55;
}
.scenario-bullets li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 12px; height: 1px;
  background: var(--accent);
}

.scenario-visual { position: relative; }
.scenario-frame {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative;
  transform: perspective(1400px) rotateY(0deg) translateZ(0);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease, border-color 0.4s ease;
}
.scenario:not(.scenario-reverse) .scenario-frame { transform: perspective(1400px) rotateY(-3deg) translateZ(0); }
.scenario.scenario-reverse .scenario-frame { transform: perspective(1400px) rotateY(3deg) translateZ(0); }
.scenario-frame:hover {
  transform: perspective(1400px) rotateY(0deg) translateY(-4px) translateZ(0) !important;
  box-shadow: 0 36px 100px rgba(0,0,0,0.55), 0 0 0 1px rgba(74, 222, 128, 0.30), inset 0 1px 0 rgba(255,255,255,0.06);
  border-color: rgba(74, 222, 128, 0.35);
}
.scenario-frame::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.10), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.scenario-frame-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(10, 13, 18, 0.7);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  position: relative;
  z-index: 1;
}
.scenario-frame-title { letter-spacing: 0.04em; }
.scenario-frame img { display: block; width: 100%; height: auto; position: relative; z-index: 0; }

.scenario-frame::after {
  content: '';
  position: absolute; left: -10%; right: -10%; top: 0; bottom: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(74,222,128,0.05) 49%, rgba(34,211,238,0.07) 50%, rgba(74,222,128,0.05) 51%, transparent 65%);
  pointer-events: none;
  z-index: 2;
  transform: translateX(-110%);
  transition: transform 1.2s ease;
}
.scenario-frame:hover::after { transform: translateX(110%); }

@media (prefers-reduced-motion: reduce) {
  .scenario { opacity: 1; transform: none; transition: none; }
  .scenario-frame { transform: none !important; }
  .scenario-frame::after { display: none; }
}

@media (max-width: 920px) {
  .scenario, .scenario.scenario-reverse { grid-template-columns: 1fr; gap: 28px; }
  .scenario.scenario-reverse .scenario-text { order: 1; }
  .scenario.scenario-reverse .scenario-visual { order: 2; }
  .scenario:not(.scenario-reverse) .scenario-frame,
  .scenario.scenario-reverse .scenario-frame { transform: none; }
  .scenarios { gap: 64px; }
  .scenarios-section { padding: 64px 0 48px; }
}

/* ============================================================
   Hero spotlight cursor follow
   ============================================================ */

.hero { position: relative; overflow: hidden; }
.hero-spotlight {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle 460px at var(--mx, 50%) var(--my, 30%),
    rgba(74, 222, 128, 0.10),
    rgba(34, 211, 238, 0.05) 35%,
    transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  mix-blend-mode: screen;
}
.hero:hover .hero-spotlight { opacity: 1; }
.hero-grid { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hero-spotlight { display: none; } }

/* ============================================================
   Hero floating signal nodes
   ============================================================ */

.hero-nodes { position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.7; }
.hero-nodes svg { width: 100%; height: 100%; }
.hero-nodes circle {
  fill: var(--accent);
  filter: drop-shadow(0 0 4px var(--accent));
  animation: node-drift 12s ease-in-out infinite;
}
.hero-nodes circle:nth-child(2) { fill: var(--accent-2); filter: drop-shadow(0 0 4px var(--accent-2)); animation-duration: 14s; animation-delay: -2s; }
.hero-nodes circle:nth-child(3) { fill: var(--amber);    filter: drop-shadow(0 0 4px var(--amber));    animation-duration: 16s; animation-delay: -4s; }
.hero-nodes circle:nth-child(4) { fill: var(--accent);   animation-duration: 13s; animation-delay: -1s; }
.hero-nodes circle:nth-child(5) { fill: var(--accent-2); animation-duration: 15s; animation-delay: -3s; }
.hero-nodes circle:nth-child(6) { fill: var(--accent);   animation-duration: 17s; animation-delay: -5s; }
.hero-nodes circle:nth-child(7) { fill: var(--amber);    animation-duration: 11s; animation-delay: -6s; }
.hero-nodes circle:nth-child(8) { fill: var(--accent-2); animation-duration: 18s; animation-delay: -7s; }

@keyframes node-drift {
  0%, 100% { transform: translate(0, 0); opacity: 0.35; }
  25%      { transform: translate(20px, -14px); opacity: 0.7; }
  50%      { transform: translate(-12px, 22px); opacity: 0.5; }
  75%      { transform: translate(16px, 8px);  opacity: 0.8; }
}
@media (prefers-reduced-motion: reduce) { .hero-nodes { display: none; } }

/* ============================================================
   Section title sweep + kicker underline draw
   ============================================================ */

.section-head .kicker { position: relative; display: inline-block; }
.section-head .kicker::after {
  content: '';
  position: absolute; left: 0; bottom: -6px;
  height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.section-head.in-view .kicker::after { transform: scaleX(1); }

.section-head h2 {
  position: relative;
  overflow: hidden;
}
.section-head h2::after {
  content: '';
  position: absolute; top: 0; left: -30%;
  width: 28%; height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(74,222,128,0.10) 48%, rgba(34,211,238,0.14) 52%, transparent 70%);
  pointer-events: none;
  transform: translateX(0);
  opacity: 0;
}
.section-head.in-view h2::after {
  animation: title-sweep 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both;
}
@keyframes title-sweep {
  0%   { transform: translateX(0);    opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translateX(500%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .section-head h2::after { display: none; }
  .section-head .kicker::after { transform: scaleX(1); }
}

/* ============================================================
   Capability card icon entrance
   ============================================================ */

.js .cap-card .cap-icon {
  transform: scale(0.6) rotate(-8deg);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.7s ease;
}
.js .cap-card.in-view .cap-icon {
  animation: icon-pop 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes icon-pop {
  0%   { transform: scale(0.5) rotate(-12deg); opacity: 0; }
  60%  { transform: scale(1.08) rotate(2deg);  opacity: 1; }
  100% { transform: scale(1) rotate(0deg);     opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cap-card .cap-icon { transform: none; opacity: 1; animation: none; }
}

/* ============================================================
   CTA micro-motion
   ============================================================ */

.btn-primary svg { transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.btn-primary:hover svg { transform: translateY(2px); }

.btn-ghost { position: relative; overflow: hidden; }
.btn-ghost::before {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-ghost:hover::before { transform: scaleX(1); transform-origin: left center; }

/* Gallery frame hover lift */
.gallery-frame { transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease; }
.gallery-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(74,222,128,0.20);
}

/* ============================================================
   Cirona launch update — new sections (v2)
   ============================================================ */

/* ---------- Language switch (in nav) ---------- */
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 28px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.lang-switch:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(74, 222, 128, 0.08);
}
@media (max-width: 720px) {
  .nav-links a.lang-switch { display: inline-flex !important; font-size: 11px; min-width: 32px; height: 24px; padding: 0 8px; }
}

/* ---------- Problems table ---------- */
.problems-section { padding-top: 80px; padding-bottom: 80px; }
.problems-table {
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
}
.problems-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border-soft);
}
.problems-row:last-child { border-bottom: none; }
.problems-row > div {
  padding: 16px 24px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
}
.problems-row > div:first-child {
  border-right: 1px solid var(--border-soft);
  color: var(--text-mute);
}
.problems-row > div:last-child {
  color: var(--text);
}
.problems-row.problems-head > div {
  background: rgba(74, 222, 128, 0.06);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text);
  text-transform: uppercase;
}
.problems-row.problems-head > div:last-child { color: var(--accent); }
.problems-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.65;
}
@media (max-width: 720px) {
  .problems-row { grid-template-columns: 1fr; }
  .problems-row > div { padding: 12px 18px; font-size: 14px; }
  .problems-row > div:first-child { border-right: none; border-bottom: 1px solid var(--border-soft); }
}

/* ---------- Walk (6-step product walkthrough with screenshots) ---------- */
.walk { display: flex; flex-direction: column; gap: 64px; margin-top: 16px; }
.walk-step {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.walk-step.walk-reverse { grid-template-columns: 1.1fr 1fr; }
.walk-step.walk-reverse .walk-text { order: 2; }
.walk-step.walk-reverse .walk-visual { order: 1; }

.walk-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.walk-eyebrow {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 999px;
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.walk-text h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25;
  margin: 0 0 16px;
  color: var(--text);
}
.walk-text p { color: var(--text-dim); line-height: 1.7; margin: 0 0 14px; }
.walk-text p:last-child { margin-bottom: 0; }
.walk-quote {
  margin: 14px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: rgba(74, 222, 128, 0.05);
  border-radius: 0 8px 8px 0;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.6;
}
.walk-bullets { margin: 14px 0 0; padding-left: 0; list-style: none; }
.walk-bullets li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
}
.walk-bullets li::before {
  content: '';
  position: absolute; left: 4px; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

.walk-visual { width: 100%; }
.walk-visual-pair { display: flex; flex-direction: column; gap: 16px; }
.walk-frame {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease, border-color 0.3s ease;
}
.walk-frame:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 222, 128, 0.30);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(74, 222, 128, 0.15);
}
.walk-frame-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-soft);
}
.walk-frame-title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
.walk-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.walk-foot {
  margin-top: 56px;
  padding: 22px 28px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.7;
}
.walk-foot b { color: var(--text); }

@media (max-width: 960px) {
  .walk-step, .walk-step.walk-reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .walk-step.walk-reverse .walk-text { order: 1; }
  .walk-step.walk-reverse .walk-visual { order: 2; }
  .walk { gap: 56px; }
}

/* ---------- Demos table (4 demo results) ---------- */
.demos-section { padding-top: 80px; padding-bottom: 80px; }
.demos-table {
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
}
.demos-row {
  display: grid;
  grid-template-columns: 56px 1.6fr 1.2fr 0.9fr 1.6fr 1.6fr;
  gap: 0;
  border-bottom: 1px solid var(--border-soft);
}
.demos-row:last-child { border-bottom: none; }
.demos-row > div {
  padding: 18px 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
  border-right: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
}
.demos-row > div:last-child { border-right: none; }
.demos-row.demos-head > div {
  background: rgba(74, 222, 128, 0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}
.demos-pass { color: var(--accent) !important; font-weight: 600; flex-direction: column; align-items: flex-start !important; gap: 4px; }
.demos-warn { color: var(--amber) !important; font-weight: 600; }
.demos-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 960px) {
  .demos-row { grid-template-columns: 1fr; }
  .demos-row > div {
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
    padding: 10px 16px;
  }
  .demos-row > div:last-child { border-bottom: none; }
  .demos-row.demos-head { display: none; }
  .demos-row > div::before {
    content: attr(data-label);
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-mute);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: 80px;
    flex-shrink: 0;
  }
}

/* ---------- Pack section additions ---------- */
.pack-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 16px;
  margin-bottom: 56px;
}
.pack-intro-text p {
  color: var(--text-dim);
  line-height: 1.75;
  margin: 0 0 16px;
}
.pack-intro-text p:last-child { margin-bottom: 0; }
.pack-intro-text b { color: var(--text); }
.pack-cmp-h {
  font-size: clamp(22px, 2.4vw, 30px);
  margin: 56px 0 8px;
  color: var(--text);
}
.pack-cmp-lede {
  margin: 0 0 24px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
  max-width: 760px;
}
.pack-tail {
  margin: 24px 0 36px;
  padding: 16px 20px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}
@media (max-width: 960px) {
  .pack-intro { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Intro section (lobster opener) ---------- */
.intro-section { padding-top: 56px; padding-bottom: 32px; }
.intro-prose {
  max-width: 880px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--text-dim);
}
.intro-prose p { margin: 0 0 18px; }
.intro-prose p:last-child { margin-bottom: 0; }
.intro-prose b { color: var(--text); font-weight: 600; }

/* ---------- Walk visual trio (3 stacked screenshots) ---------- */
.walk-visual-trio { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Walk foot (closing summary) ---------- */
.walk-foot p { margin: 0 0 12px; }
.walk-foot p:last-child { margin-bottom: 0; }
.walk-foot-tag {
  font-size: 15.5px;
  color: var(--text);
  font-weight: 500;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  margin-top: 14px !important;
}

/* ---------- Pack prose (老法师 opening prose block) ---------- */
.pack-prose {
  max-width: 880px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-dim);
}
.pack-prose p { margin: 0 0 16px; }
.pack-prose p:last-child { margin-bottom: 0; }
.pack-prose b { color: var(--text); font-weight: 600; }

/* ---------- Pack sub-headings (构建 / 社区开源) ---------- */
.pack-sub-h {
  font-size: 22px;
  margin: 48px 0 12px;
  color: var(--text);
}
.pack-sub-p {
  margin: 0 0 14px;
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 860px;
}
.pack-sub-p b { color: var(--text); }

/* ---------- Skill block (Skill panel + Device Sizing screenshots) ---------- */
.skill-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
  margin: 48px 0 16px;
}
.skill-block-text h3 {
  font-size: clamp(20px, 2.1vw, 26px);
  margin: 0 0 14px;
  color: var(--text);
}
.skill-block-text p {
  color: var(--text-dim);
  line-height: 1.75;
  margin: 0;
}
.skill-block-visual { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 960px) {
  .skill-block { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Roadmap bullets ---------- */
.rm-bullets {
  margin: 8px 0 0;
  padding-left: 0;
  list-style: none;
}
.rm-bullets li {
  position: relative;
  padding-left: 18px;
  margin: 6px 0;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}
.rm-bullets li::before {
  content: '';
  position: absolute; left: 4px; top: 10px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent-2);
}

/* ---------- Download meta block (公司网址 / 联系方式 / 问题反馈) ---------- */
.dl-meta {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dl-meta-row {
  display: flex;
  gap: 16px;
  font-size: 13.5px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}
.dl-meta-k {
  min-width: 88px;
  color: var(--text-mute);
}
.dl-meta-row a { color: var(--accent); }
.dl-meta-row a:hover { color: var(--text); }

/* ---------- About section ---------- */
.about-section { padding-top: 64px; padding-bottom: 96px; }
.about-card {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 40px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(74, 222, 128, 0.04), transparent);
  text-align: center;
}
.about-card .kicker { margin-bottom: 12px; }
.about-h {
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 0 0 16px;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-p {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 720px) {
  .about-card { padding: 32px 24px; }
}

/* ---------- Repo CTA card (step 6: GitHub Pack repo) ---------- */
.repo-cta {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background:
    radial-gradient(800px 200px at 20% 0%, rgba(74, 222, 128, 0.08), transparent 60%),
    var(--bg-card-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.5s;
}
.repo-cta:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 222, 128, 0.35);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(74, 222, 128, 0.18);
}
.repo-cta-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
  color: var(--accent);
}
.repo-cta-icon { color: var(--accent); flex-shrink: 0; }
.repo-cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-mute);
}
.repo-cta-title {
  font-family: var(--font-mono);
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text);
  margin-bottom: 12px;
  word-break: break-all;
}
.repo-cta-desc {
  color: var(--text-dim);
  line-height: 1.7;
  font-size: 14.5px;
  margin: 0 0 18px;
}
.repo-cta-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center;
}
.repo-cta-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.02);
  letter-spacing: 0.04em;
}
.repo-cta-arrow {
  margin-left: auto;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  transition: transform 0.3s ease;
}
.repo-cta:hover .repo-cta-arrow { transform: translateX(4px); }

/* ---------- Slider (multi-image walk visual) ---------- */
.walk-slider {
  position: relative;
  width: 100%;
  outline: none;
}
.slider-viewport {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: border-color 0.3s ease, box-shadow 0.5s ease;
}
.walk-slider:hover .slider-viewport {
  border-color: rgba(74, 222, 128, 0.30);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(74, 222, 128, 0.15);
}
.slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.slider-slide {
  flex: 0 0 100%;
  min-width: 0;
}
.slider-slide .walk-frame-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-soft);
}
.slider-slide img {
  display: block;
  width: 100%;
  height: auto;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 13, 18, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  padding: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.slider-btn:hover {
  border-color: rgba(74, 222, 128, 0.5);
  background: rgba(10, 13, 18, 0.92);
  color: var(--accent);
}
.slider-btn:active { transform: translateY(-50%) scale(0.95); }
.slider-btn-prev { left: 10px; }
.slider-btn-next { right: 10px; }
.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
  padding: 6px 10px;
  background: rgba(10, 13, 18, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, border-color 0.25s, width 0.25s;
}
.slider-dot:hover { border-color: rgba(74, 222, 128, 0.6); }
.slider-dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  width: 22px;
  border-radius: 999px;
}
.slider-counter {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  padding: 4px 10px;
  background: rgba(10, 13, 18, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.slider-counter-cur { color: var(--text); }
@media (max-width: 720px) {
  .slider-btn { width: 32px; height: 32px; }
  .slider-btn-prev { left: 6px; }
  .slider-btn-next { right: 6px; }
  .slider-counter { font-size: 10px; padding: 3px 8px; top: 8px; right: 8px; }
}
