/* ============================================================
   IBO Player Pro Store — Styles
   ============================================================ */

:root {
  --bg: #070b18;
  --bg-soft: #0b1024;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-hover: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1fb;
  --text-dim: #a5adc8;
  --text-faint: #6c7494;
  --accent: #4f7cff;
  --accent-2: #8b5cff;
  --accent-3: #00d4ff;
  --grad: linear-gradient(135deg, #4f7cff 0%, #8b5cff 55%, #00d4ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(79,124,255,.18), rgba(139,92,255,.18));
  --danger: #ff5c6c;
  --success: #2fe6a7;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.65);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --nav-h: 76px;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

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

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--accent), var(--accent-2)); border-radius: 10px; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.container--narrow { width: min(860px, 92%); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader__logo { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 22px; }
.preloader__text {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.preloader__bar { width: 220px; height: 4px; border-radius: 10px; background: rgba(255,255,255,0.08); overflow: hidden; margin: 0 auto; }
.preloader__bar span {
  display: block; height: 100%; width: 40%;
  background: var(--grad);
  border-radius: 10px;
  animation: preload 1.1s ease-in-out infinite;
}
@keyframes preload { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }

/* ---------- Background decor ---------- */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(139, 92, 255, 0.14), transparent 60%),
    radial-gradient(900px 550px at 8% 25%, rgba(79, 124, 255, 0.12), transparent 60%),
    radial-gradient(1000px 700px at 50% 115%, rgba(0, 212, 255, 0.10), transparent 60%),
    var(--bg);
}
.orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  will-change: transform;
  animation: float 16s ease-in-out infinite;
}
.orb--1 { width: 520px; height: 520px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(79, 124, 255, 0.30), transparent 70%); }
.orb--2 { width: 420px; height: 420px; top: 40%; left: -180px; animation-delay: -5s; background: radial-gradient(circle, rgba(139, 92, 255, 0.26), transparent 70%); }
.orb--3 { width: 380px; height: 380px; bottom: -140px; right: 18%; animation-delay: -9s; background: radial-gradient(circle, rgba(0, 212, 255, 0.20), transparent 70%); }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-25px, 25px) scale(0.94); }
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
}
#particles { position: absolute; inset: 0; }

/* ---------- Logo mark ---------- */
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-family: var(--font-head);
  box-shadow: 0 8px 24px -6px rgba(139, 92, 255, 0.6);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-mark::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.4) 50%, transparent 80%);
  transform: translateX(-120%);
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine {
  0%, 60% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}
.icon-ibo { font-style: normal; }
.logo-mark .icon-ibo::before { content: "IBO"; font-size: 0.62rem; letter-spacing: 0.5px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 14px;
  padding: 14px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 40px -10px rgba(139, 92, 255, 0.55);
}
.btn--primary::before {
  content: "";
  position: absolute; top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  animation: btnShine 3.6s ease-in-out infinite;
}
@keyframes btnShine {
  0%, 55% { left: -80%; }
  85%, 100% { left: 140%; }
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 50px -8px rgba(139, 92, 255, 0.7); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: #fff; transform: translateY(-3px); background: rgba(79,124,255,0.1); }
.btn--sm { padding: 10px 18px; font-size: 0.85rem; border-radius: 12px; }
.btn--lg { padding: 17px 34px; font-size: 1rem; border-radius: 16px; }
.btn--block { width: 100%; }
.lock { font-size: 1rem; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 11, 24, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px -18px rgba(0,0,0,0.7);
}
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.2px;
}
.brand__text em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-size: 0.92rem;
  color: var(--text-dim);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__burger {
  display: none;
  background: none; border: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  position: relative;
  z-index: 120;
}
.nav__burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 70px) 0 40px;
  text-align: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 9px 18px;
  border-radius: 100px;
  margin-bottom: 26px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 6.2vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle {
  max-width: 640px;
  margin: 0 auto 34px;
  color: var(--text-dim);
  font-size: 1.08rem;
}
.hero__cta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.86rem;
  color: var(--text-dim);
  margin-bottom: 56px;
}
.meta-item { display: flex; align-items: center; gap: 8px; }
.check {
  color: var(--success);
  font-weight: 700;
}

/* ---------- Hero mockup ---------- */
.mockup {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 22px;
  background: rgba(13, 19, 40, 0.86);
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,0.02) inset;
  overflow: hidden;
  transform: translateZ(0);
}
.mockup__top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.mockup__dot { width: 11px; height: 11px; border-radius: 50%; }
.mockup__dot--r { background: #ff5f57; }
.mockup__dot--y { background: #febc2e; }
.mockup__dot--g { background: #28c840; }
.mockup__url {
  flex: 1;
  margin-left: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 14px;
  font-size: 0.78rem;
  color: var(--text-faint);
  text-align: left;
}
.mockup__body {
  display: flex;
  gap: 16px;
  padding: 20px;
  text-align: left;
  min-height: 300px;
}
.mockup__sidebar {
  width: 132px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ms-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  color: var(--text-dim);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.ms-item--active {
  background: var(--grad-soft);
  border-color: rgba(139,92,255,0.4);
  color: #fff;
}
.ico {
  display: inline-block;
  width: 16px; height: 16px;
  position: relative;
  flex-shrink: 0;
}
.ico--tv::before { content: ""; position: absolute; inset: 1px; border: 2px solid currentColor; border-radius: 3px; }
.ico--tv::after { content: ""; position: absolute; bottom: -3px; left: 50%; transform: translateX(-50%); width: 6px; height: 3px; background: currentColor; }
.ico--film::before { content: ""; position: absolute; inset: 1px; border: 2px solid currentColor; border-radius: 3px; background-image: repeating-linear-gradient(90deg, transparent 0 4px, currentColor 4px 5px); }
.ico--series::before { content: ""; position: absolute; inset: 1px; border: 2px solid currentColor; border-radius: 3px; }
.ico--series::after { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 2px; background: currentColor; }
.ico--star::before { content: "\2605"; position: absolute; inset: 0; font-size: 15px; line-height: 15px; color: currentColor; }
.ico--4k::before { content: "4K"; position: absolute; inset: 0; font-weight: 800; font-size: 12px; line-height: 16px; text-align: center; color: currentColor; font-family: var(--font-head); }
.ico--devices::before { content: ""; position: absolute; inset: 0; border: 2px solid currentColor; border-radius: 4px; }
.ico--devices::after { content: ""; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); width: 8px; height: 3px; background: currentColor; }
.ico--shield::before { content: ""; position: absolute; inset: 0; clip-path: polygon(50% 0, 90% 20%, 90% 55%, 65% 100%, 50% 90%, 35% 100%, 10% 55%, 10% 20%); border: 2px solid currentColor; background: transparent; }
.ico--bolt::before { content: ""; position: absolute; inset: 2px; clip-path: polygon(55% 0, 20% 55%, 45% 55%, 40% 100%, 80% 45%, 55% 45%); background: currentColor; }
.ico--headset::before { content: ""; position: absolute; inset: 1px 2px 4px; border: 2px solid currentColor; border-radius: 50% 50% 45% 45% / 80% 80% 45% 45%; border-top: none; }
.ico--headset::after { content: ""; position: absolute; bottom: 0; left: 2px; width: 5px; height: 6px; border-radius: 0 0 4px 4px; border: 2px solid currentColor; border-top: none; box-shadow: 16px 0 0 -2px currentColor inset; }
.ico--lock::before { content: ""; position: absolute; top: 2px; left: 3px; width: 9px; height: 8px; border: 2px solid currentColor; border-bottom: none; border-radius: 6px 6px 0 0; }
.ico--lock::after { content: ""; position: absolute; top: 7px; left: 1px; width: 13px; height: 9px; border-radius: 3px; border: 2px solid currentColor; background: currentColor; }

.mockup__screen {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  align-content: start;
}
.screen-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.screen-card:hover { transform: translateY(-4px); border-color: var(--accent-2); }
.screen-card__thumb {
  height: 92px;
  background:
    radial-gradient(120px 50px at 30% 30%, rgba(0,212,255,0.35), transparent 70%),
    radial-gradient(120px 60px at 75% 60%, rgba(139,92,255,0.4), transparent 70%),
    linear-gradient(120deg, rgba(79,124,255,0.25), rgba(139,92,255,0.25));
  position: relative;
}
.screen-card__thumb::after {
  content: "\25B6";
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
}
.screen-card--big .screen-card__thumb { height: 150px; }
.screen-card--big { grid-column: 1 / -1; }
.screen-card__body { padding: 12px 14px; }
.screen-card__body strong { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 9px; }
.screen-card__tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-3);
  margin-bottom: 6px;
}
.screen-card__bar { display: block; height: 6px; border-radius: 10px; background: rgba(255,255,255,0.09); position: relative; overflow: hidden; }
.screen-card__bar::after {
  content: "";
  position: absolute; inset: 0;
  width: 60%;
  border-radius: 10px;
  background: var(--grad);
  transform-origin: left;
  animation: barShift 3.2s ease-in-out infinite;
}
@keyframes barShift { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(1.5); } }

.mockup__float {
  position: absolute;
  background: rgba(13, 19, 40, 0.9);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,0.6);
  animation: floatBadge 6s ease-in-out infinite;
}
.mockup__float--1 { top: 20%; left: -18px; animation-delay: -2s; }
.mockup__float--2 { bottom: 22%; right: -16px; animation-delay: -4s; }
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.badge-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--grad-soft);
  border: 1px solid rgba(139,92,255,0.45);
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent-3);
}
.badge-icon--ok { color: var(--success); }

/* ---------- Stats ---------- */
.stats { padding: 60px 0 20px; content-visibility: auto; contain-intrinsic-size: auto 180px; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 16px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.stat:hover { transform: translateY(-5px); border-color: var(--accent); background: var(--bg-card-hover); }
.stat__num {
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__plus { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { display: block; margin-top: 4px; font-size: 0.82rem; color: var(--text-faint); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; content-visibility: auto; contain-intrinsic-size: auto 720px; }
.section--alt { background: rgba(255, 255, 255, 0.015); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-3);
  margin-bottom: 14px;
}
.section__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section__lead { color: var(--text-dim); font-size: 1.02rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  box-shadow: 0 24px 60px -24px rgba(79, 124, 255, 0.35);
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature { padding: 32px 28px; position: relative; overflow: hidden; }
.feature::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.feature:hover::before { transform: scaleX(1); }
.feature__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(139, 92, 255, 0.35);
  display: grid;
  place-items: center;
  color: var(--accent-3);
  font-size: 1.15rem;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}
.feature:hover .feature__icon { transform: rotate(-8deg) scale(1.08); }
.feature h3 { font-family: var(--font-head); font-size: 1.12rem; margin-bottom: 9px; }
.feature p { font-size: 0.9rem; color: var(--text-dim); }

/* ---------- Steps ---------- */
.steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 14px;
}
.step__num {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid rgba(139, 92, 255, 0.4);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-3);
  position: relative;
  box-shadow: 0 0 0 8px rgba(139, 92, 255, 0.08);
}
.step__num::after {
  content: "";
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(139, 92, 255, 0.35);
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.step__card { padding: 26px 22px; text-align: center; }
.step__card h3 { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 8px; }
.step__card p { font-size: 0.87rem; color: var(--text-dim); }
.step__line {
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  align-self: center;
  margin-top: -60px;
  position: relative;
  flex-shrink: 0;
}
.step__line::after {
  content: "\2192";
  position: absolute;
  right: -6px; top: -10px;
  color: var(--accent-2);
  font-size: 1rem;
}

/* ---------- What you need box ---------- */
.need-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  max-width: 680px;
  margin: 0 auto 44px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid rgba(139, 92, 255, 0.35);
  border-left: 4px solid var(--accent-3);
}
.need-box__icon {
  font-size: 1.6rem;
  line-height: 1.2;
  flex-shrink: 0;
}
.need-box h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.need-box p { font-size: 0.87rem; color: var(--text-dim); margin-bottom: 10px; }
.need-box ul { margin: 0; padding-left: 18px; }
.need-box li { font-size: 0.87rem; color: var(--text); margin-bottom: 4px; }
.need-box__example { color: var(--text-faint); }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
  gap: 24px;
  margin-bottom: 30px;
}
.price {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.price--featured {
  background: linear-gradient(160deg, rgba(79,124,255,0.16), rgba(139,92,255,0.14)), var(--bg-card);
  border-color: rgba(139, 92, 255, 0.55);
  box-shadow: 0 30px 80px -30px rgba(139, 92, 255, 0.5);
  transform: scale(1.03);
}
.price--featured:hover { transform: scale(1.03) translateY(-6px); }
.price--featured::before {
  content: "";
  position: absolute; top: -2px; left: -2px; right: -2px;
  height: 3px;
  background: var(--grad);
}
.price__badge {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
}
.price__badge--hot {
  background: var(--grad);
  color: #fff;
  border: none;
  animation: pulse 2s infinite;
}
.price__name { font-family: var(--font-head); font-size: 1.35rem; margin-bottom: 6px; }
.price__desc { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 24px; min-height: 42px; }
.price__amount { display: flex; align-items: baseline; gap: 8px; margin-bottom: 24px; }
.price__old {
  font-size: 1rem;
  color: var(--text-faint);
  text-decoration: line-through;
}
.price__amount strong {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.price__per { font-size: 0.85rem; color: var(--text-faint); }
.price__list { margin-bottom: 28px; flex: 1; }
.price__list li {
  font-size: 0.9rem;
  color: var(--text-dim);
  padding: 7px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 10px;
}
.price__list li:last-child { border-bottom: none; }
.price__list li::before { content: "\2713"; color: var(--success); font-weight: 700; font-size: 0.82rem; }
.pricing__note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.shield-icon { margin-right: 6px; }

/* ---------- Order form ---------- */
.order-form { padding: 40px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.form-grid .field { margin-bottom: 0; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dim);
}
.field label em { font-style: normal; color: var(--text-faint); font-weight: 400; }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.field textarea { resize: vertical; }
.field__hint { font-size: 0.75rem; color: var(--text-faint); margin-top: 6px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(79, 124, 255, 0.15);
  background: rgba(79,124,255,0.05);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: #0d1328; color: var(--text); }
.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(139, 92, 255, 0.35);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.order-total strong {
  font-family: var(--font-head);
  font-size: 1.5rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.order-form__fine {
  margin-top: 14px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-faint);
}
.order-form__fine.is-error { color: var(--danger); font-weight: 600; }

.order-success {
  margin-top: 18px;
  text-align: center;
  padding: 26px 22px;
  border: 1px solid rgba(47, 230, 167, 0.4);
  background: rgba(47, 230, 167, 0.06);
  border-radius: 14px;
}
.order-success__icon {
  width: 48px; height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(47, 230, 167, 0.15);
  border: 1px solid rgba(47, 230, 167, 0.5);
  display: grid;
  place-items: center;
  color: var(--success);
  font-size: 1.3rem;
  animation: pop 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes pop {
  0% { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.order-success h3 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 6px; }
.order-success p { font-size: 0.88rem; color: var(--text-dim); }
.order-success .btn { margin-top: 16px; }
.field.error input, .field.error select { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255, 92, 108, 0.12); }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review { padding: 28px; }
.review__stars { color: #ffc94d; letter-spacing: 3px; margin-bottom: 14px; font-size: 0.95rem; }
.review__text { font-size: 0.92rem; color: var(--text-dim); margin-bottom: 20px; }
.review__author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--font-head);
  color: #fff;
  flex-shrink: 0;
}
.avatar--1 { background: linear-gradient(135deg, #4f7cff, #8b5cff); }
.avatar--2 { background: linear-gradient(135deg, #00d4ff, #4f7cff); }
.avatar--3 { background: linear-gradient(135deg, #8b5cff, #ff5c6c); }
.review__author strong { display: block; font-size: 0.9rem; }
.review__author span { font-size: 0.75rem; color: var(--text-faint); }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 0 auto; }
.faq__item {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq__item.is-open { border-color: var(--accent-2); }
.faq__q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 19px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__icon {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--grad-soft);
  border: 1px solid rgba(139,92,255,0.35);
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--accent-3);
  border-radius: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}
.faq__icon::before { width: 12px; height: 2px; }
.faq__icon::after { width: 2px; height: 12px; }
.faq__item.is-open .faq__icon { transform: rotate(180deg); }
.faq__item.is-open .faq__icon::after { height: 0; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.45s ease;
}
.faq__a p { padding: 0 22px 20px; font-size: 0.9rem; color: var(--text-dim); }

/* ---------- CTA ---------- */
.cta { padding: 40px 0 100px; content-visibility: auto; contain-intrinsic-size: auto 480px; }
.cta__box {
  position: relative;
  text-align: center;
  background: linear-gradient(160deg, rgba(79,124,255,0.16), rgba(139,92,255,0.14), rgba(0,212,255,0.1)), rgba(13,19,40,0.7);
  border: 1px solid rgba(139, 92, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 70px 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cta__glow {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,255,0.35), transparent 65%);
  top: -260px; left: 50%;
  transform: translateX(-50%);
  animation: pulse 4s ease-in-out infinite;
  pointer-events: none;
}
.cta__title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  position: relative;
}
.cta__sub {
  color: var(--text-dim);
  margin-bottom: 30px;
  position: relative;
}
.cta .btn { position: relative; }
.cta__note { display: block; margin-top: 18px; font-size: 0.82rem; color: var(--text-faint); position: relative; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: rgba(7, 11, 24, 0.9);
  padding: 60px 0 30px;
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.footer__brand p { font-size: 0.86rem; color: var(--text-dim); margin-top: 16px; max-width: 260px; }
.footer__col h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-dim);
  padding: 6px 0;
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.footer__col a:hover { color: var(--accent-3); padding-left: 6px; }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-faint);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 46px; height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(13, 19, 40, 0.92);
  color: var(--text);
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.35s ease;
  z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--grad); color: #fff; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 26px; left: 50%;
  transform: translate(-50%, 20px);
  background: #0d1328;
  border: 1px solid var(--success);
  color: var(--text);
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 0.88rem;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,0.7);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 200;
  max-width: 92%;
  text-align: center;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Page load entrance ---------- */
.hero__badge, .hero__title, .hero__subtitle, .hero__cta, .hero__meta, .mockup {
  transition-delay: 0.1s;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Stagger helpers via inline style --delay handled in JS */

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .features-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto 30px; }
  .price--featured { transform: none; }
  .price--featured:hover { transform: translateY(-6px); }
  .steps { flex-direction: column; align-items: center; gap: 22px; }
  .step { width: 100%; max-width: 460px; }
  .step__line { width: 2px; height: 40px; margin: 0; }
  .step__line::after { content: "\2193"; top: auto; bottom: -8px; left: 50%; right: auto; transform: translateX(-50%); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .mockup__body { flex-direction: column; }
  .mockup__sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .mockup__float--1 { left: 8px; }
  .mockup__float--2 { right: 8px; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h); right: 0;
    width: min(320px, 82vw);
    height: calc(100vh - var(--nav-h));
    background: rgba(7, 11, 24, 0.98);
    border-left: 1px solid var(--border);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 40px 34px;
    gap: 26px;
    transform: translateX(110%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 1.05rem; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .features-grid, .reviews-grid, .form-grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--nav-h) + 46px); }
  .mockup__screen { grid-template-columns: 1fr; }
  .order-form { padding: 26px 20px; }
  .section { padding: 70px 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .mockup__float { display: none; }
  .need-box { flex-direction: column; gap: 10px; padding: 18px 20px; }
}

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