:root {
  --night: #031018;
  --deep: #061d29;
  --panel: #092838;
  --panel-soft: rgba(12, 51, 68, .72);
  --cyan: #50e7ff;
  --cyan-bright: #b9f7ff;
  --green: #83ffb4;
  --orange: #ff9e57;
  --text: #f5fbff;
  --muted: #a9c1cb;
  --line: rgba(106, 226, 246, .2);
  --container: 1180px;
  --radius: 26px;
  --shadow: 0 30px 90px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 8%, rgba(38, 171, 205, .16), transparent 28rem),
    radial-gradient(circle at 10% 42%, rgba(28, 99, 117, .13), transparent 32rem),
    var(--night);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(80, 231, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 231, 255, .035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 16, 24, .78);
  backdrop-filter: blur(18px) saturate(130%);
}
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand {
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: .17em;
}
.brand span { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 27px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 650; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--cyan-bright); }

.hero { min-height: 790px; display: flex; align-items: center; position: relative; isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  inset: 8% -15% auto auto;
  width: min(62vw, 850px);
  aspect-ratio: 1;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80, 231, 255, .15), rgba(7, 44, 59, .05) 48%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(55px, 8vw, 120px); align-items: center; padding-block: 110px; }
.eyebrow { margin-bottom: 19px; color: var(--cyan); font-size: .76rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.035em; }
h1 { max-width: 780px; margin-bottom: 29px; font-size: clamp(3.8rem, 7.5vw, 7.1rem); font-weight: 840; }
h1 span { display: block; color: var(--cyan); }
.lead { max-width: 690px; margin-bottom: 35px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid var(--cyan);
  border-radius: 9px;
  color: #021117;
  background: var(--cyan);
  box-shadow: 0 10px 35px rgba(80, 231, 255, .17);
  text-decoration: none;
  font-weight: 780;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--cyan-bright); box-shadow: 0 14px 40px rgba(80, 231, 255, .27); }
.button.secondary { color: var(--cyan-bright); background: rgba(7, 39, 52, .62); border-color: var(--line); box-shadow: none; }
.button.secondary:hover { background: rgba(11, 62, 80, .75); }

.icon-wrap { width: min(100%, 390px); justify-self: center; position: relative; }
.app-icon { width: 100%; position: relative; z-index: 2; border-radius: 23%; box-shadow: var(--shadow), 0 0 0 1px rgba(146, 244, 255, .21); }
.signal-ring { position: absolute; inset: 4%; border: 1px solid rgba(80, 231, 255, .28); border-radius: 50%; animation: signal 4.2s ease-out infinite; }
.ring-two { animation-delay: 2.1s; }
@keyframes signal { 0% { opacity: .62; transform: scale(.75); } 75%, 100% { opacity: 0; transform: scale(1.45); } }

.section { padding: clamp(88px, 10vw, 145px) 0; position: relative; }
.section.alt { border-block: 1px solid rgba(80, 231, 255, .1); background: linear-gradient(180deg, rgba(6, 29, 41, .74), rgba(5, 24, 34, .48)); }
.section-heading { max-width: 820px; margin-bottom: 58px; }
.section-heading h2, .cta h2 { margin-bottom: 22px; font-size: clamp(2.5rem, 5vw, 4.8rem); font-weight: 790; }
.section-heading > p, .cta p { color: var(--muted); font-size: 1.13rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  min-height: 330px;
  padding: clamp(30px, 4vw, 47px);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(11, 50, 67, .86), rgba(4, 26, 37, .84));
  box-shadow: 0 16px 50px rgba(0,0,0,.16);
}
.card::after { content: ""; position: absolute; width: 145px; height: 1px; right: -30px; bottom: 36px; background: var(--cyan); box-shadow: 0 0 15px var(--cyan); transform: rotate(-32deg); opacity: .45; }
.feature-number { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 58px; border: 1px solid var(--line); border-radius: 50%; color: var(--cyan); font-weight: 800; }
.card h3 { margin-bottom: 14px; font-size: 1.55rem; }
.card p { color: var(--muted); }

.system-strip {
  min-height: 185px;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  gap: 36px;
  padding: 36px clamp(25px, 5vw, 65px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 27, 38, .66);
}
.system-strip > div:not(.bus) { display: flex; flex-direction: column; }
.system-strip strong { color: var(--cyan); font-size: 2rem; letter-spacing: .08em; }
.system-strip span { color: var(--muted); }
.bus { display: flex; justify-content: space-between; gap: 12px; }
.bus span { height: 5px; flex: 1; border-radius: 99px; background: var(--cyan); box-shadow: 0 0 13px var(--cyan); animation: busPulse 1.7s ease-in-out infinite alternate; }
.bus span:nth-child(2) { animation-delay: .2s; }.bus span:nth-child(3) { animation-delay: .4s; }.bus span:nth-child(4) { animation-delay: .6s; }
@keyframes busPulse { to { opacity: .24; transform: scaleX(.7); } }

.screenshots { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(15px, 3vw, 30px); }
.screenshot { width: 100%; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); transition: transform .35s ease; }
.screenshot:nth-child(2) { transform: translateY(32px); }
.screenshot:hover { transform: translateY(-6px); }
.screenshot:nth-child(2):hover { transform: translateY(24px); }

.cta { min-height: 250px; display: flex; align-items: center; justify-content: space-between; gap: 45px; padding: clamp(38px, 5vw, 65px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(115deg, rgba(15, 65, 84, .76), rgba(6, 31, 43, .6)); }
.cta h2 { margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3.6rem); }
.cta p { margin-bottom: 0; }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 28px; font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--cyan); }

@media (max-width: 850px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .icon-wrap { grid-row: 1; width: 240px; }
  .feature-grid { grid-template-columns: 1fr; }
  .card { min-height: 260px; }
  .feature-number { margin-bottom: 35px; }
  .system-strip { grid-template-columns: 1fr; text-align: center; }
  .screenshots { max-width: 440px; grid-template-columns: 1fr; margin-inline: auto; }
  .screenshot:nth-child(2) { transform: none; }
  .screenshot:nth-child(2):hover { transform: translateY(-6px); }
  .cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .nav { min-height: 88px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; }
  .nav-links { width: 100%; gap: 14px; overflow-x: auto; white-space: nowrap; }
  .hero-grid { padding-block: 75px 90px; }
  .container { width: min(var(--container), calc(100% - 24px)); }
  .section { padding-block: 78px; }
  .footer-grid { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 30px; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
