:root {
  --bg: #081018;
  --panel: #111c28;
  --ink: #eef7fb;
  --muted: #a4b7c5;
  --brand: #20d9be;
  --accent: #ffb454;
  --pink: #ff4fd8;
  --blue: #5aa7ff;
  --line: rgba(181, 225, 244, 0.18);
  --warn: #ffd1bf;
  --shadow: 0 18px 52px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 14% -12%, rgba(32, 217, 190, 0.28), transparent 62%),
    radial-gradient(820px 460px at 96% 4%, rgba(255, 79, 216, 0.18), transparent 60%),
    linear-gradient(180deg, #0d1722 0%, #081018 46%, #0b1117 100%),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}

a {
  color: var(--brand);
}

.container {
  width: min(980px, 92vw);
  margin: 0 auto;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-decoration: none;
  color: var(--ink);
}

.brand::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow:
    0 0 14px rgba(32, 217, 190, 0.95),
    11px 0 18px rgba(255, 180, 84, 0.65),
    22px 0 20px rgba(255, 79, 216, 0.55);
}

nav {
  display: flex;
  gap: 14px;
}

nav a {
  text-decoration: none;
  color: #d8e7ef;
  font-weight: 650;
  padding: 8px 10px;
  border-radius: 8px;
}

nav a:hover,
nav a[aria-current="page"] {
  background: rgba(32, 217, 190, 0.12);
  color: #ffffff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 44px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(32, 217, 190, 0.18), rgba(255, 180, 84, 0.1), rgba(255, 79, 216, 0.14)),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(255, 255, 255, 0.035) 43px 44px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 420px);
  gap: 42px;
  align-items: center;
}

.hero-copy {
  max-width: 660px;
}

.badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 6px 10px;
  border: 1px solid rgba(32, 217, 190, 0.35);
  border-radius: 8px;
  background: rgba(32, 217, 190, 0.1);
  color: #8ff7e8;
  font-weight: 700;
  font-size: 0.85rem;
}

h1 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  max-width: 11ch;
  text-wrap: balance;
}

.lead {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.cta-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand), var(--blue));
  color: #061019;
  text-decoration: none;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(32, 217, 190, 0.22);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 34px rgba(90, 167, 255, 0.32);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

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

.glow-field {
  position: absolute;
  inset: 18px 0 auto 14px;
  height: 300px;
  border-radius: 46% 54% 51% 49%;
  background:
    radial-gradient(circle at 20% 40%, rgba(32, 217, 190, 0.44), transparent 34%),
    radial-gradient(circle at 74% 20%, rgba(255, 79, 216, 0.34), transparent 33%),
    radial-gradient(circle at 58% 78%, rgba(255, 180, 84, 0.28), transparent 32%);
  filter: blur(22px);
}

.light-panel {
  position: relative;
  min-height: 500px;
  border: 1px solid rgba(181, 225, 244, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.02)),
    rgba(11, 21, 31, 0.78);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.light-panel::before,
.light-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(14px);
}

.light-panel::before {
  width: 210px;
  height: 210px;
  right: -76px;
  top: 26px;
  background: rgba(255, 79, 216, 0.2);
}

.light-panel::after {
  width: 220px;
  height: 220px;
  left: -88px;
  bottom: 38px;
  background: rgba(32, 217, 190, 0.2);
}

.panel-topline {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  gap: 8px;
}

.panel-topline span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px currentColor;
}

.panel-topline span:nth-child(2) {
  color: var(--accent);
  background: var(--accent);
}

.panel-topline span:nth-child(3) {
  color: var(--pink);
  background: var(--pink);
}

.phone-frame {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(260px, 68vw);
  aspect-ratio: 1206 / 2479;
  transform: translate(-50%, -50%) rotate(-5deg);
  border: 8px solid #05080d;
  border-radius: 34px;
  background: #05080d;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.4),
    0 0 46px rgba(32, 217, 190, 0.18);
  overflow: hidden;
}

.phone-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.app-screenshot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.led-strip {
  position: absolute;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 11px;
  width: 94%;
  left: 3%;
  padding: 11px;
  border-radius: 999px;
  background: rgba(2, 6, 10, 0.55);
  border: 1px solid rgba(181, 225, 244, 0.18);
}

.led-strip-top {
  top: 66px;
  transform: rotate(8deg);
}

.led-strip-bottom {
  bottom: 58px;
  transform: rotate(-9deg);
}

.led-strip span {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 16px rgba(32, 217, 190, 0.95);
}

.led-strip span:nth-child(2),
.led-strip span:nth-child(6) {
  background: var(--blue);
  box-shadow: 0 0 16px rgba(90, 167, 255, 0.95);
}

.led-strip span:nth-child(3),
.led-strip span:nth-child(7) {
  background: var(--pink);
  box-shadow: 0 0 16px rgba(255, 79, 216, 0.95);
}

.led-strip span:nth-child(4),
.led-strip span:nth-child(8) {
  background: var(--accent);
  box-shadow: 0 0 16px rgba(255, 180, 84, 0.95);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 42px;
}

.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.card-light {
  display: block;
  width: 34px;
  height: 6px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 20px rgba(32, 217, 190, 0.95);
}

.card-light-warm {
  background: var(--accent);
  box-shadow: 0 0 20px rgba(255, 180, 84, 0.95);
}

.card-light-cool {
  background: var(--blue);
  box-shadow: 0 0 20px rgba(90, 167, 255, 0.95);
}

.card h2 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

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

.legal {
  padding-top: 36px;
  padding-bottom: 52px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(17, 28, 40, 0.58);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 34px;
  margin-bottom: 42px;
  padding-left: clamp(18px, 4vw, 34px);
  padding-right: clamp(18px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.legal h1 {
  margin-bottom: 6px;
}

.legal h2 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.legal p,
.legal li {
  color: #c3d4df;
}

.legal ul {
  padding-left: 1.2rem;
}

.muted {
  color: var(--muted);
}

.warning {
  margin-top: 20px;
  padding: 10px 12px;
  border-left: 4px solid var(--accent);
  background: rgba(255, 180, 84, 0.12);
  color: var(--warn);
  border-radius: 6px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 16px 0 28px;
}

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

.footer-wrap p {
  margin: 0;
  color: var(--muted);
}

.dot {
  margin: 0 8px;
}

@media (max-width: 840px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .hero {
    padding-top: 40px;
  }

  h1 {
    max-width: 12ch;
  }

  .nav {
    min-height: 62px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .light-panel {
    min-height: 450px;
  }

  .phone-frame {
    width: min(226px, 70vw);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 980px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
  }

  nav a {
    padding-left: 0;
  }

  .cta-row {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }

  .hero-visual {
    min-height: 405px;
  }

  .light-panel {
    min-height: 390px;
  }

  .phone-frame {
    width: min(188px, 66vw);
    border-width: 7px;
    border-radius: 28px;
  }

  .app-screenshot,
  .phone-frame::after {
    border-radius: 20px;
  }

  .led-strip {
    gap: 8px;
    padding: 9px;
  }
}
