/* ============ TOKENS & RESET ============ */
:root {
  --bg: #0F0F13;
  --surface: #1A1A21;
  --lime: #C8F25D;
  --text: #FFFFFF;
  --muted: #9CA3AF;
  --border: rgba(255, 255, 255, 0.08);
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --nav-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* subtle grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 999;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.accent { color: var(--lime); }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow { max-width: 760px; }

.section__title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  margin-bottom: 2.5rem;
}

section { padding: 5rem 0; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn--pill {
  background: var(--lime);
  color: var(--bg);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
}
.btn--pill:hover { transform: scale(1.04); }

.btn--play {
  background: var(--lime);
  color: var(--bg);
  padding: 0.8rem 1.5rem;
  border-radius: 14px;
  line-height: 1.15;
}
.btn--play small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.btn--play span { display: block; font-size: 1.05rem; }
.btn--play:hover { transform: translateY(-2px); }

.btn--big { padding: 1rem 2rem; }
.btn--big span { font-size: 1.2rem; }

.btn--ghost {
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--muted);
}
.btn--ghost:hover { border-color: var(--lime); color: var(--text); }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: rgba(15, 15, 19, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav__dot { color: var(--lime); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.nav__links a:not(.btn):hover { color: var(--text); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav__burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* mobile nav */
@media (max-width: 720px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem 20px 2rem;
    background: rgba(15, 15, 19, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }
  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.open span:nth-child(2) { opacity: 0; }
  .nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============ HERO ============ */
.hero {
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.6rem, 8vw, 4.8rem);
  margin-bottom: 1.4rem;
}

.hero__sub {
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  max-width: 30rem;
  margin-bottom: 2.2rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (min-width: 880px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; }
}

/* phone mockup */
.hero__phone { display: flex; justify-content: center; }

.phone {
  width: min(300px, 80vw);
  aspect-ratio: 9 / 19;
  background: #08080b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  padding: 10px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(200, 242, 93, 0.06);
}

.phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1f1f26;
  z-index: 2;
}

.phone__screen {
  height: 100%;
  background: var(--bg);
  border-radius: 28px;
  padding: 3rem 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  overflow: hidden;
}

.phone__greeting {
  color: var(--muted);
  font-size: 0.8rem;
}

.phone__stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.phone__stat--big .phone__value { font-size: 2.4rem; }

.phone__label {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phone__value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.15;
}

.phone__row { display: flex; gap: 0.7rem; }

.phone__button {
  margin-top: auto;
  background: var(--lime);
  color: var(--bg);
  font-family: var(--font-head);
  font-weight: 700;
  text-align: center;
  padding: 0.9rem;
  border-radius: 999px;
}

.phone__micro {
  text-align: center;
  color: var(--muted);
  font-size: 0.7rem;
}

/* ============ MIRROR / STATS ============ */
.mirror { padding-top: 3rem; }

.mirror__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 720px) {
  .mirror__grid { grid-template-columns: repeat(3, 1fr); }
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.5rem;
}

.stat-card__number {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3rem);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 0.4rem;
}

.stat-card__label { color: var(--muted); font-size: 0.95rem; }

.mirror__line {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 3vw, 1.3rem);
}

/* ============ FEATURES ============ */
.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features__grid { grid-template-columns: repeat(3, 1fr); } }

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

.feature-card:hover {
  border-color: rgba(200, 242, 93, 0.35);
  transform: translateY(-3px);
}

.feature-card__icon {
  width: 34px;
  height: 34px;
  color: var(--lime);
  margin-bottom: 1.1rem;
}

.feature-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

/* ============ HOW IT WORKS ============ */
.how__timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}

@media (min-width: 760px) {
  .how__timeline { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .how__timeline::before {
    content: "";
    position: absolute;
    top: 1.1rem;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border) 15%, var(--border) 85%, transparent);
  }
}

.how__num {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--lime);
  font-size: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.how__step h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.how__step p { color: var(--muted); font-size: 0.95rem; max-width: 22rem; }

/* ============ NOTIFICATIONS ============ */
.notifs__stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
}

.notif {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem 1.2rem;
}

.notif:nth-child(2) { margin-left: clamp(0px, 6vw, 3rem); }
.notif:nth-child(3) { margin-left: clamp(0px, 3vw, 1.5rem); }

.notif__app {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.45rem;
}

.notif__dot {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--lime);
}

.notif__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
}

.notif__body { color: var(--muted); font-size: 0.9rem; }

/* ============ PRIVACY ============ */
.privacy { padding: 3.5rem 0; }

.privacy__inner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.2rem 2rem;
}

.privacy__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--lime);
}

.privacy__inner h2 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.privacy__inner p { color: var(--muted); max-width: 36rem; }

/* ============ FAQ ============ */
.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  text-align: left;
  padding: 1.3rem 0;
  cursor: pointer;
}

.faq__chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.faq__item.open .faq__chevron { transform: rotate(225deg); }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__a p {
  color: var(--muted);
  padding-bottom: 1.3rem;
  font-size: 0.95rem;
  max-width: 40rem;
}

/* ============ FINAL CTA ============ */
.final {
  padding: 7rem 0;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(200, 242, 93, 0.07), transparent);
}

.final__title {
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  margin-bottom: 1rem;
}

.final__sub {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2.2rem;
}

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  text-align: center;
}

.footer__brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

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

.footer__meta { color: var(--muted); font-size: 0.8rem; }

@media (min-width: 760px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ============ LEGAL PAGES ============ */
.legal {
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
}

.legal__header { margin-bottom: 2.5rem; }

.legal__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1rem;
}

.legal__title {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  margin-bottom: 0.6rem;
}

.legal__updated {
  color: var(--muted);
  font-size: 0.85rem;
}

.legal__tldr {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--lime);
  border-radius: 16px;
  padding: 1.3rem 1.5rem;
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal__tldr strong { color: var(--text); }

.legal h2 {
  font-size: 1.2rem;
  margin: 2.5rem 0 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.legal p, .legal ul, .legal ol {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal ul, .legal ol { padding-left: 1.2rem; }
.legal li { margin-bottom: 0.35rem; }
.legal li::marker { color: var(--lime); }

.legal strong { color: var(--text); font-weight: 600; }
.legal em { color: var(--muted); font-style: italic; }

.legal a {
  color: var(--lime);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.legal a:hover { border-bottom-color: var(--lime); }

.legal__chip {
  display: inline-block;
  background: rgba(200, 242, 93, 0.1);
  border: 1px solid rgba(200, 242, 93, 0.35);
  color: var(--lime);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.68rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.08em;
  vertical-align: middle;
  margin-left: 6px;
}

.legal__endnote {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal--delay { transition-delay: 0.12s; }
.reveal--delay2 { transition-delay: 0.24s; }

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
