/* FomoPulse — DraconX-inspired blue theme */
:root {
  --bg: #060510;
  --bg-2: #05050c;
  --border: rgba(129, 160, 255, 0.08);
  --border-strong: rgba(129, 160, 255, 0.18);
  --text: #f7f7f7;
  --text-dim: #9899a3;
  --text-soft: #c8cbe0;
  --accent: #516af6;
  --accent-2: #93b4ff;
  --accent-glow: rgba(81, 106, 246, 0.35);
  --radius-lg: 24px;
  --radius: 16px;
  --font-display: "Sora", "Inter", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Monaco, Consolas, monospace;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  background: var(--bg-2);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Atmosphere */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1000px 700px at 95% 10%, rgba(81, 106, 246, 0.14), transparent 55%),
    radial-gradient(700px 500px at 5% 80%, rgba(81, 106, 246, 0.08), transparent 60%),
    radial-gradient(900px 600px at 40% 30%, rgba(81, 106, 246, 0.05), transparent 55%),
    radial-gradient(1200px 800px at 50% 120%, rgba(81, 106, 246, 0.06), transparent 60%);
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bg-aurora {
  position: fixed;
  inset: -20%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 20%, rgba(81, 106, 246, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 35% at 80% 15%, rgba(147, 180, 255, 0.1), transparent 50%),
    radial-gradient(ellipse 40% 40% at 70% 75%, rgba(61, 82, 199, 0.08), transparent 55%);
  filter: blur(40px);
  animation: aurora-drift 18s ease-in-out infinite alternate;
  opacity: 0.85;
}

@keyframes aurora-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3%, 2%) scale(1.05); }
  100% { transform: translate(2%, -2%) scale(1.02); }
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(81, 106, 246, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(81, 106, 246, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: 0.7;
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(81, 106, 246, 0.12), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  will-change: transform;
}

.cursor-glow.on {
  opacity: 1;
}

.float-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 180, 255, 0.55), rgba(81, 106, 246, 0.12) 45%, transparent 70%);
  filter: blur(2px);
}

.orb-1 { width: 72px; height: 72px; top: 16%; left: 7%; opacity: 0.45; animation: coin-float-1 8s ease-in-out infinite; }
.orb-2 { width: 48px; height: 48px; top: 58%; right: 10%; opacity: 0.35; animation: coin-float-2 10s ease-in-out infinite; }
.orb-3 { width: 36px; height: 36px; bottom: 18%; left: 20%; opacity: 0.3; animation: coin-float-3 7s ease-in-out infinite; }
.orb-4 { width: 58px; height: 58px; top: 26%; right: 24%; opacity: 0.4; animation: coin-float-4 9s ease-in-out infinite; }
.orb-5 { width: 42px; height: 42px; top: 72%; left: 48%; opacity: 0.28; animation: coin-float-1 11s ease-in-out infinite reverse; }

@keyframes coin-float-1 {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-10px, -20px); }
  50% { transform: translate(12px, -32px); }
  75% { transform: translate(-6px, -12px); }
  100% { transform: translate(0, 0); }
}

@keyframes coin-float-2 {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-18px, 15px); }
  66% { transform: translate(10px, -22px); }
  100% { transform: translate(0, 0); }
}

@keyframes coin-float-3 {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(18px, -12px) scale(1.06); }
  66% { transform: translate(-14px, 10px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes coin-float-4 {
  0% { transform: translate(0, 0); }
  30% { transform: translate(15px, -22px); }
  60% { transform: translate(-10px, 16px); }
  100% { transform: translate(0, 0); }
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(180deg, rgba(6, 5, 16, 0.72) 0%, rgba(6, 5, 16, 0.65) 100%);
  border-bottom: 1px solid rgba(147, 180, 255, 0.1);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.header-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(81, 106, 246, 0.035) 1px, transparent 1px) 0 0 / 48px 100%,
    linear-gradient(0deg, rgba(81, 106, 246, 0.04) 1px, transparent 1px) 0 0 / 100% 48px;
  mask-image: linear-gradient(90deg, transparent 0, #000 20%, #000 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20%, #000 80%, transparent 100%);
  pointer-events: none;
  opacity: 0.7;
}

.header-scanline {
  position: absolute;
  left: 0;
  top: 0;
  width: 28%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(81, 106, 246, 0.4), transparent);
  animation: cyber-scan 4.5s linear infinite;
  pointer-events: none;
}

@keyframes cyber-scan {
  0% { left: -10%; }
  100% { left: 100%; }
}

.header.scrolled {
  background: rgba(6, 5, 16, 0.92);
  border-bottom-color: rgba(147, 180, 255, 0.22);
  box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(81, 106, 246, 0.1) inset;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  box-shadow: 0 0 24px -4px var(--accent-glow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo:hover .logo-mark {
  transform: scale(1.06);
  box-shadow: 0 0 28px -2px var(--accent-glow);
}

.logo-text {
  color: var(--accent);
  font-size: 0.95rem;
}

.logo:hover .logo-text {
  animation: glitch 0.3s ease-in-out;
}

@keyframes glitch {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3px, 1px); }
  40% { transform: translate(3px, -1px); }
  80% { transform: translate(2px, 1px); }
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  position: relative;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--accent-2);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  opacity: 0.8;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(147, 180, 255, 0.12);
  color: var(--text-soft);
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

.live-pill i,
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(81, 106, 246, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  gap: 5px;
  flex-direction: column;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: rgba(81, 106, 246, 0.05);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--accent-2);
  border-radius: 2px;
}

.header-drag-guide {
  position: relative;
  border-top: 1px solid rgba(147, 180, 255, 0.08);
  background: linear-gradient(90deg, rgba(81, 106, 246, 0.03), rgba(81, 106, 246, 0.09) 50%, rgba(81, 106, 246, 0.03));
}

.header-drag-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.drag-arrow-up {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  border: 1px solid rgba(81, 106, 246, 0.25);
  background: rgba(81, 106, 246, 0.1);
  color: var(--accent);
  animation: point-to-bookmarks 1.6s ease-in-out infinite;
}

.drag-arrow-up svg {
  width: 17px;
  height: 17px;
}

@keyframes point-to-bookmarks {
  0%, 100% { transform: translateY(2px); }
  50% { transform: translateY(-3px); }
}

.header-drag-copy {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  line-height: 1.2;
}

.header-drag-copy strong {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--text);
}

.mobile-install-copy {
  display: none;
}

.header-drag-copy span {
  color: var(--text-dim);
  font-size: 0.7rem;
}

.drag-grip {
  margin-right: 0.35rem;
  color: var(--accent);
  font-size: 0.95rem;
  line-height: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
  background: var(--accent);
  color: #060510;
}

.btn-sm:hover {
  box-shadow: 0 0 18px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #8ba3ff 0%, var(--accent) 45%, #3d52c7 100%);
  color: #060510;
  box-shadow:
    0 0 0 1px rgba(81, 106, 246, 0.25),
    0 8px 28px -10px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-120%);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #93b4ff 0%, var(--accent-2) 50%, #516af6 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 32px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::after {
  animation: btn-sheen 0.7s ease;
}

@keyframes btn-sheen {
  to { transform: translateX(120%); }
}

.btn-ghost {
  background: rgba(81, 106, 246, 0.08);
  color: var(--accent-2);
  border-color: rgba(81, 106, 246, 0.35);
}

.btn-ghost:hover {
  background: rgba(81, 106, 246, 0.14);
  border-color: rgba(81, 106, 246, 0.55);
}

.bookmark-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  max-width: 100%;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  border: 1px solid rgba(147, 180, 255, 0.28);
  background: linear-gradient(180deg, #1a2420, #0c100e);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: element;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(81, 106, 246, 0.08),
    0 10px 30px -12px rgba(0, 0, 0, 0.7),
    0 0 24px -8px var(--accent-glow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bookmark-btn:hover {
  border-color: rgba(81, 106, 246, 0.55);
  box-shadow: 0 0 32px -6px var(--accent-glow);
  transform: translateY(-2px);
}

.bookmark-btn:active {
  cursor: grabbing;
  transform: scale(0.98);
}

.bookmark-btn.shake {
  animation: activate-shake 0.45s ease;
}

@keyframes activate-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.bookmark-btn-lg {
  min-width: 200px;
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
  border-radius: 14px;
}

.bookmark-btn-header {
  min-width: 0;
  width: auto;
  padding: 0.45rem 0.75rem;
  border-radius: 9px;
  font-size: 0.75rem;
  box-shadow: 0 0 18px -10px var(--accent-glow);
}

.btn-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(147, 180, 255, 0.22) 50%, transparent 60%);
  transform: translateX(-130%);
  animation: btn-sheen 3.5s ease-in-out infinite;
  pointer-events: none;
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(81, 106, 246, 0.08);
  border: 1px solid rgba(81, 106, 246, 0.28);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-family: var(--font-mono);
}

.badge-short {
  display: none;
}

.brand-line {
  display: block;
  font-size: clamp(3rem, 7vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  background: linear-gradient(
    110deg,
    #ffffff 0%,
    #ffffff 28%,
    var(--accent-2) 48%,
    var(--accent) 62%,
    #ffffff 82%,
    #ffffff 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.45rem;
  filter: drop-shadow(0 0 28px rgba(81, 106, 246, 0.3));
  animation: brand-shimmer 7s linear infinite;
}

@keyframes brand-shimmer {
  to { background-position: 220% center; }
}

.hero-subhead {
  display: block;
  font-size: clamp(1.55rem, 3.4vw, 2.2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 18ch;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.hero-in {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-lead {
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 42ch;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-tags li {
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-dim);
  font-size: 0.78rem;
  font-family: var(--font-mono);
}

.hero-panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.35rem 1.25rem;
  border-radius: 24px;
  border: 1px solid transparent;
  background:
    linear-gradient(165deg, rgba(14, 13, 28, 0.96), rgba(8, 7, 18, 0.98)) padding-box,
    linear-gradient(145deg, rgba(147, 180, 255, 0.55), rgba(81, 106, 246, 0.08) 40%, rgba(81, 106, 246, 0.35)) border-box;
  box-shadow:
    0 30px 80px -36px rgba(0, 0, 0, 0.9),
    0 0 60px -24px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.panel-shine {
  position: absolute;
  inset: -40% -20%;
  background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(81, 106, 246, 0.12) 60deg, transparent 120deg, transparent 240deg, rgba(147, 180, 255, 0.1) 300deg, transparent 360deg);
  animation: panel-spin 14s linear infinite;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

@keyframes panel-spin {
  to { transform: rotate(360deg); }
}

.hero-panel > *:not(.panel-shine) {
  position: relative;
  z-index: 1;
}

.hero-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.hero-panel-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 0.25rem 0 0.35rem;
}

.chip-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1;
  white-space: nowrap;
}

.chip-soft.live {
  color: var(--accent-2);
  border-color: rgba(81, 106, 246, 0.3);
}

.chip-soft.live i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}

.drag-hint {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-2);
  letter-spacing: 0.04em;
  animation: bounce-hint 1.8s ease-in-out infinite;
}

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

.drag-note {
  margin: 0;
  max-width: 32ch;
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.45;
}

.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.hero-mini-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.hero-mini-stats strong {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  background: rgba(81, 106, 246, 0.1);
  border: 1px solid rgba(81, 106, 246, 0.28);
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent);
}

.hero-mini-stats span {
  font-size: 0.68rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  line-height: 1.25;
}

/* Marquee */
.marquee-wrap {
  position: relative;
  border-block: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(81, 106, 246, 0.28), transparent) 1;
  background: linear-gradient(90deg, transparent, rgba(81, 106, 246, 0.04), transparent);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 1rem 0;
  animation: marquee 28s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track span::before {
  content: "◆";
  margin-right: 2.5rem;
  color: var(--accent);
  opacity: 0.5;
}

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

/* Stats */
.stats {
  padding: 3.5rem 0 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat {
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(81, 106, 246, 0.03);
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.stat span {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Sections */
.section-head {
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  margin: 0.5rem 0 0.85rem;
}

.section-head p:last-child {
  color: var(--text-soft);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-2);
  letter-spacing: 0.04em;
}

.features,
.how,
.faq,
.cta,
.visuals {
  padding: 4.5rem 0;
}

.flow-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.65rem;
  margin: 0 auto 2.25rem;
  max-width: 640px;
}

.flow-strip > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(147, 180, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 500;
}

.flow-strip i {
  display: grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: rgba(81, 106, 246, 0.12);
  color: var(--accent);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
}

.flow-sep {
  width: 18px;
  height: 1px;
  padding: 0 !important;
  border: none !important;
  background: rgba(81, 106, 246, 0.35) !important;
  border-radius: 0 !important;
}

.flow-on {
  border-color: rgba(81, 106, 246, 0.4) !important;
  background: rgba(81, 106, 246, 0.1) !important;
  color: var(--accent-2) !important;
  box-shadow: 0 0 20px -10px var(--accent-glow);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature {
  position: relative;
  padding: 1.4rem 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(14, 13, 26, 0.9), rgba(6, 5, 16, 0.95)) padding-box,
    linear-gradient(145deg, rgba(81, 106, 246, 0.28), rgba(81, 106, 246, 0.04) 50%, rgba(147, 180, 255, 0.2)) border-box;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -24px var(--accent-glow);
}

.feature:hover .feature-icon {
  transform: scale(1.06);
  box-shadow: 0 0 24px rgba(81, 106, 246, 0.35);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(81, 106, 246, 0.25);
  background: rgba(81, 106, 246, 0.08);
  color: var(--accent);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
  justify-content: center;
}

.pill {
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-dim);
  font-size: 0.78rem;
  font-family: var(--font-mono);
}

/* Visual / speed */
.visual-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
}

.visual-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(14, 13, 26, 0.95), rgba(8, 7, 18, 0.98)) padding-box,
    linear-gradient(145deg, rgba(147, 180, 255, 0.32), rgba(81, 106, 246, 0.05) 42%, rgba(81, 106, 246, 0.2)) border-box;
  box-shadow: 0 16px 40px -28px rgba(0, 0, 0, 0.8);
}

.visual-card img,
.visual-card video {
  width: 100%;
  height: auto;
  min-height: 220px;
  object-fit: cover;
  background: #000;
}

.visual-copy {
  padding: 1.5rem 1.35rem;
}

.visual-copy h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.visual-copy p {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split + .split {
  margin-top: 2.5rem;
}

.split img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(147, 180, 255, 0.14);
}

.split .section-head {
  margin-bottom: 0;
  max-width: none;
}

/* Activation */
.activation-panel {
  max-width: 560px;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(14, 13, 26, 0.96), rgba(8, 7, 18, 0.98)) padding-box,
    linear-gradient(145deg, rgba(147, 180, 255, 0.35), rgba(81, 106, 246, 0.06) 45%, rgba(81, 106, 246, 0.22)) border-box;
  overflow: hidden;
  box-shadow: 0 20px 50px -28px rgba(0, 0, 0, 0.85), 0 0 40px -24px var(--accent-glow);
}

.activation-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--border);
}

.activation-row:last-child {
  border-bottom: none;
}

.activation-row h4 {
  font-size: 0.95rem;
  font-weight: 650;
}

.status-active {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--accent-2);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(81, 106, 246, 0.2);
}

/* Install */
.how-install {
  background: radial-gradient(700px 420px at 50% 0%, rgba(81, 106, 246, 0.08), transparent 60%);
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.install-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.35rem 1.6rem;
  border-radius: 20px;
  border: 1px solid rgba(147, 180, 255, 0.12);
  background: linear-gradient(180deg, rgba(18, 17, 32, 0.95), rgba(8, 7, 18, 0.98));
  box-shadow: 0 20px 50px -28px rgba(0, 0, 0, 0.85);
  min-height: 320px;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.install-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 120px at 50% -20%, rgba(81, 106, 246, 0.14), transparent 55%);
  pointer-events: none;
}

.install-card:hover {
  border-color: rgba(81, 106, 246, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -24px var(--accent-glow);
}

.install-icon-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: 1.35rem;
}

.install-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(81, 106, 246, 0.45);
  background: rgba(81, 106, 246, 0.06);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(81, 106, 246, 0.08), 0 0 28px rgba(81, 106, 246, 0.35);
  animation: icon-glow 3.2s ease-in-out infinite;
}

.install-icon svg {
  width: 28px;
  height: 28px;
}

@keyframes icon-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(81, 106, 246, 0.08), 0 0 22px rgba(81, 106, 246, 0.28); }
  50% { box-shadow: 0 0 0 1px rgba(81, 106, 246, 0.12), 0 0 36px rgba(81, 106, 246, 0.48); }
}

.install-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #060510;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 0 0 16px var(--accent-glow);
}

.install-card h3,
.install-card .shortcut-block,
.install-card .drag-zone,
.install-card p {
  position: relative;
  z-index: 1;
}

.install-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.shortcut-block {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: auto;
}

.shortcut-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.os-label {
  width: 2.4rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.keys {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-dim);
  font-size: 0.8rem;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(147, 180, 255, 0.14);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
}

.drag-zone {
  flex: 1;
  display: grid;
  place-items: center;
  width: 100%;
  margin-bottom: 0.5rem;
}

.install-body {
  flex: 1;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 24ch;
  margin: 0 auto 0.5rem;
}

.install-foot {
  margin-top: 1.35rem;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.inline-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(81, 106, 246, 0.45);
}

.inline-link:hover {
  color: var(--accent-2);
}

/* CTA */
.cta-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(81, 106, 246, 0.28);
  background: linear-gradient(160deg, rgba(81, 106, 246, 0.1), rgba(6, 5, 16, 0.9) 55%);
}

.cta-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 220px;
  background: radial-gradient(circle, rgba(81, 106, 246, 0.22), transparent 65%);
  pointer-events: none;
  animation: sp-glow 4s ease-in-out infinite;
}

@keyframes sp-glow {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.08); }
}

.cta-panel .eyebrow,
.cta-panel h2,
.cta-panel > p,
.cta-panel .hero-cta,
.cta-panel .drag-hint {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0.55rem auto 0.85rem;
  max-width: 18ch;
}

.cta-panel > p {
  color: var(--text-soft);
  max-width: 42ch;
  margin: 0 auto 1.5rem;
}

.cta-panel .hero-cta {
  justify-content: center;
  margin-bottom: 0.85rem;
}

/* FAQ */
.faq-inner {
  max-width: 720px;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
  padding: 0.15rem 1.1rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1.1rem;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  color: var(--text-dim);
  padding: 0 0 1.1rem;
  font-size: 0.95rem;
}

/* Footer */
.footer {
  position: relative;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(6, 5, 16, 0.4), rgba(0, 0, 0, 0.55)),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(81, 106, 246, 0.015) 2px, rgba(81, 106, 246, 0.015) 4px);
  overflow: hidden;
}

.footer-scan {
  position: absolute;
  top: 0;
  width: 35%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(81, 106, 246, 0.45), transparent);
  animation: cyber-scan 5s linear infinite;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.footer-brand p {
  margin-top: 0.85rem;
  color: var(--text-dim);
  max-width: 32ch;
  font-size: 0.9rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-cols h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-2);
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.footer-cols a {
  display: block;
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
  transition: color 0.2s ease;
}

.footer-cols a:hover {
  color: var(--accent-2);
}

.disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 820px;
  margin: 0 auto 1.25rem;
  padding: 0 0 0;
  opacity: 0.75;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.socials {
  display: flex;
  gap: 0.75rem;
}

.socials a {
  color: var(--text-dim);
}

.socials a:hover {
  color: var(--accent-2);
}

.cursor-blink {
  color: var(--accent);
  animation: cyber-blink 1.1s step-end infinite;
}

@keyframes cyber-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(20px);
  z-index: 100;
  max-width: min(92vw, 380px);
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(81, 106, 246, 0.35);
  background: rgba(6, 5, 16, 0.95);
  color: var(--accent-2);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  text-align: center;
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-split,
  .visual-grid,
  .split,
  .footer-inner,
  .install-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .install-card {
    min-height: auto;
  }

  .header-inner {
    min-height: 60px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1rem 0.85rem;
    background: rgba(6, 5, 16, 0.98);
    border-bottom: 1px solid var(--border-strong);
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.75);
    z-index: 60;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.9rem 0.35rem;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .live-pill {
    display: none;
  }

  .features,
  .how,
  .faq,
  .cta,
  .visuals {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
}

@media (max-width: 640px) {
  .orb-4,
  .orb-5 {
    display: none;
  }

  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .feature-grid,
  .stats-grid,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
    min-height: 48px;
  }

  .header-actions .btn-sm {
    display: none;
  }

  .header-drag-guide {
    display: none;
  }

  .badge-full {
    display: none;
  }

  .badge-short {
    display: inline;
  }

  .brand-line {
    font-size: clamp(2.45rem, 12vw, 3.4rem);
  }

  .hero-subhead {
    font-size: clamp(1.2rem, 5.5vw, 1.55rem);
    max-width: none;
  }

  .hero-panel {
    padding: 1.15rem 1rem 1.1rem;
    border-radius: 20px;
    transform: none !important;
  }

  .bookmark-btn,
  .bookmark-btn-lg {
    width: 100%;
    min-width: 0;
  }

  .hero-tags li {
    flex: 1 1 calc(50% - 0.4rem);
    text-align: center;
  }

  .flow-sep {
    display: none;
  }

  .cta-panel {
    padding: 2.25rem 1rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 2.25rem 0 1.5rem;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }

  .feature:hover,
  .install-card:hover {
    transform: none;
  }
}

@media (hover: none) {
  .feature:hover,
  .install-card:hover,
  .bookmark-btn:hover {
    transform: none;
  }
}

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

  .reveal,
  .hero-in {
    opacity: 1;
    transform: none;
  }

  .bg-aurora,
  .panel-shine,
  .btn-sheen {
    animation: none !important;
  }
}
