/* ─── Allpick VPN · landing ─── */
:root {
  --bg-deep: #050810;
  --bg-card: rgba(15, 22, 41, 0.72);
  --bg-elevated: #0f1629;
  --text: #e8eef8;
  --text-muted: #8b9bb4;
  --accent: #22d3ee;
  --accent-2: #a78bfa;
  --border: rgba(34, 211, 238, 0.12);
  --glow: 0 0 60px rgba(34, 211, 238, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --header-h: 96px;
  --drawer-width: clamp(16.75rem, 82vw, 22rem);
  --drawer-radius-tl: clamp(1.15rem, 4vw, 1.75rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(34, 211, 238, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 50%, rgba(167, 139, 250, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(34, 211, 238, 0.06), transparent 45%);
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  color: #67e8f9;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
  padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px);
  box-sizing: border-box;
}

/* ─── Header ─── */
/* Без backdrop-filter на этом блоке — иначе position:fixed у .header__nav
   становится относительно шапки и панель получает нулевую высоту (не видна). */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  min-height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  box-sizing: border-box;
  background: rgba(5, 8, 16, 0.92);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.header__logo:hover {
  color: var(--text);
}

.header__logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 14px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Шапка дроуэра только на мобилке */
.header__drawer-head {
  display: none;
}

/* На десктопе ссылки и скролл-обёртка «растворяются» в ряд nav */
.header__nav-scroll {
  display: contents;
}

.header__link {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.header__link:hover {
  color: var(--text);
}

.header__link.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.header__cta {
  margin-left: 0.25rem;
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.header__burger span {
  display: block;
  height: 2px;
  width: 20px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.site-header.is-open .header__burger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.is-open .header__burger span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .header__burger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.header__scrim {
  display: none;
}

@media (max-width: 900px) {
  .header__inner {
    position: relative;
    z-index: 120;
  }

  .header__logo,
  .header__burger {
    position: relative;
    z-index: 200;
  }

  .header__burger {
    display: flex;
  }

  .header__scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 100;
    background:
      radial-gradient(120% 80% at 100% 0%, rgba(34, 211, 238, 0.07), transparent 52%),
      rgba(5, 8, 16, 0.58);
    backdrop-filter: blur(10px) saturate(1.15);
    -webkit-backdrop-filter: blur(10px) saturate(1.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .site-header.is-open .header__scrim {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Выезжающая панель: градиент, скругления, адаптивная ширина */
  .header__nav {
    --drawer-pad-x: max(1.15rem, env(safe-area-inset-right, 0px));
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + var(--header-h));
    right: 0;
    left: auto;
    width: var(--drawer-width);
    max-width: calc(100vw - 0.5rem);
    height: calc(
      100vh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - var(--header-h)
    );
    height: calc(
      100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - var(--header-h)
    );
    min-height: 14rem;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background:
      linear-gradient(165deg, rgba(18, 26, 48, 0.97) 0%, rgba(8, 12, 24, 0.98) 48%, rgba(12, 18, 36, 0.99) 100%);
    border: 1px solid rgba(34, 211, 238, 0.14);
    border-right: none;
    border-bottom: none;
    border-radius: var(--drawer-radius-tl) 0 0 0;
    box-shadow:
      -24px 0 64px rgba(0, 0, 0, 0.4),
      -1px 0 0 rgba(167, 139, 250, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    overflow: hidden;
    z-index: 150;
    transform: translate3d(104%, 0, 0);
    pointer-events: none;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .header__nav::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12%;
    bottom: 12%;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    opacity: 0.85;
    pointer-events: none;
  }

  .site-header.is-open .header__nav {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }

  .header__drawer-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    padding: 0.65rem var(--drawer-pad-x) 0.5rem max(1rem, env(safe-area-inset-left, 0px));
    gap: 0.45rem;
    border-bottom: 1px solid rgba(34, 211, 238, 0.08);
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.06), transparent);
  }

  .header__drawer-handle {
    width: 2.25rem;
    height: 4px;
    border-radius: 99px;
    background: rgba(139, 155, 180, 0.45);
  }

  .header__drawer-kicker {
    align-self: stretch;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(139, 155, 180, 0.85);
    text-align: left;
    padding-bottom: 0.15rem;
  }

  .header__nav-scroll {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding: 0.85rem var(--drawer-pad-x) 1rem max(1rem, env(safe-area-inset-left, 0px));
    gap: 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(34, 211, 238, 0.25) transparent;
  }

  .header__nav-scroll::-webkit-scrollbar {
    width: 4px;
  }

  .header__nav-scroll::-webkit-scrollbar-thumb {
    background: rgba(34, 211, 238, 0.25);
    border-radius: 99px;
  }

  .header__link {
    display: block;
    padding: 0.78rem 0.95rem;
    margin: 0;
    border: none;
    border-radius: 12px;
    border-bottom: none;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-muted);
    background: transparent;
    -webkit-tap-highlight-color: transparent;
    transition:
      background 0.2s ease,
      color 0.2s ease,
      box-shadow 0.2s ease;
  }

  @media (hover: hover) {
    .header__link:hover {
      color: var(--text);
      background: rgba(34, 211, 238, 0.06);
    }
  }

  .header__link.is-active {
    color: var(--accent);
    background: linear-gradient(105deg, rgba(34, 211, 238, 0.14), rgba(167, 139, 250, 0.08));
    box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.22);
  }

  .header__cta {
    flex-shrink: 0;
    align-self: stretch;
    width: auto;
    box-sizing: border-box;
    margin: 0;
    margin-top: auto;
    margin-left: max(1rem, env(safe-area-inset-left, 0px));
    margin-right: var(--drawer-pad-x);
    margin-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    padding-top: 1rem;
    border-top: 1px solid rgba(34, 211, 238, 0.12);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
  }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #0891b2);
  color: #041016;
  box-shadow: var(--glow);
}

.btn--primary:hover {
  color: #041016;
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

/* ─── Hero ─── */
.hero {
  padding: clamp(3rem, 12vw, 7rem) 0 clamp(4rem, 10vw, 6rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.hero__title .grad {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 0 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
  aspect-ratio: 1;
  isolation: isolate;
}

.hero__card {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  box-shadow: var(--glow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero__orbit {
  position: absolute;
  inset: -8%;
  border: 1px dashed rgba(34, 211, 238, 0.2);
  border-radius: 50%;
  animation: spin 32s linear infinite;
}

.hero__orbit--2 {
  inset: -18%;
  animation-duration: 48s;
  animation-direction: reverse;
  opacity: 0.5;
}

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

.hero__mock-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.hero__pill {
  padding: 0.35rem 0.75rem;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

/* ─── Sections ─── */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section__subtitle {
  color: var(--text-muted);
  margin: 0;
}

/* Feature cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  }
}

.card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(34, 211, 238, 0.12);
}

/* Абстрактные глифы вместо emoji */
.card__glyph {
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  position: relative;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
}

/* Не обрезаем анимации, которые вылезают за бокс */
.card__glyph--orbit,
.card__glyph--bars,
.card__glyph--shard,
.card__glyph--mesh,
.card__glyph--pulse {
  overflow: visible;
}

.card__glyph-inner {
  position: absolute;
  inset: 2px;
  border-radius: 13px;
  background: var(--bg-elevated);
  z-index: 1;
}

.card__glyph--orbit::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: conic-gradient(from 0deg, var(--accent), transparent 32%, var(--accent-2) 55%, transparent 78%, var(--accent));
  transform-origin: center center;
  will-change: transform;
  animation: glyph-spin 5s linear infinite;
}

.card__glyph--pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 2px solid var(--accent);
  opacity: 0.55;
  box-sizing: border-box;
  animation: glyph-pulse-ring 2.4s ease-in-out infinite;
}

/* ::after поверх .card__glyph-inner (z-index: 1), иначе непрозрачный inner перекрывает весь слой */
.card__glyph--shard::after {
  content: "";
  position: absolute;
  inset: -4px;
  z-index: 2;
  background: linear-gradient(135deg, var(--accent), transparent 55%);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  opacity: 0.55;
  transform-origin: 50% 55%;
  animation: glyph-float 3.5s ease-in-out infinite;
  pointer-events: none;
}

.card__glyph--bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  padding: 10px 10px 8px;
  z-index: 1;
  background: var(--bg-elevated);
  border-radius: 14px;
  border: 1px solid var(--border);
  min-height: 52px;
  box-sizing: border-box;
}

.card__glyph--bars span {
  display: block;
  width: 6px;
  flex-shrink: 0;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  animation: glyph-bar 1.4s ease-in-out infinite alternate;
  transform-origin: bottom center;
}

.card__glyph--bars span:nth-child(1) { height: 14px; animation-delay: 0s; }
.card__glyph--bars span:nth-child(2) { height: 22px; animation-delay: 0.15s; }
.card__glyph--bars span:nth-child(3) { height: 18px; animation-delay: 0.3s; }

.card__glyph--mesh::after {
  content: "";
  position: absolute;
  inset: 6px;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.35) 1px, transparent 1px) 0 0 / 8px 8px,
    linear-gradient(rgba(167, 139, 250, 0.2) 1px, transparent 1px) 0 0 / 8px 8px;
  border-radius: 10px;
  opacity: 0.75;
  animation: glyph-mesh-shift 10s linear infinite;
  pointer-events: none;
}

.card__glyph--node {
  overflow: visible;
}

.card__glyph--node::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(34, 211, 238, 0.4);
  border-radius: 50%;
  z-index: 2;
  transform-origin: center center;
  animation: glyph-spin 14s linear infinite reverse;
}

.card__glyph--node .card__glyph-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  z-index: 3;
  animation: glyph-dot-pulse 1.8s ease-in-out infinite;
}

@keyframes glyph-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Кольцо без scale — не обрезается overflow */
@keyframes glyph-pulse-ring {
  0%,
  100% {
    opacity: 0.45;
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0);
  }
  50% {
    opacity: 0.9;
    box-shadow: 0 0 16px 1px rgba(34, 211, 238, 0.35);
  }
}

@keyframes glyph-dot-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.9;
  }
}

@keyframes glyph-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.35;
  }
  50% {
    transform: translateY(-3px) rotate(8deg);
    opacity: 0.55;
  }
}

@keyframes glyph-bar {
  0% {
    transform: scaleY(0.92);
    opacity: 0.65;
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes glyph-mesh-shift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 8px 8px, -8px -8px;
  }
}

.card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.card__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Тарифы — карточки без цен */
.pricing-intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.75rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.pricing-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 26rem;
    margin-inline: auto;
  }

  .pricing-column--highlight {
    transform: none;
  }
}

@media (min-width: 961px) {
  .pricing-column--highlight {
    transform: translateY(-6px);
  }
}

.pricing-column {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.14);
  background: linear-gradient(160deg, rgba(18, 26, 44, 0.92) 0%, rgba(10, 14, 26, 0.94) 100%);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28), inset 0 98px 90px -80px rgba(34, 211, 238, 0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  .pricing-column:hover {
    border-color: rgba(34, 211, 238, 0.28);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(34, 211, 238, 0.08);
  }
}

.pricing-column--highlight {
  border-color: rgba(34, 211, 238, 0.42);
  box-shadow: var(--glow), 0 20px 56px rgba(0, 0, 0, 0.35);
  background: linear-gradient(165deg, rgba(20, 30, 52, 0.95) 0%, rgba(12, 18, 34, 0.96) 55%, rgba(14, 22, 42, 0.98) 100%);
}

.pricing-column--highlight::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0.95;
  pointer-events: none;
  border-radius: 2px 0 0 2px;
}

.pricing-column__ribbon {
  display: block;
  text-align: center;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(34, 211, 238, 0.95);
  padding: 0.5rem 0.75rem;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.1), transparent);
  border-bottom: 1px solid rgba(34, 211, 238, 0.14);
}

.pricing-column__inner {
  padding: 1.35rem 1.4rem 1.5rem;
}

.pricing-column__badge {
  width: 3.1rem;
  height: 3.1rem;
  margin-bottom: 0.9rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #041016;
  background: linear-gradient(135deg, var(--accent), #0891b2);
  box-shadow: 0 6px 24px rgba(34, 211, 238, 0.25);
}

.pricing-column__label {
  display: block;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  line-height: 1.2;
}

.pricing-column__sub {
  display: block;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0 0 1rem;
}

.pricing-column__hint {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(139, 155, 180, 0.88);
}

.pricing-column ul,
.pricing-column__periods {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricing-column__periods {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pricing-column__periods li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.62rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 11px;
  border: none;
  background: rgba(5, 10, 20, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-column__periods li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.35);
}

.pricing-column li span:first-child {
  color: var(--text-muted);
}

.pricing-column li strong {
  color: var(--accent);
  font-weight: 700;
}

.pricing-bot-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin: 2rem auto 0;
  line-height: 1.6;
  padding: 0 0.5rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(2.5rem, 8vw, 4rem) 0 2rem;
  text-align: center;
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.page-hero__lead {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Setup steps */
.steps {
  max-width: 720px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.step__marker {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  isolation: isolate;
}

.step__marker::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.12), transparent 60%);
  animation: step-ring 3.2s ease-in-out infinite;
  z-index: -1;
}

.step__marker::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  border: 1px solid rgba(167, 139, 250, 0.15);
  opacity: 0.6;
  z-index: -2;
}

@keyframes step-ring {
  50% {
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.2), 0 0 24px rgba(34, 211, 238, 0.08);
    transform: rotate(4deg);
  }
}

.step__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.step__body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About — расширенная вёрстка */
.about-layout {
  max-width: 760px;
  margin: 0 auto;
}

.about-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-2);
  margin-bottom: 0.35rem;
}

.about-block {
  position: relative;
  padding: 1.75rem 1.75rem 1.75rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.about-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0.9;
}

.about-block h2 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about-block p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

.about-block p + p {
  margin-top: 0.75rem;
}

.about-aside {
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px dashed rgba(34, 211, 238, 0.2);
  margin-top: 1rem;
  padding-top: 1rem;
  line-height: 1.55;
}

.page-hero__title--shift {
  background: linear-gradient(92deg, var(--text) 0%, var(--accent) 48%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 160% auto;
  animation: title-shimmer 7s ease-in-out infinite;
}

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

/* Hero — «сигнал» вместо плашек стран */
.hero__mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.4;
  pointer-events: none;
}

.hero__mesh-blob--1 {
  width: 180px;
  height: 180px;
  background: var(--accent);
  top: 10%;
  right: 15%;
  animation: blob-a 9s ease-in-out infinite;
}

.hero__mesh-blob--2 {
  width: 140px;
  height: 140px;
  background: var(--accent-2);
  bottom: 20%;
  left: 10%;
  animation: blob-b 11s ease-in-out infinite;
}

@keyframes blob-a {
  50% {
    transform: translate(-12px, 18px) scale(1.08);
    opacity: 0.35;
  }
}

@keyframes blob-b {
  50% {
    transform: translate(16px, -10px) scale(0.92);
    opacity: 0.45;
  }
}

.hero__scan {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(10, 14, 23, 0.65);
  backdrop-filter: blur(20px);
  box-shadow: var(--glow);
}

.hero__scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 36%;
  top: -36%;
  background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.1), transparent);
  animation: scan-sweep 3.8s ease-in-out infinite;
  pointer-events: none;
}

/* top в % от высоты .hero__scan — одинаково на любых ширинах (квадратный блок) */
@keyframes scan-sweep {
  0% {
    top: -36%;
  }
  100% {
    top: 102%;
  }
}

.hero__scan-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 75%);
}

.hero__scan-line {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.55;
  animation: line-glow 2.6s ease-in-out infinite;
}

@keyframes line-glow {
  50% {
    opacity: 1;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.45);
  }
}

.hero__scan-label {
  position: absolute;
  bottom: clamp(0.65rem, 4vw, 1.25rem);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 1.5rem);
  max-width: 18rem;
  font-size: clamp(0.6rem, 2.6vw, 0.7rem);
  font-weight: 600;
  letter-spacing: clamp(0.14em, 0.08em + 0.35vw, 0.28em);
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.35;
}

/* CTA strip */
.cta-strip {
  margin-top: 3rem;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.14), rgba(167, 139, 250, 0.1));
  border: 1px solid rgba(34, 211, 238, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cta-strip::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(34, 211, 238, 0.06) 120deg, transparent 240deg);
  animation: glyph-spin 14s linear infinite;
  pointer-events: none;
}

.cta-strip h2,
.cta-strip p,
.cta-strip .btn,
.cta-strip__actions {
  position: relative;
  z-index: 1;
}

.cta-strip h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.3rem, 3.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-strip p {
  margin: 0 auto 1.35rem;
  max-width: 28rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.cta-strip__lead-strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(232, 238, 248, 0.72);
}

.cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  justify-content: center;
  align-items: center;
}

.btn--cta {
  padding: 0.95rem clamp(1.4rem, 4vw, 2rem);
  font-size: 1rem;
  font-weight: 700;
  min-height: 3.1rem;
}

@media (max-width: 480px) {
  .cta-strip__actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-strip__actions .btn {
    width: 100%;
    max-width: 22rem;
  }
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 3rem 0 max(0px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  background: rgba(5, 8, 16, 0.5);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Смартфоны: герой, типографика, таблицы тарифов, шаги */
@media (max-width: 640px) {
  .header__logo-img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }

  .header__brand {
    font-size: 1.05rem;
    max-width: min(12rem, 45vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    padding: clamp(2rem, 8vw, 3.5rem) 0 clamp(2.5rem, 8vw, 4rem);
  }

  .hero__grid {
    gap: 1.75rem;
  }

  .hero__mesh-blob--1 {
    width: 110px;
    height: 110px;
    top: 6%;
    right: 0;
  }

  .hero__mesh-blob--2 {
    width: 90px;
    height: 90px;
    bottom: 12%;
    left: 0;
  }

  .hero__scan {
    border-radius: 22px;
  }

  .hero__scan-grid {
    background-size: 22px 22px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .section {
    padding: clamp(2.5rem, 7vw, 3.5rem) 0;
  }

  .section__head {
    margin-bottom: 2rem;
  }

  .card {
    padding: 1.4rem 1.35rem;
  }

  .pricing-column__inner {
    padding: 1.2rem 1.15rem 1.35rem;
  }

  .pricing-intro {
    padding-inline: 0;
    margin-bottom: 2rem;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.25rem 0;
  }

  .step__marker {
    width: 44px;
    height: 44px;
    font-size: 0.82rem;
    justify-self: start;
  }

  .about-block {
    padding: 1.35rem 1.2rem 1.35rem 1.15rem;
  }

  .page-hero {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }

  .cta-strip {
    padding: clamp(1.5rem, 4vw, 2rem);
  }

  .cta-strip h2 {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
  }
}

.footer__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.footer__logo-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 12px;
}

.footer__logo-link:hover {
  color: var(--text);
}

.footer__tagline {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer__title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer__links a {
  display: block;
  color: var(--text-muted);
  padding: 0.25rem 0;
  font-size: 0.9rem;
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__bottom {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.footer__copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Utils */
main {
  flex: 1;
  min-height: calc(100vh - var(--header-h) - 200px);
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .header__nav,
  .header__scrim {
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scan::after {
    top: 32% !important;
    animation: none !important;
  }

  .page-hero__title--shift,
  .hero__mesh-blob--1,
  .hero__mesh-blob--2,
  .hero__scan-line,
  .card__glyph--orbit::before,
  .card__glyph--pulse::before,
  .card__glyph--shard::after,
  .card__glyph--bars span,
  .card__glyph--mesh::after,
  .card__glyph--node::after,
  .card__glyph--node .card__glyph-dot,
  .step__marker::before,
  .cta-strip::before {
    animation: none !important;
  }
}
