:root {
  --bg: #0a0a16;
  --bg-soft: #11112a;
  --card: #15152f;
  --card-2: #191938;
  --text: #ecebf5;
  --muted: #a3a2c2;
  --muted-2: #7d7ca0;
  --accent: #7c5cff;
  --accent-2: #c84dff;
  --good: #36d399;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1120px;
  --grad: linear-gradient(135deg, var(--accent), var(--accent-2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 560px at 82% -8%, rgba(200, 77, 255, 0.22), transparent 60%),
    radial-gradient(900px 480px at -8% 6%, rgba(124, 92, 255, 0.20), transparent 55%),
    var(--bg);
  line-height: 1.62;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

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

h1, h2, h3 {
  letter-spacing: -0.02em;
  line-height: 1.12;
}

/* gradient text helper */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 22, 0.66);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  height: 58px;
}
.nav > .brand {
  grid-column: 1;
  justify-self: start;
}
.nav > .nav-links {
  grid-column: 2;
  justify-self: center;
}
.nav > .nav-right {
  grid-column: 3;
  justify-self: end;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  width: 42px;
  height: 42px;
  display: block;
  border-radius: 11px;
}
.brand .vps {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  text-decoration: none;
}
.nav-sep {
  width: 1px;
  height: 18px;
  flex: none;
  background: var(--border-strong);
}

/* language switch: flag chip, click swaps to the other locale */
.lang-flag {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  border: 1px solid rgba(124, 92, 255, 0.35);
  background: rgba(124, 92, 255, 0.14);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.lang-flag:hover {
  text-decoration: none;
  transform: translateY(-1px);
  background: rgba(124, 92, 255, 0.28);
  border-color: var(--accent);
}
.lang-flag svg {
  display: block;
  width: 26px;
  height: 18px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.lang-flag::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 4px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.lang-flag:hover::after,
.lang-flag:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    border-color 0.15s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 34px rgba(124, 92, 255, 0.34);
}
.btn-ghost {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover {
  border-color: var(--accent);
}

/* store button */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  background: #fff;
  color: #0a0a16;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.store-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.store-btn svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.store-btn .st {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.store-btn .st small {
  font-size: 11px;
  color: #4a4a66;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.store-btn .st b {
  font-size: 17px;
  font-weight: 700;
}

/* ---------- Badge / eyebrow ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: #d8caff;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.32);
  padding: 6px 14px;
  border-radius: 999px;
}
.badge .ping {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 4px rgba(54, 211, 153, 0.18);
}

/* ---------- Hero ---------- */
.hero {
  padding: 52px 0 36px;
}
/* One centred column since the phone shots went away. The measure caps are
   what keep it readable: full --maxw would run the headline to ~1100px and
   the eye loses the line start on the way back. */
.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 58px);
  margin: 20px 0 18px;
  max-width: 900px;
}
.hero p.lead {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--muted);
  margin: 0 0 30px;
  max-width: 620px;
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted-2);
}

/* ---------- Sections ---------- */
.section {
  padding: 64px 0;
}
.section-head {
  max-width: 660px;
  margin-bottom: 42px;
}
.section-head-center {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head-center h2 {
  margin-top: 0;
}
.section-head-center .sub {
  margin-left: auto;
  margin-right: auto;
}
.section h2 {
  font-size: clamp(27px, 3.6vw, 36px);
  margin: 10px 0 12px;
}
.section .sub {
  color: var(--muted);
  margin: 0;
}

/* stats band */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: center;
}
.stat .num {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.stat .lbl {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

/* features grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.feat-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.30);
}
.feat-icon svg {
  width: 23px;
  height: 23px;
  stroke: #d8caff;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* servers */
.servers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 780px;
  margin: 0 auto;
}
.server {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.server .flag {
  font-size: 0;
  width: 40px;
  height: 28px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  margin-bottom: 8px;
}
.server .flag svg {
  width: 40px;
  height: 28px;
  display: block;
}
.server .country {
  font-weight: 700;
  font-size: 17px;
}
.server .meta {
  color: var(--muted);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.server .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
}

/* CTA */
.cta-band {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.16), rgba(200, 77, 255, 0.14));
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 46px 40px;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  margin: 0 0 10px;
}
.cta-band p {
  color: var(--muted);
  margin: 0 0 26px;
}
.cta-band .app-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  display: block;
  margin: 0 auto 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

/* ---------- Inner page / prose ---------- */
.page {
  flex: 1;
  padding: 56px 0 64px;
}
.prose {
  max-width: 760px;
}
.prose h1 {
  font-size: clamp(30px, 4.4vw, 42px);
  margin: 14px 0 18px;
}
.prose h2 {
  font-size: 22px;
  margin: 34px 0 12px;
}
.prose p,
.prose li {
  color: var(--muted);
}
.prose ul {
  padding-left: 20px;
}
.prose li {
  margin: 6px 0;
}
.prose h3 {
  font-size: 17px;
  margin: 22px 0 8px;
  color: var(--text);
}
.prose a {
  color: #c8b6ff;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.22);
  color: #d8caff;
}
.meta-line {
  color: var(--muted-2);
  font-size: 14px;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
}
.faq details {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq .answer {
  padding: 0 0 18px;
  color: var(--muted);
}
.faq .answer p {
  margin: 0 0 10px;
}
.faq .answer p:last-child {
  margin: 0;
}

/* contact card */
.contact-card {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 18px 0 26px;
}
.contact-card .row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 10px;
  padding: 8px 0;
  color: var(--muted);
}
.contact-card .row b {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 46px 0 30px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 22px;
}
.footer-grid h4 {
  color: var(--text);
  font-size: 14px;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}
.footer-grid a {
  display: block;
  color: var(--muted);
  padding: 5px 0;
}
.footer-grid a:hover {
  color: var(--text);
  text-decoration: none;
}
.footer-about {
  max-width: 320px;
}
.footer-bottom {
  padding-top: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted-2);
}
.sec-divider {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: 0;
  max-width: var(--maxw);
}
/* ---------- Countdown timer ---------- */
.countdown-sec {
  padding: 56px 0 80px;
  text-align: center;
}
.countdown-title {
  font-size: clamp(22px, 3.4vw, 34px);
  margin: 0 0 20px;
}
.countdown-sub {
  color: var(--muted);
  max-width: 640px;
  margin: 32px auto 0;
  padding: 0 12px;
}
.countdown {
  display: inline-flex;
  gap: clamp(8px, 2vw, 20px);
  margin: 28px auto 0;
  flex-wrap: nowrap;
}
.cd-unit {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: clamp(14px, 2.4vw, 24px) clamp(10px, 2.4vw, 26px);
  min-width: clamp(68px, 16vw, 116px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.cd-num {
  display: block;
  font-size: clamp(30px, 7vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.cd-lbl {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: clamp(11px, 1.6vw, 14px);
  text-transform: lowercase;
}

/* ---------- Orbit (radial features) ---------- */
.orbit-sec {
  /* Top padding is not 48px like the bottom: the f1 card is centred on 6% of
     the stage and is taller than that, so it hangs ~39px above the stage box.
     74px absorbs the overhang and leaves the same 36px between the divider and
     the card that .hero's padding-bottom leaves above it. Mobile keeps its own
     padding below 680px, where the stage stops being a square. */
  padding: 74px 0 48px;
  overflow: visible;
}
.orbit-stage {
  position: relative;
  width: min(960px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.orbit-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.orbit-lines line {
  stroke: rgba(124, 92, 255, 0.4);
  stroke-width: 0.4;
  stroke-dasharray: 1.6 1.6;
}
.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34%;
  aspect-ratio: 1 / 1;
  z-index: 2;
  display: grid;
  place-items: center;
  overflow: visible;
  isolation: isolate;
}
.orbit-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.orbit-ring text {
  fill: #c8b6ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.orbit-logo {
  width: 58%;
  height: 58%;
  border-radius: 24%;
  object-fit: cover;
  box-shadow: 0 18px 46px rgba(124, 92, 255, 0.45);
  z-index: 3;
}
.orbit-feat {
  position: absolute;
  transform: translate(-50%, -50%);
  width: clamp(130px, 22vw, 230px);
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: clamp(10px, 1.6vw, 18px);
  z-index: 2;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
}
.orbit-feat.f1 { top: 6%;  left: 50%; }
.orbit-feat.f2 { top: 36%; left: 92%; }
.orbit-feat.f3 { top: 86%; left: 76%; }
.orbit-feat.f4 { top: 86%; left: 24%; }
.orbit-feat.f5 { top: 36%; left: 8%; }
.orbit-feat h3 {
  margin: 0 0 8px;
  font-size: clamp(15px, 1.85vw, 20px);
  line-height: 1.25;
}
.orbit-feat p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(13px, 1.45vw, 16px);
  line-height: 1.5;
}

/* ---------- Nav icons + login button ---------- */
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.nav-ic {
  width: 26px;
  height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.30);
  transition: background 0.18s ease, border-color 0.18s ease;
}
.nav-ic svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #c8b6ff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-links a:hover .nav-ic,
.nav-links a.active .nav-ic {
  background: rgba(124, 92, 255, 0.26);
  border-color: var(--accent);
}

.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 18px 7px 8px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text);
  border: 1px solid rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.16);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn-login:hover {
  text-decoration: none;
  transform: translateY(-1px);
  background: rgba(124, 92, 255, 0.30);
  border-color: var(--accent);
}

/* ---------- Wake CTA (hero) ---------- */
.wake-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
  width: 100%;
  max-width: 540px;
  padding: 18px 28px;
  border-radius: var(--radius);
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 14px 38px rgba(124, 92, 255, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wake-btn:hover,
.wake-btn:focus-visible {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(200, 77, 255, 0.5);
}
.wake-btn .wake-arrow {
  transition: transform 0.2s ease;
}
.wake-btn:hover .wake-arrow {
  transform: translateX(4px);
}

.eye {
  width: 36px;
  height: 24px;
  flex: none;
  display: block;
}
.eye svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.eye .eye-open {
  opacity: 0;
  transform: scaleY(0.1);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.22s ease, transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.eye .eye-pupil {
  fill: #fff;
  stroke: none;
}
.eye .eye-lid {
  opacity: 1;
  transition: opacity 0.18s ease;
}
.wake-btn:hover .eye-open,
.wake-btn:focus-visible .eye-open {
  opacity: 1;
  transform: scaleY(1);
}
.wake-btn:hover .eye-lid,
.wake-btn:focus-visible .eye-lid {
  opacity: 0;
}

/* ---------- Cookie notice (уведомление о Яндекс Метрике) ---------- */
.cookie-notice {
  position: fixed;
  left: max(20px, env(safe-area-inset-left));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 60; /* выше .site-header (20); виджет Jivo живёт в другом углу */
  width: min(520px, calc(100vw - 40px));
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border-strong);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.cookie-notice.is-visible {
  opacity: 1;
  transform: none;
}
.cookie-notice p {
  margin: 0;
}
.cookie-notice a {
  color: #c8b6ff;
}
.cookie-accept {
  flex: none;
  font: inherit;
  font-weight: 600;
  color: #fff;
  padding: 9px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 8px 22px rgba(124, 92, 255, 0.38);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cookie-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(200, 77, 255, 0.45);
}
.cookie-accept:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (max-width: 680px) {
  .cookie-notice {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 84px; /* освобождает кнопку чата Jivo в правом нижнем углу */
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .cookie-accept {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-notice {
    transition: none;
  }
}

/* ---------- Тарифы ---------- */
/* У каждого тарифа свой цвет и свой многогранник: чем дороже, тем сложнее фигура
   и теплее оттенок — бирюзовый пробник, индиго, фиолетовый, пурпурный безлимит.
   Грани посчитаны как настоящая проекция тела, а не нарисованы на глаз. */
.pi-sprite {
  display: none;
}
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.plan {
  --pa: var(--accent);
  --pa-lite: #c9c2ff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  transition: border-color 0.25s ease;
}
.plan--trial {
  --pa: #3ddbd0;
  --pa-lite: #8ff0e6;
}
.plan--gb10 {
  --pa: #6d7cff;
  --pa-lite: #aeb6ff;
}
.plan--gb40 {
  --pa: #a855f7;
  --pa-lite: #d5a8ff;
}
.plan--unlim {
  --pa: #e14ec9;
  --pa-lite: #f7a4e6;
}
.plan:hover {
  border-color: var(--pa);
}

/* Фигура выходит за нижний правый угол карточки и подсвечивает его изнутри. */
.plan-art {
  position: absolute;
  right: -8%;
  bottom: -7%;
  /* Потолок в пикселях: на узкой карточке фигура — акцент в углу, а на широкой
     (одна колонка на телефоне) без него она разрослась бы под текст пунктов. */
  width: min(56%, 152px);
  color: var(--pa);
  z-index: -1;
  pointer-events: none;
}
.plan-art::before {
  content: "";
  position: absolute;
  inset: 14% 10% 18% 14%;
  background: currentColor;
  opacity: 0.22;
  filter: blur(30px);
  border-radius: 50%;
}
.plan-solid {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  fill: currentColor;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 0.7;
  stroke-linejoin: round;
  opacity: 0.88;
  transition: opacity 0.25s ease;
}
.plan:hover .plan-solid {
  opacity: 1;
}

.plan-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
/* Название — в цвете тарифа; период не дублируем в цене, он уже в названии. */
.plan-name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--pa-lite);
  white-space: nowrap;
}
.plan-price {
  flex: none;
  background: var(--pa);
  color: #0b0b1a;
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.plan-feats {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 13px;
}
.plan-feats li {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 11px;
  align-items: start;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.pf-ic {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--pa);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* margin-top: auto — у безлимита на один пункт больше, кнопки всё равно на одной линии. */
.plan-cta {
  margin-top: auto;
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.plan-cta:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--pa);
}
.plan-cta:focus-visible {
  outline: 2px solid var(--pa);
  outline-offset: 3px;
}
.plan-arrow {
  color: var(--pa);
}
/* Название тарифа не переносится, поэтому в четыре колонки карточки помещаются
   только на широком экране — ниже сразу две колонки. */
@media (max-width: 1080px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .servers {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 56px 0 40px;
  }
  .nav-links {
    display: none;
  }
  .nav {
    grid-template-columns: auto 0 1fr;
  }
  .nav-right {
    gap: 10px;
  }
  .lang-flag {
    width: 42px;
    height: 34px;
  }
  .btn-login {
    padding: 6px 14px 6px 7px;
    font-size: 14px;
  }
  .wake-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    gap: 12px;
  }
  .grid,
  .stats {
    grid-template-columns: 1fr;
  }
  .servers {
    grid-template-columns: 1fr;
  }
  .cta-band {
    padding: 34px 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-card .row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .cd-unit {
    border-radius: 14px;
  }
  .orbit-sec {
    padding: 40px 0 48px;
  }
  .orbit-stage {
    aspect-ratio: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 8px;
  }
  .orbit-lines {
    display: none;
  }
  .orbit-center {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: min(260px, 78vw);
    height: min(260px, 78vw);
    margin: 0 auto 24px;
    flex-shrink: 0;
  }
  .orbit-ring text {
    font-size: 13px;
  }
  .orbit-feat,
  .orbit-feat.f1,
  .orbit-feat.f2,
  .orbit-feat.f3,
  .orbit-feat.f4,
  .orbit-feat.f5 {
    position: static;
    transform: none;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 460px;
  }
  .orbit-feat h3 {
    font-size: 18px;
  }
  .orbit-feat p {
    font-size: 15px;
  }
}
