:root {
  --bg: #0a0d09;
  --bg-2: #10150e;
  --surface: #141a12;
  --surface-2: #1a2217;
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef3ea;
  --muted: #9aa695;
  --accent: #8fd61f;
  --accent-2: #b8f04a;
  --accent-ink: #0d1406;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", var(--font);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f9f4;
    --bg-2: #eef3e8;
    --surface: #ffffff;
    --surface-2: #f2f6ee;
    --border: rgba(13, 20, 6, 0.1);
    --text: #12180f;
    --muted: #5b6656;
    --accent: #6fb40c;
    --accent-2: #8fd61f;
    --shadow: 0 20px 50px rgba(30, 50, 10, 0.12);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px;
}
.skip:focus { left: 16px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px rgba(143, 214, 31, .25); }
.btn--primary:hover { background: var(--accent-2); }
.btn--ghost { border-color: var(--border); background: var(--surface); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--dark { background: var(--accent-ink); color: #fff; }
.btn--outline-dark { border-color: rgba(13, 20, 6, .35); color: var(--accent-ink); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--muted); white-space: nowrap;
}
.pill--live { color: var(--accent); border-color: rgba(143, 214, 31, .4); background: rgba(143, 214, 31, .08); }
.pill--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav__links a:not(.btn) { color: var(--muted); transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, top .25s ease; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 820px; height: 820px;
  background: radial-gradient(circle, rgba(143, 214, 31, .22), transparent 60%);
  filter: blur(20px); pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(143, 214, 31, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(143, 214, 31, 0); } }
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; margin: 22px 0 20px; }
.accent { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 36px; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 28px; color: var(--muted); font-size: 14px; }
.hero__trust strong { display: block; font-family: var(--display); font-size: 22px; color: var(--text); }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone {
  position: relative; width: 290px; height: 590px; border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #2a3326, #0e120c); box-shadow: var(--shadow), inset 0 0 0 2px rgba(255,255,255,.06);
  transform: rotate(-4deg);
}
.phone__notch { position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; border-radius: 20px; background: #000; transform: translateX(-50%); z-index: 2; }
.phone__screen { height: 100%; border-radius: 36px; padding: 52px 18px 18px; background: linear-gradient(180deg, #172013, #0c100a); color: #eef3ea; overflow: hidden; position: relative; }
.phone__status { position: absolute; top: 18px; left: 26px; right: 26px; display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; }
.phone__hello { margin: 6px 0 0; font-size: 12px; color: #9aa695; }
.phone__title { font-family: var(--display); font-size: 22px; font-weight: 700; margin: 0 0 18px; }
.phone__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 10px; }
.phone__grid figure { margin: 0; text-align: center; }
.phone__grid img { width: 62px; height: 62px; border-radius: 16px; margin: 0 auto 6px; box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.phone__grid figcaption { font-size: 10px; color: #c9d3c4; }
.phone__soon span { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 6px; border-radius: 16px; border: 1.5px dashed rgba(143,214,31,.5); color: var(--accent); font-size: 26px; }
.phone__card { position: absolute; left: 16px; right: 16px; bottom: 18px; display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: rgba(143,214,31,.12); border: 1px solid rgba(143,214,31,.3); }
.phone__card-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #8fd61f; color: #0d1406; font-size: 20px; }
.phone__card b { display: block; font-size: 14px; }
.phone__card small { color: #9aa695; font-size: 11px; }

.float { position: absolute; width: 76px; height: 76px; border-radius: 20px; box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; }
.float--1 { top: 40px; left: 4%; }
.float--2 { top: 46%; right: 2%; width: 64px; height: 64px; animation-delay: -2s; }
.float--3 { bottom: 30px; left: 10%; width: 58px; height: 58px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(3deg); } }

/* Store strip */
.strip { border-block: 1px solid var(--border); background: var(--bg-2); }
.strip__inner { display: grid; grid-template-columns: 1fr 1fr; }
.store { display: flex; align-items: center; gap: 16px; padding: 26px 8px; }
.store + .store { border-left: 1px solid var(--border); padding-left: 32px; }
.store svg { width: 34px; height: 34px; fill: var(--text); flex: none; }
.store--soon svg { opacity: .55; }
.store small { display: block; color: var(--muted); font-size: 13px; }
.store b { font-family: var(--display); font-size: 20px; }
.store .pill { margin-left: auto; }

/* Sections */
.section { padding: 110px 0; }
.section--tight { padding: 40px 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.section__head { max-width: 640px; margin-bottom: 48px; }
.section__head h2, .ios h2, .about h2, .cta h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; }
.section__head p { color: var(--muted); font-size: 18px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip {
  font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); transition: all .2s ease;
}
.chip:hover { color: var(--text); border-color: var(--accent); }
.chip.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* App cards */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app {
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.app:hover { transform: translateY(-4px); border-color: rgba(143, 214, 31, .4); box-shadow: var(--shadow); }
.app--featured {
  grid-column: span 2; grid-row: span 2;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(143, 214, 31, .16), transparent 55%),
    var(--surface);
}
.app__top { display: flex; gap: 16px; align-items: flex-start; }
.app__icon { width: 64px; height: 64px; border-radius: 16px; flex: none; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.app--featured .app__icon { width: 88px; height: 88px; border-radius: 22px; }
.app h3 { font-size: 19px; margin: 6px 0 4px; }
.app--featured h3 { font-size: clamp(22px, 2.6vw, 30px); }
.app > p { color: var(--muted); margin: 0; flex: 1; }
.app--featured > p { font-size: 18px; flex: 0; }
.app__meta { color: var(--muted); font-size: 13px; margin: 0; }
.stars { color: #f5c542; font-weight: 600; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.app__features { list-style: none; padding: 0; margin: 4px 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app__features li { padding: 14px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 500; font-size: 15px; }
.app__features li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }
.app__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }

/* iOS banner */
.ios {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 48px; border-radius: 28px;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); position: relative; overflow: hidden;
}
.ios::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(143,214,31,.18), transparent 65%); pointer-events: none; }
.ios__copy { max-width: 600px; }
.ios__copy p { color: var(--muted); font-size: 18px; margin: 0; }
.ios__badge {
  position: relative; z-index: 1; flex: none;
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px;
  border-radius: 16px; background: #000; color: #fff; border: 1px solid rgba(255,255,255,.18);
}
.ios__badge svg { width: 32px; height: 32px; fill: #fff; }
.ios__badge small { display: block; font-size: 11px; opacity: .75; }
.ios__badge b { font-family: var(--display); font-size: 22px; line-height: 1.1; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .3s ease, transform .3s ease; }
.card:hover { border-color: rgba(143, 214, 31, .4); transform: translateY(-3px); }
.card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(143, 214, 31, .12); margin-bottom: 18px; }
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; }
.card p { color: var(--muted); margin: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; }
.step__n { display: block; font-family: var(--display); font-weight: 800; font-size: 40px; color: transparent; -webkit-text-stroke: 1.5px var(--accent); margin-bottom: 12px; line-height: 1; }
.step h3 { font-size: 19px; }
.step p { color: var(--muted); margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.about__copy p { color: var(--muted); font-size: 17px; }
.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.stat b { display: block; font-family: var(--display); font-size: 40px; font-weight: 800; color: var(--accent); line-height: 1.1; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: 14px; }

/* CTA */
.cta { text-align: center; padding: 72px 32px; border-radius: 32px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); }
.cta p { font-size: 18px; opacity: .8; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* Footer */
.footer { padding: 72px 0 32px; border-top: 1px solid var(--border); margin-top: 70px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand { max-width: 320px; }
.footer__brand p { color: var(--muted); margin-top: 14px; font-size: 15px; }
.footer__cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer__cols h4 { font-size: 14px; margin-bottom: 14px; }
.footer__cols a { display: block; color: var(--muted); font-size: 15px; padding: 4px 0; transition: color .2s; }
.footer__cols a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 520px; }
  .apps, .cards { grid-template-columns: repeat(2, 1fr); }
  .app--featured { grid-column: span 2; grid-row: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 4px; }
  .nav__links .btn { justify-content: center; margin-top: 8px; }
  .hero { padding: 40px 0 64px; }
  .hero__visual { min-height: 480px; }
  .phone { transform: scale(.85) rotate(-4deg); }
  .float--1 { left: 0; } .float--3 { left: 2%; }
  .strip__inner { grid-template-columns: 1fr; }
  .store + .store { border-left: 0; border-top: 1px solid var(--border); padding-left: 8px; }
  .section { padding: 72px 0; }
  .apps, .cards, .steps { grid-template-columns: 1fr; }
  .app--featured { grid-column: auto; }
  .app__features { grid-template-columns: 1fr; }
  .ios { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .cta { padding: 48px 20px; }
  .footer__cols { gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
