:root {
  color-scheme: dark;
  --bg: #07080c;
  --bg-soft: #10131a;
  --text: #f7f8fb;
  --muted: #a9b0bd;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(10, 14, 20, 0.12);
  --accent: #4ee7b1;
  --accent-2: #66b7ff;
  --accent-3: #ff6b5f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::selection {
  background: rgba(78, 231, 177, 0.34);
}

a {
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  border-radius: 8px;
  background: #fff;
  color: #05070b;
  padding: 10px 14px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  width: min(calc(100% - 28px), var(--max));
  min-height: 58px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(9, 11, 16, 0.44);
  padding: 9px 10px 9px 16px;
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  transition:
    background 240ms ease,
    border-color 240ms ease,
    transform 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(9, 11, 16, 0.72);
  border-color: rgba(255, 255, 255, 0.22);
}

.brand,
.site-nav,
.nav-cta,
.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(78, 231, 177, 0.28), transparent 55%),
    rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

.site-nav {
  justify-content: center;
  gap: 8px;
}

.site-nav a,
.nav-cta {
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 650;
  padding: 0 14px;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.nav-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav-cta {
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 120px 24px 92px;
  isolation: isolate;
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: -3;
  object-fit: cover;
  transform: scale(var(--hero-scale, 1));
  filter: saturate(1.08) contrast(1.06);
}

.hero-shade {
  z-index: -2;
  background:
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 42%), rgba(102, 183, 255, 0.25), transparent 34%),
    linear-gradient(180deg, rgba(7, 8, 12, 0.32), rgba(7, 8, 12, 0.16) 36%, #07080c 96%),
    linear-gradient(90deg, rgba(7, 8, 12, 0.82), rgba(7, 8, 12, 0.24));
}

.hero-content {
  width: min(100%, var(--max));
  margin: 0 auto;
  transform: translateY(var(--hero-lift, 0));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 900px;
  margin: 0;
  font-size: clamp(4.2rem, 14vw, 10.8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2.3vw, 1.48rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 760;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border: 1px solid rgba(78, 231, 177, 0.52);
  background: linear-gradient(135deg, #58f2b8, #68b8ff);
  color: #031009;
  box-shadow: 0 18px 52px rgba(78, 231, 177, 0.22);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 28px;
  height: 46px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  display: grid;
  justify-items: center;
  padding-top: 9px;
}

.scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  animation: cue 1.5s ease-in-out infinite;
}

@keyframes cue {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  45% {
    transform: translateY(12px);
    opacity: 1;
  }
}

.section {
  position: relative;
  padding: clamp(76px, 10vw, 138px) 24px;
}

.section-light {
  background: #f5f7fb;
  color: #090d14;
}

.section-dark {
  background:
    radial-gradient(circle at 12% 10%, rgba(78, 231, 177, 0.14), transparent 32%),
    linear-gradient(180deg, #07080c, #111722);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.lead,
.showcase-copy p,
.news-card p {
  color: #4d5664;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  line-height: 1.68;
}

.section-dark .lead,
.section-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(30px, 5vw, 58px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at var(--card-x, 50%) var(--card-y, 0%), rgba(102, 183, 255, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  padding: 26px;
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    background 240ms ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(78, 231, 177, 0.45);
}

.feature-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 34px;
}

.feature-card h3 {
  min-height: 2.4em;
  margin-bottom: 12px;
}

.feature-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
}

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

.detail-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 24px;
}

.detail-item h3 {
  margin-bottom: 12px;
}

.detail-item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

.showcase {
  overflow: hidden;
  background: #07080c;
}

.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 107, 95, 0.12), transparent 28%),
    radial-gradient(circle at 78% 38%, rgba(78, 231, 177, 0.18), transparent 34%);
  pointer-events: none;
}

.showcase-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: center;
}

.showcase-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.device-frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  padding: 12px;
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.48);
}

.device-screen {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px;
  background: #111;
}

.device-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card {
  display: grid;
  grid-template-columns: 272px 1fr;
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fff;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 24px 70px rgba(21, 31, 45, 0.08);
}

.news-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
}

.news-card p {
  margin: 12px 0 0;
}

.news-date {
  color: #687283;
  font-size: 0.9rem;
  font-weight: 750;
}

.faq-section {
  background:
    linear-gradient(90deg, rgba(102, 183, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #0a0d13, #07080c);
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 780;
}

.faq-list p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.final-cta {
  position: relative;
  min-height: 68svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 86px 24px;
  background:
    linear-gradient(180deg, rgba(7, 8, 12, 0.1), #07080c 80%),
    url("/assets/hero-overlay.png") center / cover;
  text-align: center;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(78, 231, 177, 0.2), transparent 34%),
    rgba(7, 8, 12, 0.64);
}

.final-cta-inner {
  position: relative;
  width: min(100%, 840px);
}

.final-cta .button {
  margin-top: 28px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.68);
  background: #07080c;
}

.site-footer a {
  text-decoration: none;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav a:hover {
  color: #fff;
}

.reveal {
  transform: translateY(34px);
  opacity: 0;
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding-inline: 18px;
  }

  .split,
  .showcase-inner,
  .news-card {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .news-card img {
    max-width: 340px;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 10px;
    width: calc(100% - 18px);
    padding-left: 10px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero-title {
    font-size: clamp(3.25rem, 19vw, 5.3rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 220px;
  }

  .section {
    padding-inline: 18px;
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    transform: none;
    opacity: 1;
  }
}
