/* ============ Базовые переменные ============ */
:root {
  --bg-0: #060d14;
  --bg-1: #0a151f;
  --bg-2: #0f1e2c;
  --bg-3: #142a3d;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #e8eef5;
  --text-mute: #8a9bad;
  --text-dim: #5a6c7e;

  /* Акценты — флаг Дагестана: зелёный + синий + красный */
  --green: #2dd4a7;
  --green-deep: #0f8e6d;
  --blue: #3aa9ff;
  --blue-deep: #1a6fcc;
  --red: #e85a5a;
  --gold: #d9a76a;

  --grad-1: linear-gradient(135deg, #2dd4a7 0%, #3aa9ff 60%, #8b5cf6 100%);
  --grad-cta: linear-gradient(135deg, #2dd4a7 0%, #3aa9ff 100%);
  --grad-card: linear-gradient(180deg, rgba(45, 212, 167, 0.12) 0%, rgba(58, 169, 255, 0.06) 100%);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 40px -20px rgba(0, 0, 0, 0.5);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 0 1px rgba(45, 212, 167, 0.3), 0 20px 60px -10px rgba(45, 212, 167, 0.4);

  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

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

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

body {
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}
.container-narrow {
  width: min(820px, 92vw);
  margin: 0 auto;
}

/* ============ Декоративный фон ============ */
.bg-grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  animation: glowFloat 20s ease-in-out infinite;
}
.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(45, 212, 167, 0.35) 0%, transparent 70%);
  top: -200px; left: -200px;
}
.glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(58, 169, 255, 0.3) 0%, transparent 70%);
  top: 30%; right: -150px;
  animation-delay: -7s;
}
.glow-3 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(232, 90, 90, 0.18) 0%, transparent 70%);
  bottom: -150px; left: 30%;
  animation-delay: -14s;
}

@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 20px) scale(0.95); }
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
}

.mountains-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.mtn { animation: mtnDrift 12s ease-in-out infinite; }
.mtn-front { animation-delay: -4s; }
@keyframes mtnDrift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-15px); }
}

/* Поднимаем контент над фоном */
header, section, footer { position: relative; z-index: 2; }

/* ============ Кнопки ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--grad-cta);
  color: #021018;
  box-shadow: 0 10px 30px -10px rgba(45, 212, 167, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 40px -10px rgba(45, 212, 167, 0.7); }
.btn-primary:hover::after { transform: translateX(100%); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-outline:hover { background: rgba(45, 212, 167, 0.1); border-color: var(--green); color: var(--green); }

/* ============ Шапка ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  backdrop-filter: blur(16px);
  background: rgba(6, 13, 20, 0.7);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}
.logo-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--grad-cta);
  color: #021018;
  box-shadow: 0 0 20px rgba(45, 212, 167, 0.4);
}
.logo-text { letter-spacing: -0.02em; }
.logo-accent { color: var(--green); margin-left: 2px; }

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  color: var(--text-mute);
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--grad-cta);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { padding: 10px 18px; font-size: 13px; }

.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
}
.nav-burger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

/* ============ Hero ============ */
.hero {
  padding: 80px 0 100px;
  position: relative;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(45, 212, 167, 0.1);
  border: 1px solid rgba(45, 212, 167, 0.3);
  font-size: 13px;
  color: var(--green);
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(45, 212, 167, 0.6);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 212, 167, 0.6); }
  50% { box-shadow: 0 0 0 10px rgba(45, 212, 167, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  font-family: 'Manrope', serif;
  color: var(--text-mute);
}

.grad {
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradShift 6s ease infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  max-width: 600px;
  margin: 0 auto 36px;
  color: var(--text-mute);
  font-size: 18px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 40px);
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 12px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.float-card {
  position: absolute;
  bottom: -30px; left: 50%;
  transform: translateX(-50%);
  width: min(380px, 88vw);
  padding: 16px 20px;
  background: rgba(15, 30, 44, 0.85);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-2);
  animation: floatY 4s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}
.fc-row { display: flex; align-items: center; gap: 14px; }
.fc-pulse {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(45, 212, 167, 0.15);
  display: grid; place-items: center;
}
.fc-pulse span {
  width: 12px; height: 12px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(45, 212, 167, 0.6);
  animation: pulse 1.5s ease-in-out infinite;
}
.fc-text { flex: 1; }
.fc-title { font-weight: 600; font-size: 14px; color: var(--text); }
.fc-sub { font-size: 12px; color: var(--text-mute); }
.fc-speed { text-align: right; }
.fc-bar {
  width: 80px; height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}
.fc-bar span {
  display: block;
  height: 100%;
  width: 70%;
  background: var(--grad-cta);
  border-radius: 2px;
  animation: barFill 3s ease-in-out infinite;
}
@keyframes barFill {
  0%, 100% { width: 65%; }
  50% { width: 92%; }
}
.fc-mb {
  font-size: 11px;
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 500;
}

/* ============ Бегущая строка ============ */
.ticker {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 32px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-mute);
  animation: ticker 30s linear infinite;
}
.ticker-track span { flex-shrink: 0; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ Секции ============ */
.section { padding: 100px 0; }

.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(45, 212, 167, 0.08);
  border: 1px solid rgba(45, 212, 167, 0.25);
  border-radius: 999px;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  max-width: 580px;
  margin: 0 auto;
  color: var(--text-mute);
  font-size: 17px;
}

/* ============ Возможности ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--line);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(45, 212, 167, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(45, 212, 167, 0.3); }
.feature:hover::before { opacity: 1; }

.feature-ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(45, 212, 167, 0.1);
  border: 1px solid rgba(45, 212, 167, 0.25);
  color: var(--green);
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}
.feature:hover .feature-ico { transform: rotate(-6deg) scale(1.05); }

.feature h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.feature p {
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.6;
}

/* ============ Тарифы ============ */
.section-pricing {
  background: linear-gradient(180deg, transparent 0%, rgba(45, 212, 167, 0.03) 50%, transparent 100%);
}

.plan-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin: 0 auto 50px;
  position: relative;
  display: flex;
  width: fit-content;
}
.ps-btn {
  position: relative;
  z-index: 2;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mute);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}
.ps-btn.active { color: #021018; }
.ps-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.ps-dot.premium { background: var(--gold); }
.ps-badge {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--gold);
  color: #2a1a05;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.ps-pill {
  position: absolute;
  top: 6px;
  height: calc(100% - 12px);
  background: var(--grad-cta);
  border-radius: 999px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pricing-grid[hidden] { display: none; }

.price-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.18); }

.price-trial {
  background: linear-gradient(180deg, rgba(217, 167, 106, 0.08) 0%, rgba(217, 167, 106, 0.02) 100%);
  border-color: rgba(217, 167, 106, 0.3);
}

.pc-popular {
  background: linear-gradient(180deg, rgba(45, 212, 167, 0.1) 0%, rgba(58, 169, 255, 0.04) 100%);
  border-color: rgba(45, 212, 167, 0.4);
  box-shadow: 0 20px 60px -20px rgba(45, 212, 167, 0.3);
}

.pc-best {
  background: linear-gradient(180deg, rgba(58, 169, 255, 0.1) 0%, rgba(139, 92, 246, 0.04) 100%);
  border-color: rgba(58, 169, 255, 0.4);
  box-shadow: 0 20px 60px -20px rgba(58, 169, 255, 0.3);
}

.pc-tag {
  position: absolute;
  top: 16px; right: 16px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(217, 167, 106, 0.15);
  color: var(--gold);
  border: 1px solid rgba(217, 167, 106, 0.3);
}
.pc-tag-pop { background: var(--green); color: #021018; border: none; }
.pc-tag-best { background: var(--blue); color: #021018; border: none; }

.pc-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: var(--text-mute);
}

.pc-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
  margin-bottom: 4px;
}
.pc-amount {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 0%, #aab8c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pc-currency {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-mute);
}
.pc-period {
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 24px;
}

.pc-list {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}
.pc-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.pc-list li:last-child { border-bottom: none; }
.pc-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(45, 212, 167, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6 L5 8 L9 4' stroke='%232dd4a7' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.pricing-note {
  margin-top: 40px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-align: center;
  font-size: 14px;
  color: var(--text-mute);
}
.pricing-note strong { color: var(--green); }

/* ============ Шаги ============ */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 36px 28px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  transition: transform 0.3s ease;
}
.step:hover { transform: translateY(-4px); }
.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 60px;
  letter-spacing: -0.04em;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step p { color: var(--text-mute); font-size: 15px; }

/* ============ FAQ ============ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item[open] { border-color: rgba(45, 212, 167, 0.3); }
.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.3s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  color: var(--green);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 22px;
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.7;
}

/* ============ Контакты ============ */
.contacts-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 50px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(45, 212, 167, 0.08) 0%, rgba(58, 169, 255, 0.04) 100%);
  border: 1px solid rgba(45, 212, 167, 0.2);
  position: relative;
  overflow: hidden;
}
.contacts-grid::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 167, 0.3) 0%, transparent 70%);
  filter: blur(60px);
}
.contacts-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.contacts-right {
  position: relative;
  z-index: 2;
  padding: 28px;
  background: rgba(6, 13, 20, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  backdrop-filter: blur(20px);
}
.contacts-right h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.req { display: flex; flex-direction: column; gap: 12px; }
.req > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  font-size: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.req > div:last-child { border-bottom: none; padding-bottom: 0; }
.req dt { color: var(--text-mute); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; padding-top: 2px; }
.req dd { color: var(--text); font-weight: 500; }
.req a { color: var(--green); transition: opacity 0.2s; }
.req a:hover { opacity: 0.7; }

/* ============ Футер ============ */
.footer {
  padding-top: 60px;
  border-top: 1px solid var(--line);
  background: rgba(6, 13, 20, 0.6);
  position: relative;
  z-index: 2;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 40px;
}
.foot-brand .logo { margin-bottom: 14px; }
.foot-desc { color: var(--text-mute); font-size: 14px; line-height: 1.6; }
.foot-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  color: var(--text);
}
.foot-col a {
  display: block;
  color: var(--text-mute);
  font-size: 14px;
  padding: 5px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}
.foot-col a:hover { color: var(--green); transform: translateX(2px); }

.foot-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.pay-pill {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text-mute);
  letter-spacing: 0.05em;
}
.pay-pill-yk { background: rgba(140, 60, 200, 0.15); border-color: rgba(140, 60, 200, 0.3); color: #c79aff; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.fb-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
}

/* ============ Модалка ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}
.modal-window {
  position: relative;
  width: min(700px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 40px;
  animation: modalUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes modalUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 22px;
  font-weight: 300;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.15); transform: rotate(90deg); }

.modal-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.modal-content h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin: 22px 0 10px;
}
.modal-content p, .modal-content li {
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.7;
  margin-bottom: 10px;
}
.modal-content ul, .modal-content ol { padding-left: 22px; margin-bottom: 12px; }

/* ============ Reveal анимация ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms),
              transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Адаптивность ============ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }

  .features-grid,
  .pricing-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-stats { grid-template-columns: repeat(2, 1fr); }

  .contacts-grid {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .foot-brand { grid-column: 1 / -1; }

  .fb-inner { flex-direction: column; gap: 8px; text-align: center; }

  .section { padding: 70px 0; }
  .hero { padding: 50px 0 90px; }
}

@media (max-width: 560px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); padding: 20px; gap: 18px; }
  .footer-inner { grid-template-columns: 1fr; }
  .modal-window { padding: 28px 22px; }
  .pc-amount { font-size: 42px; }
  .plan-switch { width: 100%; justify-content: center; }
  .ps-btn { padding: 10px 18px; font-size: 13px; flex: 1; justify-content: center; }
}
