/* ============================================================
   KoteukaVPN v2 — техно-редизайн
   Палитра: глубина #04060c · панель #0a0f1c · сигнал #29e3ff
            блок #ff2e63 · текст #e9efff · шум #6b7699
   Шрифты: Unbounded (display) · Manrope (body) · JetBrains Mono (util)
   ============================================================ */

:root {
  --bg: #04060c;
  --panel: #0a0f1c;
  --panel-2: #0d1324;
  --line: rgba(122, 150, 220, 0.14);
  --line-strong: rgba(122, 150, 220, 0.28);
  --text: #e9efff;
  --muted: #6b7699;
  --dim: #454e6b;
  --accent: #29e3ff;
  --accent-dim: rgba(41, 227, 255, 0.12);
  --danger: #ff2e63;
  --danger-dim: rgba(255, 46, 99, 0.12);
  --maxw: 1220px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --f-display: "Unbounded", sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

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

::selection { background: var(--accent); color: #04060c; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1a2340; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #253156; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- фон ---------- */
#tunnel-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: -3;
}
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(122,150,220,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122,150,220,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 40%, transparent 100%);
}
.bg-vignette {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 120% 90% at 50% 110%, rgba(4,6,12,0.9), transparent 60%);
}

/* ---------- прогресс скролла ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--accent), #7c5cff);
  z-index: 200;
  box-shadow: 0 0 12px var(--accent);
}

/* ---------- типографика ---------- */
h1, h2 { font-family: var(--f-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 4.6vw, 60px); }
h1 em { font-style: normal; color: var(--accent); text-shadow: 0 0 30px rgba(41,227,255,0.45); }
h2 { font-size: clamp(26px, 3.2vw, 42px); }
h3 { font-family: var(--f-body); font-weight: 800; font-size: 20px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; color: var(--accent);
  padding: 7px 14px; border: 1px solid var(--line-strong);
  background: rgba(41,227,255,0.04);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { margin: 22px 0 16px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-mono); font-size: 13.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 13px 24px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn-lg { padding: 16px 32px; font-size: 14px; }
.btn-full { width: 100%; }
.btn-primary {
  background: var(--accent); color: #04060c;
  box-shadow: 0 0 24px rgba(41,227,255,0.35);
}
.btn-primary:hover { background: #6feeff; box-shadow: 0 0 40px rgba(41,227,255,0.6); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.btn-danger { background: transparent; color: var(--danger); border-color: rgba(255,46,99,0.4); }
.btn-danger:hover { background: var(--danger-dim); border-color: var(--danger); }

.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}

/* ---------- header ---------- */
#hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: background 0.3s, border-color 0.3s, padding 0.3s;
  border-bottom: 1px solid transparent;
}
#hdr.scrolled {
  background: rgba(4,6,12,0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  padding: 10px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.brand .mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: var(--panel);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.brand .mark img { width: 26px; height: 26px; object-fit: contain; }
.brand b { font-family: var(--f-display); font-weight: 700; font-size: 15px; letter-spacing: 0.02em; }
.brand b span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.lnk {
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.06em;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.lnk-idx { color: var(--dim); margin-right: 6px; font-size: 10.5px; }
.lnk:hover { color: var(--accent); }
.lnk:hover .lnk-idx { color: var(--accent); }
.nav-cta { padding: 10px 18px; font-size: 12px; }

.burger { display: none; background: none; border: 1px solid var(--line-strong); width: 42px; height: 42px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--text); transition: 0.25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 66px; left: 0; right: 0; z-index: 99;
  background: rgba(4,6,12,0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 20px 28px 28px;
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--f-mono); font-size: 15px; color: var(--text);
  text-decoration: none; padding: 13px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a.btn { border: 1px solid transparent; margin-top: 14px; justify-content: center; }

/* ---------- hero ---------- */
.hero { padding: 168px 0 56px; position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 56px; align-items: center;
}
.hero-sub { color: var(--muted); font-size: 18px; max-width: 480px; margin: 24px 0 32px; }
.hero h1 { margin-top: 24px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- терминал ---------- */
.term-wrap { position: relative; }
.term {
  position: relative; z-index: 2;
  background: rgba(8, 12, 24, 0.88);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.05);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}
.term-glow {
  position: absolute; inset: -40px -60px; z-index: 1;
  background: radial-gradient(ellipse at 60% 40%, rgba(41,227,255,0.14), transparent 65%);
  pointer-events: none;
}
.term-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.term-dots { display: flex; gap: 7px; }
.term-dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a3352; }
.term-dots i:first-child { background: var(--danger); opacity: 0.7; }
.term-dots i:nth-child(2) { background: #ffb02e; opacity: 0.55; }
.term-dots i:last-child { background: var(--accent); opacity: 0.7; }
.term-title { font-family: var(--f-mono); font-size: 12px; color: var(--muted); flex: 1; }
.term-net { font-family: var(--f-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; }
.term-net.down { color: var(--danger); }

.term-body {
  font-family: var(--f-mono); font-size: 13.5px; line-height: 1.75;
  padding: 20px 22px;
  min-height: 268px;
  white-space: pre-wrap; word-break: break-word;
}
.term-body .tl-prompt { color: var(--accent); }
.term-body .tl-ok { color: #43ffa4; }
.term-body .tl-warn { color: #ffb02e; }
.term-body .tl-err { color: var(--danger); }
.term-body .tl-dim { color: var(--muted); }
.term-body .tl-hl { color: var(--text); font-weight: 700; }
.term-cursor {
  display: inline-block; width: 8px; height: 15px;
  background: var(--accent); vertical-align: -2px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.term-proto {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}
.term-proto-label { font-family: var(--f-mono); font-size: 12px; color: var(--dim); }
.proto-chip {
  font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  padding: 8px 15px; cursor: pointer;
  background: transparent; color: var(--muted);
  border: 1px solid var(--line-strong);
  transition: all 0.2s;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.proto-chip:hover { color: var(--accent); border-color: var(--accent); }
.proto-chip.active {
  background: var(--accent); color: #04060c; border-color: var(--accent);
  box-shadow: 0 0 16px rgba(41,227,255,0.4);
}

/* ---------- статус-строка ---------- */
.statusbar {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(10, 15, 28, 0.6);
  backdrop-filter: blur(8px);
  margin-top: 40px;
}
.statusbar-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 10px 28px; padding-top: 18px; padding-bottom: 18px;
}
.st { display: flex; flex-direction: column; gap: 3px; }
.st-k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--dim); }
.st-v { font-family: var(--f-mono); font-size: 16px; font-weight: 700; color: var(--text); }
.st-v#live-ping { color: var(--accent); min-width: 72px; }
.st-off { color: var(--danger); }

/* ---------- секции ---------- */
section { padding: 110px 0; position: relative; }

/* ---------- возможности ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 30px 28px 26px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s var(--ease);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.feat-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.feat-card:hover .feat-tag { color: var(--accent); }
.feat-tag {
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.14em;
  color: var(--dim); margin-bottom: 16px; transition: color 0.3s;
}
.feat-card h3 { margin-bottom: 10px; }
.feat-card p { color: var(--muted); font-size: 15.5px; }
.feat-line { margin-top: 22px; height: 3px; background: rgba(122,150,220,0.1); overflow: hidden; }
.feat-line i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #7c5cff); transition: width 1.2s var(--ease) 0.3s; }
.feat-card.in .feat-line i { width: var(--w); }

/* ---------- тарифы ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 32px 28px 28px;
  position: relative; display: flex; flex-direction: column;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}
.price-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.price-card.featured {
  border-color: rgba(41,227,255,0.45);
  background: linear-gradient(180deg, rgba(41,227,255,0.06), var(--panel) 45%);
  box-shadow: 0 0 50px rgba(41,227,255,0.1);
}
.price-card.featured:hover { box-shadow: 0 0 70px rgba(41,227,255,0.2); }
.feat-badge {
  position: absolute; top: 0; left: 0; right: 0;
  text-align: center;
  font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.22em;
  background: var(--accent); color: #04060c; padding: 6px 12px;
}
.price-card.featured { padding-top: 56px; }
.price-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.price-proto { font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--accent); }
.tag {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px;
  background: var(--accent); color: #04060c; font-weight: 700;
}
.tag.ghost { background: transparent; color: var(--muted); border: 1px solid var(--line-strong); }
.price-card h3 { font-size: 17px; color: var(--muted); font-weight: 600; }
.price-amt { display: flex; align-items: baseline; gap: 10px; margin: 12px 0 22px; }
.price-amt .num { font-family: var(--f-display); font-size: 52px; font-weight: 700; line-height: 1; }
.price-card.featured .num { color: var(--accent); text-shadow: 0 0 24px rgba(41,227,255,0.4); }
.price-amt .per { font-family: var(--f-mono); font-size: 13.5px; color: var(--muted); }
.price-feats { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.price-feats li { display: flex; gap: 10px; font-size: 14.5px; color: var(--muted); }
.price-feats li::before { content: ">"; font-family: var(--f-mono); color: var(--accent); font-weight: 700; }
.qr-row {
  display: flex; align-items: center; gap: 16px;
  padding: 14px; margin-bottom: 20px; margin-top: auto;
  border: 1px dashed var(--line-strong);
  background: rgba(255,255,255,0.015);
}
.qr-row img { width: 84px; height: 84px; object-fit: contain; background: #fff; padding: 5px; }
.qr-txt { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.qr-txt b { color: var(--text); }

/* шаги */
.steps {
  display: flex; align-items: stretch; gap: 14px;
  margin-top: 56px; flex-wrap: wrap;
}
.step {
  flex: 1; min-width: 180px;
  border: 1px solid var(--line);
  background: rgba(10,15,28,0.5);
  padding: 20px;
}
.step-n { font-family: var(--f-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.14em; display: block; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }
.step a { color: var(--accent); text-decoration: none; border-bottom: 1px dashed rgba(41,227,255,0.4); }
.step-arrow { display: grid; place-items: center; font-family: var(--f-mono); color: var(--dim); font-size: 18px; }

/* ---------- подключение ---------- */
.proto-switch {
  position: relative; display: inline-flex;
  border: 1px solid var(--line-strong);
  margin-bottom: 36px;
  background: var(--panel);
}
.ps-btn {
  position: relative; z-index: 2;
  font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  padding: 13px 28px; cursor: pointer;
  background: transparent; border: none; color: var(--muted);
  transition: color 0.25s;
}
.ps-btn.active { color: #04060c; }
.ps-slider {
  position: absolute; top: 0; bottom: 0; left: 0; z-index: 1;
  width: 50%; background: var(--accent);
  transition: transform 0.3s var(--ease), width 0.3s var(--ease);
  box-shadow: 0 0 20px rgba(41,227,255,0.4);
}

.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.client-grid[hidden] { display: none; }
.client-card {
  background: var(--panel); border: 1px solid var(--line);
  padding: 26px 24px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.client-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.plat { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 12px; }
.client-card h4 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.client-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.dl {
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em;
  color: var(--accent); text-decoration: none;
}
.dl span { display: inline-block; transition: transform 0.2s; }
.dl:hover span { transform: translateX(5px); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(41,227,255,0.35); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--f-body); font-size: 16.5px; font-weight: 700; text-align: left;
  color: var(--text); background: none; border: none; cursor: pointer;
  padding: 20px 24px;
}
.pm {
  font-family: var(--f-mono); font-size: 20px; color: var(--accent);
  transition: transform 0.3s var(--ease); flex-shrink: 0;
}
.faq-item.open .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }

/* ---------- CTA ---------- */
.cta-final { padding-top: 40px; }
.cta-box {
  text-align: center;
  border: 1px solid rgba(41,227,255,0.3);
  background:
    linear-gradient(180deg, rgba(41,227,255,0.07), transparent 60%),
    var(--panel);
  padding: 72px 32px;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
  box-shadow: 0 0 80px rgba(41,227,255,0.08);
}
.cta-box p { color: var(--muted); margin: 16px 0 30px; font-size: 17px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 64px 0 32px; background: rgba(6,9,17,0.7); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.foot-brand p { color: var(--muted); font-size: 13.5px; margin-top: 16px; max-width: 300px; }
.foot-h { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--dim); display: block; margin-bottom: 16px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col a { color: var(--muted); text-decoration: none; font-size: 14.5px; transition: color 0.2s; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 12px; color: var(--dim);
}
.foot-sig { color: var(--dim); }

/* ---------- лицензионная модалка ---------- */
.lic-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(2, 4, 9, 0.85);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  padding: 24px;
  animation: fadeIn 0.35s var(--ease);
}
.lic-overlay[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.lic-modal {
  width: 100%; max-width: 560px;
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px rgba(0,0,0,0.7), 0 0 60px rgba(41,227,255,0.08);
  animation: modalUp 0.4s var(--ease);
}
@keyframes modalUp { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.lic-body { padding: 32px; text-align: center; }
.lic-title { font-family: var(--f-display); font-size: 21px; font-weight: 700; margin-bottom: 14px; }
.lic-sub { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.lic-sub strong { color: var(--text); }
.lic-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.lic-note { font-size: 12.5px; color: var(--dim); }
.lic-note a { color: var(--accent); }

.dec-emoji { font-size: 40px; margin-bottom: 14px; }
.dec-text { color: var(--text); font-weight: 700; margin-bottom: 6px; }
.dec-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.dec-redirect { font-family: var(--f-mono); font-size: 12.5px; color: var(--danger); margin-bottom: 14px; }
.dots::after { content: ""; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0%{content:""} 25%{content:"."} 50%{content:".."} 75%{content:"..."} }
.dec-bar-wrap { height: 5px; background: rgba(255,46,99,0.15); overflow: hidden; }
.dec-bar { height: 100%; width: 0; background: var(--danger); box-shadow: 0 0 12px var(--danger); transition: width 0.2s linear; }

/* ---------- reveal-анимации ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

/* ---------- адаптив ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 140px; }
  .feat-grid, .price-grid, .client-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .step-arrow { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .feat-grid, .price-grid, .client-grid { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .hero { padding-top: 120px; }
  .statusbar-inner { justify-content: flex-start; }
  .term-body { min-height: 230px; font-size: 12.5px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-box { padding: 52px 20px; }
}

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