/* ============================================================
   home.css — full visual redesign
   ============================================================ */

/* ── Shell ───────────────────────────────────────────────────── */

.shell {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

/* ── Buttons ─────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms var(--easing), box-shadow 160ms var(--easing), background 160ms ease, border-color 160ms ease;
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 0 28px var(--accent-glow), 0 4px 14px rgba(0,0,0,0.3);
}
.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 0 44px var(--accent-glow), 0 8px 24px rgba(0,0,0,0.4);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border-color: rgba(255,255,255,0.1);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.18);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.84rem;
  border-radius: 9px;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 14px;
}

/* ── Hero ────────────────────────────────────────────────────── */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100dvh;
  padding: 100px 0 48px;
  justify-content: center;
  gap: 0;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.28);
  border-radius: 999px;
  padding: 5px 14px 5px 10px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #c4b5fd;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.22);
  animation: pulse-dot 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.22); }
  50% { box-shadow: 0 0 0 7px rgba(167, 139, 250, 0.08); }
}

.hero-title {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.05em;
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  line-height: 0.96;
  background: linear-gradient(160deg, #ffffff 0%, #e0d6ff 35%, #c4b5fd 60%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  margin: 0 0 36px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  max-width: 52ch;
}

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

/* ── Status row ──────────────────────────────────────────────── */

.status-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 999px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245,158,11,0.16);
  flex-shrink: 0;
  transition: background 300ms ease, box-shadow 300ms ease;
}
.status-dot.ok  { background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,0.16); }
.status-dot.bad { background: #f43f5e; box-shadow: 0 0 0 3px rgba(244,63,94,0.16); }

/* ── Hero stats ──────────────────────────────────────────────── */

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 56px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 20px 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.hstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 32px;
}

.hstat-val {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #f0f2ff, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hstat-val sup {
  font-size: 0.9rem;
  vertical-align: super;
  letter-spacing: 0;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hstat-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hstat-div {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.07);
  flex-shrink: 0;
}

/* ── Scroll hint ─────────────────────────────────────────────── */

.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  color: rgba(255,255,255,0.2);
  animation: scroll-hint 2s ease-in-out infinite;
}

@keyframes scroll-hint {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(6px); opacity: 0.7; }
}

.scroll-hint-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2));
}

/* ── Shared section styles ───────────────────────────────────── */

.section {
  margin-top: 112px;
}

.section-eyebrow {
  margin-bottom: 16px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a78bfa;
  padding: 5px 14px;
  background: rgba(124, 58, 237, 0.11);
  border: 1px solid rgba(124, 58, 237, 0.26);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.section-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
  max-width: 14ch;
}

.section-sub {
  margin: 0 0 42px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 54ch;
}

/* ── Reveal animations ───────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: perspective(700px) rotateX(6deg) translateY(20px);
  transition:
    opacity 700ms var(--easing),
    transform 700ms var(--easing);
  transition-delay: var(--d, 0ms);
}

.reveal.in {
  opacity: 1;
  transform: perspective(700px) rotateX(0deg) translateY(0);
}

/* ── Marquee ticker ──────────────────────────────────────────── */

.marquee-wrap {
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.015);
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 44s linear infinite;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.mq-item {
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0 12px;
}

.mq-cmd {
  font-family: "Fira Code", "Cascadia Code", ui-monospace, monospace;
  font-size: 0.8rem;
  color: var(--accent-light);
  font-weight: 600;
  background: rgba(124, 58, 237, 0.09);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 5px;
  padding: 2px 8px;
  margin: 0 4px;
}

.mq-dot {
  color: rgba(255,255,255,0.12);
  padding: 0 2px;
}

/* ── 3D Ring Scene Section ───────────────────────────────────── */

.ring-section {
  position: relative;
  /* sticky viewport + small exit buffer so the sticky element can release */
  height: calc(100vh + 72px);
  margin-top: 0;
}

.ring-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ring-scene {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ── Ring: copy column ───────────────────────────────────────── */

.ring-copy-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ring-eyebrow {
  margin-bottom: 28px;
}

.ring-copy-panels {
  position: relative;
  min-height: 280px;
}

.ring-copy-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms var(--easing), transform 500ms var(--easing);
  pointer-events: none;
}

.ring-copy-panel.rcp-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.rcp-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a78bfa;
  margin-bottom: 14px;
}

[data-panel="1"] .rcp-tag { color: #f59e0b; }
[data-panel="2"] .rcp-tag { color: #38bdf8; }
[data-panel="3"] .rcp-tag { color: #34d399; }

.rcp-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.rcp-desc {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
  max-width: 46ch;
}

.rcp-cmds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rcp-cmd {
  font-family: "Fira Code", "Cascadia Code", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-light);
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 7px;
  padding: 3px 10px;
  letter-spacing: -0.01em;
}

[data-panel="1"] .rcp-cmd { color: #f59e0b; background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.22); }
[data-panel="2"] .rcp-cmd { color: #38bdf8; background: rgba(56,189,248,0.08); border-color: rgba(56,189,248,0.22); }
[data-panel="3"] .rcp-cmd { color: #34d399; background: rgba(52,211,153,0.08); border-color: rgba(52,211,153,0.22); }

/* ── Ring copy: bullet points ────────────────────────────────── */

.rcp-points {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.rcp-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.89rem;
  color: rgba(224, 231, 255, 0.65);
  line-height: 1.5;
}

.rcp-points li::before {
  content: "";
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-light);
}

[data-panel="1"] .rcp-points li::before { background: #f59e0b; }
[data-panel="2"] .rcp-points li::before { background: #38bdf8; }
[data-panel="3"] .rcp-points li::before { background: #34d399; }

/* ── Ring: navigation dots ───────────────────────────────────── */

.ring-nav {
  display: flex;
  gap: 4px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.ring-nav-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.ring-nav-dot:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.ring-nav-dot.active {
  color: var(--accent-light);
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.28);
}

.ring-nav-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.rnd-pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* ── Ring: 3D visual column ──────────────────────────────────── */

.ring-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring-perspective {
  position: relative;
  width: 400px;
  height: 400px;
  perspective: 900px;
  perspective-origin: 50% 50%;
}

.ring-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  /* JS will update transform directly for smooth lerp */
}

/* ── Ring orbs ───────────────────────────────────────────────── */

.ring-orb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 110px;
  height: 110px;
  margin-left: -55px;
  margin-top: -55px;
}

.ring-orb:nth-child(1) { transform: rotateY(0deg)   translateZ(190px); }
.ring-orb:nth-child(2) { transform: rotateY(90deg)  translateZ(190px); }
.ring-orb:nth-child(3) { transform: rotateY(180deg) translateZ(190px); }
.ring-orb:nth-child(4) { transform: rotateY(270deg) translateZ(190px); }

.ro-body {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--oc) 10%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--oc) 35%, transparent);
  display: grid;
  place-items: center;
  color: var(--oc);
  transition:
    box-shadow 600ms var(--easing),
    background 600ms var(--easing),
    border-color 600ms var(--easing),
    transform 600ms var(--easing);
  transform: scale(0.8);
  box-shadow: none;
}

.ring-orb.ro-active .ro-body {
  transform: scale(1);
  background: color-mix(in srgb, var(--oc) 14%, transparent);
  border-color: color-mix(in srgb, var(--oc) 60%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--oc) 20%, transparent),
    0 0 50px var(--og),
    0 0 100px color-mix(in srgb, var(--og) 40%, transparent);
}

.ro-outer {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--oc) 18%, transparent);
  opacity: 0;
  transition: opacity 600ms ease;
  animation: orb-outer-spin 8s linear infinite;
}

.ring-orb.ro-active .ro-outer {
  opacity: 1;
}

@keyframes orb-outer-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.ro-label {
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--oc);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 400ms ease;
}

.ring-orb.ro-active .ro-label { opacity: 1; }

/* ── Ring orb: art ───────────────────────────────────────────── */

.ro-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  position: relative;
}

/* Music: animated equalizer */
.ro-art-music {
  gap: 3px;
  align-items: flex-end;
}

.ro-art-music span {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: var(--oc, #a78bfa);
  animation: eq-bar 0.7s ease-in-out infinite alternate;
}
.ro-art-music span:nth-child(1) { height: 14px; animation-delay: 0s;     }
.ro-art-music span:nth-child(2) { height: 28px; animation-delay: -0.1s;  }
.ro-art-music span:nth-child(3) { height: 40px; animation-delay: -0.2s;  }
.ro-art-music span:nth-child(4) { height: 22px; animation-delay: -0.3s;  }
.ro-art-music span:nth-child(5) { height: 36px; animation-delay: -0.15s; }
.ro-art-music span:nth-child(6) { height: 18px; animation-delay: -0.25s; }
.ro-art-music span:nth-child(7) { height: 30px; animation-delay: -0.35s; }

@keyframes eq-bar {
  from { transform: scaleY(0.35); opacity: 0.5; }
  to   { transform: scaleY(1);    opacity: 1;   }
}

/* Reduce animation when art is not active */
.ring-orb:not(.ro-active) .ro-art-music span {
  animation-play-state: paused;
}

/* AI: pulsing core + rings + sparks */
.ro-art-ai {
  position: relative;
}

.ai-core {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--oc, #f59e0b);
  box-shadow: 0 0 12px var(--oc);
  animation: ai-pulse 1.8s ease-in-out infinite;
}

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

.ai-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--oc, #f59e0b) 50%, transparent);
  animation: ai-ring-expand 2.4s ease-out infinite;
}
.ai-ring-1 { animation-delay: 0s; }
.ai-ring-2 { animation-delay: -1.2s; }

@keyframes ai-ring-expand {
  from { transform: scale(0.6); opacity: 0.8; }
  to   { transform: scale(2.2); opacity: 0; }
}

.ai-spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--oc, #f59e0b);
  animation: ai-orbit 3s linear infinite;
}
.ai-spark-1 { animation-delay: 0s;    transform-origin: 50% 28px; }
.ai-spark-2 { animation-delay: -1s;   transform-origin: 50% 28px; }
.ai-spark-3 { animation-delay: -2s;   transform-origin: 50% 28px; }

@keyframes ai-orbit {
  from { transform: rotate(0deg)   translateX(24px); }
  to   { transform: rotate(360deg) translateX(24px); }
}

.ring-orb:not(.ro-active) .ai-core,
.ring-orb:not(.ro-active) .ai-ring,
.ring-orb:not(.ro-active) .ai-spark { animation-play-state: paused; }

/* Content: streaming dots + arrow */
.ro-art-content {
  flex-direction: column;
  gap: 6px;
}

.ct-stream {
  display: flex;
  gap: 5px;
}

.ct-stream span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--oc, #38bdf8);
  animation: ct-stream-dot 1.4s ease-in-out infinite;
}
.ct-stream span:nth-child(1) { animation-delay: 0s;    }
.ct-stream span:nth-child(2) { animation-delay: -0.35s; }
.ct-stream span:nth-child(3) { animation-delay: -0.7s;  }
.ct-stream span:nth-child(4) { animation-delay: -1.05s; }

@keyframes ct-stream-dot {
  0%, 100% { transform: translateY(0);   opacity: 0.3; }
  50%       { transform: translateY(5px); opacity: 1;   }
}

.ct-arrow {
  color: var(--oc, #38bdf8);
  animation: ct-arrow-bounce 1.4s ease-in-out infinite;
}

@keyframes ct-arrow-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}

.ring-orb:not(.ro-active) .ct-stream span,
.ring-orb:not(.ro-active) .ct-arrow { animation-play-state: paused; }

/* Utilities: 4 pulsing dots in grid */
.ro-art-util {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 4px;
}

.ut-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--oc, #34d399);
  animation: ut-pop 2s ease-in-out infinite;
}
.ut-dot-1 { animation-delay: 0s;    }
.ut-dot-2 { animation-delay: -0.5s; }
.ut-dot-3 { animation-delay: -1s;   }
.ut-dot-4 { animation-delay: -1.5s; }

@keyframes ut-pop {
  0%, 100% { transform: scale(0.7); opacity: 0.4; }
  50%       { transform: scale(1);   opacity: 1;   }
}

.ring-orb:not(.ro-active) .ut-dot { animation-play-state: paused; }

/* ── Ring ground ring decoration ─────────────────────────────── */

.ring-ground {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 440px;
  height: 100px;
  margin-left: -220px;
  margin-top: -50px;
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.1);
  background: radial-gradient(ellipse, rgba(124,58,237,0.04), transparent 70%);
  transform: rotateX(75deg);
  pointer-events: none;
}

/* ── Ring progress bar ───────────────────────────────────────── */

.ring-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.06);
  z-index: 2;
  pointer-events: none;
}

.ring-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 0 2px 2px 0;
  transition: width 60ms linear;
}

/* ── Ring spacer ─────────────────────────────────────────────── */

.ring-spacer {
  /* exit buffer — just enough for the sticky element to release */
  height: 72px;
}

/* ── Capability rows ─────────────────────────────────────────── */

.cap-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-top: 120px;
  min-height: 420px;
}

.cap-row-flip {
  direction: rtl;
}
.cap-row-flip > * { direction: ltr; }

.cap-visual {
  position: relative;
  border-radius: 28px;
  background: rgba(255,255,255,0.022);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cap-visual-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cap-visual-music .cap-visual-bg {
  background:
    radial-gradient(ellipse 80% 65% at 50% 0%, rgba(124,58,237,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(124,58,237,0.07) 0%, transparent 60%);
}

.cap-visual-ai .cap-visual-bg {
  background:
    radial-gradient(ellipse 80% 65% at 50% 0%, rgba(245,158,11,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(245,158,11,0.06) 0%, transparent 60%);
}

.cap-visual-content .cap-visual-bg {
  background:
    radial-gradient(ellipse 80% 65% at 50% 0%, rgba(56,189,248,0.16) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(56,189,248,0.05) 0%, transparent 60%);
}

.cap-tag-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bc, #a78bfa);
  background: var(--bb, rgba(124,58,237,0.12));
  border: 1px solid color-mix(in srgb, var(--bc, #a78bfa) 28%, transparent);
  border-radius: 999px;
  padding: 4px 12px;
  z-index: 1;
}

/* Equalizer art (music visual) */

.cap-eq {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 180px;
  padding: 0 8px;
}

.cap-eq span {
  display: block;
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, rgba(124,58,237,0.95), rgba(167,139,250,0.55));
  transform-origin: bottom;
  animation: cap-eq-bar 1.4s ease-in-out infinite alternate;
}

.cap-eq span:nth-child(1)  { height: 35%;  animation-delay: 0s;       }
.cap-eq span:nth-child(2)  { height: 62%;  animation-delay: -0.07s;   }
.cap-eq span:nth-child(3)  { height: 88%;  animation-delay: -0.14s;   }
.cap-eq span:nth-child(4)  { height: 48%;  animation-delay: -0.21s;   }
.cap-eq span:nth-child(5)  { height: 78%;  animation-delay: -0.28s;   }
.cap-eq span:nth-child(6)  { height: 40%;  animation-delay: -0.35s;   }
.cap-eq span:nth-child(7)  { height: 70%;  animation-delay: -0.42s;   }
.cap-eq span:nth-child(8)  { height: 55%;  animation-delay: -0.49s;   }
.cap-eq span:nth-child(9)  { height: 93%;  animation-delay: -0.56s;   }
.cap-eq span:nth-child(10) { height: 43%;  animation-delay: -0.63s;   }
.cap-eq span:nth-child(11) { height: 74%;  animation-delay: -0.7s;    }
.cap-eq span:nth-child(12) { height: 60%;  animation-delay: -0.77s;   }
.cap-eq span:nth-child(13) { height: 96%;  animation-delay: -0.84s;   }
.cap-eq span:nth-child(14) { height: 38%;  animation-delay: -0.91s;   }
.cap-eq span:nth-child(15) { height: 67%;  animation-delay: -0.98s;   }
.cap-eq span:nth-child(16) { height: 80%;  animation-delay: -1.05s;   }
.cap-eq span:nth-child(17) { height: 50%;  animation-delay: -1.12s;   }
.cap-eq span:nth-child(18) { height: 85%;  animation-delay: -1.19s;   }
.cap-eq span:nth-child(19) { height: 44%;  animation-delay: -1.26s;   }
.cap-eq span:nth-child(20) { height: 71%;  animation-delay: -1.33s;   }

@keyframes cap-eq-bar {
  from { transform: scaleY(0.28); opacity: 0.45; }
  to   { transform: scaleY(1);    opacity: 1;    }
}

/* Neural art (AI visual) */

.cap-neural {
  position: relative;
  z-index: 1;
  width: 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.neural-svg { width: 100%; height: 100%; overflow: visible; }

.nn-core {
  transform-origin: 120px 120px;
  animation: nn-core-pulse 2s ease-in-out infinite;
}

@keyframes nn-core-pulse {
  0%, 100% { opacity: 1;   transform: scale(1);   }
  50%       { opacity: 0.65; transform: scale(1.18); }
}

.nn-node { animation: nn-node-blink 2.8s ease-in-out infinite; }
.nn-node:nth-child(2) { animation-delay: -0.47s; }
.nn-node:nth-child(3) { animation-delay: -0.93s; }
.nn-node:nth-child(4) { animation-delay: -1.4s;  }
.nn-node:nth-child(5) { animation-delay: -1.87s; }
.nn-node:nth-child(6) { animation-delay: -2.33s; }

@keyframes nn-node-blink {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 1;    }
}

.nn-line { animation: nn-line-flash 3.2s linear infinite; }
.nn-line:nth-child(7)  { animation-delay: 0s;    }
.nn-line:nth-child(8)  { animation-delay: -0.53s; }
.nn-line:nth-child(9)  { animation-delay: -1.07s; }
.nn-line:nth-child(10) { animation-delay: -1.6s;  }
.nn-line:nth-child(11) { animation-delay: -2.13s; }
.nn-line:nth-child(12) { animation-delay: -2.67s; }

@keyframes nn-line-flash {
  0%, 100% { opacity: 0.15; }
  50%       { opacity: 0.75; }
}

.nn-pulse {
  transform-origin: 120px 120px;
  animation: nn-pulse-ring 2.2s ease-out infinite;
}

@keyframes nn-pulse-ring {
  from { opacity: 0.65; transform: scale(1);   }
  to   { opacity: 0;    transform: scale(3.2); }
}

/* Content stream art */

.cap-stream-art {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px;
}

.csa-file {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(56,189,248,0.07);
  border: 1px solid rgba(56,189,248,0.18);
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  min-width: 152px;
  animation: csa-file-float 3s ease-in-out infinite;
}

.csa-file svg { color: #38bdf8; flex-shrink: 0; }
.csa-f1 { animation-delay: 0s;    }
.csa-f2 { animation-delay: -1s;   }
.csa-f3 { animation-delay: -2s;   }

@keyframes csa-file-float {
  0%, 100% { transform: translateX(0);   opacity: 0.55; }
  30%, 70% { transform: translateX(5px); opacity: 1;    }
}

.csa-arrow {
  color: #38bdf8;
  animation: csa-arrow-bounce 1.6s ease-in-out infinite;
}

@keyframes csa-arrow-bounce {
  0%, 100% { transform: translateY(0);   opacity: 0.5; }
  50%       { transform: translateY(4px); opacity: 1;   }
}

.csa-dest {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(56,189,248,0.13);
  border: 1px solid rgba(56,189,248,0.3);
  border-radius: 10px;
  padding: 11px 20px;
  font-size: 0.87rem;
  font-weight: 700;
  color: #38bdf8;
  min-width: 152px;
}

/* Cap copy column */

.cap-copy {
  display: flex;
  flex-direction: column;
  max-width: 520px;
}

.cap-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.cap-desc {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.72;
  max-width: 50ch;
}

.cap-points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cap-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.91rem;
  color: rgba(224,231,255,0.72);
  line-height: 1.5;
}

.cap-points li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 8px rgba(124,58,237,0.5);
}

/* ── Platforms section ───────────────────────────────────────── */

.platforms-section {
  margin-top: 80px;
  text-align: center;
}

.platforms-label {
  margin: 0 0 22px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.platforms-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.plat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  font-size: 0.87rem;
  font-weight: 600;
  color: rgba(224,231,255,0.65);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
  cursor: default;
}

.plat-chip:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.13);
  color: var(--text);
  transform: translateY(-2px);
}

.plat-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* ── How-to steps ────────────────────────────────────────────── */

.howto-section { margin-top: 100px; }

.howto-steps {
  display: flex;
  align-items: flex-start;
  margin-top: 40px;
  flex-wrap: wrap;
  row-gap: 24px;
}

.howto-step {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 32px 24px 28px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 22px;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms var(--easing);
}

.howto-step:hover {
  background: rgba(124, 58, 237, 0.06);
  border-color: rgba(124, 58, 237, 0.22);
  transform: translateY(-3px);
}

.howto-step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-light);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.18);
  flex-shrink: 0;
}

.howto-step-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.howto-step-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.howto-step-body code {
  font-family: "Fira Code", ui-monospace, monospace;
  font-size: 0.82rem;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--accent-light);
}

.howto-connector {
  flex: 0 0 32px;
  height: 2px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.3), rgba(124, 58, 237, 0.08));
  margin-top: 52px;
  border-radius: 2px;
}

/* ── CTA ─────────────────────────────────────────────────────── */

.cta-section { margin-top: 88px; }

.cta-inner {
  position: relative;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.018)),
    rgba(255,255,255,0.02);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 32px;
  padding: 88px 40px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0,0,0,0.2);
}

.cta-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 58, 237, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 20% 100%, rgba(6, 182, 212, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.cta-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black 20%, transparent 80%);
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #c4b5fd;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
}

.cta-title {
  margin: 0 0 14px;
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  background: linear-gradient(135deg, #f0f2ff 10%, #c4b5fd 55%, #67e8f9 92%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-sub {
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 48ch;
  position: relative;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}

/* ── Footer ──────────────────────────────────────────────────── */

.site-footer {
  margin-top: 100px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  padding-top: 52px;
  padding-bottom: 32px;
  display: flex;
  gap: 52px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 220px;
}

.footer-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  object-fit: cover;
  flex-shrink: 0;
}

.footer-bot-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  display: block;
}

.footer-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.footer-nav {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  flex: 2 1 360px;
}

.footer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 120px;
}

.footer-nav-title {
  margin: 0 0 6px;
  font-size: 0.71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.footer-nav-group a {
  color: rgba(224, 231, 255, 0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 150ms ease;
}

.footer-nav-group a:hover { color: var(--accent-light); }

.footer-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  color: var(--muted);
}

.footer-bottom {
  padding-top: 18px;
  padding-bottom: 36px;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.5;
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 150ms ease;
}

.footer-bottom-links a:hover { opacity: 1; }

/* ── Scene orb ───────────────────────────────────────────────── */

.scene-orb {
  position: fixed;
  top: 10%;
  right: -250px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transition: background 1.4s ease;
  filter: blur(100px);
  background: radial-gradient(ellipse, rgba(124,58,237,0.05) 0%, transparent 70%);
}

/* ── Feature sections ────────────────────────────────────────── */

.feat-section {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.feat-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.feat-flip .feat-inner {
  direction: rtl;
}
.feat-flip .feat-inner > * {
  direction: ltr;
}

/* ── Feature copy ────────────────────────────────────────────── */

.feat-copy {
  display: flex;
  flex-direction: column;
}

.feat-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fe, #a78bfa);
  padding: 5px 14px;
  background: var(--feb, rgba(124,58,237,0.1));
  border: 1px solid color-mix(in srgb, var(--fe, #a78bfa) 36%, transparent);
  border-radius: 999px;
  margin-bottom: 22px;
  width: fit-content;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.feat-title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.95rem, 3vw, 2.9rem);
  letter-spacing: -0.04em;
  line-height: 1.07;
}

.feat-title em {
  font-style: normal;
  background: linear-gradient(135deg, #c4b5fd 20%, #67e8f9 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feat-desc {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 52ch;
}

.feat-points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.feat-points li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.92rem;
  color: rgba(224,231,255,0.7);
  line-height: 1.55;
}

.feat-points li::before {
  content: "";
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fp, #a78bfa);
  margin-top: 7px;
  box-shadow: 0 0 6px color-mix(in srgb, var(--fp, #a78bfa) 55%, transparent);
}

.feat-points strong {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.feat-cmds {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 28px;
}

.feat-cmd {
  font-family: "Fira Code", "Cascadia Code", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fc, #a78bfa);
  background: var(--fcb, rgba(124,58,237,0.09));
  border: 1px solid var(--fcc, rgba(124,58,237,0.22));
  border-radius: 7px;
  padding: 4px 10px;
  letter-spacing: -0.01em;
}

/* ── Feature visual (shared container) ──────────────────────── */

.feat-vis {
  position: relative;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.018)),
    rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 36px 28px;
  box-shadow: 0 18px 42px rgba(0,0,0,0.2);
}

.fv-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 65% at 50% 0%, var(--fg, rgba(124,58,237,0.14)) 0%, transparent 65%);
  pointer-events: none;
}

.fv-label {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fc, #a78bfa);
  opacity: 0.45;
}

/* ── Download visual ─────────────────────────────────────────── */

.fv-download {
  gap: 14px;
  padding: 28px 24px;
}

.fvd-sources {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.fvd-src {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
}

.fvd-src svg {
  width: 20px;
  height: 20px;
}

.fvd-src-tiktok { color: #fff; background: rgba(0,0,0,0.3); border-color: rgba(255,255,255,0.07); }

.fvd-funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(14,165,233,0.55);
}

.fvdf-line {
  width: 1px;
  height: 22px;
  background: linear-gradient(to bottom, transparent, rgba(14,165,233,0.45));
}

.fvd-progress-wrap {
  width: 100%;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.fvd-pb-track {
  width: 100%;
  height: 5px;
  background: rgba(255,255,255,0.07);
  border-radius: 99px;
  overflow: hidden;
}

.fvd-pb-fill {
  height: 100%;
  background: linear-gradient(90deg, #0ea5e9, #38bdf8);
  border-radius: 99px;
  animation: fvd-progress 3.5s ease-in-out infinite;
}

@keyframes fvd-progress {
  0%   { width:  5%; }
  55%  { width: 80%; }
  80%  { width: 97%; }
  100% { width: 100%; }
}

.fvd-pb-pct {
  font-size: 0.74rem;
  color: rgba(14,165,233,0.65);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.fvd-outputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 280px;
}

.fvd-file {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  opacity: 0;
  transform: translateY(6px);
  animation: fvd-file-in 3.5s ease-in-out infinite;
}

.fvd-f1 { animation-delay: 2.6s; }
.fvd-f2 { animation-delay: 2.9s; }

@keyframes fvd-file-in {
  0%, 68%  { opacity: 0; transform: translateY(6px); }
  82%, 100% { opacity: 1; transform: translateY(0); }
}

.fvd-file svg { color: #0ea5e9; flex-shrink: 0; }

.fvd-check {
  margin-left: auto;
  color: #34d399;
  font-weight: 700;
  font-size: 0.85rem;
}

.fvd-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.fvd-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(14,165,233,0.85);
  background: rgba(14,165,233,0.08);
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: 99px;
  padding: 3px 10px;
}

/* ── Music visual ────────────────────────────────────────────── */

.fv-music {
  gap: 14px;
}

.fvm-player {
  width: 100%;
  max-width: 300px;
  background: rgba(124,58,237,0.07);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fvmp-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 50px;
  justify-content: center;
}

.fvmp-wave span {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(to top, rgba(124,58,237,0.9), rgba(167,139,250,0.5));
  transform-origin: bottom;
  animation: fvmp-wave-bar 0.85s ease-in-out infinite alternate;
}

.fvmp-wave span:nth-child(1)  { height: 20px; animation-delay: 0s;      }
.fvmp-wave span:nth-child(2)  { height: 34px; animation-delay: -0.05s;  }
.fvmp-wave span:nth-child(3)  { height: 46px; animation-delay: -0.10s;  }
.fvmp-wave span:nth-child(4)  { height: 26px; animation-delay: -0.15s;  }
.fvmp-wave span:nth-child(5)  { height: 40px; animation-delay: -0.20s;  }
.fvmp-wave span:nth-child(6)  { height: 48px; animation-delay: -0.25s;  }
.fvmp-wave span:nth-child(7)  { height: 22px; animation-delay: -0.30s;  }
.fvmp-wave span:nth-child(8)  { height: 42px; animation-delay: -0.35s;  }
.fvmp-wave span:nth-child(9)  { height: 36px; animation-delay: -0.40s;  }
.fvmp-wave span:nth-child(10) { height: 50px; animation-delay: -0.45s;  }
.fvmp-wave span:nth-child(11) { height: 18px; animation-delay: -0.50s;  }
.fvmp-wave span:nth-child(12) { height: 32px; animation-delay: -0.55s;  }
.fvmp-wave span:nth-child(13) { height: 44px; animation-delay: -0.60s;  }
.fvmp-wave span:nth-child(14) { height: 16px; animation-delay: -0.65s;  }
.fvmp-wave span:nth-child(15) { height: 28px; animation-delay: -0.70s;  }
.fvmp-wave span:nth-child(16) { height: 24px; animation-delay: -0.75s;  }

@keyframes fvmp-wave-bar {
  from { transform: scaleY(0.28); opacity: 0.45; }
  to   { transform: scaleY(1);    opacity: 1;    }
}

.fvmp-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fvmp-now {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.01em;
}

.fvmp-source {
  font-size: 0.71rem;
  color: rgba(167,139,250,0.65);
  font-weight: 500;
}

.fvmp-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fvmp-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  cursor: default;
  flex-shrink: 0;
}

.fvmp-play {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-color: rgba(124,58,237,0.5);
  color: #fff;
  box-shadow: 0 0 18px rgba(124,58,237,0.4);
}

.fvm-lyrics {
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: center;
}

.fvml-line {
  font-size: 0.84rem;
  line-height: 1.5;
  border-radius: 8px;
  padding: 5px 12px;
}

.fvml-active {
  color: rgba(255,255,255,0.95);
  font-weight: 600;
  background: rgba(124,58,237,0.13);
  border: 1px solid rgba(124,58,237,0.24);
}

.fvml-prev,
.fvml-next {
  color: rgba(255,255,255,0.25);
  font-size: 0.79rem;
}

.fvm-queue {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  color: rgba(167,139,250,0.5);
  font-weight: 500;
}

/* ── AI visual ───────────────────────────────────────────────── */

.fv-ai {
  padding: 28px 24px;
}

.fvai-chat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 320px;
}

.fvai-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.fvai-user {
  flex-direction: row-reverse;
}

.fvai-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  flex-shrink: 0;
}

.fvai-bot-av {
  background: rgba(245,158,11,0.14);
  border-color: rgba(245,158,11,0.28);
  color: #f59e0b;
}

.fvai-bubble {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 0.82rem;
  line-height: 1.62;
  color: rgba(224,231,255,0.8);
  max-width: 250px;
}

.fvai-user .fvai-bubble {
  background: rgba(245,158,11,0.07);
  border-color: rgba(245,158,11,0.17);
  color: rgba(224,231,255,0.85);
  text-align: right;
}

.fvai-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0 8px;
}

.fvai-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  opacity: 0.35;
  animation: fvai-type-dot 1.3s ease-in-out infinite;
}

.fvai-typing span:nth-child(2) { animation-delay: 0.22s; }
.fvai-typing span:nth-child(3) { animation-delay: 0.44s; }

@keyframes fvai-type-dot {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50%       { opacity: 1;    transform: translateY(-3px); }
}

.fvai-answer {
  opacity: 0;
  animation: fvai-answer-reveal 0.5s ease forwards;
  animation-delay: 1.6s;
}

@keyframes fvai-answer-reveal {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Translate visual ────────────────────────────────────────── */

.fv-translate {
  padding: 28px 24px;
}

.fvtrans-card {
  width: 100%;
  max-width: 300px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(16,185,129,0.15);
  border-radius: 18px;
  overflow: hidden;
}

.fvtc-from,
.fvtc-to {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.fvtc-from {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.fvtc-lang-tag {
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(16,185,129,0.8);
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 99px;
  padding: 2px 9px;
  width: fit-content;
}

.fvtc-lt-ja {
  font-size: 0.73rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

.fvtc-text {
  font-size: 0.92rem;
  color: rgba(224,231,255,0.72);
  line-height: 1.5;
  font-style: italic;
}

.fvtc-result {
  color: rgba(255,255,255,0.92);
  font-weight: 500;
  font-style: normal;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.fvtc-mid {
  padding: 11px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(16,185,129,0.03);
}

.fvtc-arrow {
  color: rgba(16,185,129,0.55);
  flex-shrink: 0;
}

.fvtc-langrow {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.fvtc-langrow span {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.28);
  padding: 2px 7px;
  border-radius: 99px;
  border: 1px solid transparent;
}

.fvtc-langrow span.active {
  color: rgba(16,185,129,0.9);
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.22);
}

.fvtc-more {
  font-weight: 700;
  color: rgba(16,185,129,0.55) !important;
}

/* ── Compile visual ──────────────────────────────────────────── */

.fv-compile {
  padding: 28px 24px;
  gap: 14px;
}

.fvc-terminal {
  width: 100%;
  max-width: 320px;
  background: #0d0d12;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  overflow: hidden;
  font-family: "Fira Code", "Cascadia Code", ui-monospace, monospace;
  font-size: 0.79rem;
}

.fvct-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.fvct-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fvct-red    { background: #ff5f57; }
.fvct-yellow { background: #febc2e; }
.fvct-green  { background: #28c840; }

.fvct-title {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-body);
  margin-left: 4px;
}

.fvct-code {
  padding: 16px 18px;
  line-height: 1.8;
  color: rgba(224,231,255,0.65);
}

.tok-kw  { color: #c084fc; }
.tok-fn  { color: #67e8f9; }
.tok-num { color: #86efac; }
.tok-op  { color: rgba(255,255,255,0.35); }

.fvct-sep {
  height: 1px;
  background: rgba(255,255,255,0.06);
}

.fvct-out {
  padding: 11px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.fvct-out-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  font-family: var(--font-body);
}

.fvct-result {
  color: #86efac;
  font-size: 0.82rem;
}

.fvc-lang-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  max-width: 320px;
}

.fvc-lang-chips span {
  font-size: 0.71rem;
  font-weight: 600;
  color: rgba(255,255,255,0.37);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 99px;
  padding: 3px 10px;
  font-family: "Fira Code", ui-monospace, monospace;
}

.fvcl-more {
  color: rgba(249,115,22,0.65) !important;
  background: rgba(249,115,22,0.07) !important;
  border-color: rgba(249,115,22,0.18) !important;
}

/* ── Torrent visual ──────────────────────────────────────────── */

.fv-torrent {
  padding: 24px 20px;
  gap: 12px;
}

.fvtor-cmd {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(99,102,241,0.07);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 10px;
  padding: 8px 14px;
  width: 100%;
  max-width: 320px;
}

.fvtor-slash {
  font-family: "Fira Code", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(129,140,248,0.85);
}

.fvtor-param {
  font-family: "Fira Code", ui-monospace, monospace;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

.fvtor-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 320px;
}

.fvtor-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fvtor-active {
  background: rgba(99,102,241,0.06);
  border-color: rgba(99,102,241,0.24);
}

.fvtor-dim {
  opacity: 0.42;
}

.fvtor-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  line-height: 1.3;
}

.fvtor-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.fvtor-tag {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(129,140,248,0.85);
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 5px;
  padding: 2px 7px;
}

.fvtor-size {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
  margin-left: auto;
}

.fvtor-dl-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fvtor-pb-track {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 99px;
  overflow: hidden;
}

.fvtor-pb-fill {
  height: 100%;
  width: 47%;
  background: linear-gradient(90deg, #818cf8, #a5b4fc);
  border-radius: 99px;
  animation: fvtor-prog 4.5s ease-in-out infinite;
}

@keyframes fvtor-prog {
  0%   { width: 8%; }
  65%  { width: 80%; }
  85%  { width: 93%; }
  100% { width: 47%; }
}

.fvtor-pct {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(129,140,248,0.8);
  font-family: "Fira Code", ui-monospace, monospace;
  white-space: nowrap;
  min-width: 34px;
}

/* ── Media tools visual ──────────────────────────────────────── */

.fv-media {
  padding: 28px 24px;
}

.fvmedia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 300px;
}

.fvmg-tool {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  transition: border-color 200ms ease, background 200ms ease;
}

.fvmg-tool:hover {
  background: rgba(244,114,182,0.06);
  border-color: rgba(244,114,182,0.2);
}

.fvmg-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(244,114,182,0.09);
  border: 1px solid rgba(244,114,182,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f472b6;
  flex-shrink: 0;
}

.fvmg-name {
  font-size: 0.79rem;
  font-weight: 700;
  color: rgba(255,255,255,0.82);
  letter-spacing: -0.01em;
}

.fvmg-cmd {
  font-family: "Fira Code", ui-monospace, monospace;
  font-size: 0.65rem;
  color: rgba(244,114,182,0.6);
  font-weight: 600;
}

.fvmg-stat {
  font-size: 0.71rem;
  font-weight: 600;
  color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.04);
  border-radius: 99px;
  padding: 2px 8px;
}

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 900px) {
  .ring-section,
  .ring-spacer {
    height: auto !important;
  }

  .ring-sticky {
    position: relative;
    height: auto;
    padding: 60px 0;
  }

  .ring-scene {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .ring-copy-col {
    align-items: center;
  }

  .ring-copy-panel {
    position: relative;
    display: none;
  }

  .ring-copy-panel.rcp-active {
    display: block;
  }

  .rcp-desc { max-width: 56ch; }
  .rcp-points { align-items: center; text-align: left; }
  .ring-copy-panels { min-height: auto; }

  .ring-nav { justify-content: center; }
  .ring-visual { justify-content: center; }

  .ring-perspective {
    width: 300px;
    height: 300px;
  }

  .ring-orb {
    width: 90px;
    height: 90px;
    margin-left: -45px;
    margin-top: -45px;
  }

  .ring-orb:nth-child(1) { transform: rotateY(0deg)   translateZ(155px); }
  .ring-orb:nth-child(2) { transform: rotateY(90deg)  translateZ(155px); }
  .ring-orb:nth-child(3) { transform: rotateY(180deg) translateZ(155px); }
  .ring-orb:nth-child(4) { transform: rotateY(270deg) translateZ(155px); }

  .ro-body {
    width: 90px;
    height: 90px;
  }

  .feat-section {
    padding: 64px 0;
  }

  .feat-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    direction: ltr;
  }

  .feat-flip .feat-inner {
    direction: ltr;
  }

  .feat-vis {
    min-height: 340px;
  }

  .fvd-sources { gap: 7px; }
  .fvd-src { width: 42px; height: 42px; }

  .cap-row,
  .cap-row-flip {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
    margin-top: 80px;
    min-height: unset;
  }

  .cap-row-flip > * { direction: ltr; }

  .cap-visual {
    min-height: 280px;
  }

  .cap-copy {
    max-width: 100%;
  }

  .cap-desc { max-width: 100%; }

  .marquee-wrap {
    margin: 0 -18px;
    width: calc(100% + 36px);
  }
}

@media (max-width: 640px) {
  .shell {
    padding: 0 18px 72px;
  }

  .hero { padding: 80px 0 36px; }
  .hero-title { font-size: clamp(2.8rem, 12vw, 5rem); }

  .hero-stats { padding: 16px 20px; }
  .hstat { padding: 0 18px; }
  .hstat-div { display: none; }

  .cta-inner { padding: 56px 22px; }

  .howto-steps {
    flex-direction: column;
    align-items: stretch;
  }

  .howto-connector {
    width: 2px;
    height: 24px;
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.3), rgba(124, 58, 237, 0.08));
    flex: none;
    margin: 0 auto;
  }

  .topbar-right .btn { display: none; }

  .footer-inner { gap: 32px; }
  .footer-nav { gap: 28px; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cap-row { margin-top: 64px; gap: 32px; }

  .cap-eq { height: 140px; gap: 3px; }

  .cap-visual { min-height: 240px; border-radius: 20px; }

  .feat-section { padding: 48px 0; }
  .feat-title { font-size: clamp(1.7rem, 7.5vw, 2.2rem); }
  .feat-vis { min-height: 280px; border-radius: 18px; padding: 24px 18px; }
  .fvc-terminal { font-size: 0.72rem; }
  .fvmedia-grid { gap: 8px; }
  .fvmg-tool { padding: 14px 10px; }
  .fvai-bubble { font-size: 0.78rem; max-width: 210px; }
  .fvtor-results { gap: 6px; }

  .platforms-grid { gap: 8px; }
  .plat-chip { padding: 8px 14px; font-size: 0.82rem; }
}

/* ── Reduced motion ──────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ring-copy-panel {
    transition: none;
  }

  .ro-art-music span,
  .ai-core,
  .ai-ring,
  .ai-spark,
  .ct-stream span,
  .ct-arrow,
  .ut-dot,
  .ro-outer,
  .hero-scroll-hint,
  .hero-badge-dot,
  .marquee-track,
  .cap-eq span,
  .nn-core,
  .nn-node,
  .nn-line,
  .nn-pulse,
  .csa-file,
  .csa-arrow {
    animation: none !important;
  }

  .cap-eq span {
    transform: scaleY(1) !important;
    opacity: 1 !important;
  }

  .ro-body {
    transition: none;
  }

  .fvmp-wave span,
  .fvd-pb-fill,
  .fvd-file,
  .fvai-typing span,
  .fvai-answer,
  .fvtor-pb-fill,
  .fvt-pb-fill {
    animation: none !important;
  }

  .fvai-answer { opacity: 1; }
  .fvd-file    { opacity: 1; transform: none; }
}

/* ── Simplified homepage pass ──────────────────────────────── */

.shell {
  max-width: 1180px;
}

.btn {
  border-radius: 10px;
  box-shadow: none;
  transform: none;
}

.btn:hover {
  transform: none;
}

.btn-primary {
  background: var(--accent);
  border-color: transparent;
  color: #07110d;
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.055);
}

.hero {
  min-height: auto;
  padding: clamp(86px, 14vh, 150px) 0 clamp(64px, 10vh, 110px);
  text-align: left;
  align-items: flex-start;
}

.hero-content {
  align-items: flex-start;
  max-width: 720px;
}

.hero-badge,
.status-row,
.hero-stats,
.plat-chip {
  background: transparent;
  border-color: var(--line);
  box-shadow: none;
}

.hero-badge {
  color: var(--muted);
}

.hero-badge-dot,
.status-dot {
  box-shadow: none;
  animation: none;
}

.hero-title {
  color: var(--text);
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 780;
}

.hero-actions,
.hero-stats {
  justify-content: flex-start;
}

.hero-stats {
  padding: 18px 0 0;
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--line);
}

.hstat {
  align-items: flex-start;
  padding: 0 30px 0 0;
}

.hstat-val,
.feat-title,
.brand-word,
.footer-brand {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--text);
}

.feature-card,
.feat-vis,
.ring-copy-panel,
.mini-panel,
.cap-visual,
.platforms-panel,
.cta-panel {
  background: transparent !important;
  border-color: var(--line) !important;
  box-shadow: none !important;
}

.feature-card:hover,
.ring-copy-panel:hover {
  transform: none;
}

.orb,
.glow,
.hero-scroll-hint,
.bg-orb {
  opacity: 0.18;
}

@media (max-width: 720px) {
  .hero {
    text-align: center;
    align-items: center;
  }

  .hero-content,
  .hero-actions,
  .hero-stats {
    align-items: center;
    justify-content: center;
  }

  .hstat {
    align-items: center;
    padding: 0 16px;
  }
}
