:root {
  color-scheme: dark;
  --bg: #05030a;
  --bg-soft: #0b0615;
  --panel: rgba(17, 10, 31, 0.78);
  --panel-strong: rgba(22, 13, 38, 0.92);
  --line: rgba(160, 108, 255, 0.24);
  --line-strong: rgba(177, 124, 255, 0.42);
  --text: #ffffff;
  --muted: #cfc3dc;
  --muted-2: #8a7b9b;
  --blue: #b47cff;
  --violet: #9b63ff;
  --magenta: #d07cff;
  --orange: #ff9a55;
  --cyan: #f5d5ae;
  --silver: #f7f0ff;
  --green: #ffc879;
  --max: 1370px;
  --radius: 8px;
  --font-display: "Unbounded", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-family:
    "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(180deg, #06030d 0%, #090511 44%, #040208 100%),
    radial-gradient(circle at 74% 10%, rgba(155, 99, 255, 0.18), transparent 34%),
    linear-gradient(110deg, rgba(255, 154, 85, 0.055), transparent 38%, rgba(160, 108, 255, 0.14) 78%, transparent),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  color: #fff;
  background: rgba(155, 99, 255, 0.38);
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(160, 108, 255, 0.55) transparent;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #05030a;
}

::-webkit-scrollbar-thumb {
  border: 3px solid #05030a;
  border-radius: 999px;
  background: linear-gradient(var(--violet), var(--magenta));
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--blue), var(--magenta));
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.36;
  background:
    linear-gradient(116deg, transparent 0 24%, rgba(255, 154, 85, 0.07) 24.2%, transparent 24.8%),
    linear-gradient(116deg, transparent 0 32%, rgba(245, 213, 174, 0.055) 32.2%, transparent 32.8%),
    linear-gradient(64deg, transparent 0 67%, rgba(160, 108, 255, 0.13) 67.2%, transparent 67.8%),
    linear-gradient(64deg, transparent 0 76%, rgba(198, 108, 255, 0.09) 76.2%, transparent 76.8%);
}

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

img {
  user-select: none;
  -webkit-user-drag: none;
}

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

.nowrap {
  white-space: nowrap;
}

.speed-value {
  display: inline;
  white-space: nowrap;
}

.speed-value-stacked {
  display: inline-grid;
  gap: 2px;
  line-height: 0.95;
}

.speed-value-stacked span {
  display: block;
}

button,
summary {
  font: inherit;
}

.brand,
.intro-brand,
.hero-title,
.section-head h2,
.app-copy h2,
.final-content h2,
.price-card h3,
.price-line strong {
  font-family: var(--font-display);
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-auto-flow: row;
  gap: clamp(22px, 3vw, 34px);
  align-content: center;
  justify-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(155, 99, 255, 0.22), transparent 48%),
    radial-gradient(circle at 50% 64%, rgba(255, 154, 85, 0.08), transparent 54%),
    linear-gradient(180deg, #07040f 0%, #05030a 58%, #040208 100%);
  transition:
    opacity 1000ms cubic-bezier(0.65, 0, 0.35, 1),
    visibility 1000ms cubic-bezier(0.65, 0, 0.35, 1),
    transform 1000ms cubic-bezier(0.65, 0, 0.35, 1),
    filter 1000ms cubic-bezier(0.65, 0, 0.35, 1);
}

.intro-screen::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 46%, #000, transparent 66%);
  animation: introGridFade 1200ms ease both;
}

/* Starfield background */
.intro-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.intro-stars .star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  opacity: 0.4;
  animation: starTwinkle var(--dur, 3s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes starTwinkle {
  0%,
  100% {
    opacity: 0.12;
    transform: scale(0.7);
  }

  50% {
    opacity: 0.85;
    transform: scale(1.15);
  }
}

.intro-stars .shooting {
  position: absolute;
  width: 150px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55) 62%, #fff);
  opacity: 0;
  transform: rotate(var(--ang, 28deg)) translateX(-60px);
  animation: shoot var(--sdur, 3s) ease-in var(--sdelay, 0s) infinite;
}

.intro-stars .shooting::after {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 3px;
  height: 3px;
  content: "";
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.85);
  transform: translateY(-50%);
}

@keyframes shoot {
  0% {
    opacity: 0;
    transform: rotate(var(--ang, 28deg)) translateX(-60px);
  }

  8% {
    opacity: 1;
  }

  62% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: rotate(var(--ang, 28deg)) translateX(920px);
  }
}

/* Soft breathing aura behind the mark */
.intro-aura {
  position: absolute;
  top: 42%;
  width: min(560px, 84vw);
  aspect-ratio: 1;
  pointer-events: none;
  border-radius: 50%;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at 50% 50%, rgba(160, 108, 255, 0.28), transparent 60%),
    radial-gradient(circle at 60% 46%, rgba(255, 154, 85, 0.12), transparent 62%);
  filter: blur(40px);
  animation: introAura 3600ms ease-in-out infinite;
}

.intro-glow {
  position: absolute;
  top: 42%;
  width: min(760px, 96vw);
  height: 2px;
  pointer-events: none;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, rgba(177, 124, 255, 0.4), rgba(255, 154, 85, 0.3), transparent);
  filter: blur(2px);
  opacity: 0.5;
  animation: introGlowSweep 3200ms ease-in-out infinite;
}

/* Floating sparks */
.intro-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro-sparks span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--silver);
  box-shadow: 0 0 10px rgba(177, 124, 255, 0.9);
  opacity: 0;
  animation: introSpark 4200ms ease-in-out infinite;
}

.intro-sparks span:nth-child(1) { top: 26%; left: 30%; animation-delay: 0ms; }
.intro-sparks span:nth-child(2) { top: 32%; left: 68%; background: var(--orange); box-shadow: 0 0 10px rgba(255, 154, 85, 0.9); animation-delay: 500ms; }
.intro-sparks span:nth-child(3) { top: 58%; left: 24%; animation-delay: 900ms; }
.intro-sparks span:nth-child(4) { top: 64%; left: 74%; animation-delay: 1300ms; }
.intro-sparks span:nth-child(5) { top: 40%; left: 16%; background: var(--orange); box-shadow: 0 0 10px rgba(255, 154, 85, 0.9); animation-delay: 1700ms; }
.intro-sparks span:nth-child(6) { top: 46%; left: 84%; animation-delay: 2100ms; }
.intro-sparks span:nth-child(7) { top: 70%; left: 48%; animation-delay: 2500ms; }
.intro-sparks span:nth-child(8) { top: 22%; left: 52%; background: var(--orange); box-shadow: 0 0 10px rgba(255, 154, 85, 0.9); animation-delay: 2900ms; }

/* Circular progress gauge */
.intro-gauge {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(226px, 38vw, 288px);
  aspect-ratio: 1;
  --progress: 0;
  animation: introCoreIn 1000ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.intro-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.intro-ring-3 {
  width: 118%;
  height: 118%;
  border: 1px dashed rgba(177, 124, 255, 0.22);
  animation: introSpin 14000ms linear infinite;
}

/* Orbiting satellites */
.intro-orbit {
  position: absolute;
  border: 1px solid rgba(177, 124, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.intro-orbit::after {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  content: "";
  border-radius: 50%;
}

.intro-orbit-1 {
  width: 106%;
  height: 106%;
  animation: introSpin 5200ms linear infinite;
}

.intro-orbit-1::after {
  background: var(--violet);
  box-shadow:
    0 0 12px rgba(155, 99, 255, 0.9),
    0 0 22px rgba(155, 99, 255, 0.5);
}

.intro-orbit-2 {
  width: 132%;
  height: 132%;
  border-color: rgba(255, 154, 85, 0.07);
  animation: introSpinReverse 7600ms linear infinite;
}

.intro-orbit-2::after {
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background: var(--orange);
  box-shadow:
    0 0 12px rgba(255, 154, 85, 0.85),
    0 0 20px rgba(255, 154, 85, 0.4);
}

.intro-orbit-3 {
  width: 80%;
  height: 80%;
  border-color: rgba(245, 213, 174, 0.07);
  animation: introSpin 3800ms linear infinite;
}

.intro-orbit-3::after {
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(245, 213, 174, 0.85);
}

.intro-center {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.intro-gauge-track {
  position: absolute;
  inset: 0;
  border: 6px solid rgba(247, 240, 255, 0.07);
  border-radius: 50%;
}

.intro-gauge-fill {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    var(--cyan) 0,
    var(--violet) calc(var(--progress) * 0.55%),
    var(--magenta) calc(var(--progress) * 1%),
    transparent calc(var(--progress) * 1%)
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  filter: drop-shadow(0 0 9px rgba(160, 108, 255, 0.5));
}

.intro-logo {
  width: clamp(84px, 13vw, 116px);
  height: clamp(84px, 13vw, 116px);
  background: url("assets/logo.webp") center / contain no-repeat;
  filter:
    drop-shadow(0 0 18px rgba(160, 108, 255, 0.62))
    drop-shadow(0 0 30px rgba(255, 154, 85, 0.24));
  animation: introLogoPulse 2600ms ease-in-out infinite;
}

.intro-brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  animation: introRise 900ms cubic-bezier(0.2, 0.9, 0.2, 1) 220ms both;
}

.intro-brand span,
.intro-brand em {
  font-style: normal;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 68%, #ece2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.12)) drop-shadow(0 0 22px rgba(160, 108, 255, 0.28));
}

.intro-percent {
  margin: 0;
  color: rgba(247, 240, 255, 0.94);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 0 16px rgba(160, 108, 255, 0.4);
}

.intro-percent i {
  margin-left: 1px;
  color: rgba(247, 240, 255, 0.5);
  font-size: 0.62em;
  font-style: normal;
  font-weight: 700;
}

.intro-status {
  position: relative;
  z-index: 2;
  min-height: 1.2em;
  margin-top: 2px;
  color: rgba(247, 240, 255, 0.64);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    opacity 170ms ease,
    transform 170ms ease,
    color 320ms ease;
  animation: introRise 900ms ease 360ms both;
}

.intro-status.is-switching {
  opacity: 0;
  transform: translateY(6px);
}

body.is-ready .intro-screen {
  visibility: hidden;
  opacity: 0;
  transform: scale(1.08);
  filter: blur(16px);
}

/* ============================================================
   Completion finale: colorful celebration
   ============================================================ */

/* Soft success pulse ring */
.intro-gauge::after {
  position: absolute;
  inset: -6%;
  content: "";
  border: 2px solid rgba(247, 240, 255, 0.7);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.8);
}

.intro-screen.is-complete .intro-gauge::after {
  animation: introSuccessPulse 900ms cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

/* Expanding rainbow shockwave */
.intro-shock {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  background: conic-gradient(
    from 0deg,
    var(--violet),
    var(--magenta),
    var(--orange),
    var(--cyan),
    var(--blue),
    var(--violet)
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
}

.intro-screen.is-complete .intro-shock {
  animation: introShock 950ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Radial ray burst */
.intro-burst {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.intro-burst i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 42px;
  margin: -21px 0 0 -2px;
  border-radius: 4px;
  background: linear-gradient(to top, transparent, var(--ray, #fff));
  box-shadow: 0 0 8px var(--ray, #fff);
  opacity: 0;
  transform: rotate(var(--a)) translateY(-8px) scaleY(0.3);
}

.intro-screen.is-complete .intro-burst i {
  animation: introRay 950ms cubic-bezier(0.15, 0.75, 0.25, 1) forwards;
}

/* Screen-wide colored bloom */
.intro-flash {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(177, 124, 255, 0.5), transparent 46%),
    radial-gradient(circle at 50% 44%, rgba(255, 154, 85, 0.22), transparent 62%);
  mix-blend-mode: screen;
}

.intro-screen.is-complete .intro-flash {
  animation: introFlash 1000ms ease-out forwards;
}

/* Colorful gauge + logo on completion */
.intro-screen.is-complete .intro-gauge-fill {
  background: conic-gradient(from -90deg, var(--cyan), var(--violet), var(--magenta), var(--orange), var(--cyan));
  filter: drop-shadow(0 0 15px rgba(177, 124, 255, 0.8));
}

.intro-screen.is-complete .intro-percent {
  color: #fff;
  text-shadow: 0 0 26px rgba(177, 124, 255, 0.7);
}

.intro-screen.is-complete .intro-logo {
  filter:
    drop-shadow(0 0 24px rgba(177, 124, 255, 0.85))
    drop-shadow(0 0 46px rgba(255, 154, 85, 0.42));
  animation: introLogoPop 900ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.intro-screen.is-complete .intro-status {
  color: var(--green);
}

@keyframes introSuccessPulse {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  40% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

@keyframes introShock {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }

  25% {
    opacity: 0.95;
  }

  100% {
    opacity: 0;
    transform: scale(2);
  }
}

@keyframes introRay {
  0% {
    opacity: 0;
    transform: rotate(var(--a)) translateY(-8px) scaleY(0.3);
  }

  22% {
    opacity: 1;
  }

  55% {
    opacity: 1;
    transform: rotate(var(--a)) translateY(-120px) scaleY(1.15);
  }

  100% {
    opacity: 0;
    transform: rotate(var(--a)) translateY(-152px) scaleY(0.5);
  }
}

@keyframes introFlash {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

@keyframes introLogoPop {
  0% {
    transform: scale(1);
  }

  35% {
    transform: scale(1.16);
  }

  100% {
    transform: scale(1);
  }
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(var(--max), calc(100% - 48px));
  min-height: 64px;
  padding: 0 16px;
  border: 1px solid rgba(255, 194, 122, 0.12);
  border-radius: var(--radius);
  background: rgba(3, 7, 19, 0.66);
  box-shadow:
    inset 0 1px 0 rgba(247, 240, 255, 0.06),
    0 24px 70px rgba(0, 0, 0, 0.32),
    0 0 32px rgba(255, 138, 61, 0.08);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateX(-50%) translateY(-18px);
}

body.is-ready .site-header {
  animation: headerDrop 760ms cubic-bezier(0.2, 0.9, 0.2, 1) 260ms both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: 0;
}

.logo-shield {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  background: url("assets/logo.webp") center / contain no-repeat;
  filter:
    drop-shadow(0 0 12px rgba(160, 108, 255, 0.48))
    drop-shadow(0 0 10px rgba(255, 154, 85, 0.18));
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3vw, 54px);
  color: #eee7f8;
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  white-space: nowrap;
  opacity: 0.82;
  transition: opacity 160ms ease;
}

.main-nav a:hover {
  opacity: 1;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--orange), var(--violet), var(--magenta));
  transition: transform 180ms ease;
}

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

.nav-cta,
.primary-button,
.secondary-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  overflow: hidden;
  padding: 0 26px;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.nav-cta::before,
.primary-button::before,
.secondary-button::before {
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -70%;
  width: 48%;
  content: "";
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: buttonSweep 4200ms ease-in-out infinite;
}

.nav-cta::before,
.secondary-button::before {
  opacity: 0.5;
}

.nav-cta,
.secondary-button {
  border: 1px solid rgba(160, 108, 255, 0.34);
  background: rgba(10, 6, 20, 0.64);
  box-shadow:
    inset 0 0 22px rgba(160, 108, 255, 0.12),
    0 0 22px rgba(255, 154, 85, 0.05);
}

.primary-button {
  border: 1px solid rgba(177, 124, 255, 0.46);
  background:
    linear-gradient(105deg, rgba(118, 79, 229, 0.98) 0%, rgba(154, 98, 255, 0.96) 58%, rgba(183, 108, 255, 0.9) 100%);
  box-shadow:
    0 16px 38px rgba(160, 108, 255, 0.2),
    inset 0 0 0 1px rgba(255, 178, 112, 0.1),
    0 0 24px rgba(255, 154, 85, 0.06);
}

.primary-button::before {
  background: linear-gradient(90deg, transparent, rgba(255, 178, 112, 0.18), transparent);
}

.primary-button,
.secondary-button,
.nav-cta {
  transition:
    transform 170ms ease,
    border-color 170ms ease,
    box-shadow 170ms ease,
    filter 170ms ease;
}

.primary-button:hover,
.secondary-button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  filter: brightness(1.06);
  box-shadow:
    0 18px 46px rgba(160, 108, 255, 0.24),
    0 0 30px rgba(255, 154, 85, 0.1);
}

/* Refined, understated "Кабинет" header button */
.nav-cta {
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(247, 240, 255, 0.16);
  color: #e9e2f6;
  background: rgba(247, 240, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 200ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease;
}

/* Drop the constant shine sweep for a cleaner look */
.nav-cta::before {
  display: none;
}

.nav-cta svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  opacity: 0.65;
  transition:
    transform 240ms cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 220ms ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  color: #fff;
  border-color: rgba(177, 124, 255, 0.5);
  background: rgba(160, 108, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 22px rgba(160, 108, 255, 0.16);
}

.nav-cta:hover svg {
  transform: translateX(3px);
  opacity: 1;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: 150px max(24px, calc((100vw - var(--max)) / 2)) 90px;
  isolation: isolate;
}

.hero-city {
  position: absolute;
  inset: 0;
  z-index: -4;
  opacity: 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 19, 0.98) 0%, rgba(2, 7, 19, 0.8) 32%, rgba(2, 7, 19, 0.42) 66%),
    linear-gradient(180deg, rgba(2, 7, 19, 0.06) 0%, rgba(2, 7, 19, 0.36) 48%, rgba(5, 3, 10, 0.82) 76%, #05030a 92%, #05030a 100%),
    linear-gradient(115deg, rgba(255, 154, 85, 0.065), transparent 34%, rgba(160, 108, 255, 0.16) 78%),
    url("assets/01_hero_cyber_city_transparent.webp") center right / cover no-repeat;
  transform: translate3d(calc(var(--mx, 0) * -10px), calc(var(--my, 0) * -8px), 0) scale(1.08);
  transition:
    opacity 900ms ease,
    transform 1400ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

body.is-ready .hero-city {
  opacity: 1;
  transform: translate3d(calc(var(--mx, 0) * -10px), calc(var(--my, 0) * -8px + var(--sy, 0px)), 0) scale(1.03);
  animation: heroBreath 12000ms ease-in-out infinite alternate;
}

.hero-grid {
  position: absolute;
  right: -8%;
  bottom: 10%;
  z-index: -3;
  width: 55vw;
  height: 34vw;
  border: 1px solid rgba(255, 194, 122, 0.18);
  transform: perspective(700px) rotateX(64deg) rotateZ(-11deg);
  background:
    linear-gradient(rgba(255, 194, 122, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 108, 255, 0.16) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: 0;
  mask-image: linear-gradient(to top, #000, transparent 78%);
  transition: opacity 900ms ease 220ms;
}

body.is-ready .hero-grid {
  opacity: 1;
}

.hero-routes {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0 22%, rgba(0, 0, 0, 0.42) 35%, #000 52%),
    linear-gradient(180deg, transparent 0, #000 16%, #000 62%, transparent 94%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0 22%, rgba(0, 0, 0, 0.42) 35%, #000 52%),
    linear-gradient(180deg, transparent 0, #000 16%, #000 62%, transparent 94%);
  mask-composite: intersect;
  opacity: 0;
  transform: translate3d(calc(var(--mx, 0) * -7px), calc(var(--my, 0) * -5px), 0);
  transition: opacity 900ms ease 460ms;
}

body.is-ready .hero-routes {
  opacity: 1;
}

.route-line,
.route-pulse {
  position: absolute;
  display: block;
  pointer-events: none;
}

.route-line {
  left: 18vw;
  width: 112vw;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  opacity: 0.62;
  transform-origin: left center;
  background:
    linear-gradient(90deg, transparent 0%, rgba(160, 108, 255, 0.08) 12%, rgba(177, 124, 255, 0.28) 38%, rgba(255, 154, 85, 0.16) 64%, transparent 100%);
  box-shadow:
    0 0 14px rgba(160, 108, 255, 0.24),
    0 0 22px rgba(255, 154, 85, 0.1);
  transform: rotate(var(--route-rotate));
  --route-rotate: 0deg;
  --route-delay: 0ms;
  --route-delay-alt: -1800ms;
  --route-duration: 3600ms;
}

.route-line::before,
.route-line::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -38%;
  width: 38%;
  content: "";
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, rgba(177, 124, 255, 0.16), rgba(247, 240, 255, 0.92), rgba(255, 154, 85, 0.78), transparent);
  box-shadow:
    0 0 16px rgba(247, 240, 255, 0.54),
    0 0 28px rgba(160, 108, 255, 0.3),
    0 0 24px rgba(255, 154, 85, 0.18);
  animation: routePacket var(--route-duration) linear infinite;
  animation-delay: var(--route-delay);
}

.route-line::after {
  width: 24%;
  animation-delay: var(--route-delay-alt);
  opacity: 0.74;
}

.route-line-1 {
  top: 32%;
  --route-rotate: -8deg;
}

.route-line-2 {
  top: 44%;
  --route-rotate: 10deg;
  --route-delay: -900ms;
  --route-delay-alt: -3000ms;
  --route-duration: 4200ms;
}

.route-line-3 {
  top: 61%;
  width: 92vw;
  --route-rotate: -14deg;
  --route-delay: -1900ms;
  --route-delay-alt: -3800ms;
  --route-duration: 3900ms;
}

.route-line-4 {
  top: 72%;
  width: 118vw;
  --route-rotate: 6deg;
  --route-delay: -2600ms;
  --route-delay-alt: -5000ms;
  --route-duration: 4700ms;
}

.route-pulse {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(247, 240, 255, 0.5);
  border-radius: 999px;
  opacity: 0;
  background: rgba(160, 108, 255, 0.8);
  box-shadow:
    0 0 18px rgba(160, 108, 255, 0.64),
    0 0 32px rgba(255, 154, 85, 0.16);
  animation: routeNode 4200ms ease-in-out infinite;
}

.route-pulse-1 {
  top: 27%;
  right: 31%;
}

.route-pulse-2 {
  top: 53%;
  right: 18%;
  animation-delay: -1400ms;
  background: rgba(255, 154, 85, 0.78);
}

.route-pulse-3 {
  top: 67%;
  right: 43%;
  animation-delay: -2600ms;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, transparent, #05030a 94%);
  transition: opacity 900ms ease 120ms;
}

body.is-ready .hero-noise {
  opacity: 1;
}

.hero-inner {
  width: min(860px, 100%);
  align-self: center;
}

.kicker {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(160, 108, 255, 0.34);
  border-radius: var(--radius);
  color: #efe7ff;
  background: rgba(160, 108, 255, 0.09);
  box-shadow:
    inset 0 0 18px rgba(160, 108, 255, 0.08),
    0 0 20px rgba(255, 154, 85, 0.04);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 860px;
  margin: 0;
  font-size: clamp(3.4rem, 5.6vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.title-line {
  display: block;
  overflow: visible;
}

.title-brand {
  padding-bottom: 0.22em;
  line-height: 1.12;
}

.title-line span {
  display: inline-block;
  color: #fff;
  text-shadow:
    0 0 24px rgba(160, 108, 255, 0.2),
    0 0 44px rgba(255, 255, 255, 0.035);
  opacity: 0;
  transform: translateY(110%) rotate(3deg);
  animation: none;
}

.title-brand span {
  position: relative;
  padding: 0 0.06em 0.18em 0;
  background:
    linear-gradient(180deg, #fff 0 74%, #f0e6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.08),
    0 0 24px rgba(160, 108, 255, 0.18),
    0 0 46px rgba(160, 108, 255, 0.07);
}

.title-brand span::before {
  position: absolute;
  inset: -0.1em -0.08em -0.04em -0.14em;
  z-index: -1;
  content: "";
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 58%, rgba(177, 124, 255, 0.14), transparent 48%),
    radial-gradient(circle at 86% 48%, rgba(255, 154, 85, 0.04), transparent 52%);
  filter: blur(24px);
}

.title-brand span::after {
  position: absolute;
  top: 0.08em;
  right: -0.02em;
  width: 0.16em;
  height: 0.16em;
  content: "";
  border-radius: 999px;
  background: rgba(255, 154, 85, 0.54);
  box-shadow:
    0 0 10px rgba(255, 154, 85, 0.28),
    0 0 20px rgba(160, 108, 255, 0.08);
}

.title-accent span {
  color: #fff;
  background: none;
  -webkit-text-fill-color: currentColor;
  text-shadow:
    0 0 24px rgba(160, 108, 255, 0.22),
    0 0 46px rgba(160, 108, 255, 0.08);
}

body.is-ready .title-line:nth-child(1) span:nth-child(1) {
  animation: wordIn 850ms cubic-bezier(0.2, 0.9, 0.1, 1) 760ms forwards;
}

body.is-ready .title-line:nth-child(1) span:nth-child(2) {
  animation: wordIn 850ms cubic-bezier(0.2, 0.9, 0.1, 1) 860ms forwards;
}

body.is-ready .title-line:nth-child(1) span:nth-child(3) {
  animation: wordIn 850ms cubic-bezier(0.2, 0.9, 0.1, 1) 960ms forwards;
}

body.is-ready .title-line:nth-child(2) span:nth-child(1) {
  animation: wordIn 850ms cubic-bezier(0.2, 0.9, 0.1, 1) 1080ms forwards;
}

body.is-ready .title-line:nth-child(2) span:nth-child(2) {
  animation: wordIn 850ms cubic-bezier(0.2, 0.9, 0.1, 1) 1180ms forwards;
}

body.is-ready .title-line:nth-child(3) span:nth-child(1) {
  animation: wordIn 850ms cubic-bezier(0.2, 0.9, 0.1, 1) 1300ms forwards;
}

body.is-ready .title-line:nth-child(4) span:nth-child(1) {
  animation: wordIn 850ms cubic-bezier(0.2, 0.9, 0.1, 1) 1400ms forwards;
}

.hero-copy {
  width: min(620px, 100%);
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.32rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-actions a {
  min-width: 220px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(680px, 100%);
  margin: 38px 0 0;
}

.hero-stats div {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 194, 122, 0.1);
  border-radius: var(--radius);
  background: rgba(5, 10, 27, 0.56);
  backdrop-filter: blur(14px);
}

.hero-stats div::after {
  position: absolute;
  inset: 0;
  content: "";
  transform: translateX(-120%);
  background: linear-gradient(100deg, transparent, rgba(255, 194, 122, 0.13), transparent);
  animation: panelSweep 5600ms ease-in-out infinite;
}

.hero-stats dt {
  color: #fff;
  font-size: clamp(1.15rem, 1.55vw, 1.55rem);
  font-weight: 800;
  line-height: 1.2;
}

.hero-stats dt span {
  color: inherit;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted-2);
}

.hero-hud {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 82px;
  width: min(380px, calc(100% - 48px));
  padding: 18px;
  border: 1px solid rgba(255, 194, 122, 0.26);
  border-radius: var(--radius);
  background: rgba(3, 8, 22, 0.66);
  box-shadow:
    inset 0 0 40px rgba(255, 138, 61, 0.09),
    0 24px 70px rgba(0, 0, 0, 0.34),
    0 0 32px rgba(255, 194, 122, 0.08);
  backdrop-filter: blur(16px);
}

.vpn-widget-top,
.route-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.vpn-widget-top span,
.route-row span {
  color: var(--muted);
}

.vpn-widget-top strong,
.route-row strong {
  color: var(--green);
}

.vpn-widget-top strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vpn-widget-top i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
  animation: pulse 1300ms ease-in-out infinite;
}

/* Live VPN status states */
.vpn-widget-top .vpn-status-text {
  color: var(--green);
}

.hero-hud.is-off .vpn-status-text {
  color: #ff8585;
}

.hero-hud.is-off .vpn-widget-top i {
  background: #ff8585;
  box-shadow: 0 0 18px rgba(255, 133, 133, 0.85);
}

.hero-hud.is-off .vpn-power {
  filter: grayscale(0.45) brightness(0.82);
}

.hero-hud.is-checking .vpn-status-text {
  color: var(--muted-2);
}

.hero-hud.is-checking .vpn-widget-top i {
  background: var(--muted-2);
  box-shadow: none;
  animation: none;
}

.vpn-power {
  position: relative;
  display: grid;
  width: 138px;
  height: 138px;
  margin: 22px auto;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 194, 122, 0.13), transparent 45%),
    conic-gradient(from 220deg, var(--silver), var(--cyan), var(--blue), var(--violet), var(--magenta), var(--silver));
  box-shadow:
    0 0 38px rgba(255, 138, 61, 0.24),
    0 0 52px rgba(160, 108, 255, 0.18),
    inset 0 0 28px rgba(0, 0, 0, 0.5);
  animation: powerSpin 5800ms linear infinite;
}

.vpn-power::before {
  position: absolute;
  inset: 12px;
  content: "";
  border-radius: inherit;
  background: rgba(3, 8, 22, 0.95);
}

.vpn-power span {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border: 5px solid rgba(255, 255, 255, 0.92);
  border-top-color: transparent;
  border-radius: 50%;
  filter: drop-shadow(0 0 16px rgba(255, 194, 122, 0.55));
}

.vpn-power span::before {
  position: absolute;
  top: -19px;
  left: 50%;
  width: 5px;
  height: 32px;
  content: "";
  border-radius: 999px;
  background: #fff;
  transform: translateX(-50%);
}

.vpn-metrics {
  display: grid;
  gap: 10px;
  margin: 0;
}

.vpn-metrics div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(255, 194, 122, 0.1);
  border-radius: var(--radius);
  background: rgba(0, 8, 24, 0.24);
}

.vpn-metrics dt {
  color: var(--muted-2);
}

.vpn-metrics dd {
  margin: 0;
  color: var(--silver);
  font-weight: 900;
  text-align: right;
  overflow-wrap: anywhere;
}

.tunnel-map {
  position: relative;
  height: 122px;
  margin: 16px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 194, 122, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 108, 255, 0.08) 1px, transparent 1px),
    rgba(5, 10, 27, 0.58);
  background-size: 36px 36px;
}

.node {
  position: absolute;
  z-index: 2;
  width: 16px;
  height: 16px;
  border: 2px solid var(--silver);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 24px currentColor;
}

.node-home {
  left: 13%;
  top: 50%;
  color: var(--cyan);
  transform: translateY(-50%);
}

.node-server {
  left: 50%;
  top: 50%;
  color: var(--blue);
  transform: translate(-50%, -50%);
}

.node-exit {
  right: 13%;
  top: 50%;
  color: var(--green);
  transform: translateY(-50%);
}

.route {
  position: absolute;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  transform-origin: left;
}

.route::after {
  position: absolute;
  inset: 0;
  content: "";
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, var(--cyan), var(--blue), var(--violet), transparent);
  animation: packetMove 1900ms linear infinite;
}

.route-one {
  left: 15%;
  top: 50%;
  width: 70%;
  transform: none;
}

.route-two {
  display: none;
}

.route-two::after {
  animation-delay: 650ms;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
  animation: pulse 1300ms ease-in-out infinite;
}

.feature-strip,
.network-section,
.app-section,
.deep-features,
.pricing-section,
.faq-section,
.final-section,
.site-footer {
  width: min(var(--max), calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.feature-strip,
.network-section,
.app-section,
.pricing-section,
.faq-section {
  scroll-margin-top: 98px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: -40px;
}

.feature-card,
.wide-card,
.price-card,
.route-panel,
.server-showcase,
.faq-list details {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, rgba(12, 18, 42, 0.92), rgba(4, 8, 22, 0.9)),
    linear-gradient(90deg, rgba(255, 194, 122, 0.08), transparent 42%, rgba(160, 108, 255, 0.1));
  box-shadow:
    inset 0 1px 0 rgba(247, 240, 255, 0.07),
    0 24px 70px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(255, 138, 61, 0.05);
  backdrop-filter: blur(18px);
}

.feature-card::after,
.wide-card::after,
.price-card::after,
.route-panel::after,
.server-showcase::after {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 194, 122, 0.75), rgba(160, 108, 255, 0.58), transparent);
  box-shadow: 0 0 24px rgba(255, 194, 122, 0.22);
}

.feature-card::before,
.wide-card::before,
.price-card::before,
.route-panel::before,
.server-showcase::before,
.faq-list details::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0;
  background:
    radial-gradient(circle at var(--card-x, 50%) var(--card-y, 0%), rgba(255, 194, 122, 0.15), transparent 34%),
    linear-gradient(110deg, transparent, rgba(247, 240, 255, 0.045), transparent);
  transition: opacity 220ms ease;
}

.feature-card:hover::before,
.wide-card:hover::before,
.price-card:hover::before,
.route-panel:hover::before,
.server-showcase:hover::before,
.faq-list details:hover::before {
  opacity: 1;
}

.feature-card,
.wide-card,
.price-card,
.route-panel,
.server-showcase {
  transition:
    border-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.feature-card:hover,
.wide-card:hover,
.price-card:hover,
.route-panel:hover,
.server-showcase:hover {
  border-color: rgba(255, 194, 122, 0.38);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.32),
    0 0 34px rgba(255, 138, 61, 0.14);
}

.feature-card,
.wide-card {
  padding: 24px;
}

.feature-card,
.wide-card,
.server-showcase {
  overflow: visible;
}

.feature-card {
  min-height: 300px;
  text-align: center;
}

.card-media {
  display: flex;
  height: 190px;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 18px 14px 24px;
}

.card-media img {
  width: min(100%, 210px);
  height: calc(100% - 10px);
  object-fit: contain;
  object-position: center;
  filter:
    saturate(1.04)
    hue-rotate(0deg)
    drop-shadow(0 0 18px rgba(255, 138, 61, 0.18))
    drop-shadow(0 0 24px rgba(160, 108, 255, 0.12));
  animation: assetFloat 5200ms ease-in-out infinite;
  transition:
    transform 360ms cubic-bezier(0.2, 0.9, 0.2, 1),
    filter 360ms ease;
  pointer-events: none;
}

.feature-card:hover .card-media img,
.wide-card:hover .card-media img,
.server-showcase:hover img {
  animation-play-state: paused;
  transform: translateY(-10px) scale(1.045);
  filter:
    saturate(1.08)
    drop-shadow(0 0 24px rgba(160, 108, 255, 0.24))
    drop-shadow(0 0 16px rgba(255, 154, 85, 0.1));
}

.feature-card:nth-child(2) .card-media img,
.wide-card:nth-child(2) .card-media img {
  animation-delay: -1200ms;
}

.feature-card:nth-child(3) .card-media img,
.wide-card:nth-child(3) .card-media img {
  animation-delay: -2200ms;
}

.feature-card:nth-child(4) .card-media img {
  animation-delay: -3200ms;
}

.feature-card h2,
.wide-card h2,
.server-showcase h3,
.price-card h3 {
  margin: 10px 0 10px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.feature-card p,
.wide-card p,
.server-showcase p,
.app-copy p,
.faq-list p,
.final-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.section-head {
  width: min(760px, 100%);
  margin: 0 auto 28px;
  text-align: center;
}

.section-head h2,
.app-copy h2,
.final-content h2 {
  margin: 0;
  font-size: clamp(2.1rem, 3.8vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.network-section {
  padding: 96px 0 0;
}

.network-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.server-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  min-height: 390px;
  padding: 28px;
}

.server-showcase img {
  width: 94%;
  height: 280px;
  margin: 10px auto;
  object-fit: contain;
  filter:
    saturate(1.02)
    hue-rotate(0deg)
    drop-shadow(0 0 22px rgba(255, 138, 61, 0.1))
    drop-shadow(0 0 26px rgba(160, 108, 255, 0.12));
}

.route-panel {
  display: grid;
  align-content: center;
  min-height: 390px;
  padding: 34px;
}

.route-row {
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid rgba(255, 194, 122, 0.1);
  border-radius: var(--radius);
  background: rgba(0, 8, 24, 0.22);
}

.route-track {
  position: relative;
  height: 42px;
  margin: 2px 0;
}

.route-track::before {
  position: absolute;
  top: 50%;
  left: 24px;
  width: 2px;
  height: 100%;
  content: "";
  background: linear-gradient(var(--cyan), var(--blue), var(--violet));
  transform: translateY(-50%);
  opacity: 0.44;
}

.route-track span {
  position: absolute;
  top: 0;
  left: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
  animation: nodeDrop 1800ms ease-in-out infinite;
}

.route-track.delay span {
  background: var(--violet);
  box-shadow: 0 0 18px var(--violet);
  animation-delay: 450ms;
}

.app-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: 34px;
  align-items: center;
  padding: 98px 0 20px;
}

.app-copy {
  max-width: 640px;
}

.app-copy p:not(.kicker) {
  margin-top: 20px;
  font-size: 1.1rem;
}

.app-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.app-points span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 194, 122, 0.24);
  border-radius: var(--radius);
  color: #ffe6c5;
  background: rgba(255, 138, 61, 0.07);
  font-weight: 800;
}

.phone-stage {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: visible;
  padding: 42px 0 34px;
}

.phone-stage::before {
  position: absolute;
  right: 10%;
  bottom: 8%;
  left: 10%;
  height: 170px;
  content: "";
  border: 1px solid rgba(255, 194, 122, 0.28);
  transform: perspective(520px) rotateX(64deg) rotateZ(-8deg);
  background:
    linear-gradient(rgba(255, 194, 122, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 108, 255, 0.2) 1px, transparent 1px);
  background-size: 34px 34px;
  filter: blur(0.1px);
}

.phone-stage img {
  position: relative;
  width: min(500px, 92%);
  transform: rotate(4deg);
  filter:
    saturate(1.04)
    hue-rotate(0deg)
    drop-shadow(0 0 30px rgba(255, 138, 61, 0.14))
    drop-shadow(0 0 36px rgba(160, 108, 255, 0.16));
  animation: phoneFloat 5200ms ease-in-out infinite;
}

.deep-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 44px;
}

.wide-card {
  min-height: 330px;
}

.pricing-section {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 110px 0 36px;
}

.pricing-section::before {
  position: absolute;
  right: 4%;
  bottom: 0;
  left: 4%;
  z-index: -1;
  height: 420px;
  content: "";
  border: 1px solid rgba(255, 194, 122, 0.2);
  transform: perspective(800px) rotateX(66deg);
  background:
    linear-gradient(rgba(255, 138, 61, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 108, 255, 0.16) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to top, #000, transparent 88%);
}

.price-lead {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: min(var(--max), 100%);
  margin: 42px auto 0;
  padding: 0 24px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 32px 20px 24px;
  border: 1px solid rgba(255, 194, 122, 0.14);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(9, 6, 20, 0.6);
  backdrop-filter: blur(14px);
  text-align: center;
  transition:
    transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1),
    border-color 240ms ease,
    box-shadow 260ms ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(177, 124, 255, 0.4);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(160, 108, 255, 0.16);
}

.plan-card.is-popular {
  border-color: rgba(255, 194, 122, 0.4);
}

.plan-card.is-best {
  border-color: rgba(177, 124, 255, 0.5);
  background: linear-gradient(180deg, rgba(160, 108, 255, 0.16), rgba(9, 6, 20, 0.6) 62%);
  box-shadow: 0 0 34px rgba(160, 108, 255, 0.2);
}

.plan-term {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-price {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 700;
}

.plan-price strong {
  margin-right: 2px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 66%, #ece2ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-per {
  margin: 2px 0 20px;
  color: var(--muted);
  font-size: 0.86rem;
}

.plan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  border: 1px solid rgba(247, 240, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(247, 240, 255, 0.05);
  color: #efe7fb;
  font-weight: 700;
  font-size: 0.92rem;
  transition:
    transform 180ms ease,
    border-color 200ms ease,
    background-color 200ms ease,
    box-shadow 220ms ease;
}

.plan-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(177, 124, 255, 0.5);
  background: rgba(160, 108, 255, 0.12);
}

.plan-btn-primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(120deg, #7a4fe6, #a862ff 55%, #d07cff);
  box-shadow: 0 10px 26px rgba(160, 108, 255, 0.3);
}

.plan-btn-primary:hover {
  background: linear-gradient(120deg, #8659f0, #b06dff 55%, #d98cff);
  box-shadow: 0 14px 34px rgba(160, 108, 255, 0.42);
}

.plan-tag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 13px;
  border-radius: 999px;
  color: #1a1030;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(100deg, var(--cyan), var(--orange));
  box-shadow: 0 8px 20px rgba(255, 154, 85, 0.28);
}

.plan-tag-best {
  color: #fff;
  background: linear-gradient(100deg, var(--violet), var(--magenta));
  box-shadow: 0 8px 20px rgba(160, 108, 255, 0.32);
}

.plan-tag-soft {
  color: var(--silver);
  background: rgba(12, 8, 24, 0.92);
  border: 1px solid rgba(247, 240, 255, 0.16);
  box-shadow: none;
}

.price-includes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  width: min(var(--max), 100%);
  margin: 30px auto 0;
  padding: 0 24px;
  list-style: none;
}

.price-includes li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(247, 240, 255, 0.1);
  border-radius: 999px;
  background: rgba(247, 240, 255, 0.04);
  color: var(--silver);
  font-size: 0.9rem;
}

.price-includes li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

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

.faq-list {
  display: grid;
  gap: 10px;
  width: min(1040px, 100%);
  margin: 0 auto;
}

.faq-list details {
  overflow: hidden;
}

.faq-list summary {
  position: relative;
  display: flex;
  min-height: 64px;
  cursor: pointer;
  align-items: center;
  padding: 0 62px 0 24px;
  font-weight: 850;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  right: 28px;
  width: 12px;
  height: 12px;
  content: "";
  border-right: 2px solid #cbb6ff;
  border-bottom: 2px solid #cbb6ff;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(225deg);
}

.faq-list p {
  padding: 0 62px 22px 24px;
}

.final-section {
  position: relative;
  min-height: 360px;
  margin-top: 90px;
  overflow: hidden;
  border: 1px solid rgba(255, 194, 122, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(3, 8, 22, 0.94), rgba(8, 10, 32, 0.76)),
    #0b0615;
}

.final-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background:
    linear-gradient(90deg, rgba(2, 7, 19, 0.96), rgba(2, 7, 19, 0.24), rgba(2, 7, 19, 0.9)),
    linear-gradient(110deg, rgba(255, 138, 61, 0.12), transparent 42%, rgba(160, 108, 255, 0.14)),
    url("assets/01_hero_cyber_city_transparent.webp") center / cover no-repeat;
  transform: scale(1.08);
}

.final-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  padding: 70px 42px;
}

.final-content .primary-button {
  margin-top: 28px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 92px;
  color: var(--muted-2);
}

.site-footer .brand {
  color: var(--silver);
}

.site-footer > span {
  justify-self: center;
}

.site-footer a:last-child {
  justify-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(52px);
  filter: blur(14px);
  transition:
    opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 900ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal-zoom {
  transform: scale(0.9);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.hero .reveal.is-visible {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(12px);
  transition: none;
}

body.is-ready .hero .kicker.is-visible {
  animation: sequenceFade 620ms cubic-bezier(0.2, 0.9, 0.2, 1) 520ms both;
}

body.is-ready .hero .hero-copy.is-visible {
  animation: sequenceFade 680ms cubic-bezier(0.2, 0.9, 0.2, 1) 1620ms both;
}

body.is-ready .hero .hero-actions.is-visible {
  animation: sequenceFade 680ms cubic-bezier(0.2, 0.9, 0.2, 1) 1800ms both;
}

body.is-ready .hero .hero-stats.is-visible {
  animation: sequenceFade 680ms cubic-bezier(0.2, 0.9, 0.2, 1) 1980ms both;
}

body.is-ready .hero .hero-hud.is-visible {
  animation:
    sequenceFade 720ms cubic-bezier(0.2, 0.9, 0.2, 1) 2240ms both,
    hudFloat 5600ms ease-in-out 3100ms infinite;
}

.feature-card.reveal:nth-child(2),
.wide-card.reveal:nth-child(2) {
  transition-delay: 80ms;
}

.feature-card.reveal:nth-child(3),
.wide-card.reveal:nth-child(3) {
  transition-delay: 160ms;
}

.feature-card.reveal:nth-child(4) {
  transition-delay: 240ms;
}

@keyframes introGridFade {
  from {
    opacity: 0;
    transform: scale(1.06);
  }

  to {
    opacity: 0.7;
    transform: scale(1);
  }
}

@keyframes introCoreIn {
  0% {
    opacity: 0;
    transform: scale(0.7);
    filter: blur(12px);
  }

  60% {
    opacity: 1;
    transform: scale(1.05);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes introRise {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes introLogoPulse {
  0%,
  100% {
    transform: scale(1);
    filter:
      drop-shadow(0 0 14px rgba(160, 108, 255, 0.45))
      drop-shadow(0 0 22px rgba(255, 154, 85, 0.18));
  }

  50% {
    transform: scale(1.06);
    filter:
      drop-shadow(0 0 22px rgba(160, 108, 255, 0.7))
      drop-shadow(0 0 34px rgba(255, 154, 85, 0.3));
  }
}

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

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

@keyframes introAura {
  0%,
  100% {
    opacity: 0.75;
    transform: translateY(-50%) scale(0.94);
  }

  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.06);
  }
}

@keyframes introGlowSweep {
  0%,
  100% {
    opacity: 0.25;
    transform: translateY(-50%) scaleX(0.7);
  }

  50% {
    opacity: 0.6;
    transform: translateY(-50%) scaleX(1);
  }
}

@keyframes introSpark {
  0%,
  100% {
    opacity: 0;
    transform: translateY(6px) scale(0.6);
  }

  30%,
  60% {
    opacity: 0.9;
    transform: translateY(-6px) scale(1);
  }
}

@keyframes headerDrop {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-18px);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes buttonSweep {
  0%,
  58% {
    left: -70%;
  }

  76%,
  100% {
    left: 125%;
  }
}

@keyframes panelSweep {
  0%,
  62% {
    transform: translateX(-120%);
  }

  82%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes heroBreath {
  0% {
    filter: saturate(1.02) brightness(0.96) hue-rotate(0deg);
  }

  100% {
    filter: saturate(1.08) brightness(1.02) hue-rotate(0deg);
  }
}

@keyframes hudFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes assetFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-6px) scale(1.018);
  }
}

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

@keyframes sequenceFade {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes routePacket {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(380%);
  }
}

@keyframes routeNode {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.55);
  }

  26%,
  68% {
    opacity: 0.9;
  }

  48% {
    opacity: 1;
    transform: scale(1.75);
  }
}

@keyframes wordIn {
  from {
    opacity: 0;
    transform: translateY(110%) rotate(3deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes packetMove {
  to {
    transform: translateX(100%);
  }
}

@keyframes pulse {
  50% {
    opacity: 0.35;
    transform: scale(1.45);
  }
}

@keyframes nodeDrop {
  0%,
  12% {
    opacity: 0;
    transform: translateY(0);
  }

  24%,
  76% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(42px);
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0) rotate(4deg);
  }

  50% {
    transform: translateY(-12px) rotate(2.5deg);
  }
}

/* ============================================================
   Premium polish layer
   ============================================================ */

/* Ambient aurora depth */
.aurora {
  position: fixed;
  inset: -20% -10% -10%;
  z-index: -5;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.55;
  filter: blur(90px) saturate(1.15);
}

.aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  mix-blend-mode: screen;
}

.aurora span:nth-child(1) {
  top: -8%;
  left: -6%;
  width: 48vw;
  height: 48vw;
  background: radial-gradient(circle, rgba(155, 99, 255, 0.5), transparent 68%);
  animation: auroraDrift 24s ease-in-out infinite;
}

.aurora span:nth-child(2) {
  top: 24%;
  right: -10%;
  width: 42vw;
  height: 42vw;
  background: radial-gradient(circle, rgba(255, 154, 85, 0.3), transparent 66%);
  animation: auroraDrift 30s ease-in-out infinite reverse;
}

.aurora span:nth-child(3) {
  bottom: -12%;
  left: 28%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(208, 124, 255, 0.34), transparent 66%);
  animation: auroraDrift2 34s ease-in-out infinite;
}

@keyframes auroraDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  33% {
    transform: translate3d(6%, 8%, 0) scale(1.12);
  }

  66% {
    transform: translate3d(-5%, 4%, 0) scale(0.95);
  }
}

@keyframes auroraDrift2 {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1.05);
  }

  50% {
    transform: translate3d(4%, -6%, 0) scale(0.9);
  }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--cyan), var(--orange), var(--violet), var(--magenta));
  box-shadow: 0 0 16px rgba(160, 108, 255, 0.55);
  will-change: transform;
}

/* Cursor spotlight */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-9999px, -9999px);
  background: radial-gradient(circle, rgba(160, 108, 255, 0.16), rgba(255, 154, 85, 0.05) 42%, transparent 68%);
  mix-blend-mode: screen;
  transition: opacity 400ms ease;
  will-change: transform;
}

/* Heading shimmer */
.section-head h2,
.app-copy h2,
.final-content h2 {
  background: linear-gradient(100deg, #ffffff 0%, #ece1ff 28%, #ffd9b6 50%, #ece1ff 72%, #ffffff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: headingShimmer 9s ease-in-out infinite;
}

@keyframes headingShimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Price card premium accents */
.price-card {
  animation: priceGlow 5s ease-in-out infinite;
}

@keyframes priceGlow {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(247, 240, 255, 0.08),
      0 24px 70px rgba(0, 0, 0, 0.3),
      0 0 30px rgba(160, 108, 255, 0.12);
  }

  50% {
    box-shadow:
      inset 0 1px 0 rgba(247, 240, 255, 0.12),
      0 26px 82px rgba(0, 0, 0, 0.34),
      0 0 52px rgba(160, 108, 255, 0.26);
  }
}

.price-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  padding: 9px 15px;
  border: 1px solid rgba(255, 194, 122, 0.4);
  border-radius: 999px;
  color: #1a1030;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(100deg, var(--cyan), var(--orange), var(--magenta));
  box-shadow:
    0 8px 24px rgba(255, 154, 85, 0.28),
    0 0 0 4px rgba(255, 154, 85, 0.05);
}

.price-badge::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  content: "";
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: buttonSweep 3600ms ease-in-out infinite;
}

/* Button press feedback */
.primary-button:active,
.secondary-button:active,
.nav-cta:active {
  transform: translateY(0) scale(0.975);
}

/* Burger button */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(160, 108, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(10, 6, 20, 0.64);
  box-shadow: inset 0 0 22px rgba(160, 108, 255, 0.12);
  cursor: pointer;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.nav-toggle:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 24px rgba(160, 108, 255, 0.2);
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #efe7ff;
  transform: translateX(-50%);
  transition:
    transform 340ms cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 200ms ease;
}

.nav-toggle span:nth-child(1) {
  top: 16px;
}

.nav-toggle span:nth-child(2) {
  top: 22px;
}

.nav-toggle span:nth-child(3) {
  top: 28px;
}

body.menu-open .nav-toggle span:nth-child(1) {
  top: 22px;
  transform: translateX(-50%) rotate(45deg);
}

body.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .nav-toggle span:nth-child(3) {
  top: 22px;
  transform: translateX(-50%) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  overflow-y: auto;
  padding: 100px 24px 48px;
  opacity: 0;
  visibility: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(155, 99, 255, 0.2), transparent 60%),
    rgba(5, 3, 10, 0.92);
  backdrop-filter: blur(22px);
  transition:
    opacity 420ms ease,
    visibility 420ms ease;
}

body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
}

.mobile-menu nav {
  display: grid;
  gap: 6px;
  width: min(440px, 100%);
  margin: auto;
  text-align: center;
}

.mobile-menu a {
  padding: 16px;
  border-radius: var(--radius);
  color: #f3ecff;
  font-size: 1.5rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(18px);
}

.mobile-menu a:not(.mobile-cta) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu .mobile-cta {
  margin-top: 20px;
  min-height: 62px;
  font-size: 1.05rem;
}

body.menu-open .mobile-menu a {
  animation: menuItemIn 520ms cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

body.menu-open .mobile-menu a:nth-child(1) {
  animation-delay: 110ms;
}

body.menu-open .mobile-menu a:nth-child(2) {
  animation-delay: 170ms;
}

body.menu-open .mobile-menu a:nth-child(3) {
  animation-delay: 230ms;
}

body.menu-open .mobile-menu a:nth-child(4) {
  animation-delay: 290ms;
}

body.menu-open .mobile-menu a:nth-child(5) {
  animation-delay: 350ms;
}

body.menu-open .mobile-menu a:nth-child(6) {
  animation-delay: 410ms;
}

body.menu-open {
  overflow: hidden;
}

@keyframes menuItemIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav {
    display: none;
  }

  .site-header .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    min-height: 980px;
    align-content: start;
  }

  .hero-hud {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(520px, 100%);
    margin-top: 42px;
  }

  .feature-strip,
  .deep-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .network-layout,
  .app-section {
    grid-template-columns: 1fr;
  }

  .server-showcase {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .phone-stage {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 56px;
    padding: 0 10px;
  }

  .brand {
    font-size: 1rem;
  }

  .logo-shield {
    width: 32px;
    height: 32px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 900px;
    padding: 108px 16px 62px;
  }

  .hero-city {
    background:
      linear-gradient(180deg, rgba(2, 7, 19, 0.56), rgba(2, 7, 19, 0.9) 58%, #05030a 100%),
      linear-gradient(90deg, rgba(2, 7, 19, 0.9), rgba(2, 7, 19, 0.24)),
      linear-gradient(115deg, rgba(255, 138, 61, 0.16), transparent 42%, rgba(160, 108, 255, 0.14)),
      url("assets/01_hero_cyber_city_transparent.webp") 58% top / auto 58% no-repeat;
  }

  .hero-grid {
    width: 120vw;
    height: 70vw;
    right: -32%;
    bottom: 18%;
  }

  .kicker {
    font-size: 0.68rem;
  }

  .hero-title {
    font-size: clamp(2rem, 9.4vw, 2.62rem);
    line-height: 1;
  }

  .hero-copy {
    width: 100%;
    max-width: min(100%, 338px);
    font-size: 0.98rem;
    line-height: 1.55;
    overflow-wrap: break-word;
  }

  .hero-actions {
    width: 100%;
    max-width: min(100%, 358px);
  }

  .hero-actions a {
    width: 100%;
    min-width: 0;
  }

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

  .hero-hud {
    padding: 16px;
  }

  .vpn-widget-top {
    gap: 10px;
  }

  .vpn-widget-top strong {
    font-size: 0.92rem;
  }

  .vpn-power {
    width: 118px;
    height: 118px;
    margin: 18px auto;
  }

  .vpn-power span {
    width: 48px;
    height: 48px;
  }

  .vpn-metrics div {
    min-height: 56px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 10px 12px;
  }

  .vpn-metrics dd {
    font-size: 0.98rem;
  }

  .feature-strip,
  .network-section,
  .app-section,
  .deep-features,
  .pricing-section,
  .faq-section,
  .final-section,
  .site-footer {
    width: calc(100% - 24px);
  }

  .feature-strip,
  .deep-features {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 288px;
  }

  .network-section {
    padding-top: 70px;
  }

  .section-head h2,
  .app-copy h2,
  .final-content h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .server-showcase,
  .route-panel,
  .price-card {
    padding: 22px;
  }

  .server-showcase img {
    width: 90%;
    height: 220px;
  }

  .app-section {
    padding-top: 76px;
  }

  .phone-stage {
    min-height: 390px;
    padding-top: 36px;
    padding-bottom: 30px;
  }

  .phone-stage img {
    width: min(360px, 92%);
  }

  .wide-card {
    min-height: 300px;
  }

  .pricing-section {
    padding-top: 70px;
  }

  .price-line {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .price-line strong {
    font-size: clamp(4rem, 18vw, 5.7rem);
  }

  .price-card ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .price-card li {
    min-height: 42px;
  }

  .faq-section {
    padding-top: 60px;
  }

  .faq-list summary {
    padding-left: 18px;
    font-size: 0.95rem;
  }

  .faq-list p {
    padding-left: 18px;
  }

  .final-section {
    min-height: 330px;
    margin-top: 70px;
  }

  .final-content {
    width: 100%;
    padding: 50px 22px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 26px 0 34px;
    text-align: center;
  }

  .site-footer > span,
  .site-footer a:last-child {
    justify-self: center;
  }
}

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

  .intro-screen {
    display: none;
  }

  .hero-routes {
    display: none;
  }

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

/* Mobile palette/layout guard: keep the hero title inside the viewport. */
@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header,
  .hero,
  .hero-inner,
  .hero-title,
  .hero-copy,
  .hero-actions {
    max-width: 100%;
    min-width: 0;
  }

  .hero {
    width: 100%;
    max-width: 100vw;
  }

  .hero-inner {
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  .hero-title {
    width: 100%;
    max-width: calc(100vw - 32px);
    font-size: clamp(2rem, 8.9vw, 2.5rem);
    line-height: 1.1;
  }

  .hero-copy,
  .hero-actions,
  .hero-stats {
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  .hero-title .title-line {
    display: block;
  }

  .hero-title .title-line span {
    display: inline-block;
    white-space: normal;
  }

  .hero-title .title-line span:not(:first-child)::before {
    content: none;
  }
}
@media (max-width: 760px) {
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    overflow: hidden;
  }

  .site-header .brand {
    min-width: 0;
  }

  .site-header .nav-cta {
    flex: 0 0 auto;
    max-width: 116px;
    min-height: 40px;
    padding: 0 12px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (max-width: 760px) {
  .site-header .nav-cta {
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    width: 104px !important;
    max-width: 104px !important;
    min-height: 40px !important;
    padding: 0 10px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transform: translateY(-50%) !important;
    font-size: 0.8rem !important;
  }

  .site-header .brand {
    padding-right: 116px !important;
  }
}
@media (max-width: 760px) {
  .site-header {
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
  }
}
@media (max-width: 760px) {
  .site-header .nav-cta {
    display: none !important;
  }

  .site-header .brand {
    padding-right: 0 !important;
  }
}

/* New premium elements: coarse pointer + mobile tuning */
@media (pointer: coarse) {
  .cursor-glow {
    display: none;
  }
}

@media (max-width: 760px) {
  .aurora {
    opacity: 0.4;
    filter: blur(64px) saturate(1.1);
  }

  .price-badge {
    top: 16px;
    right: 16px;
    padding: 7px 12px;
    font-size: 0.64rem;
  }

  .scroll-progress {
    height: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aurora span,
  .section-head h2,
  .app-copy h2,
  .final-content h2,
  .price-card,
  .price-badge::before {
    animation: none !important;
  }

  .cursor-glow {
    display: none;
  }
}

/* Burger/menu only below the desktop breakpoint */
@media (min-width: 1181px) {
  .mobile-menu,
  .nav-toggle {
    display: none !important;
  }
}

/* Display-font safeguard: keep hero title inside small viewports */
@media (max-width: 760px) {
  .hero-title {
    font-size: clamp(1.85rem, 8.2vw, 2.3rem);
    letter-spacing: -0.02em;
  }
}

/* Pricing grid responsiveness */
@media (max-width: 900px) {
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .price-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}
