:root {
  --bg: #0a0b0d;
  --bg-elevated: rgba(255, 255, 255, 0.04);
  --text: #f5f5f7;
  --text-dim: #9a9aa2;
  --accent: #34d058;
  --accent-2: #22c55e;
  --border: rgba(255, 255, 255, 0.08);
  --max-w: 1040px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

.glow {
  position: fixed;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 560px;
  background: radial-gradient(closest-side, rgba(52, 208, 88, 0.28), rgba(52, 208, 88, 0) 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  background: rgba(10, 11, 13, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}

header.site nav {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.brand-mark {
  display: block;
  border-radius: 7px;
}

.brand span { color: var(--accent); }

nav .links a {
  color: var(--text-dim);
  margin-left: 24px;
  font-size: 14px;
  font-weight: 500;
}
nav .links a:hover { color: var(--text); text-decoration: none; }

main {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.hero {
  text-align: center;
  padding: 72px 0 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Split hero: copy left, phone right */
.hero-split {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  text-align: left;
  padding: 64px 0 72px;
}
.hero-split .hero-copy { flex: 1 1 480px; max-width: 560px; }
.hero-split .hero-phone { flex: 0 0 auto; display: flex; justify-content: center; }
.hero-split .tagline { margin: 0 0 28px; }
.hero-split .badge-row { justify-content: flex-start; margin-bottom: 28px; }

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-dim);
  font-size: 15px;
}

@media (max-width: 860px) {
  .hero-split { flex-direction: column; text-align: center; }
  .hero-split .badge-row { justify-content: center; }
  .hero-points { align-items: center; }
}

/* Phone frame around app screenshots */
.phone-frame {
  width: min(300px, 78vw);
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2a2e, #101013);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.8),
    0 24px 60px -28px rgba(52, 208, 88, 0.35);
}
.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
}

.floating { animation: float 6s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
  .floating { animation: none; }
}

.hero-logo {
  border-radius: 24px;
  margin-bottom: 28px;
  box-shadow: 0 20px 60px -20px rgba(52, 208, 88, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  margin: 0 0 18px;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 0%, #c9cdd3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.tagline {
  color: var(--text-dim);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 36px;
}

.badge-row { display: flex; justify-content: center; }

.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: #000;
  padding: 11px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.15;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.appstore-badge small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  opacity: 0.7;
}
.appstore-badge:hover { text-decoration: none; opacity: 0.88; transform: translateY(-1px); }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 64px;
}

.feature {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.feature:hover {
  border-color: rgba(52, 208, 88, 0.4);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
}

.feature .icon {
  font-size: 22px;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(52, 208, 88, 0.12);
}

/* ---- Scroll reveal (hidden state only when JS is active) ---- */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Stats strip ---- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 8px 0 24px;
  padding: 26px 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.stat span { color: var(--text-dim); font-size: 13px; }

/* ---- Section headings ---- */
.section-title {
  text-align: center;
  font-size: clamp(26px, 3.6vw, 36px);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.section-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto;
  font-size: 16px;
}

/* ---- Showcase ---- */
.showcase { padding: 88px 0 20px; }
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 52px;
  justify-items: center;
}
.shot { margin: 0; text-align: center; }
.shot figcaption { max-width: 300px; margin: 22px auto 0; }
.shot h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.01em; }
.shot p { margin: 0; color: var(--text-dim); font-size: 14px; }
/* Staggered reveal for showcase columns */
.showcase-grid .shot:nth-child(2) { transition-delay: 0.12s; }
.showcase-grid .shot:nth-child(3) { transition-delay: 0.24s; }

/* ---- Features block ---- */
.features-block { padding: 88px 0 0; }
.features-block .features { margin-top: 44px; }

/* ---- How it works ---- */
.how { padding: 96px 0 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.step {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 26px 24px;
}
.steps .step:nth-child(2) { transition-delay: 0.12s; }
.steps .step:nth-child(3) { transition-delay: 0.24s; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(52, 208, 88, 0.14);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; color: var(--text-dim); font-size: 14px; }

/* ---- Final CTA ---- */
.cta-final {
  margin-top: 104px;
  text-align: center;
  padding: 56px 28px;
  background:
    radial-gradient(600px 220px at 50% 0%, rgba(52, 208, 88, 0.14), transparent),
    var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-logo { border-radius: 16px; margin-bottom: 18px; }
.cta-final h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: -0.02em; }
.cta-final p { margin: 0 0 26px; color: var(--text-dim); }

footer.site {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
}

footer.site .links a {
  color: var(--text-dim);
  margin: 0 12px;
  font-size: 13px;
}

footer.site .copyright {
  color: var(--text-dim);
  font-size: 12px;
  margin-top: 16px;
}

.page h1 { font-size: 28px; margin-bottom: 8px; }
.page .updated { color: var(--text-dim); font-size: 13px; margin-bottom: 32px; }
.page h2 { font-size: 19px; margin-top: 36px; }
.page p, .page li { color: var(--text-dim); font-size: 15px; }
.page ul { padding-left: 20px; }

.faq-item { margin-bottom: 24px; }
.faq-item h3 { font-size: 16px; margin-bottom: 6px; }
.faq-item p { margin: 0; }

.contact-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 40px;
}
