/* ============================================================
   FluxMacro — style.css
   Dark sci-fi landing page · pure CSS, no frameworks
   ============================================================ */

/* ---------- Tokens & base ---------- */
:root {
  --bg-0: #05060f;
  --bg-1: #0a0c1a;
  --blue: #3b82f6;
  --blue-l: #60a5fa;
  --violet: #8b5cf6;
  --violet-l: #a78bfa;
  --text: #ffffff;
  --muted: #9aa3b8;
  --muted-2: #6b7490;
  --line: rgba(120, 140, 255, 0.25);
  --line-soft: rgba(120, 140, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.04);
  --grad: linear-gradient(120deg, #3b82f6, #8b5cf6);
  --radius: 18px;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  color-scheme: dark;
}

html, body { overflow-x: clip; }

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1100px 700px at 85% -5%, rgba(59, 130, 246, 0.10), transparent 60%),
    radial-gradient(900px 650px at 8% 18%, rgba(139, 92, 246, 0.08), transparent 60%),
    linear-gradient(var(--bg-0), var(--bg-1));
  background-color: var(--bg-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.section { position: relative; padding: 96px 0; }

/* Layering: canvas sits behind everything */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.navbar, main, .footer { position: relative; z-index: 1; }

/* ---------- Shared text styles ---------- */
.grad-blue {
  background: linear-gradient(100deg, #60a5fa, #3b82f6 55%, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.4));
}
.grad-violet {
  background: linear-gradient(100deg, #a78bfa, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.45));
}
.blue { color: var(--blue-l); font-weight: 600; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--violet-l);
  margin-bottom: 14px;
}
.section-head { text-align: center; margin-bottom: 56px; }
.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.01em;
}
.section-sub { color: var(--muted); margin-top: 12px; font-size: 1rem; }

.logo-f { fill: #fff; font: 800 16px var(--font); }
.logo-f-sm { font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}
.btn-primary {
  background: var(--grad);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 42px rgba(124, 108, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn-ghost:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(150, 165, 255, 0.55);
  box-shadow: 0 10px 34px rgba(99, 102, 241, 0.25);
}
.btn-nav { padding: 10px 20px; font-size: 0.88rem; }
.btn-hero { padding: 14px 24px; }
.btn-block { width: 100%; padding: 14px 24px; font-size: 1rem; }
.btn-stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; text-align: left; }
.btn-stack strong { font-size: 0.98rem; }
.btn-stack small { font-size: 0.7rem; font-weight: 500; opacity: 0.85; }
.crown { font-size: 1.05em; line-height: 1; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1220px, calc(100% - 28px));
  z-index: 100;
  background: rgba(7, 9, 20, 0.62);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 20px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-name { font-size: 1.22rem; font-weight: 800; letter-spacing: -0.01em; }
.brand-accent {
  background: linear-gradient(100deg, #a78bfa, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 168px 0 100px; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: 48px;
}

/* Nebulas are soft radial gradients — no blur() filter needed, keeps paint cheap */
.nebula {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.nebula-1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.30) 0%, rgba(59, 130, 246, 0.12) 38%, transparent 70%);
  top: -140px; right: -100px;
  animation: drift-a 26s ease-in-out infinite alternate;
}
.nebula-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.26) 0%, rgba(139, 92, 246, 0.10) 38%, transparent 70%);
  top: 240px; right: 280px;
  animation: drift-b 32s ease-in-out infinite alternate;
}
.nebula-3 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16) 0%, rgba(59, 130, 246, 0.06) 40%, transparent 68%);
  bottom: -180px; left: -180px;
  animation: drift-a 38s ease-in-out infinite alternate-reverse;
}
@keyframes drift-a {
  to { transform: translate(-70px, 55px) scale(1.12); }
}
@keyframes drift-b {
  to { transform: translate(60px, -45px) scale(0.94); }
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid transparent;
}
.ring-1 {
  width: 780px; height: 300px;
  right: -180px; top: 190px;
  border-color: rgba(96, 165, 250, 0.26);
  box-shadow: 0 0 34px rgba(96, 165, 250, 0.22), inset 0 0 34px rgba(96, 165, 250, 0.12);
  transform: rotate(-16deg);
  animation: ring-wobble-a 18s ease-in-out infinite alternate;
}
.ring-2 {
  width: 640px; height: 240px;
  right: -80px; top: 280px;
  border-color: rgba(167, 139, 250, 0.24);
  box-shadow: 0 0 30px rgba(167, 139, 250, 0.2), inset 0 0 26px rgba(167, 139, 250, 0.1);
  transform: rotate(-25deg);
  animation: ring-wobble-b 22s ease-in-out infinite alternate;
}
@keyframes ring-wobble-a {
  from { transform: rotate(-16deg); }
  to   { transform: rotate(-11deg) translateY(-12px); }
}
@keyframes ring-wobble-b {
  from { transform: rotate(-25deg); }
  to   { transform: rotate(-29deg) translateY(10px); }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #dbe4ff;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.18);
  margin-bottom: 26px;
}

.hero-title {
  font-size: clamp(2.6rem, 5.1vw, 4.35rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ---------- Hero mock app window ---------- */
.hero-visual { perspective: 1500px; }
.app-float { position: relative; animation: app-float 7s ease-in-out infinite; }
@keyframes app-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.app-glow {
  position: absolute;
  left: -4%; right: -4%; bottom: -70px;
  height: 170px;
  background: radial-gradient(50% 55% at 50% 42%, rgba(124, 108, 255, 0.34) 0%, rgba(124, 108, 255, 0.12) 45%, transparent 72%);
  z-index: -1;
}

.app-window {
  width: min(620px, 100%);
  margin-left: auto;
  background: linear-gradient(160deg, #0c0f1f, #090b17);
  border: 1px solid rgba(130, 150, 255, 0.22);
  border-radius: 16px;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.55),
    0 0 70px rgba(99, 102, 241, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: rotateX(5deg) rotateY(11deg) rotateZ(-2deg);
  overflow: hidden;
  font-size: 11px;
}

.app-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  border-bottom: 1px solid rgba(130, 150, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
}
.app-brand { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; }
.app-title-right { display: flex; align-items: center; gap: 10px; color: #5d6580; }
.pro-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2.5px 9px;
  font-size: 9px;
  font-weight: 700;
  color: #cabfff;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(167, 139, 250, 0.45);
  border-radius: 999px;
}
.wc { display: inline-flex; }

.app-body {
  display: grid;
  grid-template-columns: 116px 1fr 150px;
  gap: 10px;
  padding: 10px;
}

.app-side { display: flex; flex-direction: column; gap: 2.5px; }
.side-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 10.5px;
  font-weight: 500;
  color: #8790aa;
}
.side-item.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(96, 131, 255, 0.16), rgba(139, 92, 246, 0.08));
  box-shadow: inset 2px 0 0 var(--blue-l);
}

.app-main { min-width: 0; }
.app-main-head { font-size: 12.5px; font-weight: 700; margin: 2px 0 8px; }
.app-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.tile {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(130, 150, 255, 0.16);
  border-radius: 9px;
}
.tile-label { font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.06em; color: #6b7490; }
.tile-value { font-size: 13.5px; font-weight: 800; letter-spacing: -0.01em; }
.tile-sub { font-size: 8.5px; color: #6b7490; }
.tile-value.status { display: flex; align-items: center; gap: 5px; color: #34d399; font-size: 12px; }
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.9);
}

.timeline {
  margin-top: 8px;
  padding: 9px 11px 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(130, 150, 255, 0.16);
  border-radius: 10px;
}
.timeline-head { font-size: 10.5px; font-weight: 700; margin-bottom: 7px; }
.timeline-ruler {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #5d6580;
  margin-bottom: 5px;
}
.timeline-rows {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 3px 0;
  background-image: linear-gradient(90deg, rgba(140, 160, 255, 0.08) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  border-radius: 4px;
}
.t-row { position: relative; height: 13px; }
.bar {
  position: absolute;
  top: 2px;
  left: var(--x);
  width: var(--w);
  height: 9px;
  border-radius: 4.5px;
  transform-origin: left center;
  animation: bar-grow 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s) both;
}
.bar.b { background: linear-gradient(90deg, #3b82f6, #60a5fa); box-shadow: 0 0 10px rgba(59, 130, 246, 0.55); }
.bar.v { background: linear-gradient(90deg, #8b5cf6, #a78bfa); box-shadow: 0 0 10px rgba(139, 92, 246, 0.55); }
.bar.dim { background: rgba(120, 140, 255, 0.28); }
@keyframes bar-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.playhead {
  position: absolute;
  top: -2px; bottom: -2px;
  left: 46%;
  width: 1.5px;
  background: linear-gradient(#a78bfa, #60a5fa);
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.9);
  animation: playhead-pulse 2.4s ease-in-out infinite;
}
.playhead::before {
  content: "";
  position: absolute;
  top: -3px; left: -2.75px;
  width: 7px; height: 7px;
  background: #a78bfa;
  border-radius: 2px;
  transform: rotate(45deg);
}
@keyframes playhead-pulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

.transport { display: flex; align-items: center; gap: 6px; margin-top: 9px; }
.tp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px; height: 21px;
  border-radius: 50%;
  border: 1px solid rgba(130, 150, 255, 0.25);
  color: #aab3d0;
  background: rgba(255, 255, 255, 0.03);
}
.tp.play {
  width: 25px; height: 25px;
  border: 0;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.55);
}
.tp-time {
  margin-left: 5px;
  font-size: 9px;
  color: #8790aa;
  font-variant-numeric: tabular-nums;
}
.tp-chip {
  padding: 2px 8px;
  font-size: 8.5px;
  font-weight: 600;
  color: #aab3d0;
  border: 1px solid rgba(130, 150, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.app-settings {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(130, 150, 255, 0.16);
  border-radius: 10px;
}
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.set-row label { font-size: 9.5px; font-weight: 500; color: #8790aa; }
.key {
  padding: 2px 8px;
  font-size: 9.5px;
  font-weight: 700;
  border: 1px solid rgba(150, 165, 255, 0.4);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
}
.switch {
  position: relative;
  width: 30px; height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}
.switch.on { background: var(--grad); box-shadow: 0 0 10px rgba(99, 102, 241, 0.5); }
.switch i {
  position: absolute;
  top: 2px; left: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
}
.switch.on i { left: auto; right: 2px; }
.chipctl {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2.5px 9px;
  font-size: 9.5px;
  font-weight: 600;
  color: #dbe0f0;
  border: 1px solid rgba(130, 150, 255, 0.25);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}
.slider-row { gap: 7px; }
.slider {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}
.slider i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p, 50%);
  border-radius: 999px;
  background: var(--grad);
}
.slider i::after {
  content: "";
  position: absolute;
  right: -5px; top: 50%;
  width: 10px; height: 10px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.8);
}
.mini { font-size: 8.5px; color: #8790aa; }
.btn-save {
  margin-top: auto;
  padding: 7px 0;
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  border-radius: 8px;
  background: var(--grad);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.45);
}

/* ---------- Stats ---------- */
.stats { padding-top: 40px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.stat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(150, 165, 255, 0.5);
  box-shadow: 0 16px 50px rgba(99, 102, 241, 0.22);
}
.stat-hex { width: 58px; height: 58px; flex-shrink: 0; }
.stat-hex svg { width: 100%; height: 100%; }
.hexline {
  fill: rgba(120, 140, 255, 0.06);
  stroke: url(#grad-bv);
  stroke-width: 2.4;
  stroke-linejoin: round;
}
.stat-num {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--muted); font-size: 0.92rem; }

/* ---------- Circuit decorations ---------- */
.circuit {
  position: absolute;
  top: 50%;
  width: 230px;
  height: 192px;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}
.circuit-left { left: 0; }
.circuit-right { right: 0; transform: translateY(-50%) scaleX(-1); }
.circuit .trace { stroke: rgba(110, 130, 255, 0.15); stroke-width: 1.5; }
.circuit .node {
  fill: rgba(140, 160, 255, 0.45);
  filter: drop-shadow(0 0 4px rgba(120, 140, 255, 0.6));
}
/* No filter on animated pulses — a re-rasterized drop-shadow every frame is a paint killer */
.circuit .pulse {
  stroke: #60a5fa;
  stroke-width: 2.2;
  stroke-dasharray: 34 600;
  stroke-dashoffset: 634;
  opacity: 0.9;
  animation: pulse-travel 5.5s linear infinite;
}
.circuit .pulse.p2 { stroke: #a78bfa; animation-delay: 1.8s; }
.circuit .pulse.p3 { animation-delay: 3.4s; }
@keyframes pulse-travel {
  to { stroke-dashoffset: -40; }
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 38px 30px 32px;
  text-align: center;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(150, 165, 255, 0.55);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.25);
}
.hex-icon { width: 86px; height: 86px; margin: 0 auto 22px; }
.hex-icon svg { width: 100%; height: 100%; filter: drop-shadow(0 0 12px rgba(120, 140, 255, 0.35)); }
.hex-shape {
  fill: rgba(120, 140, 255, 0.05);
  stroke: url(#grad-bv);
  stroke-width: 2.2;
  stroke-linejoin: round;
}
.feature-card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 12px; }
.feature-card p { color: var(--muted); font-size: 0.93rem; margin-bottom: 18px; }
.learn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-l);
  transition: color 0.2s ease;
}
.learn .arrow { transition: transform 0.25s ease; }
.learn:hover { color: #fff; }
.learn:hover .arrow { transform: translateX(4px); }

/* ---------- Pricing ---------- */
.pricing {
  background:
    radial-gradient(600px 380px at 50% 45%, rgba(139, 92, 246, 0.09), transparent 70%);
}
.pricing .section-head { margin-bottom: 34px; }
.price-card {
  max-width: 450px;
  margin: 0 auto;
  padding: 40px 38px 34px;
  text-align: center;
  background: linear-gradient(170deg, rgba(139, 92, 246, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(167, 139, 250, 0.5);
  border-radius: 22px;
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.12),
    0 24px 90px rgba(139, 92, 246, 0.22),
    inset 0 0 70px rgba(139, 92, 246, 0.05);
}
.price-name {
  font-size: 1.55rem;
  font-weight: 800;
  background: linear-gradient(100deg, #a78bfa, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-tag { color: var(--muted); font-size: 0.92rem; margin: 6px 0 20px; }
.price-amount {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}
.price-amount .per { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  text-align: left;
  margin-bottom: 28px;
  padding: 0 6px;
}
.price-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.93rem;
  color: #d4daea;
}
.price-list svg { flex-shrink: 0; }
.guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line-soft);
  background: rgba(5, 6, 15, 0.6);
  padding: 60px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1fr 1.15fr;
  gap: 36px;
}
.f-brand .brand { margin-bottom: 16px; }
.f-blurb { color: var(--muted); font-size: 0.88rem; max-width: 30ch; margin-bottom: 20px; }
.socials { display: flex; gap: 10px; }
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-soft);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.socials a:hover {
  color: #fff;
  border-color: rgba(167, 139, 250, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}
.f-col h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 16px; }
.f-col ul { display: flex; flex-direction: column; gap: 10px; }
.f-col a { font-size: 0.87rem; color: var(--muted); transition: color 0.2s ease; }
.f-col a:hover { color: #fff; }
.f-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.win-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
  color: #dbe0f0;
}
.win-text { display: flex; flex-direction: column; line-height: 1.2; }
.win-text small { font-size: 0.68rem; color: var(--muted); }
.win-text strong { font-size: 0.88rem; }
.copyright { font-size: 0.8rem; color: var(--muted-2); }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--rd, 0s);
}
.js .reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .circuit { width: 170px; }
}
@media (max-width: 1024px) {
  .hero { padding-top: 140px; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { perspective: none; }
  .app-window { margin-inline: auto; transform: none; }
  .ring-1, .ring-2 { display: none; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .circuit { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .stats-grid, .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .price-card { padding: 34px 24px 28px; }
}
@media (max-width: 700px) {
  .app-settings { display: none; }
  .app-body { grid-template-columns: 108px 1fr; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 32px); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-hero { justify-content: center; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { flex-direction: row; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

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