:root {
  --bg: #050a14;
  --bg-elevated: #0a111e;
  --surface: rgba(0, 229, 255, 0.04);
  --border: rgba(0, 229, 255, 0.14);
  --border-strong: rgba(0, 229, 255, 0.32);
  --text: #e8fbff;
  --muted: #7a9aa8;
  --cyan: #00e5ff;
  --teal: #40ffd8;
  --gradient: linear-gradient(135deg, #00e5ff, #40ffd8);
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  --max-width: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 10, 20, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
}

.brand-label { display: flex; flex-direction: column; gap: 1px; min-width: 0; }

.brand-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-accent { color: var(--cyan); }

.brand-sub {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.nav { display: none; gap: 24px; }
.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.nav a:hover { color: var(--cyan); text-decoration: none; }

.header-actions { display: flex; gap: 8px; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 16px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.15s;
}

.btn:hover { text-decoration: none; }

.btn-sm { padding: 8px 14px; font-size: 0.82rem; }

.btn-primary {
  color: #050a14;
  background: var(--gradient);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
}

.btn-outline {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}

.btn-lg { padding: 14px 22px; font-size: 0.95rem; }

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 16px;
}

/* Hero */
.hero {
  padding: 56px 0 48px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(0, 229, 255, 0.12), transparent),
    radial-gradient(ellipse 50% 30% at 80% 60%, rgba(64, 255, 216, 0.06), transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-card {
  padding: 28px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(0, 229, 255, 0.06), rgba(5, 10, 20, 0.8));
  box-shadow: var(--shadow);
}

.hero-card h3 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero-steps { margin: 0; padding: 0; list-style: none; }

.hero-steps li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.hero-steps li:last-child { border-bottom: none; }

.step-n {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--cyan);
  background: var(--surface);
  border: 1px solid var(--border);
}

/* Sections */
.section { padding: 56px 0; }

.section-alt {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}

.section-sub {
  margin: 0 auto 36px;
  max-width: 56ch;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.features-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.feature-card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Pricing */
.pricing-hero {
  padding: 48px 0 24px;
  text-align: center;
}

.pricing-hero h1 { margin: 0 0 12px; font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; }

.pricing-lead {
  margin: 0 auto;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1rem;
}

.pricing-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-top: 8px;
}

.pricing-card {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.pricing-card--featured {
  border-color: var(--border-strong);
  background: linear-gradient(165deg, rgba(0, 229, 255, 0.08), rgba(5, 10, 20, 0.6));
  box-shadow: 0 0 32px rgba(0, 229, 255, 0.1);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #050a14;
  background: var(--gradient);
  padding: 4px 10px;
  border-radius: 999px;
}

.pricing-name { margin: 0 0 8px; font-size: 1.1rem; font-weight: 700; }

.pricing-amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pricing-period {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.88rem;
}

.pricing-save { color: var(--teal); font-weight: 700; }

.pricing-features {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-btn { width: 100%; margin-bottom: 8px; }

.pricing-note {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.pricing-pay-link {
  display: block;
  text-align: center;
  font-size: 0.82rem;
  margin-top: 8px;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  margin-bottom: 10px;
  padding: 0 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* CTA */
.cta {
  padding: 56px 0;
  text-align: center;
}

.cta-inner {
  padding: 40px 24px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(0, 229, 255, 0.06), transparent);
}

.cta h2 {
  margin: 16px 0 8px;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 800;
}

.cta p { margin: 0 0 20px; color: var(--muted); }

.cta-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

/* Legal */
.legal-page { padding: 40px 0 64px; }

.legal-content {
  max-width: 720px;
}

.legal-content h1 {
  margin: 0 0 8px;
  font-size: 1.75rem;
  font-weight: 800;
}

.legal-meta {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 0.88rem;
}

.legal-content h2 {
  margin: 28px 0 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan);
}

.legal-content p,
.legal-content li {
  font-size: 0.92rem;
  color: var(--muted);
}

.legal-content ul { padding-left: 1.2rem; }

.legal-content strong { color: var(--text); }

.legal-back {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
}

.requisites-box {
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* Footer */
.footer {
  padding: 40px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.footer-mark { width: 40px; height: 40px; border-radius: 10px; }

.footer-domain { color: var(--muted); font-size: 0.9rem; font-weight: 600; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-links a:hover { color: var(--cyan); }

.footer-copy {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
}

.footer-legal-link { color: var(--muted); }

@media (min-width: 768px) {
  .nav { display: flex; }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

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

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer-copy { flex-basis: 100%; }
}

@media (min-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
