/* ============================================
   Lov3rCord — Minimal + Animated
   ============================================ */

:root {
  --bg: #0a0b0f;
  --bg-2: #0e1016;
  --surface: #12141c;
  --surface-2: #161923;
  --border: #1e2230;
  --border-2: #282d3e;
  --text: #eceef4;
  --muted: #7d8499;
  --dim: #565d72;
  --accent: #4c90e8;
  --accent-2: #6ba5f0;
  --accent-soft: rgba(76, 144, 232, 0.12);
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;
  --r: 14px;
  --max: 1100px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --e: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--accent-2); }

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--accent-soft);
  color: var(--accent-2);
  padding: 0.1em 0.4em;
  border-radius: 5px;
  border: 1px solid rgba(76, 144, 232, 0.2);
}

/* ---------- Texture / canvas ---------- */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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");
  background-repeat: repeat;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ---------- Layout ---------- */
.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-alt {
  background: #0e1016;
}

.sec-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.sec-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(76, 144, 232, 0.28);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.sec-head h2,
.sec-grid h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 750;
}

.sec-lead {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0.85rem 0 1.5rem;
  max-width: 36em;
}

.gradient-text {
  color: var(--accent-2);
}

.muted { color: var(--muted); font-size: 0.9rem; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--e), transform 0.8s var(--e);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  font-family: inherit;
  border-radius: 12px;
  padding: 0.7rem 1.3rem;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  transition: transform 0.25s var(--e), box-shadow 0.25s var(--e), background 0.25s, border-color 0.25s, color 0.25s;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px rgba(76, 144, 232, 0.3), inset 0 1px 0 rgba(255,255,255,0.14);
}
.btn-primary:hover {
  background: var(--accent-2);
  color: #fff;
  box-shadow: 0 8px 32px rgba(76, 144, 232, 0.45), inset 0 1px 0 rgba(255,255,255,0.14);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.18);
  opacity: 0;
  transition: opacity 0.35s var(--e);
}
.btn-primary:hover::after { opacity: 1; }

.btn-ghost {
  background: rgba(255,255,255,0.03);
  border-color: var(--border-2);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: rgba(76,144,232,0.5);
  background: rgba(76,144,232,0.08);
  color: var(--accent-2);
}

.btn-sm { padding: 0.45rem 0.95rem; font-size: 0.85rem; border-radius: 10px; }
.btn-lg { padding: 0.95rem 1.7rem; font-size: 1rem; border-radius: 14px; }

.magnetic { will-change: transform; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 11, 15, 0.78);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.brand-icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--e);
}
.brand:hover .brand-icon {
  border-color: rgba(76,144,232,0.5);
  box-shadow: 0 0 20px rgba(76,144,232,0.2);
  transform: rotate(-6deg) scale(1.05);
}
.brand-icon img { border-radius: 5px; }

.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav a.active { color: var(--accent-2); background: var(--accent-soft); }

.header-progress {
  position: absolute;
  bottom: -1px; left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(76,144,232,0.5);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--e), opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6.5rem 0 4rem;
  position: relative;
}

.hero > .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--accent-soft);
  border: 1px solid rgba(76,144,232,0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(52,211,153,0.55);
  animation: pulseRing 2.2s infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}

.hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin-bottom: 1.35rem;
}
.hero h1 .line { display: block; }

.typewriter {
  min-height: 1.1em;
}
.typewriter::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--accent);
  margin-left: 4px;
  vertical-align: -0.05em;
  animation: caret 0.9s steps(1) infinite;
  border-radius: 1px;
}
@keyframes caret {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 32em;
  margin-bottom: 2rem;
}
.lead strong { color: var(--text); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.75rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.35rem;
  list-style: none;
  color: var(--muted);
  font-size: 0.88rem;
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-meta svg { color: var(--ok); }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.orbit-ring {
  position: absolute;
  width: 340px; height: 340px;
  border: 1px dashed rgba(76,144,232,0.18);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}
.orbit-ring::before {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}
.orbit-2 {
  width: 440px; height: 440px;
  animation-duration: 60s;
  animation-direction: reverse;
  border-color: rgba(52,211,153,0.1);
}
.orbit-2::before {
  background: var(--ok);
  box-shadow: 0 0 12px var(--ok);
}

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

.app-card {
  position: relative;
  width: min(100%, 340px);
  z-index: 2;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

.app-card-glow {
  position: absolute;
  inset: -30%;
  background: rgba(76,144,232,0.12);
  filter: blur(40px);
  z-index: -1;
  animation: glowBreathe 4s ease-in-out infinite alternate;
}

@keyframes glowBreathe {
  from { opacity: 0.6; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1.05); }
}

.app-card-inner {
  background: rgba(18, 20, 28, 0.92);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  padding: 1.35rem;
  backdrop-filter: blur(16px);
  box-shadow:
    0 24px 64px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}
.app-card-inner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(76,144,232,0.55);
}

.float { animation: floatY 7s ease-in-out infinite; }
.float-slow { animation: floatY 9s ease-in-out infinite; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.app-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.app-logo { border-radius: 10px; }
.app-name { font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.app-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ok);
}
.pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulseRing 2s infinite;
}
.app-ver {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-2);
  background: var(--accent-soft);
  border: 1px solid rgba(76,144,232,0.3);
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-family: var(--mono);
}

.app-rows {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.15rem;
}

.app-row {
  display: grid;
  grid-template-columns: 64px 1fr 32px;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
}
.row-key { color: var(--dim); font-family: var(--mono); }
.row-bar {
  height: 5px;
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.row-bar i {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  background: var(--accent);
  border-radius: 999px;
  transform-origin: left;
  animation: barGrow 1.4s var(--e) 0.6s both;
}
.row-bar i.zero {
  background: var(--ok);
  width: 4%;
  min-width: 4px;
}
@keyframes barGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.row-val {
  text-align: right;
  font-weight: 700;
  font-family: var(--mono);
  font-size: 0.78rem;
}
.row-val.ok { color: var(--ok); }

.app-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Chips */
.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(18, 20, 28, 0.9);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  z-index: 3;
  color: var(--text);
}
.chip svg { color: var(--accent); }
.chip-2 svg { color: var(--ok); }
.chip-1 { top: 8%; left: 0; }
.chip-2 { top: 45%; right: -2%; }
.chip-3 { bottom: 10%; left: 4%; }

/* Scroll hint */
.scroll-hint {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
  opacity: 0.4;
  transition: opacity 0.3s;
}
.scroll-hint:hover { opacity: 0.8; }
.scroll-mouse {
  width: 22px; height: 36px;
  border: 1.5px solid var(--muted);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.scroll-mouse span {
  width: 2.5px; height: 7px;
  background: var(--muted);
  border-radius: 3px;
  animation: wheel 1.7s ease-in-out infinite;
}
@keyframes wheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: #0e1016;
  padding: 0.9rem 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.dot-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
  flex-shrink: 0;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Stats ---------- */
.stats {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-n {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
}
.stat-n small {
  font-size: 0.45em;
  font-weight: 700;
  color: var(--accent);
  margin-left: 0.1em;
}
.stat-l {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.25rem;
}

/* ---------- Features ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feat {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.75rem 1.4rem 1.5rem;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s var(--e), box-shadow 0.35s;
  transform-style: preserve-3d;
}
.feat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(76,144,232,0.07);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.feat:hover {
  border-color: rgba(76,144,232,0.4);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(76,144,232,0.08);
}
.feat:hover::before { opacity: 1; }

.feat-ic {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(76,144,232,0.25);
  border-radius: 12px;
  color: var(--accent);
  margin-bottom: 1.1rem;
  transition: transform 0.35s var(--e), box-shadow 0.35s;
  position: relative;
  z-index: 1;
}
.feat:hover .feat-ic {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 0 24px rgba(76,144,232,0.25);
}

.feat h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  position: relative;
  z-index: 1;
}
.feat p {
  color: var(--muted);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}
.feat-num {
  position: absolute;
  top: 1.1rem; right: 1.1rem;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--mono);
  color: var(--dim);
  letter-spacing: 0.06em;
}

/* ---------- Steps ---------- */
.steps {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  position: relative;
  display: flex;
  gap: 1.5rem;
}
.step-rail {
  width: 2px;
  background: var(--border);
  position: relative;
  flex-shrink: 0;
  margin-left: 23px;
}
.step:last-child .step-rail { background: transparent; }
.step-fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.2s var(--e);
}
.step.in .step-fill { transform: scaleY(1); }

.step-body {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.25rem 0 2rem;
  flex: 1;
}
.step-n {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  flex-shrink: 0;
  background: var(--surface);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  font-weight: 800;
  color: var(--accent);
  box-shadow: 0 0 0 5px var(--bg), 0 0 20px rgba(76,144,232,0.2);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--e);
}
.step:hover .step-n {
  background: var(--accent);
  color: #0a0b0f;
  transform: scale(1.06);
}
.step-ic {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  flex-shrink: 0;
  background: var(--accent-soft);
  border: 1px solid rgba(76,144,232,0.25);
  border-radius: 10px;
  color: var(--accent);
  margin-top: 5px;
}
.step-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.step-body p {
  color: var(--muted);
  font-size: 0.93rem;
}
.step-body em {
  font-style: normal;
  color: var(--accent-2);
  font-weight: 600;
}

/* ---------- Quickstart ---------- */
.qgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}
.qcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.4rem 1.15rem;
  transition: border-color 0.3s, transform 0.35s var(--e), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.qcard::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--e);
}
.qcard:hover {
  border-color: rgba(76,144,232,0.4);
  transform: translateY(-4px);
}
.qcard:hover::after { transform: scaleX(1); }

.qn {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.55rem;
}
.qcard h3 { font-size: 0.98rem; margin-bottom: 0.25rem; }
.qcard p { color: var(--muted); font-size: 0.85rem; }

/* Callout */
.callout {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: rgba(251,191,36,0.06);
  border: 1px solid rgba(251,191,36,0.22);
  border-radius: var(--r);
  padding: 1.1rem 1.25rem;
  font-size: 0.9rem;
  color: #e8d5a0;
  max-width: 720px;
}
.callout-ic { color: var(--warn); flex-shrink: 0; margin-top: 2px; }
.callout strong {
  display: block;
  color: var(--warn);
  margin-bottom: 0.2rem;
}

/* ---------- Download ---------- */
.dl {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(76,144,232,0.3);
  border-radius: 22px;
  padding: 2.75rem 2.25rem;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}
.dl-orb {
  position: absolute;
  top: -40%; right: -8%;
  width: 360px; height: 360px;
  background: rgba(76,144,232,0.1);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  animation: glowBreathe 5s ease-in-out infinite alternate;
}
.dl-body {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.dl-ic {
  width: 72px; height: 72px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(76,144,232,0.35);
  border-radius: 18px;
  color: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 32px rgba(76,144,232,0.2);
}
.dl-body h2 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); letter-spacing: -0.02em; }
.dl-body p { color: var(--muted); font-size: 0.92rem; }
.dl-body > div:nth-child(2) { flex: 1; min-width: 200px; }

/* ---------- Security / build grid ---------- */
.sec-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.sec-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.6rem;
}
.sec-card h3 { font-size: 1rem; margin-bottom: 1rem; }
.ver-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}
.ver-row:last-of-type { border-bottom: 0; margin-bottom: 1rem; }

.tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.tag-ok { background: rgba(52,211,153,0.1); color: var(--ok); border: 1px solid rgba(52,211,153,0.3); }
.tag-no { background: rgba(248,113,113,0.08); color: var(--danger); border: 1px solid rgba(248,113,113,0.25); }

.sec-license {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--dim);
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.code {
  margin-top: 1.1rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.15rem 1.3rem;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
}
.code code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.cmt { color: var(--dim); }
.cmd { color: var(--ok); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
}
.footer-brand img { border-radius: 6px; }
.footer-brand strong { display: block; font-size: 0.95rem; }
.footer-brand span { font-size: 0.78rem; color: var(--muted); }
.footer-links {
  display: flex;
  gap: 1.25rem;
}
.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-links a:hover { color: var(--accent-2); }
.footer-copy {
  font-size: 0.78rem;
  color: var(--dim);
  width: 100%;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

/* ---------- To top ---------- */
.to-top {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.35s var(--e);
  z-index: 90;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  border-color: rgba(76,144,232,0.5);
  color: var(--accent-2);
  background: var(--accent-soft);
  transform: translateY(-3px);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero > .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; min-height: 360px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .qgrid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .sec-grid { grid-template-columns: 1fr; gap: 2rem; }
  .chip { display: none; }
  .orbit-2 { display: none; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(10,11,15,0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    animation: slideDown 0.3s var(--e);
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
  }
  .nav a { padding: 0.85rem 1.25rem; border-radius: 0; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  .feat-grid { grid-template-columns: 1fr; }
  .qgrid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; padding-top: 5.5rem; }
  .scroll-hint { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-brand { margin-right: 0; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .qgrid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .app-row { grid-template-columns: 56px 1fr 28px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .typewriter::after { display: none; }
}
