:root {
  --bg: #08080c;
  --bg-elevated: #101018;
  --surface: #161622;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f5f7;
  --muted: #a0a0b2;
  --accent: #6b4ee6;
  --accent-soft: rgba(107, 78, 230, 0.22);
  --teal: #2ec4b6;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --font: "Outfit", system-ui, sans-serif;
  --display: "Syne", "Outfit", sans-serif;
  --container: min(1120px, calc(100% - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.bg-glow {
  position: fixed;
  inset: -20% auto auto 40%;
  width: 55vw;
  height: 55vw;
  background:
    radial-gradient(circle, rgba(107, 78, 230, 0.28), transparent 65%),
    radial-gradient(circle at 20% 80%, rgba(46, 196, 182, 0.12), transparent 50%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -2;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(8, 8, 12, 0.78);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-icon {
  border-radius: 10px;
}

.brand-name {
  font-size: 1.15rem;
}

.header-nav {
  display: none;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.header-nav a:hover {
  color: var(--text);
}

.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 3rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-hero {
  display: block;
  font-family: var(--display);
  font-size: clamp(3.4rem, 12vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
  background: linear-gradient(120deg, #fff 20%, #c4b5fd 55%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-line {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 1.1rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
}

.store-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.6rem 0 1.5rem;
}

.store-meta-item {
  min-width: 7.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.store-meta-item strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
}

.store-meta-item span {
  color: #fbbf24;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.store-meta-item small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.hero-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-sm {
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}

.btn-download {
  overflow: hidden;
  color: white;
  background: linear-gradient(135deg, #7c5cff, var(--accent) 45%, #4f35c8);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 12px 40px rgba(107, 78, 230, 0.45);
  text-align: left;
}

.btn-download:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 18px 50px rgba(107, 78, 230, 0.55);
}

.btn-label {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.btn-label strong {
  font-size: 1rem;
}

.btn-label em {
  font-style: normal;
  font-weight: 500;
  font-size: 0.75rem;
  opacity: 0.88;
}

.btn-icon {
  flex-shrink: 0;
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
}

.btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  animation: shine 2.8s ease-in-out infinite;
}

.btn-pulse {
  animation: pulse-glow 2.4s ease-in-out infinite;
}

@keyframes shine {
  0%,
  55% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.12) inset,
      0 12px 40px rgba(107, 78, 230, 0.4);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.2) inset,
      0 16px 52px rgba(107, 78, 230, 0.7),
      0 0 0 8px rgba(107, 78, 230, 0.12);
  }
}

.hero-visual {
  position: relative;
  min-height: 280px;
}

.device {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.device img {
  width: 100%;
  object-fit: cover;
}

.device-tv {
  animation: float-y 7s ease-in-out infinite;
}

.device-phone {
  position: absolute;
  width: min(38%, 180px);
  right: 4%;
  bottom: -8%;
  border-radius: 22px;
  animation: float-y 5.5s ease-in-out infinite reverse;
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.trust-strip {
  padding: 3rem 0;
  border-block: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(107, 78, 230, 0.08), transparent);
}

.trust-grid {
  display: grid;
  gap: 1.75rem;
}

.trust-grid h2 {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: -0.03em;
}

.trust-grid p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.trust-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.trust-stats li {
  padding: 1rem;
  border-radius: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.trust-stats strong {
  display: block;
  font-size: 1.15rem;
}

.trust-stats span {
  color: var(--muted);
  font-size: 0.88rem;
}

.features,
.devices,
.install {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
}

.section-head p:last-child {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

.feature-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(107, 78, 230, 0.45);
  transform: translateY(-3px);
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.device-gallery {
  display: grid;
  gap: 1rem;
}

.device-gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.device-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.device-gallery figcaption {
  padding: 0.85rem 1rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-band {
  padding: 2.5rem 0;
}

.cta-band-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(46, 196, 182, 0.18), transparent 45%),
    linear-gradient(135deg, #1a1430, #12101c 55%, #0f1b1a);
  border: 1px solid var(--border);
}

.cta-band h2 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.cta-band p {
  margin: 0;
  color: var(--muted);
}

.install-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 0.9rem;
}

.install-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  padding: 1.1rem 1.15rem;
  border-radius: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.install-steps li::before {
  content: counter(step);
  grid-row: 1 / span 2;
  align-self: center;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #ddd6fe;
  font-weight: 800;
}

.install-steps strong {
  font-size: 1.05rem;
}

.install-steps span {
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: #06060a;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

.footer-brand p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  max-width: 28rem;
  font-size: 0.95rem;
}

.site-footer h3 {
  margin: 0 0 0.7rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer a:hover {
  color: #c4b5fd;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-disclaimer {
  margin: 0.35rem 0 0;
}

.legal-page {
  padding: 4rem 0 5rem;
  max-width: 48rem;
}

.legal-page h1 {
  font-family: var(--display);
  margin-bottom: 1rem;
}

.legal-page p {
  color: var(--muted);
}

@media (min-width: 720px) {
  .header-nav {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }

  .trust-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }

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

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

  .device-gallery figure:first-child {
    grid-row: span 2;
  }

  .device-gallery figure:first-child img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 100%;
    object-fit: cover;
  }

  .cta-band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

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

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

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .device-phone {
    width: 200px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn-pulse,
  .btn-shine,
  .device-tv,
  .device-phone {
    animation: none;
  }
}
