:root {
  --bg: #05090d;
  --bg-soft: #0a1118;
  --card: rgba(12, 22, 28, .76);
  --card-strong: rgba(15, 29, 35, .94);
  --green: #45f58c;
  --green-deep: #10b981;
  --cyan: #53d5ff;
  --text: #f4fbf8;
  --muted: #9aaba6;
  --line: rgba(159, 239, 213, .18);
  --shadow: rgba(21, 255, 150, .22);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(120deg, rgba(69, 245, 140, .08), transparent 34%),
    radial-gradient(circle at 84% 8%, rgba(83, 213, 255, .18), transparent 30%),
    radial-gradient(circle at 18% 18%, rgba(69, 245, 140, .12), transparent 28%),
    var(--bg);
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(5, 9, 13, .78);
  backdrop-filter: blur(18px);
}

.nav,
.hero,
.metrics,
.section,
.cta-section,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 900;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #02120a;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 16px 34px rgba(69, 245, 140, .24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--green);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 14px;
  font-weight: 850;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.nav-cta {
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 42px;
  padding: 74px 0 62px;
}

.hero-bg {
  position: absolute;
  inset: 18px calc(50% - 50vw) 0 30%;
  z-index: -1;
  overflow: hidden;
  border-bottom-left-radius: 56px;
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, var(--bg) 2%, rgba(5, 9, 13, .78) 34%, rgba(5, 9, 13, .14)),
    linear-gradient(0deg, var(--bg) 0%, rgba(5, 9, 13, 0) 24%);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
  filter: saturate(1.08) contrast(1.05);
}

.hero-content {
  max-width: 710px;
}

.badge,
.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: rgba(69, 245, 140, .08);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin-top: 22px;
  max-width: 760px;
  font-size: clamp(44px, 7.2vw, 86px);
  line-height: .96;
  letter-spacing: 0;
}

.hero-text {
  max-width: 610px;
  margin-top: 24px;
  color: #bed0cb;
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-width: 168px;
  padding: 0 24px;
}

.btn-primary {
  color: #03120a;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 18px 38px rgba(69, 245, 140, .2);
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  color: #c7d7d3;
  font-size: 14px;
  font-weight: 700;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
}

.connection-panel,
.metrics article,
.feature-card,
.plan-card,
.faq details {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-strong), rgba(8, 16, 21, .78));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .24);
}

.connection-panel {
  justify-self: end;
  width: min(100%, 360px);
  padding: 22px;
  border-radius: 24px;
  backdrop-filter: blur(22px);
}

.panel-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.panel-header strong {
  color: var(--green);
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 22px var(--green);
}

.signal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 12px;
  min-height: 150px;
  margin: 26px 0;
  padding: 18px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
    rgba(255, 255, 255, .04);
  background-size: 28px 28px;
}

.signal span {
  display: block;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(180deg, var(--cyan), var(--green));
  box-shadow: 0 12px 28px rgba(69, 245, 140, .24);
}

.signal span:nth-child(1) { height: 44%; }
.signal span:nth-child(2) { height: 66%; }
.signal span:nth-child(3) { height: 86%; }
.signal span:nth-child(4) { height: 58%; }

.connection-list {
  display: grid;
  gap: 10px;
}

.connection-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.connection-list dt {
  color: var(--muted);
}

.connection-list dd {
  font-weight: 900;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.metrics article {
  min-height: 132px;
  padding: 24px;
  border-radius: 22px;
}

.metrics strong {
  display: block;
  color: var(--green);
  font-size: 34px;
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 600;
}

.section {
  padding: 96px 0 0;
}

.section-heading {
  display: grid;
  gap: 15px;
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2,
.cta-section h2 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.feature-card p,
.plan-card li,
.faq p,
.cta-section p,
.footer {
  color: var(--muted);
}

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

.feature-card,
.plan-card {
  border-radius: 22px;
  padding: 26px;
}

.feature-card {
  min-height: 230px;
}

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 14px;
  color: #03120a;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  font-weight: 900;
}

.feature-card h3,
.plan-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.device-grid span {
  min-height: 78px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .045);
  font-weight: 850;
  text-align: center;
}

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

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-card.popular {
  border-color: rgba(69, 245, 140, .62);
  box-shadow: 0 28px 90px rgba(69, 245, 140, .14);
}

.popular-label {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #03120a;
  background: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.price {
  margin: 20px 0;
  color: var(--green);
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
}

.price span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 15px;
}

.plan-card ul {
  list-style: none;
  display: grid;
  gap: 11px;
  margin-bottom: 28px;
}

.plan-card li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
}

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

.faq-list {
  display: grid;
  gap: 14px;
}

.faq details {
  border-radius: 18px;
  padding: 20px 24px;
}

.faq summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
}

.faq p {
  margin-top: 12px;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 96px;
  margin-bottom: 70px;
  padding: 44px;
  border: 1px solid rgba(69, 245, 140, .28);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(69, 245, 140, .16), rgba(83, 213, 255, .08)),
    var(--bg-soft);
}

.cta-section p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 14px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer a {
  color: var(--green);
  font-weight: 850;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 62px;
  }

  .hero-bg {
    inset: 0 calc(50% - 50vw) 32% 10%;
    border-bottom-left-radius: 34px;
    opacity: .7;
  }

  .connection-panel {
    justify-self: start;
  }

  .metrics,
  .features-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
    padding: 32px 22px;
  }
}

@media (max-width: 560px) {
  .nav,
  .hero,
  .metrics,
  .section,
  .cta-section,
  .footer {
    width: min(100% - 24px, 1180px);
  }

  .logo {
    font-size: 18px;
  }

  .nav-cta {
    min-height: 42px;
    padding: 0 13px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .btn {
    width: 100%;
  }

  .connection-panel {
    padding: 18px;
  }

  .metrics {
    margin-top: -12px;
  }

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

  .popular-label {
    position: static;
    width: fit-content;
    margin-bottom: 14px;
  }

  .footer {
    flex-direction: column;
  }
}
