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

:root {
  --bg: #050506;
  --bg-soft: #0a0a0c;
  --card: #101014;
  --card-2: #141419;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: #8b8b95;
  --muted-2: #63636d;
  --green: #35d07f;
  --radius: 18px;
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-snap-type: y proximity;
  scroll-padding-top: 76px;
}

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

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border-radius: 999px;
  padding: 14px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--white {
  background: #fff;
  color: #08080a;
}

.btn--white:hover {
  background: #e9e9ec;
}

.btn--outline {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line-strong);
  color: #fff;
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: #fff;
  padding: 11px 22px;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn--sm {
  padding: 11px 22px;
  font-size: 13px;
}

.btn--lg {
  padding: 17px 30px;
  font-size: 15px;
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(5, 5, 6, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(5, 5, 6, 0.9);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo__mark {
  width: 30px;
  height: 30px;
  color: #fff;
}

.logo__img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.logo__text {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

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

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav__link:hover,
.nav__link.is-active {
  color: #fff;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 76px 0 auto 0;
  z-index: 55;
  background: rgba(5, 5, 6, 0.98);
  border-bottom: 1px solid var(--line);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 28px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu__nav a {
  font-size: 22px;
  font-weight: 700;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-menu__actions {
  display: flex;
  gap: 12px;
}

.mobile-menu__actions .btn {
  flex: 1;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 0;
  scroll-snap-align: start;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(255, 255, 255, 0.07), transparent 65%),
    radial-gradient(700px 400px at 10% 90%, rgba(255, 255, 255, 0.03), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  min-height: 520px;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding-bottom: 60px;
  animation: fade-up 0.9s ease both 0.1s;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero__kicker {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.hero__brand {
  font-size: clamp(52px, 6.4vw, 88px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.hero__sub {
  margin-top: 18px;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.hero__cta {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__features {
  grid-column: 1 / -1;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  animation: fade-up 0.9s ease both 0.35s;
}

.feature {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 26px 26px 30px;
  border-right: 1px solid var(--line);
}

.feature--last {
  border-right: none;
}

.feature__icon {
  width: 34px;
  height: 34px;
  color: #fff;
  flex-shrink: 0;
}

.feature__icon svg {
  width: 100%;
  height: 100%;
}

.feature__label {
  min-width: 0;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: break-word;
  color: rgba(255, 255, 255, 0.88);
}

/* Globe */

.globe {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-56%);
  width: min(58vw, 640px);
  aspect-ratio: 1;
  z-index: 1;
  pointer-events: none;
  animation: fade-in 1.2s ease both, globe-float 6s ease-in-out 1.2s infinite;
}

.globe__sphere {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.16), transparent 55%),
    radial-gradient(circle at 70% 75%, rgba(255, 255, 255, 0.05), transparent 50%),
    radial-gradient(circle at 50% 50%, #17171b 0%, #0b0b0e 62%, #050506 100%);
  box-shadow:
    inset -30px -40px 80px rgba(0, 0, 0, 0.9),
    inset 14px 18px 50px rgba(255, 255, 255, 0.05),
    0 0 90px rgba(255, 255, 255, 0.05);
  animation: sphere-glow 4s ease-in-out infinite;
}

.globe__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1.3px);
  background-size: 11px 11px;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(circle at 38% 32%, #000 25%, transparent 78%);
  mask-image: radial-gradient(circle at 38% 32%, #000 25%, transparent 78%);
  animation: dots-drift 14s linear infinite;
}

.globe__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 24px rgba(255, 255, 255, 0.22),
    inset 0 0 24px rgba(255, 255, 255, 0.12);
}

.globe__ring::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.95);
  border-left-color: rgba(255, 255, 255, 0.4);
  filter: blur(1px) drop-shadow(0 0 10px rgba(255, 255, 255, 0.85));
}

.globe__ring--1 {
  transform: rotateX(72deg) rotateZ(-18deg);
  animation: orbit-a 9s linear infinite;
}

.globe__ring--1::after {
  border-top-color: rgba(255, 255, 255, 1);
  filter: blur(1px) drop-shadow(0 0 14px rgba(255, 255, 255, 1));
}

.globe__ring--2 {
  inset: 4%;
  transform: rotateX(64deg) rotateZ(38deg);
  border-color: rgba(255, 255, 255, 0.22);
  animation: orbit-b 13s linear infinite reverse;
}

.globe__ring--3 {
  inset: -4%;
  transform: rotateX(78deg) rotateZ(96deg);
  border-color: rgba(255, 255, 255, 0.16);
  animation: orbit-c 18s linear infinite;
}

.globe__ring--3::after {
  border-top-color: rgba(255, 255, 255, 0.75);
  border-left-color: transparent;
  filter: blur(2px) drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
}

.globe__shine {
  position: absolute;
  inset: -2%;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.95);
  border-right-color: rgba(255, 255, 255, 0.55);
  filter: blur(3px) drop-shadow(0 0 14px rgba(255, 255, 255, 0.75));
  transform: rotate(-32deg) scaleY(0.62);
  opacity: 0.9;
  animation: shine-orbit 7s linear infinite;
}

.globe::before {
  content: "";
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(255, 255, 255, 0.28) 82%, rgba(255, 255, 255, 0.05) 92%, transparent 100%);
  filter: blur(46px);
  animation: halo-spin 8s linear infinite;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes globe-float {
  0%, 100% { transform: translateY(-56%); }
  50% { transform: translateY(-52%); }
}

@keyframes sphere-glow {
  0%, 100% {
    box-shadow:
      inset -30px -40px 80px rgba(0, 0, 0, 0.9),
      inset 14px 18px 50px rgba(255, 255, 255, 0.05),
      0 0 90px rgba(255, 255, 255, 0.05);
  }
  50% {
    box-shadow:
      inset -30px -40px 80px rgba(0, 0, 0, 0.9),
      inset 14px 18px 50px rgba(255, 255, 255, 0.09),
      0 0 130px rgba(255, 255, 255, 0.12);
  }
}

@keyframes dots-drift {
  to { background-position: 132px 0; }
}

@keyframes shine-orbit {
  from { transform: rotate(-32deg) scaleY(0.62); }
  to { transform: rotate(328deg) scaleY(0.62); }
}

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

@keyframes orbit-a {
  to { transform: rotateX(72deg) rotateZ(342deg); }
}

@keyframes orbit-b {
  to { transform: rotateX(64deg) rotateZ(398deg); }
}

@keyframes orbit-c {
  to { transform: rotateX(78deg) rotateZ(456deg); }
}

.hero__arc {
  display: none;
  position: absolute;
  top: -140px;
  right: -110px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  filter: blur(2px) drop-shadow(0 0 18px rgba(255, 255, 255, 0.6));
  opacity: 0.75;
  pointer-events: none;
}

/* ---------- Sections common ---------- */

.section {
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
  scroll-snap-align: start;
  scroll-margin-top: 76px;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 46px;
}

.section__head > * {
  min-width: 0;
  max-width: 100%;
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.06;
  text-transform: uppercase;
}

.section__lead {
  max-width: 330px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  text-align: right;
}

/* ---------- Advantages ---------- */

.advantages {
  background: var(--bg-soft);
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.adv-card {
  position: relative;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 26px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.adv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.22);
}

.adv-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: auto;
}

.adv-card__num {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.9);
}

.adv-card__icon {
  width: 30px;
  height: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.adv-card__icon svg {
  width: 100%;
  height: 100%;
}

.adv-card__title {
  font-size: 17px;
  font-weight: 700;
  margin: 34px 0 10px;
}

.adv-card__text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.adv-card__arrow {
  display: none;
}

/* ---------- Cabinet ---------- */

.cabinet__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 60px;
  align-items: center;
}

.cabinet__text {
  margin: 22px 0 32px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 380px;
}

.dash {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  background: linear-gradient(180deg, #121217, #0c0c10);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.dash__side {
  border-right: 1px solid var(--line);
  padding: 22px 16px;
  background: rgba(255, 255, 255, 0.02);
}

.dash__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 20px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.dash__logo .logo__mark {
  width: 22px;
  height: 22px;
}

.dash__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash__nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.dash__nav a svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.dash__nav a:hover {
  color: #fff;
}

.dash__nav a.is-active {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.dash__main {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.status__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(53, 208, 127, 0.18), 0 0 14px rgba(53, 208, 127, 0.8);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 7px rgba(53, 208, 127, 0.06), 0 0 18px rgba(53, 208, 127, 0.9); }
}

.status__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.status__info strong {
  font-size: 15px;
  font-weight: 700;
}

.status__info span {
  font-size: 12.5px;
  color: var(--muted);
}

.dash__panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
}

.dash__label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}

.dash__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.dash__value {
  display: block;
  font-size: 17px;
  font-weight: 700;
}

.dash__hint {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.server {
  display: flex;
  align-items: center;
  gap: 10px;
}

.server strong {
  font-size: 16px;
  font-weight: 700;
}

.flag {
  width: 24px;
  height: 17px;
  border-radius: 4px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.flag--de {
  background: linear-gradient(180deg, #0a0a0a 0 33%, #d32030 33% 66%, #f2c50a 66% 100%);
}

.dash__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

/* ---------- Pricing ---------- */

.pricing {
  background: var(--bg-soft);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 26px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.22);
}

.price-card--popular {
  border-color: rgba(255, 255, 255, 0.55);
  background: linear-gradient(180deg, #1a1a20, #101014);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 60px rgba(0, 0, 0, 0.5);
}

.price-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #08080a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card__name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 16px 0 24px;
}

.price-card__price strong {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-card__price span {
  font-size: 13px;
  color: var(--muted);
}

.price-card__list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-bottom: 28px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.price-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}

.price-card__list svg {
  width: 15px;
  height: 15px;
  color: #fff;
  flex-shrink: 0;
}

.price-card__btn {
  width: 100%;
  margin-top: auto;
}

/* ---------- Footer ---------- */

.footer {
  padding: 44px 0 40px;
  background: var(--bg);
  scroll-snap-align: start;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer__brand p {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted-2);
}

.footer__links {
  display: flex;
  gap: 30px;
}

.footer__links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: #fff;
}

.footer__copy {
  font-size: 13px;
  color: var(--muted-2);
}

/* ---------- Bottom nav (mobile) ---------- */

.bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: rgba(8, 8, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
}

.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 2px;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted-2);
  transition: color 0.2s ease;
}

.bottom-nav__item svg {
  width: 22px;
  height: 22px;
}

.bottom-nav__item.is-active {
  color: #fff;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.advantages__grid > .reveal:nth-child(2),
.pricing__grid > .reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.advantages__grid > .reveal:nth-child(3),
.pricing__grid > .reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.advantages__grid > .reveal:nth-child(4),
.pricing__grid > .reveal:nth-child(4) {
  transition-delay: 0.3s;
}

/* ---------- Tablet ---------- */

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .nav {
    gap: 22px;
  }

  .hero__inner {
    min-height: 440px;
  }

  .advantages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cabinet__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .pricing__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    margin: 0;
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 860px) {
  .nav,
  .header__actions {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .bottom-nav {
    display: none;
  }

  .hero {
    padding: 44px 0 0;
  }

  .hero__arc {
    display: block;
  }

  .hero__inner {
    display: block;
    min-height: 0;
  }

  .hero__content {
    padding-bottom: 34px;
  }

  .hero__kicker {
    font-size: clamp(26px, 8vw, 34px);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.12;
    color: #fff;
  }

  .hero__brand {
    display: none;
  }

  .hero__sub {
    margin-top: 14px;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--muted);
  }

  .hero__cta {
    margin-top: 26px;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .globe {
    display: none;
  }

  .hero__features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
  }

  .feature {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 14px 22px;
  }

  .feature--last {
    display: none;
  }

  .feature:nth-child(3) {
    border-right: none;
  }

  .feature__label {
    font-size: 12px;
  }

  .section {
    padding: 56px 0;
  }

  .section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 30px;
  }

  .section__lead {
    text-align: left;
    max-width: 100%;
  }

  .section__title {
    font-size: clamp(26px, 7.5vw, 34px);
  }

  .advantages__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .adv-card {
    min-height: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "icon title arrow"
      "icon text arrow";
    align-items: center;
    column-gap: 16px;
    padding: 18px 16px;
  }

  .adv-card__head {
    display: contents;
  }

  .adv-card__num {
    display: none;
  }

  .adv-card__icon {
    grid-area: icon;
    width: 26px;
    height: 26px;
    color: #fff;
  }

  .adv-card__title {
    grid-area: title;
    margin: 0 0 4px;
    font-size: 15.5px;
  }

  .adv-card__text {
    grid-area: text;
    font-size: 12.5px;
  }

  .adv-card__arrow {
    grid-area: arrow;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: var(--muted);
  }

  .adv-card__arrow svg {
    width: 18px;
    height: 18px;
  }

  .adv-card:hover {
    transform: none;
  }

  .cabinet__content .btn {
    width: 100%;
  }

  .dash {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 20px;
  }

  .dash__side {
    display: none;
  }

  .dash__main {
    padding: 20px 18px;
  }

  .dash__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .dash__footer {
    justify-content: stretch;
  }

  .dash__footer .btn {
    width: 100%;
  }

  .pricing__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .price-card__price strong {
    font-size: 34px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .footer__links {
    gap: 22px;
    flex-wrap: wrap;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 0 18px;
  }

  .hero__features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature {
    padding: 18px 10px 20px;
  }
}

/* ---------- Support chat ---------- */

.chat-ov {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(120, 120, 255, 0.14), transparent 60%),
    radial-gradient(800px 500px at 90% 110%, rgba(90, 200, 255, 0.1), transparent 60%),
    #050506;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.chat-ov.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.chat {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.chat-ov.is-open .chat {
  transform: translateY(0);
  opacity: 1;
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 6, 7, 0.85);
  backdrop-filter: blur(12px);
}

.chat__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b0b0d;
}

.chat__who {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.chat__who strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.chat__status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--dim, #9a9aa3);
}

.chat__status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.5);
  animation: statusPulse 1.8s infinite;
}

@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}

.chat__close {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chat__close svg {
  width: 20px;
  height: 20px;
}

.chat__close:hover {
  background: #fff;
  border-color: #fff;
  color: #050505;
}

.chat__msgs {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 20px;
}

.chat__msgs::-webkit-scrollbar {
  width: 6px;
}

.chat__msgs::-webkit-scrollbar-thumb {
  background: #2a2a30;
  border-radius: 3px;
}

.msg {
  max-width: 78%;
  padding: 11px 14px 7px;
  font-size: 14.5px;
  line-height: 1.5;
  animation: msgIn 0.25s ease;
}

@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.msg__text {
  white-space: pre-wrap;
  word-break: break-word;
}

.msg__time {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  text-align: right;
  opacity: 0.5;
}

.msg--out {
  align-self: flex-end;
  background: #fff;
  color: #0a0a0b;
  border-radius: 16px 16px 4px 16px;
}

.msg--in {
  align-self: flex-start;
  background: #0e0e11;
  border: 1px solid var(--line);
  color: #f2f2f5;
  border-radius: 16px 16px 16px 4px;
}

.msg--pending {
  opacity: 0.55;
}

.msg--failed {
  outline: 1px solid rgba(255, 90, 90, 0.6);
}

.msg--sys {
  align-self: center;
  max-width: 90%;
  padding: 4px;
  background: none;
  color: var(--dim, #9a9aa3);
  font-size: 12.5px;
  text-align: center;
}

.chat__form {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 16px 18px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(6, 6, 7, 0.9);
  backdrop-filter: blur(12px);
}

.chat__input {
  flex: 1;
  min-height: 48px;
  max-height: 140px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0c0c0e;
  color: #fff;
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
  resize: none;
  outline: none;
  transition: border-color 0.2s ease;
}

.chat__input::placeholder {
  color: #6d6d76;
}

.chat__input:focus {
  border-color: #fff;
}

.chat__send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #050505;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.chat__send svg {
  width: 22px;
  height: 22px;
}

.chat__send:hover {
  transform: scale(1.06);
}

.chat__send:active {
  transform: scale(0.95);
}

@media (max-width: 640px) {
  .chat__head {
    padding: 12px 14px;
  }

  .chat__msgs {
    padding: 20px 14px;
  }

  .msg {
    max-width: 88%;
  }

  .chat__input {
    font-size: 16px;
  }

  .chat__form {
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
    gap: 10px;
  }
}
