:root {
  --bg: #07070c;
  --panel: #12121b;
  --text: #f2f0f7;
  --muted: #a3a1b3;
  --neon: #ff4fd8;
  --neon2: #39d7ff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px clamp(16px, 4vw, 48px);
  background: linear-gradient(#07070ccc, #07070c00);
  backdrop-filter: blur(6px);
}
.brand { font-weight: 800; font-size: 1.25rem; text-decoration: none; letter-spacing: .02em; }
.brand span, h1 span {
  background: linear-gradient(90deg, var(--neon), var(--neon2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav nav { display: flex; gap: clamp(14px, 3vw, 32px); }
.nav nav a { text-decoration: none; color: var(--muted); font-size: .9rem; transition: color .2s; }
.nav nav a:hover { color: var(--text); }

/* Hero */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: 0 16px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -20px;
  background: center / cover no-repeat;
  filter: brightness(.45) saturate(1.1);
  transition: background-image 1.2s ease;
  animation: drift 30s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--bg));
}
@keyframes drift { from { transform: scale(1.05); } to { transform: scale(1.15) translate(-1%, -1%); } }
.hero-inner { position: relative; z-index: 1; }
h1 {
  font-size: clamp(3.5rem, 13vw, 9rem); font-weight: 800;
  margin: 0; line-height: 1; letter-spacing: -.03em;
  text-shadow: 0 0 60px #ff4fd855;
}
.hero p { color: #dcd9e8; font-size: clamp(1rem, 2.4vw, 1.3rem); margin: 18px 0 32px; }
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 999px;
  text-decoration: none; font-weight: 600;
  border: 1px solid #ffffff40;
  background: #ffffff10; backdrop-filter: blur(8px);
  transition: box-shadow .25s, border-color .25s;
}
.btn:hover { border-color: var(--neon); box-shadow: 0 0 24px #ff4fd866; }

/* Sections */
section { padding: clamp(64px, 10vw, 120px) clamp(16px, 5vw, 64px); scroll-margin-top: -40px; }
.section-title {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin: 0 0 32px;
  letter-spacing: -.02em; text-align: center;
}

/* App chips */
.app-filter {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 0 auto 64px; max-width: 900px;
}
.app-filter a {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--panel); border: 1px solid #ffffff14;
  text-decoration: none; font-size: .9rem;
  transition: border-color .2s, transform .2s;
}
.app-filter a:hover { border-color: var(--accent); transform: translateY(-2px); }
.app-filter img { width: 28px; height: 28px; border-radius: 8px; }

/* App rows */
.app {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 80px);
  align-items: center; max-width: 1100px; margin: 0 auto clamp(80px, 12vw, 140px);
  scroll-margin-top: 80px;
}
.app.flip .app-copy { order: 2; }
.app-copy .icon {
  width: 72px; height: 72px; border-radius: 18px;
  box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 45%, transparent);
}
.app-copy .tag {
  color: var(--accent); text-transform: uppercase; letter-spacing: .18em;
  font-size: .75rem; font-weight: 600; margin: 22px 0 4px;
}
.app-copy h3 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 12px; font-weight: 800; letter-spacing: -.02em; }
.app-copy p:last-child { color: var(--muted); margin: 0; max-width: 46ch; }

.app-shots { display: flex; justify-content: center; gap: clamp(12px, 3vw, 28px); }
.phone {
  all: unset; cursor: zoom-in;
  width: min(44%, 240px);
  border-radius: 28px; overflow: hidden;
  border: 1px solid #ffffff22;
  background: #000;
  box-shadow: 0 30px 60px -20px #000, 0 0 50px -10px color-mix(in srgb, var(--accent) 50%, transparent);
  transition: transform .25s ease, box-shadow .25s;
}
.phone:nth-child(2) { margin-top: 48px; }
.phone:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.phone:hover { box-shadow: 0 40px 70px -20px #000, 0 0 70px -6px color-mix(in srgb, var(--accent) 70%, transparent); }

/* Carousel */
.carousel {
  position: relative; max-width: 1200px; margin: 0 auto;
  border-radius: 20px; overflow: hidden; overflow: clip; outline: none;
  aspect-ratio: 3 / 2; max-height: 78vh; width: 100%; background: #000;
}
.track { display: flex; height: 100%; transition: transform .7s cubic-bezier(.65, 0, .35, 1); }
.slide { position: relative; flex: 0 0 100%; margin: 0; height: 100%; cursor: zoom-in; overflow: hidden; }
/* Every photo shows whole; a blurred copy fills any leftover space. */
.slide::before {
  content: ""; position: absolute; inset: -40px;
  background: var(--bg) center / cover no-repeat;
  filter: blur(30px) brightness(.5);
}
.slide img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid #ffffff40; background: #00000055; backdrop-filter: blur(6px);
  color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
  transition: background .2s;
}
.arrow:hover { background: #000000aa; }
.prev { left: 14px; } .next { right: 14px; }
.dots {
  position: absolute; bottom: 14px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 0 60px;
}
.dots button {
  width: 8px; height: 8px; padding: 0; border-radius: 50%;
  border: none; background: #ffffff66; cursor: pointer; transition: all .3s;
}
.dots button.on { width: 24px; border-radius: 4px; background: #fff; }

/* Videos */
.video-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 28px; max-width: 1200px; margin: 0 auto;
}
.video video {
  display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px;
  background: #000; border: 1px solid #ffffff14;
  box-shadow: 0 30px 60px -25px #000, 0 0 60px -20px #ff4fd855;
}
.video iframe, .video-soon {
  width: 100%; aspect-ratio: 9 / 14; border: 0; border-radius: 20px; background: var(--panel);
}
.video-soon {
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, #ff4fd833, transparent 60%),
              radial-gradient(circle at 70% 80%, #39d7ff33, transparent 60%), var(--panel);
  border: 1px solid #ffffff14;
}
.video-soon span { font-size: 3rem; opacity: .6; }
.video p { text-align: center; font-weight: 600; margin: 14px 0 0; }

/* Footer */
footer {
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
  padding: 40px 16px 56px; color: var(--muted); font-size: .9rem;
  border-top: 1px solid #ffffff10;
}
footer a { text-decoration: none; color: var(--text); }
footer a:hover { color: var(--neon); }

/* Support / privacy pages */
.subpage { display: flex; flex-direction: column; min-height: 100svh; }
.subpage::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 20% 10%, #ff4fd822, transparent 45%),
              radial-gradient(circle at 85% 70%, #39d7ff1c, transparent 45%);
}
.page {
  flex: 1; width: 100%; max-width: 720px; margin: 0 auto;
  padding: clamp(110px, 16vw, 160px) 16px 80px;
}
.eyebrow {
  color: var(--neon); text-transform: uppercase; letter-spacing: .18em;
  font-size: .75rem; font-weight: 600; margin: 0 0 8px;
}
.page h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); text-shadow: none; margin-bottom: 28px; }
.page-card {
  padding: clamp(24px, 5vw, 40px); border-radius: 20px;
  background: var(--panel); border: 1px solid #ffffff14;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
}
.page-card p { margin: 0; }
.page-card .btn { margin-top: 24px; }
.page a:not(.btn) { color: var(--neon2); }
.page-note { color: var(--muted); margin-top: 20px; }
.page-apps { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.page-apps img { width: 48px; height: 48px; border-radius: 12px; opacity: .85; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 50; background: #000000e6;
  display: grid; place-items: center; padding: 24px; cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 92vh; max-width: 100%; border-radius: 16px; cursor: default; }
.close {
  position: absolute; top: 12px; right: 16px; background: none; border: none;
  color: #fff; font-size: 2.5rem; cursor: pointer;
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; text-align: center; }
  .app.flip .app-copy { order: 0; }
  .app-copy .icon { margin: 0 auto; }
  .app-copy p:last-child { margin: 0 auto; }
  .carousel { aspect-ratio: 4 / 3; }
  .arrow { width: 40px; height: 40px; font-size: 1.6rem; }
  .nav nav a { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .track { transition: none; }
}
