:root {
  color-scheme: dark;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #f3f3f5;
  background:
    radial-gradient(circle at 52% 46%, rgba(18, 73, 168, 0.28), rgba(10, 12, 26, 0) 35%),
    radial-gradient(circle at 88% 85%, rgba(18, 73, 168, 0.22), rgba(5, 6, 17, 0) 28%),
    linear-gradient(180deg, #070a1b 0%, #070919 100%);
}

.canvas {
  position: relative;
  height: 100vh;
  overflow: hidden;
  padding: 16px 20px 40px;
}

.star-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.static-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.static-stars span {
  position: absolute;
  left: var(--left);
  top: var(--top);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: rgba(189, 228, 255, 0.78);
  box-shadow: 0 0 7px rgba(95, 183, 255, 0.45);
  animation: twinkleStatic 7.5s ease-in-out infinite;
}

.star-field span {
  position: absolute;
  left: var(--left);
  bottom: -14px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: rgba(171, 220, 255, 0.9);
  box-shadow: 0 0 8px rgba(93, 181, 255, 0.65);
  animation: rise var(--dur, 14s) linear infinite;
  animation-delay: calc(var(--delay) * -1);
}

@keyframes twinkleStatic {
  0% {
    opacity: 0.35;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.4;
  }
}

@keyframes rise {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  100% {
    transform: translate(var(--drift, 0px), -118vh);
    opacity: 0;
  }
}

.hero {
  position: relative;
  z-index: 1;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 18px 24px;
}

.hero::before,
.hero::after {
  content: none;
}

.nav {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1140px, calc(100% - 34px));
  padding: 9px 18px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(57, 145, 255, 0.36);
  background: linear-gradient(180deg, #081737, #06142f);
  box-shadow:
    inset 0 1px 0 rgba(145, 219, 255, 0.15),
    0 0 0 1px rgba(11, 54, 122, 0.4),
    0 0 24px rgba(20, 131, 255, 0.22),
    0 10px 30px rgba(2, 7, 20, 0.55);
  backdrop-filter: none;
  transition:
    top 0.22s ease,
    padding 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

body.scrolled .nav {
  top: 6px;
  padding: 6px 14px;
  border-color: rgba(70, 160, 255, 0.44);
  background: linear-gradient(180deg, #07142f, #061229);
  box-shadow:
    inset 0 1px 0 rgba(145, 219, 255, 0.14),
    0 0 0 1px rgba(11, 54, 122, 0.44),
    0 0 20px rgba(20, 131, 255, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  color: #f7f9ff;
  text-transform: none;
  transition: font-size 0.22s ease;
}

body.scrolled .logo {
  font-size: 16px;
}

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

.nav-links a {
  text-decoration: none;
  color: rgba(183, 211, 255, 0.86);
  font-size: 14px;
  font-weight: 600;
  transition: font-size 0.22s ease, color 0.22s ease;
}

.nav-links a:hover {
  color: #d9f0ff;
}

body.scrolled .nav-links a {
  font-size: 13px;
}

.pill {
  border: 0;
  border-radius: 999px;
  padding: 13px 32px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, #2068ff 0%, #17c4f6 100%);
  box-shadow: 0 12px 24px rgba(20, 124, 255, 0.4);
  transition: padding 0.22s ease, font-size 0.22s ease;
}

body.scrolled .pill {
  padding: 10px 24px;
  font-size: 13px;
}

.hero-content {
  max-width: 980px;
  margin: 150px auto 0;
  text-align: center;
}

.tag {
  display: inline-flex;
  margin: 0 0 16px;
  border: 1px solid rgba(58, 143, 255, 0.72);
  border-radius: 999px;
  padding: 7px 18px;
  color: rgba(232, 233, 239, 0.88);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
}

h1 {
  margin: 0;
  font-size: clamp(50px, 6.2vw, 72px);
  line-height: 1;
  color: #f6f6f8;
}

.lede {
  margin: 14px 0 0;
  font-size: clamp(16px, 1.8vw, 26px);
  line-height: 1.18;
  font-weight: 600;
  color: rgba(240, 240, 246, 0.87);
}

.sub-lede {
  margin: 4px 0 0;
  font-size: clamp(13px, 1.3vw, 20px);
  line-height: 1.18;
  font-weight: 500;
  color: rgba(240, 240, 246, 0.72);
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 28px 0 44px;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 10px 22px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}

.primary {
  background: linear-gradient(180deg, #2c7dff 0%, #18bff8 100%);
  box-shadow: 0 16px 40px rgba(24, 113, 255, 0.38);
}

.secondary {
  border-color: rgba(58, 143, 255, 0.48);
  background: rgba(13, 28, 59, 0.55);
  color: rgba(233, 243, 255, 0.94);
}

.secondary svg {
  opacity: 0.86;
}

.address {
  display: flex;
  justify-content: center;
}

.window {
  width: min(950px, 100%);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 20px;
  border: 1px solid rgba(78, 106, 160, 0.42);
  background:
    linear-gradient(180deg, rgba(12, 15, 34, 0.92), rgba(10, 14, 31, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 34px rgba(4, 5, 15, 0.45);
}

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

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) {
  background: #ff5f57;
}

.window-dots span:nth-child(2) {
  background: #ffbd2f;
}

.window-dots span:nth-child(3) {
  background: #28c840;
}

.search-shell {
  height: 38px;
  flex: 1;
  border: 1px solid rgba(119, 124, 147, 0.34);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(56, 58, 76, 0.34), rgba(38, 42, 62, 0.28));
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 12px;
}

.search-icon {
  color: rgba(184, 188, 204, 0.9);
  display: inline-flex;
}

.window input {
  border: 0;
  height: 100%;
  flex: 1;
  background: transparent;
  color: rgba(247, 247, 251, 0.98);
  padding: 0;
  font-family: inherit;
  font-size: clamp(13px, 1.35vw, 32px);
  font-weight: 700;
}

.window input:focus {
  outline: none;
}

.stats {
  margin: 38px auto 0;
  max-width: 780px;
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 78px;
}

.value {
  margin: 0;
  font-size: clamp(66px, 7.5vw, 84px);
  font-weight: 700;
  line-height: 1;
  color: #46c4ff;
}

.caption {
  margin: 8px 0 0;
  color: rgba(219, 221, 232, 0.62);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 500;
}

.section {
  position: relative;
  z-index: 1;
  padding: 110px 20px 0;
}

.section-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

h2 {
  margin: 0 0 34px;
  text-align: center;
  font-size: clamp(34px, 4vw, 56px);
  color: #f6fbff;
}

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

.feature-card {
  border: 1px solid rgba(84, 129, 201, 0.28);
  border-radius: 22px;
  background: rgba(8, 14, 34, 0.72);
  padding: 24px 22px;
}

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(90, 166, 255, 0.4);
  display: grid;
  place-items: center;
  color: #7bc8ff;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.feature-card p {
  margin: 0;
  color: rgba(213, 223, 243, 0.76);
  font-size: 16px;
  line-height: 1.5;
}

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

.product-card {
  border: 1px solid rgba(84, 129, 201, 0.3);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(8, 14, 34, 0.75);
}

.thumb {
  height: 170px;
  background:
    radial-gradient(circle at 70% 20%, rgba(62, 140, 255, 0.36), transparent 44%),
    linear-gradient(135deg, #0c2a5d, #0d1633);
  border-bottom: 1px solid rgba(84, 129, 201, 0.3);
}

.product-card h4 {
  margin: 14px 16px 6px;
  font-size: 29px;
}

.product-card p {
  margin: 0 16px 14px;
  color: rgba(215, 225, 245, 0.74);
  font-size: 14px;
}

.product-actions {
  display: flex;
  gap: 10px;
  padding: 0 16px 16px;
}

.ghost-btn,
.solid-btn {
  border-radius: 999px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.ghost-btn {
  flex: 1;
  color: #cce5ff;
  border-color: rgba(102, 160, 255, 0.36);
  background: rgba(18, 33, 68, 0.6);
}

.solid-btn {
  color: #fff;
  border-color: rgba(76, 168, 255, 0.6);
  background: linear-gradient(90deg, #2576ff 0%, #19c2f8 100%);
}

.cta-band {
  padding-top: 90px;
}

.cta-wrap {
  min-height: 320px;
  display: grid;
  place-items: center;
  align-content: center;
  border-top: 1px solid rgba(84, 129, 201, 0.22);
  border-bottom: 1px solid rgba(84, 129, 201, 0.22);
}

.cta-wrap h2 {
  margin-bottom: 20px;
}

.footer {
  padding: 28px 20px 44px;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.footer h5 {
  margin: 0 0 8px;
  font-size: 28px;
}

.footer p {
  margin: 0;
  color: rgba(212, 223, 244, 0.75);
  font-size: 14px;
}

.copy {
  text-align: right;
}

@media (max-width: 980px) {
  .hero {
    padding: 0 8px 30px;
  }

  .nav {
    top: 8px;
    width: calc(100% - 16px);
    padding: 10px 12px;
    border-radius: 18px;
    transform: translateX(-50%);
  }

  .logo {
    font-size: 22px;
  }

  .nav-links {
    gap: 11px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    font-size: 13px;
  }

  body.scrolled .nav-links a {
    font-size: 12px;
  }

  .pill {
    padding: 10px 16px;
    font-size: 13px;
  }

  body.scrolled .pill {
    padding: 8px 14px;
    font-size: 12px;
  }

  .hero-content {
    margin-top: 52px;
  }

  .tag {
    font-size: 11px;
    padding: 6px 12px;
    letter-spacing: 0.16em;
  }

  h1 {
    font-size: clamp(40px, 11vw, 60px);
  }

  .lede,
  .sub-lede {
    font-size: clamp(14px, 4.5vw, 22px);
  }

  .hero-ctas {
    margin: 22px 0 24px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .primary,
  .secondary {
    font-size: clamp(15px, 4.4vw, 24px);
    padding: 12px 22px;
  }

  .window {
    padding: 10px 10px;
    border-radius: 16px;
  }

  .window-dots span {
    width: 10px;
    height: 10px;
  }

  .search-shell {
    height: 34px;
    padding: 0 10px;
  }

  .window input {
    height: 100%;
    font-size: clamp(12px, 3.2vw, 16px);
    padding: 0;
  }

  .stats {
    margin-top: 28px;
    gap: 24px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .value {
    font-size: clamp(48px, 12vw, 68px);
  }

  .caption {
    margin-top: 8px;
    font-size: clamp(14px, 4.6vw, 22px);
  }

  .section {
    padding-top: 72px;
  }

  h2 {
    margin-bottom: 22px;
    font-size: clamp(26px, 8.5vw, 36px);
  }

  .feature-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .feature-card h3 {
    font-size: 22px;
  }

  .feature-card p {
    font-size: 15px;
  }

  .product-card h4 {
    font-size: 24px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .copy {
    text-align: left;
  }
}