:root {
  --bg: #050816;
  --bg-2: #080d22;
  --card: rgba(255,255,255,0.065);
  --card-2: rgba(255,255,255,0.095);
  --line: rgba(255,255,255,0.12);
  --text: #ffffff;
  --muted: rgba(255,255,255,0.72);
  --muted-2: rgba(255,255,255,0.52);
  --blue: #48a0ff;
  --cyan: #70e4ff;
  --violet: #8c6cff;
  --green: #4ade80;
  --red: #fb7185;
  --yellow: #facc15;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(72,160,255,0.24), transparent 30%),
    radial-gradient(circle at 85% 12%, rgba(140,108,255,0.22), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(112,228,255,0.08), transparent 28%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a { color: inherit; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px),
                    linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 70%);
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 22px;
  text-decoration: none;
}

.mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(112,228,255,0.95), rgba(72,160,255,0.8) 45%, rgba(140,108,255,0.95));
  display: grid;
  place-items: center;
  box-shadow: 0 12px 40px rgba(72,160,255,0.32);
}

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

.navlinks {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.navlinks a {
  text-decoration: none;
  transition: color .18s ease;
}

.navlinks a:hover { color: white; }

.nav-cta {
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 999px;
  color: white !important;
  background: rgba(255,255,255,0.06);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 84px 0 74px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(112,228,255,0.28);
  background: rgba(112,228,255,0.08);
  color: #baf4ff;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 22px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--green);
  box-shadow: 0 0 20px rgba(74,222,128,.8);
}

h1 {
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.075em;
  margin: 0 0 24px;
}

.gradient-text {
  background: linear-gradient(90deg, #ffffff, #c6efff 36%, #bcaeff 70%, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 20px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 690px;
  margin: 0 0 34px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 18px 50px rgba(72,160,255,0.24);
}

.btn-secondary {
  border: 1px solid var(--line);
  color: white;
  background: rgba(255,255,255,0.055);
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted-2);
  font-size: 14px;
}

.trust span {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
  border-radius: 999px;
  padding: 9px 12px;
}

.terminal {
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.035)), rgba(8,13,34,0.92);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.terminal-top {
  padding: 15px 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.045);
}

.circle {
  width: 11px;
  height: 11px;
  border-radius: 99px;
  background: rgba(255,255,255,0.24);
}

.terminal-title {
  margin-left: 10px;
  color: var(--muted-2);
  font-size: 13px;
}

pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  color: #cdeeff;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.kw { color: #8c6cff; }
.str { color: #70e4ff; }
.ok { color: #4ade80; }

.section { padding: 78px 0; }

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.eyebrow {
  color: #9ddcff;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 760;
  font-size: 12px;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.055em;
  line-height: 1.06;
  margin: 0 0 16px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 22px;
  padding: 26px;
  min-height: 220px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.card:hover {
  transform: translateY(-3px);
  background: var(--card-2);
  border-color: rgba(112,228,255,0.25);
}

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(112,228,255,0.10);
  border: 1px solid rgba(112,228,255,0.22);
  margin-bottom: 20px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15.5px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: steps;
}

.step {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.045);
  border-radius: 20px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.step:before {
  counter-increment: steps;
  content: "0" counter(steps);
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 20px;
  background: rgba(72,160,255,0.16);
  color: #badeff;
  font-weight: 800;
}

.step h3 { margin: 0 0 10px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 15px; }

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.055);
  padding: 28px;
}

.price-card.featured {
  border-color: rgba(112,228,255,0.36);
  background: linear-gradient(180deg, rgba(72,160,255,0.13), rgba(255,255,255,0.055));
  box-shadow: 0 20px 70px rgba(72,160,255,0.12);
}

.plan { font-weight: 800; font-size: 21px; margin-bottom: 8px; }
.price { font-size: 36px; font-weight: 850; letter-spacing: -0.05em; margin: 18px 0; }
.small { color: var(--muted-2); font-size: 14px; }

ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 13px;
  color: var(--muted);
}

li { display: flex; gap: 10px; line-height: 1.4; }
li:before { content: "✓"; color: var(--green); font-weight: 900; }

.cta {
  border: 1px solid rgba(112,228,255,0.24);
  background: radial-gradient(circle at 18% 0%, rgba(112,228,255,0.20), transparent 32%),
              radial-gradient(circle at 80% 100%, rgba(140,108,255,0.18), transparent 32%),
              rgba(255,255,255,0.06);
  border-radius: 30px;
  padding: 46px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.cta h2 { margin-bottom: 12px; }
.cta p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.6; }

.page-hero {
  padding: 72px 0 36px;
  max-width: 880px;
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
}

.page-hero p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
  margin: 0;
}

.doc-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items: start;
  padding-bottom: 86px;
}

.sidebar {
  position: sticky;
  top: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.045);
  border-radius: 20px;
  padding: 18px;
}

.sidebar a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  padding: 10px 11px;
  border-radius: 12px;
  font-size: 14px;
}

.sidebar a:hover {
  background: rgba(255,255,255,0.06);
  color: white;
}

.legal {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.045);
  border-radius: 26px;
  padding: 34px;
}

.legal section {
  padding: 0 0 28px;
  margin: 0 0 28px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}

.legal section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal h2 {
  font-size: 28px;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}

.legal h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 24px 0 8px;
}

.legal p, .legal li {
  color: var(--muted);
  line-height: 1.75;
  font-size: 16px;
}

.legal ul {
  list-style: disc;
  margin: 14px 0 0 22px;
  gap: 8px;
}

.legal li {
  display: list-item;
}

.legal li:before {
  content: none;
}

.note {
  border: 1px solid rgba(250,204,21,0.25);
  background: rgba(250,204,21,0.08);
  color: rgba(255,255,255,0.85);
  border-radius: 16px;
  padding: 16px 18px;
  line-height: 1.6;
  margin: 22px 0;
}

.code-block {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  border-radius: 18px;
  overflow: hidden;
  margin: 18px 0;
}

.code-title {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--muted-2);
  font-size: 13px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
  margin: 18px 0;
}

.table th,
.table td {
  border: 1px solid rgba(255,255,255,0.10);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
}

.table th {
  background: rgba(255,255,255,0.07);
}

.table td {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 26px 0;
}

.contact-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.055);
  border-radius: 22px;
  padding: 24px;
}

.contact-card h3 {
  margin: 0 0 10px;
}

.contact-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 14px;
}

.contact-card a {
  color: #baf4ff;
  text-decoration: none;
  word-break: break-word;
}

.footer {
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 14px;
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 52px; }
  .cards, .pricing { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; }
  .doc-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .nav { align-items: flex-start; }
  .navlinks { display: none; }
  .hero { padding: 42px 0 56px; }
  .lead { font-size: 18px; }
  .actions { align-items: stretch; }
  .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .cta { padding: 30px; }
  pre { font-size: 13px; padding: 18px; }
  .legal { padding: 24px; }
}
