:root {
  --bg: #07111d;
  --bg-2: #091624;
  --panel: #0d1d32;
  --panel-2: #10243d;
  --line: #263852;
  --text: #edf4ff;
  --muted: #9fb0c7;
  --gold: #e0b43f;
  --gold-2: #f2c94c;
  --green: #27d39a;
  --blue: #4aa3ff;
  --red: #f0647d;
  --shadow: 0 24px 80px rgba(0, 0, 0, .32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 10%, rgba(74, 163, 255, .13), transparent 28%),
    radial-gradient(circle at 18% 90%, rgba(224, 180, 63, .11), transparent 30%),
    var(--bg);
  color: var(--text);
  font: 15px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

img {
  max-width: 100%;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 17, 29, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(224, 180, 63, .55);
  background: linear-gradient(135deg, rgba(224, 180, 63, .25), rgba(74, 163, 255, .16));
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, .18);
}

.brand-mark img {
  width: 30px;
  height: 30px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a {
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(224, 180, 63, .12);
}

.nav-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(224, 180, 63, .44);
  background: rgba(224, 180, 63, .13);
  color: var(--text);
  padding: 0 15px;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  background: var(--gold);
  color: #06101d;
}

.btn.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, .03);
}

.hero {
  padding: 78px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(39, 211, 154, .28);
  color: #86ffd1;
  background: rgba(39, 211, 154, .08);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 850;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(39, 211, 154, .12);
}

h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: .96;
  letter-spacing: 0;
  margin: 22px 0 18px;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.06;
  margin: 0 0 12px;
}

h3 {
  margin: 0 0 10px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.terminal-card,
.panel,
.price-card,
.product-card,
.checkout-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.terminal-card {
  overflow: hidden;
}

.card-head {
  height: 52px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .018);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.dots {
  display: flex;
  gap: 7px;
}

.dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
}

.dots span:nth-child(2) {
  background: var(--gold);
}

.dots span:nth-child(3) {
  background: var(--green);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(39, 211, 154, .12);
  color: #86ffd1;
  font-size: 12px;
  font-weight: 850;
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.desktop-preview {
  padding: 18px;
}

.preview-main {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 8px;
  overflow: hidden;
}

.preview-side {
  background: #091624;
  border-right: 1px solid var(--line);
  padding: 16px 12px;
}

.preview-id {
  color: var(--gold-2);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .08em;
  margin: 16px 0 12px;
}

.preview-nav {
  margin-top: 20px;
  display: grid;
  gap: 8px;
}

.preview-nav span {
  color: var(--muted);
  padding: 8px;
  border-radius: 8px;
}

.preview-nav span:first-child {
  color: var(--text);
  background: rgba(224, 180, 63, .12);
  border: 1px solid rgba(224, 180, 63, .38);
}

.preview-content {
  padding: 18px;
}

.connect-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  width: min(360px, 100%);
  margin-bottom: 20px;
}

.peer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.peer {
  min-height: 98px;
  border-radius: 8px;
  background: #123159;
  overflow: hidden;
}

.peer:nth-child(2) { background: #29143f; }
.peer:nth-child(3) { background: #3b140c; }
.peer:nth-child(4) { background: #113b1e; }

.peer-top {
  height: 58px;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.peer-bottom {
  background: rgba(0, 0, 0, .24);
  padding: 9px 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.section {
  padding: 54px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.section-head p {
  max-width: 620px;
  color: var(--muted);
  margin: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.panel,
.product-card {
  padding: 20px;
}

.panel p,
.product-card p,
.price-card p {
  color: var(--muted);
  margin: 0;
}

.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(224, 180, 63, .38);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 14px;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.price-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  min-height: 330px;
}

.price-card.featured {
  border-color: rgba(224, 180, 63, .75);
  background: linear-gradient(180deg, rgba(224, 180, 63, .11), var(--panel));
}

.price {
  color: var(--gold-2);
  font-size: 22px;
  font-weight: 900;
  margin: 8px 0 10px;
}

.price small {
  font-size: 13px;
  color: var(--muted);
}

.features {
  color: var(--muted);
  margin: 12px 0 18px;
  padding-left: 18px;
}

.features li {
  margin: 7px 0;
}

.price-card .btn {
  margin-top: auto;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px;
  align-items: start;
}

.checkout-card {
  padding: 22px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #071320;
  color: var(--text);
  padding: 0 12px;
  font: inherit;
}

textarea {
  padding: 12px;
  min-height: 120px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: var(--muted);
}

.summary-line strong {
  color: var(--text);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(9, 22, 36, .88);
  padding: 34px 0;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.notice {
  border: 1px solid rgba(224, 180, 63, .3);
  background: rgba(224, 180, 63, .09);
  color: #ffe7a4;
  border-radius: 8px;
  padding: 13px 14px;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .pricing,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    height: auto;
    padding: 14px 0;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 24px, 1180px);
  }

  .nav,
  .footer-grid,
  .section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links,
  .nav-actions {
    justify-content: flex-start;
  }

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

  .preview-main {
    grid-template-columns: 1fr;
  }

  .preview-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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