/* ===== TOKENS ===== */
:root {
  --bg: #0c0e0c;
  --bg-2: #121512;
  --card: #161a15;
  --card-2: #1b201a;
  --line: #2a3128;
  --text: #eef1ea;
  --muted: #9aa395;
  --accent: #c6f72a;
  --accent-dim: #95b820;
  --accent-soft: rgba(198, 247, 42, 0.12);
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1160px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

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

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

body {
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(600px 400px at 78% 8%, rgba(198, 247, 42, 0.10), transparent 60%),
    radial-gradient(500px 500px at 5% 60%, rgba(198, 247, 42, 0.06), transparent 60%);
}

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

.accent { color: var(--accent); }

/* ===== INTRO SPLASH ===== */
body.is-loading { overflow: hidden; }
.splash {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background:
    radial-gradient(600px 400px at 50% 40%, rgba(198, 247, 42, 0.10), transparent 65%),
    var(--bg);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.splash.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.splash__inner { text-align: center; }
.splash__logo { width: 120px; height: 120px; }
.splash__ring {
  fill: none; stroke: rgba(198, 247, 42, 0.25); stroke-width: 2;
  transform-box: fill-box; transform-origin: center;
  animation: splashRing 2.4s ease-in-out infinite;
}
@keyframes splashRing {
  0%, 100% { opacity: 0.3; transform: scale(0.92); }
  50% { opacity: 0.8; transform: scale(1); }
}
.splash__hex {
  fill: none; stroke: var(--accent); stroke-width: 3.5;
  stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 430; stroke-dashoffset: 430;
  filter: drop-shadow(0 0 10px rgba(198, 247, 42, 0.6));
  animation: splashHex 1.5s cubic-bezier(0.65, 0, 0.35, 1) 0.2s forwards;
}
@keyframes splashHex { to { stroke-dashoffset: 0; } }
.splash__dollar {
  fill: var(--accent); font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 52px;
  text-anchor: middle;
  transform-box: fill-box; transform-origin: center; transform: scale(0.2);
  opacity: 0; animation: splashDollar 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 1s forwards;
}
@keyframes splashDollar { to { opacity: 1; transform: scale(1); } }
.splash__name {
  margin-top: 24px; font-family: "Space Grotesk", sans-serif; font-weight: 700;
  letter-spacing: 3px; font-size: clamp(16px, 4vw, 22px); color: var(--text);
  opacity: 0; animation: splashName 0.6s ease 1.3s forwards;
}
.splash__name span { color: var(--accent); margin: 0 7px; }
@keyframes splashName { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.splash__bar {
  margin: 28px auto 0; width: 210px; height: 3px;
  background: var(--line); border-radius: 3px; overflow: hidden;
}
.splash__bar span {
  display: block; height: 100%; width: 0; border-radius: 3px;
  background: var(--accent); box-shadow: 0 0 12px rgba(198, 247, 42, 0.7);
  animation: splashBar 1.7s ease 0.4s forwards;
}
@keyframes splashBar { to { width: 100%; } }
.splash__hint {
  position: absolute; bottom: 34px; left: 0; right: 0; text-align: center;
  color: var(--muted); font-size: 13px; letter-spacing: 0.5px;
  opacity: 0; animation: splashName 0.6s ease 1.8s forwards;
}
@media (prefers-reduced-motion: reduce) {
  .splash__hex, .splash__dollar, .splash__name, .splash__bar span, .splash__hint, .splash__ring {
    animation-duration: 0.01s; animation-delay: 0s;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--accent {
  background: var(--accent);
  color: #0b0d0a;
  box-shadow: 0 8px 30px rgba(198, 247, 42, 0.28);
}
.btn--accent:hover { box-shadow: 0 10px 40px rgba(198, 247, 42, 0.45); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--wide { width: 100%; margin-top: 8px; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(12, 14, 12, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
main { padding-top: 70px; }
.nav.is-scrolled { border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
.brand__mark {
  color: var(--accent);
  font-size: 22px;
  filter: drop-shadow(0 0 8px rgba(198, 247, 42, 0.6));
}
.brand__name { font-family: "Space Grotesk", sans-serif; font-weight: 700; letter-spacing: 0.5px; font-size: 17px; }
.brand__name span { color: var(--accent); }
.nav__links { display: flex; gap: 22px; }
.nav__links a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }

.burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }

/* ===== HERO ===== */
.hero { padding-top: 38px; }
.hero__card {
  position: relative;
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -1px;
}
.hero__title .ghost {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(238, 241, 234, 0.22);
  text-stroke: 1.5px rgba(238, 241, 234, 0.22);
}
.hero__lead { color: var(--muted); font-size: 18px; max-width: 440px; margin: 22px 0 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* coin */
.hero__visual { display: grid; place-items: center; min-height: 280px; }
.coin { position: relative; width: 230px; height: 230px; animation: float 5s ease-in-out infinite; }
.coin__face {
  position: absolute; inset: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e7ff6e, var(--accent) 45%, var(--accent-dim) 100%);
  display: grid; place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 120px; font-weight: 700; color: #0c0e0c;
  box-shadow: inset 0 -14px 30px rgba(0,0,0,0.25), 0 0 60px rgba(198,247,42,0.5);
}
.coin__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 3px dashed rgba(198, 247, 42, 0.55);
  animation: spin 14s linear infinite;
}
.coin__shadow {
  position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%);
  width: 160px; height: 26px; border-radius: 50%;
  background: rgba(0,0,0,0.5); filter: blur(14px);
  animation: shadowPulse 5s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes shadowPulse { 0%,100% { transform: translateX(-50%) scale(1); opacity: 0.5; } 50% { transform: translateX(-50%) scale(0.82); opacity: 0.35; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== STATS BAR ===== */
.statsbar {
  margin-top: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat { padding: 22px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__label { display: block; color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.stat__value { font-family: "Space Grotesk", sans-serif; font-size: 26px; font-weight: 700; }

/* ===== SECTIONS ===== */
.section { padding: 70px 22px; }
.section__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.section__lead { color: var(--muted); max-width: 600px; font-size: 17px; margin-bottom: 34px; }
.kicker, .eyebrow.kicker { text-transform: uppercase; letter-spacing: 2px; font-weight: 700; font-size: 13px; margin-bottom: 26px; }

/* ===== STEPS ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 34px 0 0; }
.step {
  position: relative;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.step:hover {
  transform: translateY(-6px);
  border-color: var(--accent-dim);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.step:hover::before { transform: scaleX(1); }
.step__num {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid rgba(198, 247, 42, 0.22);
  font-weight: 700; font-size: 18px; font-family: "Space Grotesk", sans-serif; margin-bottom: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover .step__num { transform: scale(1.06); box-shadow: 0 0 20px rgba(198, 247, 42, 0.3); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step__tag {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; padding: 7px 14px; border-radius: 100px;
  background: var(--bg-2); border: 1px solid var(--line);
  color: var(--accent); font-size: 13px; font-weight: 700;
}

/* ===== METRICS ===== */
.metrics { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 16px; }
.metric {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.metric--hero {
  background: linear-gradient(150deg, var(--accent), var(--accent-dim));
  color: #0c0e0c; border-color: transparent;
}
.metric--hero .metric__label { color: rgba(12,14,12,0.7); font-weight: 600; }
.metric--hero .metric__sub { color: rgba(12,14,12,0.8); font-weight: 600; font-size: 14px; }
.metric__big { font-family: "Space Grotesk", sans-serif; font-size: clamp(30px, 4vw, 46px); font-weight: 700; }
.metric__ico { font-size: 22px; color: var(--accent); }
.metric__num { font-family: "Space Grotesk", sans-serif; font-size: 28px; font-weight: 700; }
.metric__label { color: var(--muted); font-size: 14px; }

/* ===== CALCULATOR ===== */
.calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 18px;
}
.calc__panel { padding: 26px; }
.calc__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.calc__head h2 { font-family: "Space Grotesk", sans-serif; font-size: 24px; }
.toggle { display: flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 100px; padding: 4px; }
.toggle__btn { background: none; border: 0; color: var(--muted); padding: 6px 16px; border-radius: 100px; cursor: pointer; font-weight: 700; font-size: 13px; }
.toggle__btn.is-active { background: var(--accent); color: #0c0e0c; }
.calc__label { color: var(--muted); font-size: 14px; margin: 18px 0 10px; }
.calc__label strong { color: var(--text); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  background: var(--bg-2); border: 1px solid var(--line); color: var(--text);
  padding: 10px 16px; border-radius: 100px; cursor: pointer; font-weight: 600; font-size: 14px;
  transition: 0.18s;
}
.chip.is-active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.chip:hover { border-color: var(--accent-dim); }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  background: var(--bg-2); border-radius: 100px; outline: none; border: 1px solid var(--line);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); cursor: pointer; box-shadow: 0 0 0 5px var(--accent-soft);
}
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--accent); cursor: pointer; }
.range-row { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 6px; }

.calc__result {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; margin: 22px 0;
}
.calc__rlabel { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.calc__rval { font-family: "Space Grotesk", sans-serif; font-size: 24px; font-weight: 700; }
.calc__rval--accent { color: var(--accent); }

.calc__chart {
  background: linear-gradient(180deg, var(--bg-2), #0d100c);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column;
}
.calc__chart-head { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.spark { width: 100%; flex: 1; min-height: 220px; }

/* ===== FEATURES ===== */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature {
  position: relative;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
/* top accent line revealed on hover */
.feature::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}
/* soft corner glow */
.feature::after {
  content: "";
  position: absolute; top: -50px; right: -50px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  opacity: 0; transition: opacity 0.3s ease;
}
.feature:hover {
  transform: translateY(-6px);
  border-color: var(--accent-dim);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(198, 247, 42, 0.12);
}
.feature:hover::before { transform: scaleX(1); }
.feature:hover::after { opacity: 1; }

.feature__ico {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(198, 247, 42, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature__ico svg { width: 26px; height: 26px; }
.feature:hover .feature__ico {
  transform: scale(1.06);
  box-shadow: 0 0 22px rgba(198, 247, 42, 0.3);
}
.feature { cursor: pointer; outline: none; }
.feature:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14px; }
/* "подробнее" hint */
.feature__more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; color: var(--accent); font-size: 13px; font-weight: 700;
  opacity: 0; transform: translateX(-6px); transition: opacity 0.25s ease, transform 0.25s ease;
}
.feature:hover .feature__more, .feature:focus-visible .feature__more { opacity: 1; transform: none; }
.feature__more svg { width: 14px; height: 14px; }

/* ===== MODAL ===== */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 22px;
  visibility: hidden; opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal.is-open { visibility: visible; opacity: 1; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 8, 6, 0.7); backdrop-filter: blur(6px);
}
.modal__card {
  position: relative; z-index: 1;
  width: 100%; max-width: 540px;
  background: linear-gradient(170deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow);
  opacity: 0;
  max-height: 88vh; overflow-y: auto;
}
.modal.is-open .modal__card {
  animation: cardIn 0.6s cubic-bezier(0.16, 1, 0.32, 1.04) both;
}
@keyframes cardIn {
  0%   { opacity: 0; transform: perspective(1100px) translateY(46px) rotateX(10deg) scale(0.9); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: perspective(1100px) translateY(0) rotateX(0) scale(1); }
}
/* sweeping accent glow on open */
.modal__card::before {
  content: "";
  position: absolute; inset: 0; border-radius: var(--radius-lg);
  pointer-events: none; opacity: 0;
  background: radial-gradient(120% 60% at 50% -10%, rgba(198, 247, 42, 0.22), transparent 60%);
}
.modal.is-open .modal__card::before { animation: glowSweep 1s ease-out both; }
@keyframes glowSweep {
  0%   { opacity: 0; }
  35%  { opacity: 1; }
  100% { opacity: 0; }
}
/* shine bar that slides across the top */
.modal__card::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0); opacity: 0;
}
.modal.is-open .modal__card::after { animation: shineBar 0.7s ease-out 0.1s both; }
@keyframes shineBar {
  0%   { transform: scaleX(0); opacity: 0; }
  50%  { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0.5; }
}

/* staggered reveal of inner content */
.modal.is-open .modal__head,
.modal.is-open .modal__lead,
.modal.is-open .modal__list li,
.modal.is-open .modal__stats .modal__stat,
.modal.is-open .modal__card > .btn {
  animation: itemIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.modal.is-open .modal__head { animation-delay: 0.14s; }
.modal.is-open .modal__lead { animation-delay: 0.20s; }
.modal.is-open .modal__list li:nth-child(1) { animation-delay: 0.26s; }
.modal.is-open .modal__list li:nth-child(2) { animation-delay: 0.32s; }
.modal.is-open .modal__list li:nth-child(3) { animation-delay: 0.38s; }
.modal.is-open .modal__list li:nth-child(4) { animation-delay: 0.44s; }
.modal.is-open .modal__stats .modal__stat:nth-child(1) { animation-delay: 0.48s; }
.modal.is-open .modal__stats .modal__stat:nth-child(2) { animation-delay: 0.54s; }
.modal.is-open .modal__stats .modal__stat:nth-child(3) { animation-delay: 0.60s; }
.modal.is-open .modal__card > .btn { animation-delay: 0.66s; }
@keyframes itemIn {
  0%   { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* icon pops and spins in */
.modal.is-open .modal__ico { animation: icoPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.18s both; }
@keyframes icoPop {
  0%   { opacity: 0; transform: scale(0.3) rotate(-25deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
.modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--muted);
  font-size: 22px; line-height: 1; cursor: pointer; transition: 0.2s;
}
.modal__close:hover { color: var(--accent); border-color: var(--accent); transform: rotate(90deg); }
.modal__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.modal__ico {
  display: inline-grid; place-items: center;
  width: 60px; height: 60px; flex: 0 0 60px; border-radius: 16px;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid rgba(198, 247, 42, 0.22);
}
.modal__ico svg { width: 30px; height: 30px; }
.modal__eyebrow { text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; font-weight: 700; color: var(--accent); }
.modal__title { font-family: "Space Grotesk", sans-serif; font-size: 26px; margin-top: 2px; }
.modal__lead { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.modal__list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.modal__list li { display: flex; gap: 12px; font-size: 15px; }
.modal__list li::before {
  content: "✓"; color: var(--accent); font-weight: 800; flex: 0 0 auto;
}
.modal__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.modal__stat {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px; text-align: center;
}
.modal__stat b { display: block; font-family: "Space Grotesk", sans-serif; font-size: 20px; color: var(--accent); }
.modal__stat span { font-size: 12px; color: var(--muted); }
body.modal-open { overflow: hidden; }
@media (max-width: 520px) {
  .modal__card { padding: 26px 20px; }
  .modal__stats { grid-template-columns: 1fr; }
}

/* ===== INTERESTING FACTS ===== */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin-top: 34px; }
.facts__art {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.facts__art img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.facts__art:hover img { transform: scale(1.05); }
/* dark green tint to blend photo with the theme */
.facts__art-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12,14,12,0.15) 0%, rgba(12,14,12,0.75) 100%),
    radial-gradient(120% 80% at 80% 0%, rgba(198,247,42,0.18), transparent 55%);
}
.facts__art-tag {
  position: absolute; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(12, 14, 12, 0.7); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 100px;
  padding: 7px 14px; font-size: 13px; color: var(--text); font-weight: 600;
}
.facts__art-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: hubPulse 1.6s ease-in-out infinite; }
@keyframes hubPulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.facts__art-badge {
  position: absolute; bottom: 16px; left: 16px;
  display: flex; flex-direction: column;
  background: rgba(198, 247, 42, 0.95); color: #0c0e0c;
  border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 10px 30px rgba(198,247,42,0.3);
}
.facts__art-badge-num { font-family: "Space Grotesk", sans-serif; font-size: 26px; font-weight: 700; line-height: 1; }
.facts__art-badge-lbl { font-size: 12px; font-weight: 600; opacity: 0.8; margin-top: 3px; }

.facts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fact {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: transform 0.2s ease, border-color 0.2s ease;
}
.fact:hover { transform: translateY(-4px); border-color: var(--accent-dim); }
.fact__num {
  display: block; font-family: "Space Grotesk", sans-serif;
  font-size: clamp(30px, 4vw, 42px); font-weight: 700; color: var(--accent);
  line-height: 1; margin-bottom: 12px;
}
.fact__num small { font-size: 0.5em; color: var(--text); font-weight: 600; }
.fact__label { color: var(--muted); font-size: 14px; }
.fact__label b { color: var(--text); font-weight: 700; }

@media (max-width: 920px) {
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .facts__grid { grid-template-columns: 1fr; }
}

/* ===== BANNER ===== */
.banner {
  margin: 30px 0;
  background: linear-gradient(120deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.banner__title { font-family: "Space Grotesk", sans-serif; font-size: clamp(26px, 3.5vw, 40px); color: var(--accent); }
.banner__text { color: var(--muted); max-width: 520px; margin-top: 12px; font-size: 16px; }
.banner__big {
  font-family: "Space Grotesk", sans-serif; font-size: clamp(44px, 6vw, 72px); font-weight: 700;
  display: flex; flex-direction: column; line-height: 1;
}
.banner__big span { font-family: "Manrope"; font-size: 15px; color: var(--muted); font-weight: 600; margin-top: 8px; }

/* ===== CONTACT ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact__info p { color: var(--muted); margin: 14px 0 24px; max-width: 420px; }
.contact__list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.contact__list span { color: var(--accent); width: 22px; text-align: center; }
.contact__list a { color: var(--text); text-decoration: none; transition: color 0.2s; }
.contact__list a:hover { color: var(--accent); }

.contact__form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.field { position: relative; margin-bottom: 16px; }
.field input {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 16px 8px; color: var(--text); font-size: 15px; font-family: inherit; outline: none;
  transition: border-color 0.2s;
}
.field input:focus { border-color: var(--accent); }
.field label {
  position: absolute; left: 16px; top: 15px; color: var(--muted); font-size: 15px;
  pointer-events: none; transition: 0.16s ease;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label {
  top: 6px; font-size: 11px; color: var(--accent);
}
.field input.invalid { border-color: #ff6b6b; }
.form__note { margin-top: 12px; font-size: 14px; min-height: 18px; }
.form__note.ok { color: var(--accent); }
.form__note.err { color: #ff6b6b; }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 30px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__copy { color: var(--muted); font-size: 14px; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer__links a:hover { color: var(--accent); }

/* ===== PRICING ===== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; align-items: start; }
.plan {
  position: relative; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.plan:hover { transform: translateY(-4px); border-color: var(--accent-dim); }
/* selected plan — glowing yellow border moves here */
.plan.is-selected {
  background: linear-gradient(170deg, rgba(198, 247, 42, 0.10), var(--card));
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 20px 60px rgba(198, 247, 42, 0.22);
}
.plan__badge {
  position: absolute; top: -12px; right: 22px;
  background: var(--accent); color: #0c0e0c; font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 100px;
}
.plan__name { font-family: "Space Grotesk", sans-serif; font-size: 22px; }
.plan__desc { color: var(--muted); font-size: 14px; margin: 4px 0 18px; min-height: 38px; }
.plan__price {
  font-family: "Space Grotesk", sans-serif; font-size: 40px; font-weight: 700; color: var(--accent);
  display: flex; flex-direction: column; line-height: 1; margin-bottom: 22px;
}
.plan__price span { font-family: "Manrope"; font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 8px; }
.plan__list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.plan__list li { display: flex; gap: 10px; font-size: 14px; color: var(--text); }
.plan__list li::before { content: "✓"; color: var(--accent); font-weight: 800; }

/* ===== DEVELOPERS ===== */
.dev { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.dev__list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 24px 0 28px; }
.dev__list li { display: flex; gap: 10px; color: var(--muted); font-size: 15px; }
.dev__list li::before { content: "→"; color: var(--accent); font-weight: 800; }
.dev__code {
  background: #0a0c09; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.dev__code-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2);
}
.dev__code-head .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #ff5f56; } .dot--y { background: #ffbd2e; } .dot--g { background: #27c93f; }
.dev__code-title { color: var(--muted); font-size: 13px; margin-left: 8px; font-family: "Space Grotesk", monospace; }
.dev__code pre { margin: 0; padding: 20px; overflow-x: auto; }
.dev__code code {
  font-family: "Space Grotesk", ui-monospace, monospace; font-size: 13px; line-height: 1.7;
  color: #d6dccd; white-space: pre;
}
.c-c { color: #6b7a5c; } .c-s { color: #c6f72a; } .c-k { color: #8fd0ff; } .c-g { color: #a0e88a; }

/* ===== REVIEWS ===== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.review {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 16px;
}
.review__stars { color: var(--accent); letter-spacing: 2px; }
.review__text { color: var(--text); font-size: 15px; flex: 1; }
.review__author { display: flex; align-items: center; gap: 12px; }
.review__ava {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-weight: 700;
  font-family: "Space Grotesk", sans-serif; flex: 0 0 42px;
}
.review__author b { display: block; font-size: 15px; }
.review__author span { color: var(--muted); font-size: 13px; }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; max-width: 820px; }
.faq__item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 22px; transition: border-color 0.2s;
}
.faq__item[open] { border-color: var(--accent-dim); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; color: var(--accent); font-size: 24px; font-weight: 400; transition: transform 0.25s ease; flex: 0 0 auto;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); font-size: 15px; padding: 0 0 18px; }

/* ===== TRUST / BADGES MARQUEE ===== */
.marquee {
  position: relative; margin-top: 30px; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track {
  display: flex; gap: 14px; width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 7px)); }
}
.badge {
  flex: 0 0 auto;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 150px; padding: 20px 26px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius);
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 18px; color: var(--text);
  letter-spacing: 0.5px; transition: border-color 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.badge:hover {
  border-color: var(--accent); color: var(--accent); transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(198, 247, 42, 0.18);
}
.badge small { font-family: "Manrope"; font-size: 11px; color: var(--muted); font-weight: 600; margin-top: 4px; }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; width: 100%; }
}

.requisites {
  margin-top: 24px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px;
}
.requisites h3 { font-family: "Space Grotesk", sans-serif; font-size: 20px; margin-bottom: 18px; }
.requisites__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.requisites__grid > div { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.requisites__grid span { color: var(--muted); font-size: 13px; }
.requisites__grid a { color: var(--accent); text-decoration: none; }

/* ===== VALUES ===== */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.value {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.value::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.value:hover { transform: translateY(-6px); border-color: var(--accent-dim); box-shadow: 0 20px 50px rgba(0,0,0,0.45); }
.value:hover::before { transform: scaleX(1); }
.value__ico {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 14px; color: var(--accent); background: var(--accent-soft);
  border: 1px solid rgba(198, 247, 42, 0.22);
}
.value__ico svg { width: 26px; height: 26px; }
.value h3 { font-size: 18px; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 14px; }

/* ===== CONSENT CHECKBOX ===== */
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: 0 0 18px; cursor: pointer; }
.consent span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.consent a { color: var(--accent); text-decoration: none; }
.consent a:hover { text-decoration: underline; }

/* ===== BACK TO TOP ===== */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #0c0e0c; border: 0; cursor: pointer;
  font-size: 22px; font-weight: 700; box-shadow: 0 8px 24px rgba(198,247,42,0.35);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: 0.25s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }

/* ===== COOKIE BANNER ===== */
.cookie {
  position: fixed; left: 22px; right: 22px; bottom: 22px; z-index: 70;
  max-width: 720px; margin: 0 auto;
  background: var(--card-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 18px;
  animation: cookieUp 0.4s ease both;
}
.cookie[hidden] { display: none; }
@keyframes cookieUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.cookie p { color: var(--muted); font-size: 14px; }
.cookie a { color: var(--accent); text-decoration: none; }
.cookie .btn { flex: 0 0 auto; }

/* ===== LEGAL PAGES ===== */
.legal { padding: 110px 22px 60px; max-width: 820px; }
.legal h1 { font-family: "Space Grotesk", sans-serif; font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.legal__upd { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.legal h2 { font-family: "Space Grotesk", sans-serif; font-size: 20px; margin: 28px 0 10px; color: var(--accent); }
.legal p { color: var(--muted); font-size: 16px; margin-bottom: 12px; }
.legal a { color: var(--accent); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.footer__legal { color: var(--muted); font-size: 13px; padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--line); text-align: center; }

/* ===== REVEAL ANIM ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 920px) {
  .hero__card { grid-template-columns: 1fr; padding: 36px; }
  .hero__visual { min-height: 230px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 26px; }
  .plans { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
  .dev { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .requisites__grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
}
/* nav collapses to burger early — 8 links don't fit a single row below this */
@media (max-width: 1160px) {
  .nav__links {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 16px 22px; border-top: 1px solid var(--line); font-size: 15px; }
  .burger { display: flex; }
}

@media (max-width: 680px) {
  .nav .btn--sm { display: none; }
  .statsbar { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .calc__result { grid-template-columns: 1fr; }
  .section { padding: 50px 22px; }
  .requisites__grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .cookie { flex-direction: column; align-items: stretch; text-align: center; }
}
