:root {
  --bg: #0c1018;
  --bg-soft: #121722;
  --surface: #22262e;
  --surface-2: #2f333b;
  --text: #e8edf5;
  --muted: #9aa3b2;
  --line: rgba(232, 237, 245, 0.1);
  --green: #7dff9a;
  --white: #e8eef6;
  --ink: #0a0a0a;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --font: "Manrope", sans-serif;
  --display: "Space Grotesk", "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1200px 500px at 15% -10%, rgba(80, 120, 180, 0.18), transparent 55%),
    radial-gradient(900px 420px at 90% 8%, rgba(70, 100, 150, 0.12), transparent 50%),
    radial-gradient(700px 380px at 50% 100%, rgba(40, 70, 110, 0.16), transparent 60%),
    linear-gradient(180deg, #0c1018 0%, #0a0e15 50%, #0c1018 100%);
}

.stars::before,
.stars::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 8% 12%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 22% 38%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1.4px 1.4px at 35% 18%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 48% 62%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1.2px 1.2px at 61% 28%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 74% 74%, rgba(255, 255, 255, 0.28), transparent),
    radial-gradient(1.5px 1.5px at 86% 22%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 93% 55%, rgba(255, 255, 255, 0.32), transparent),
    radial-gradient(1.2px 1.2px at 15% 78%, rgba(255, 255, 255, 0.38), transparent),
    radial-gradient(1px 1px at 42% 88%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1.3px 1.3px at 68% 46%, rgba(255, 255, 255, 0.42), transparent),
    radial-gradient(1px 1px at 55% 8%, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0.7;
}

.stars::after {
  transform: scale(1.15) translateY(40px);
  opacity: 0.35;
  animation: twinkle 8s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.25; }
  to { opacity: 0.45; }
}

.header,
main,
.footer {
  position: relative;
  z-index: 1;
}

.header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  background: rgba(12, 16, 24, 0.72);
  border-bottom: 1px solid transparent;
  z-index: 50;
}

.headerInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.headerLeft {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brandMark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #b8ffd0 0%, #4dff88 35%, #1a3d2a 70%, #0c1018 100%);
  box-shadow: 0 0 0 1px rgba(125, 255, 154, 0.25), 0 0 18px rgba(125, 255, 154, 0.25);
}

.headerDivider {
  width: 1px;
  height: 22px;
  background: var(--line);
}

.nav {
  display: flex;
  gap: 18px;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btnCabinet {
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  white-space: nowrap;
}

.btnCabinet:hover {
  background: #fff;
}

.btnPrimary {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-size: 15px;
}

.btnPrimary:hover {
  background: #fff;
}

.btnGhost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 14px 22px;
  font-size: 15px;
}

.btnGhost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btnPlan {
  width: 100%;
  background: var(--surface-2);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13px;
  margin-top: auto;
}

.btnPlan:hover {
  background: #3a3f49;
}

.hero {
  padding: 48px 0 24px;
}

.heroGrid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 36px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}

.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(125, 255, 154, 0.7);
}

.pill .sep {
  color: var(--muted);
}

.hero h1 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 14ch;
}

.lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 42ch;
}

.heroCtas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.micro {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.heroVisual {
  position: relative;
  height: 420px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}

.orbit1 { width: 220px; height: 220px; }
.orbit2 { width: 300px; height: 300px; animation-duration: 55s; animation-direction: reverse; }
.orbit3 { width: 380px; height: 380px; animation-duration: 70s; }

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

.shield {
  width: 108px;
  height: 108px;
  border-radius: 28px;
  background: var(--white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow), 0 0 40px rgba(255, 255, 255, 0.08);
  z-index: 2;
  animation: float 4.5s ease-in-out infinite;
}

.shield svg {
  width: 52px;
  height: 52px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.node {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(18, 22, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  animation: pulseNode 3.5s ease-in-out infinite;
}

.nodeDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(125, 255, 154, 0.8);
}

.n1 { top: 18%; left: 12%; animation-delay: 0s; }
.n2 { top: 8%; right: 22%; animation-delay: 0.4s; }
.n3 { top: 42%; right: 4%; animation-delay: 0.8s; }
.n4 { bottom: 22%; right: 16%; animation-delay: 1.2s; }
.n5 { bottom: 12%; left: 18%; animation-delay: 1.6s; }
.n6 { top: 36%; left: 2%; animation-delay: 2s; }

@keyframes pulseNode {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.statsBar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #dfe5ee;
  color: #10141c;
  border-radius: 28px;
  padding: 22px 28px;
  box-shadow: var(--shadow);
}

.statLabel {
  font-size: 13px;
  color: #5b6472;
  margin-bottom: 4px;
  font-weight: 600;
}

.statValue {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.statValue span {
  font-size: 18px;
  font-weight: 700;
}

.section {
  padding: 72px 0 8px;
}

.sectionTitle {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.featureGrid,
.stepsGrid,
.pricingGrid {
  display: grid;
  gap: 16px;
}

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

.featureCard,
.stepCard,
.plan,
.faqList details,
.ctaCard {
  background: var(--surface);
  border-radius: var(--radius);
}

.featureCard {
  padding: 24px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background:
    radial-gradient(280px 160px at 100% 0%, rgba(255, 255, 255, 0.05), transparent 60%),
    var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.featureCard:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.1);
}

.featureTop {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.featureTag {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.featureBadge {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.featureCard h3,
.stepCard h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.02em;
}

.featureCard p,
.stepCard p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

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

.stepCard {
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.stepNum {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 18px;
  letter-spacing: 0.08em;
}

.pricingGrid {
  grid-template-columns: repeat(4, 1fr);
}

.plan {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  min-height: 340px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.plan:hover,
.planPopular {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.14);
}

.planPopular {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 40%),
    var(--surface);
}

.planMeta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.planName {
  font-weight: 800;
  font-size: 15px;
}

.planPrice {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
}

.planPrice span {
  font-size: 42px;
  letter-spacing: -0.04em;
}

.planPrice small {
  color: var(--muted);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
}

.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.plan li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.plan li span {
  color: var(--muted);
}

.faqList {
  display: grid;
  gap: 10px;
}

.faqList details {
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0 20px;
  overflow: hidden;
}

.faqList summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faqList summary::after {
  content: "+";
  color: var(--muted);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.faqList details[open] summary::after {
  content: "–";
}

.faqList p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  max-width: 70ch;
}

.ctaSection {
  padding-bottom: 40px;
}

.ctaCard {
  text-align: center;
  padding: 56px 24px;
  background:
    radial-gradient(500px 220px at 50% 0%, rgba(255, 255, 255, 0.07), transparent 60%),
    var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.ctaCard h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.03em;
}

.ctaCard > p {
  margin: 0 0 24px;
  color: var(--muted);
}

.ctaCard .micro {
  margin-top: 14px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px 0 40px;
}

.footerInner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  flex-wrap: wrap;
}

.footerLinks {
  display: flex;
  gap: 18px;
}

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

@media (max-width: 980px) {
  .heroGrid,
  .featureGrid,
  .stepsGrid {
    grid-template-columns: 1fr;
  }

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

  .hero h1 {
    max-width: none;
  }

  .heroVisual {
    height: 360px;
    order: -1;
  }

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

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 28px);
  }

  .headerDivider,
  .nav {
    display: none;
  }

  .pricingGrid {
    grid-template-columns: 1fr;
  }

  .btnCabinet {
    padding: 9px 14px;
    font-size: 13px;
  }

  .hero {
    padding-top: 28px;
  }

  .section {
    padding-top: 56px;
  }

  .orbit3 {
    width: 300px;
    height: 300px;
  }
}
