:root {
  --bg: #050505;
  --bg-card: rgba(12, 12, 18, 0.78);
  --cyan: #00d2ff;
  --purple: #bf00ff;
  --text: #f0f4f8;
  --muted: #8b95a8;
  --border: rgba(0, 210, 255, 0.14);
  --radius: 18px;
  --font: "Inter", system-ui, sans-serif;
  --font-display: "Orbitron", sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.glass {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
}

.bg-orb--cyan {
  width: 520px;
  height: 520px;
  background: var(--cyan);
  top: -160px;
  left: -120px;
}

.bg-orb--purple {
  width: 460px;
  height: 460px;
  background: var(--purple);
  bottom: -100px;
  right: -100px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 210, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 210, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.logo-ned {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  background: linear-gradient(180deg, #fff 30%, #a8b4c4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-vpn {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(0, 210, 255, 0.45);
}

.gradient-text {
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header {
  position: sticky;
  top: 16px;
  z-index: 100;
  max-width: var(--max);
  margin: 16px auto 0;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 1.15rem;
  text-decoration: none;
}

.logo--sm { font-size: 1rem; justify-content: center; }

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav > a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav > a:hover { color: var(--text); text-decoration: none; }

.nav-extras .btn-primary {
  color: #001018;
  font-weight: 700;
}

.nav-extras {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.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); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #0099cc);
  color: #001018;
  box-shadow: 0 0 24px rgba(0, 210, 255, 0.25);
}

.btn-secondary {
  background: rgba(191, 0, 255, 0.12);
  color: var(--text);
  border: 1px solid rgba(191, 0, 255, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-block { width: 100%; }

.section {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 20px;
}

.section--alt {
  background: linear-gradient(180deg, transparent, rgba(0, 210, 255, 0.03), transparent);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  margin: 8px 0 12px;
  line-height: 1.2;
}

.section-desc { color: var(--muted); margin: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--cyan);
  margin: 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-top: 48px;
  min-height: calc(100vh - 100px);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12;
  margin: 12px 0 20px;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
}

.hero-lead strong { color: var(--text); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 32px;
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hero-stats li {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.hero-stats strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.shield {
  position: relative;
  width: 220px;
  height: 220px;
}

.shield-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--cyan), var(--purple)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin 12s linear infinite;
}

.shield-core {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 5, 0.85);
  box-shadow: inset 0 0 40px rgba(0, 210, 255, 0.15);
}

.shield-core .logo-ned,
.shield-core .logo-vpn { font-size: 1.4rem; }

@keyframes spin { to { transform: rotate(360deg); } }

.hero-chip {
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(12, 12, 18, 0.9);
  border: 1px solid var(--border);
  white-space: nowrap;
}

.hero-chip--1 { top: 18%; left: 8%; }
.hero-chip--2 { top: 12%; right: 6%; }
.hero-chip--3 { bottom: 16%; left: 12%; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 210, 255, 0.35);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.price-card {
  padding: 28px;
  position: relative;
}

.price-card--featured {
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 0 40px rgba(0, 210, 255, 0.08);
}

.price-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
  background: rgba(0, 210, 255, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
}

.price-card h3 { margin: 0 0 8px; }

.price-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin: 0 0 6px;
  color: var(--cyan);
}

.price-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 18px;
}

.price-list {
  margin: 0 0 22px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-list li { margin-bottom: 6px; }

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 20px;
  padding: 24px 28px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
}

.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); }

.apps-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.app-badge {
  padding: 16px 24px;
  font-weight: 600;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  padding: 0 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 18px 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--cyan);
  font-size: 1.2rem;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin: 0 0 18px;
  color: var(--muted);
  padding-top: 0;
}

.cta-banner {
  text-align: center;
  padding: 48px 32px;
  margin: 24px auto 0;
  max-width: calc(var(--max) - 40px);
}

.cta-banner .hero-cta {
  justify-content: center;
}

.cta-banner h2 { margin: 0 0 10px; }
.cta-banner p { color: var(--muted); margin: 0 0 24px; }

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 40px 20px 48px;
  margin-top: 24px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.footer-tagline {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  margin: 8px 0 20px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-nav a:hover { color: var(--text); }

.footer-copy {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { min-height: 300px; order: -1; }
  .features-grid,
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 20px; }
}

@media (max-width: 720px) {
  .header {
    position: sticky;
    top: max(8px, env(safe-area-inset-top, 0px));
    z-index: 100;
    width: calc(100% - 24px);
    max-width: none;
    margin: 12px auto 0;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo actions"
      "nav nav";
    align-items: center;
    column-gap: 12px;
    row-gap: 0;
  }

  .logo {
    grid-area: logo;
    justify-self: start;
    min-width: 0;
  }

  .header-actions {
    grid-area: actions;
    justify-self: end;
    margin-left: 0;
    gap: 0;
  }

  .header-actions .btn {
    display: none;
  }

  .burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
  }

  .nav {
    grid-area: nav;
    display: none;
    position: static;
    width: 100%;
    margin: 12px 0 0;
    margin-left: 0;
    padding: 10px;
    flex-direction: column;
    gap: 2px;
    background: rgba(8, 8, 14, 0.95);
    border: 1px solid var(--border);
    border-radius: 14px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav > a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.95rem;
  }

  .nav > a:hover,
  .nav > a:active {
    background: rgba(0, 210, 255, 0.08);
    text-decoration: none;
  }

  .nav-extras .btn-primary {
    color: #001018;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.35);
  }

  .nav-extras .btn-primary:hover,
  .nav-extras .btn-primary:active {
    color: #001018;
    background: linear-gradient(135deg, var(--cyan), #0099cc);
  }

  .nav-extras {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }

  .hero {
    padding-top: 20px;
    padding-bottom: 32px;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 7.5vw, 2.15rem);
    margin-top: 10px;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-visual {
    min-height: 0;
    margin-inline: 0;
    flex-direction: column;
    gap: 18px;
    padding: 28px 16px 20px;
  }

  .shield {
    width: 150px;
    height: 150px;
  }

  .shield-core {
    inset: 22px;
  }

  .shield-core .logo-ned,
  .shield-core .logo-vpn {
    font-size: 1.1rem;
  }

  /* На мобилке чипы не «плавают» поверх щита, а стоят рядом под ним */
  .hero-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }

  .hero-chip {
    position: static;
    font-size: 0.74rem;
    padding: 7px 12px;
    white-space: nowrap;
    max-width: none;
    line-height: 1.25;
    text-align: center;
  }

  .section {
    padding: 44px 16px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2 {
    font-size: clamp(1.45rem, 6vw, 1.85rem);
  }

  .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .features-grid,
  .pricing-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .price-card,
  .step {
    padding: 22px 18px;
  }

  .price-card--featured {
    padding-top: 42px;
  }

  .price-badge {
    top: 12px;
    right: 12px;
    font-size: 0.65rem;
  }

  .price-value {
    font-size: 1.85rem;
  }

  .step {
    flex-direction: row;
    gap: 14px;
  }

  .step-num {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  .hero-cta {
    flex-direction: column;
    margin: 22px 0 24px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-stats li {
    padding: 12px;
  }

  .faq-item {
    padding: 0 16px;
  }

  .faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
  }

  .faq-item summary::after {
    float: none;
    flex-shrink: 0;
  }

  .cta-banner {
    padding: 32px 18px;
    margin: 8px 16px 0;
  }

  .cta-banner .hero-cta {
    align-items: stretch;
  }

  .footer {
    padding: 32px 16px calc(40px + env(safe-area-inset-bottom, 0px));
  }

  .footer-nav {
    gap: 14px 18px;
  }

  .apps-row {
    gap: 10px;
  }

  .app-badge {
    padding: 12px 16px;
    font-size: 0.9rem;
    flex: 1 1 calc(50% - 10px);
    text-align: center;
    min-width: 0;
  }
}

@media (max-width: 380px) {
  .header {
    width: calc(100% - 16px);
    margin-top: 8px;
    padding: 8px 10px;
  }

  .hero-chip {
    font-size: 0.68rem;
    padding: 6px 10px;
  }

  .step {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-badge {
    flex: 1 1 100%;
  }
}
