/* ─────────────────────────────────────────────────────────────────
   Leomee — Welcome landing (light theme)
   Performance budget: target 60fps idle on a mid-range Android.
   Rules:
     – `mix-blend-mode` and animated `backdrop-filter` are banned —
       both force whole-stage compositing per frame.
     – Only the nav uses `backdrop-filter`; cards are flat translucent.
     – No SVG noise overlays (`feTurbulence` rasterizes every repaint).
     – Light page surface; hero/showcase stages use soft tinted cards
       so the 3D / CSS orbs have something to sit against.
   ───────────────────────────────────────────────────────────────── */

:root {
  --bg:        #FAFBFE;
  --bg-2:      #F1F3FA;
  --surface:   rgba(15, 23, 42, 0.035);
  --surface-2: rgba(15, 23, 42, 0.06);
  --border:    rgba(15, 23, 42, 0.08);
  --border-2:  rgba(15, 23, 42, 0.14);

  --text:      #0A0F24;
  --text-mut:  #4B5572;
  --text-dim:  #8089A6;

  --violet:    #7C3AED;
  --violet-2:  #8B5CF6;
  --cyan:      #06B6D4;
  --magenta:   #EC4899;
  --amber:     #F59E0B;

  --grad-primary: linear-gradient(135deg, #7C3AED 0%, #06B6D4 100%);
  /* Deeper hues so gradient text reads cleanly on white. */
  --grad-text:    linear-gradient(120deg, #7C3AED 0%, #06B6D4 60%, #EC4899 100%);

  --shadow-card: 0 10px 30px -12px rgba(20, 30, 60, 0.16);

  --ease:        cubic-bezier(.16,1,.3,1);
  --ease-out:    cubic-bezier(.22,1,.36,1);

  --container: 1240px;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: rgba(124, 58, 237, 0.22); color: var(--text); }

/* ── Loader ───────────────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .45s var(--ease), visibility .45s var(--ease);
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader__ring {
  position: relative;
  width: 56px; height: 56px;
  margin-bottom: 18px;
}
.loader__ring span {
  position: absolute; inset: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1.4s linear infinite;
}
.loader__ring span:nth-child(1) { border-top-color: var(--violet); }
.loader__ring span:nth-child(2) { border-right-color: var(--cyan); inset: 8px; animation-duration: 1.8s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.loader__brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--text-mut);
}

/* ── Cursor glow — fine pointer only ──────────────────────────── */
.cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(124, 58, 237, .18), transparent 65%);
  pointer-events: none;
  z-index: 1;
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
  transition: opacity .3s ease;
  will-change: transform;
}
.cursor-glow.is-active { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor-glow { display: none; } }

/* ── Background — two soft tints + faint grid ─────────────────── */
.bg-stage {
  position: fixed; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.bg-blob {
  position: absolute;
  width: 38vmax; height: 38vmax;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .18;
}
.bg-blob--violet { background: #7C3AED; top: -14%; left: -10%; }
.bg-blob--cyan   { background: #06B6D4; bottom: -16%; right: -8%; }

.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 65%);
}

/* ── Navbar ───────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: padding .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.nav.is-scrolled {
  padding: 10px 0;
  background: rgba(250, 251, 254, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}
.nav__brand-mark {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--grad-primary);
  box-shadow: 0 6px 18px -6px rgba(124, 58, 237, 0.55);
  position: relative;
}
.nav__brand-mark::after {
  content: '';
  position: absolute; inset: 4px;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(255,255,255,.45), transparent 60%);
}
/* Logo renders as the bare PNG — no rounded tile, no fallback colour,
 * no shadow. The artwork itself carries the brand presence. */
.nav__brand-logo {
  width: 40px; height: 40px;
  object-fit: contain;
  display: block;
  background: transparent;
  transition: transform .25s var(--ease);
}
.nav__brand:hover .nav__brand-logo { transform: rotate(-4deg) scale(1.05); }
.nav__brand-text {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #5854FF;
}
.nav__links {
  display: flex; gap: 4px;
  background: rgba(15,23,42,0.025);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: 999px;
}
.nav__links a {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mut);
  transition: color .2s ease, background .2s ease;
}
.nav__links a:hover { color: var(--text); background: rgba(15,23,42,0.05); }
.nav__cta { display: flex; gap: 10px; align-items: center; }
.nav__menu {
  display: none;
  flex-direction: column; gap: 5px;
  width: 28px; height: 28px;
  align-items: center; justify-content: center;
}
.nav__menu span {
  width: 22px; height: 1.5px; background: var(--text);
  transition: transform .3s var(--ease), opacity .2s ease;
}
.nav__menu.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__menu.is-open span:nth-child(2) { opacity: 0; }
.nav__menu.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  position: relative;
  white-space: nowrap;
}
.btn--lg { padding: 14px 26px; font-size: 14px; }
.btn--primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(124, 58, 237, 0.55);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(124, 58, 237, 0.65);
}
.btn--ghost {
  color: var(--text);
  background: #fff;
  border-color: var(--border-2);
}
.btn--ghost:hover {
  background: var(--bg-2);
  border-color: rgba(15,23,42,.22);
  transform: translateY(-2px);
}

/* Google Play badge — black pill with the play triangle + two-line label.
 * Bigger + brighter than a stock store badge so the download CTA actually
 * competes with the page's other primary buttons. The breathing glow draws
 * the eye without being obnoxious. */
.btn--store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 26px 13px 22px;
  background: linear-gradient(135deg, #0A0F24 0%, #1a1f3a 100%);
  color: #fff;
  border-radius: 18px;
  border: 1px solid rgba(124, 58, 237, 0.35);
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  box-shadow:
    0 14px 32px -12px rgba(10, 15, 36, 0.5),
    0 0 0 0 rgba(124, 58, 237, 0.0);
  animation: storePulse 3.4s ease-in-out infinite;
  position: relative;
}
.btn--store:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(124, 58, 237, 0.7);
  box-shadow:
    0 22px 44px -14px rgba(10, 15, 36, 0.65),
    0 0 0 4px rgba(124, 58, 237, 0.22);
  animation: none;
}
@keyframes storePulse {
  0%, 100% {
    box-shadow:
      0 14px 32px -12px rgba(10, 15, 36, 0.5),
      0 0 0 0 rgba(124, 58, 237, 0);
  }
  50% {
    box-shadow:
      0 18px 38px -12px rgba(10, 15, 36, 0.55),
      0 0 0 6px rgba(124, 58, 237, 0.16);
  }
}
.btn--store__icon { flex-shrink: 0; width: 30px; height: 30px; }
.btn--store__copy { display: flex; flex-direction: column; line-height: 1.05; }
.btn--store__copy small {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  margin-bottom: 3px;
}
.btn--store__copy strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ── Floating "Download App" pill ─────────────────────────────────
 * Slides in once the user scrolls past the hero and stays anchored
 * bottom-right. Tap target sized for thumb reach on mobile. */
.floating-download {
  position: fixed;
  bottom: 22px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 14px;
  background: linear-gradient(135deg, #0A0F24 0%, #1a1f3a 100%);
  color: #fff;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid rgba(124, 58, 237, 0.5);
  box-shadow:
    0 16px 36px -10px rgba(10, 15, 36, 0.55),
    0 0 0 3px rgba(124, 58, 237, 0.18);
  z-index: 60;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), box-shadow .3s var(--ease);
}
.floating-download.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.floating-download:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 24px 48px -12px rgba(10, 15, 36, 0.7),
    0 0 0 5px rgba(124, 58, 237, 0.28);
}
.floating-download__icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.floating-download__label small {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 2px;
}
.floating-download__label strong {
  display: block;
  font-size: 14px;
  line-height: 1.1;
}

@media (max-width: 720px) {
  .floating-download {
    bottom: 16px;
    right: 16px;
    left: 16px;
    justify-content: center;
    padding: 14px 22px;
  }
}

/* ── Sections ─────────────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 130px 32px;
}
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-top: 14px;
}
.section__lede {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-mut);
  max-width: 620px;
}
.eyebrow {
  display: inline-flex; align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #6D28D9;
  font-weight: 700;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  max-width: var(--container);
  margin: 0 auto;
  padding: 150px 32px 80px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-mut);
  box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.08);
}
.hero__pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  70%  { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 24px 0 24px;
  color: var(--text);
}
.hero__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
}
.hero__word + .hero__word { margin-left: 0.25em; }
.hero__word--grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  max-width: 540px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-mut);
}
.hero__ctas {
  margin-top: 32px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.hero__proof {
  margin-top: 40px;
  display: flex; align-items: center; gap: 14px;
}
.hero__avatars {
  display: flex;
}
.hero__avatars span {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  color: #fff;
  margin-left: -8px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}
.hero__avatars span:first-child { margin-left: 0; }
.hero__proof p {
  font-size: 13px;
  color: var(--text-mut);
}
.hero__proof strong { color: var(--text); }

.hero__stage {
  position: relative;
  height: 500px;
  border-radius: 26px;
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(124, 58, 237, 0.14), transparent 70%),
    linear-gradient(135deg, #F5EEFF 0%, #ECF7FE 100%);
  border: 1px solid rgba(124, 58, 237, 0.18);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero__stage::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 26px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(124,58,237,.4), rgba(6,182,212,.25), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.hero__stage canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero__chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  box-shadow: 0 6px 18px -8px rgba(15, 23, 42, 0.12);
  animation: floatChip 5s ease-in-out infinite alternate;
}
.hero__chip svg { opacity: .85; }
.hero__chip--1 { top: 12%;    left: 6%;    color: #6D28D9; }
.hero__chip--2 { top: 24%;    right: 8%;   color: #0E7490; animation-delay: -1.5s; }
.hero__chip--3 { bottom: 22%; left: 10%;   color: #BE185D; animation-delay: -3s; }
.hero__chip--4 { bottom: 12%; right: 12%;  color: #B45309; animation-delay: -4s; }

@keyframes floatChip {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.hero__scroll {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 32px;
  border: 1.5px solid var(--border-2);
  border-radius: 12px;
}
.hero__scroll span {
  position: absolute;
  left: 50%; top: 6px;
  width: 2px; height: 5px;
  background: var(--text);
  border-radius: 1px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0%   { opacity: 0; transform: translate(-50%, 0); }
  35%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}

/* ── Reveal on scroll ─────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mission ──────────────────────────────────────────────────── */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mission-card {
  position: relative;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease;
}
.mission-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 12px 30px -14px rgba(15, 23, 42, 0.18);
}
.mission-card__icon {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  margin-bottom: 16px;
  color: #fff;
}
.mission-card__icon--violet  { background: linear-gradient(135deg, #7C3AED, #4C1D95); }
.mission-card__icon--cyan    { background: linear-gradient(135deg, #06B6D4, #0E7490); }
.mission-card__icon--magenta { background: linear-gradient(135deg, #EC4899, #9D174D); }
.mission-card__icon--amber   { background: linear-gradient(135deg, #F59E0B, #B45309); }
.mission-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.mission-card p { color: var(--text-mut); font-size: 14px; line-height: 1.55; }

/* ── Features ─────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.feature {
  position: relative;
  padding: 24px 20px 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 16px 36px -16px rgba(124, 58, 237, 0.25);
}
.feature__icon {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(124,58,237,.10);
  color: #6D28D9;
  margin-bottom: 14px;
  border: 1px solid rgba(124,58,237,.18);
}
.feature h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px; font-weight: 700;
  letter-spacing: -0.005em;
  margin-bottom: 6px;
}
.feature p { color: var(--text-mut); font-size: 13.5px; line-height: 1.55; }

/* ── Showcase / What's inside ────────────────────────────────── */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.showcase__list {
  margin-top: 26px;
  list-style: none;
  display: grid; gap: 12px;
}
.showcase__list li {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-mut);
  font-size: 15px;
}
.showcase__list li span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad-primary);
  box-shadow: 0 0 12px rgba(124,58,237,.45);
  flex-shrink: 0;
}
.showcase__ctas { margin-top: 32px; }
.showcase__stage {
  height: 460px;
  border-radius: 26px;
  background:
    radial-gradient(55% 55% at 50% 50%, rgba(6,182,212,.14), transparent 70%),
    linear-gradient(135deg, #ECF7FE 0%, #FFF1F9 100%);
  border: 1px solid rgba(6, 182, 212, 0.16);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
  box-shadow: var(--shadow-card);
}

/* CSS-only orb (no second WebGL context) */
.orb {
  position: relative;
  width: 280px; height: 280px;
}
.orb__core {
  position: absolute; inset: 28%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #C4B5FD, #7C3AED 50%, #4C1D95 100%);
  box-shadow:
    0 0 60px rgba(124, 58, 237, 0.45),
    inset 0 0 30px rgba(255, 255, 255, 0.18);
  animation: orbCorePulse 4.5s ease-in-out infinite alternate;
}
.orb__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.14);
  animation: orbRingSpin 18s linear infinite;
}
.orb__ring--1 { inset: 10%; border-color: rgba(124, 58, 237, .35); animation-duration: 14s; }
.orb__ring--2 { inset: 0;    border-color: rgba(6, 182, 212, .3); animation-duration: 22s; animation-direction: reverse; }
.orb__ring--3 {
  inset: -12%;
  border-color: rgba(236, 72, 153, .22);
  border-style: dashed;
  animation-duration: 30s;
}
.orb__dot {
  position: absolute;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
  animation: orbRingSpin 14s linear infinite;
  transform-origin: 140px 140px;
}
.orb__dot--1 { top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(0deg)   translateX(112px); }
.orb__dot--2 { top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(60deg)  translateX(112px); background: var(--magenta); box-shadow: 0 0 12px rgba(236,72,153,.55); animation-duration: 22s; animation-direction: reverse; }
.orb__dot--3 { top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(120deg) translateX(140px); background: var(--violet-2); box-shadow: 0 0 12px rgba(139,92,246,.55); animation-duration: 30s; }
.orb__dot--4 { top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(180deg) translateX(112px); }
.orb__dot--5 { top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(240deg) translateX(112px); background: var(--magenta); box-shadow: 0 0 12px rgba(236,72,153,.55); animation-duration: 22s; animation-direction: reverse; }
.orb__dot--6 { top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(300deg) translateX(140px); background: var(--violet-2); box-shadow: 0 0 12px rgba(139,92,246,.55); animation-duration: 30s; }

@keyframes orbRingSpin { to { transform: rotate(360deg); } }
@keyframes orbCorePulse {
  0%   { transform: scale(1);    opacity: .95; }
  100% { transform: scale(1.06); opacity: 1;   }
}

/* ── Stats ────────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 72px;
}
.stat {
  padding: 28px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.stat::after {
  content: '';
  position: absolute;
  bottom: 0; left: 22px; right: 22px;
  height: 2px;
  background: var(--grad-primary);
  opacity: .85;
  border-radius: 1px;
}
.stat__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat__label {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-mut);
  letter-spacing: 0.02em;
}

/* ── Promise cards (replaces testimonials) ────────────────────── */
.promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.promise {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease;
}
.promise:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: 0 12px 28px -14px rgba(15, 23, 42, 0.14);
}
.promise__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--violet);
}
.promise h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px; font-weight: 700;
  letter-spacing: -0.01em;
  margin: 8px 0 10px;
}
.promise p { color: var(--text-mut); font-size: 14.5px; line-height: 1.6; }

/* ── Events ───────────────────────────────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.event {
  position: relative;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  display: grid; grid-template-columns: 1fr auto; gap: 18px;
  align-items: start;
  transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease;
}
.event:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: 0 12px 28px -14px rgba(15, 23, 42, 0.14);
}
.event__badge {
  grid-column: 1 / 2;
  display: inline-flex; align-items: center;
  padding: 5px 10px;
  background: rgba(124,58,237,.10);
  color: #6D28D9;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  width: fit-content;
}
.event__badge--cyan    { background: rgba(6,182,212,.10); color: #0E7490; }
.event__badge--magenta { background: rgba(236,72,153,.10); color: #BE185D; }

.event__date {
  grid-column: 2 / 3; grid-row: 1 / 4;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
  min-width: 70px;
}
.event__date strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--text);
}
.event__date span {
  display: block;
  font-size: 10.5px; letter-spacing: 0.18em;
  color: var(--text-mut);
  text-transform: uppercase;
  margin-top: 4px;
}
.event h3 {
  grid-column: 1 / 2;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px; font-weight: 700;
}
.event p {
  grid-column: 1 / 2;
  color: var(--text-mut);
  font-size: 13.5px; line-height: 1.55;
}
.event__meta {
  grid-column: 1 / 2;
  display: flex; gap: 8px; flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-dim);
}

/* ── CTA strip ────────────────────────────────────────────────── */
.cta-strip {
  margin-top: 72px;
  padding: 40px;
  border-radius: 26px;
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(124,58,237,.16), transparent 60%),
    radial-gradient(80% 100% at 100% 100%, rgba(6,182,212,.14), transparent 60%),
    #fff;
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  box-shadow: var(--shadow-card);
}
.cta-strip h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.cta-strip p { margin-top: 6px; color: var(--text-mut); font-size: 14.5px; }
.cta-strip__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 2;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  margin-top: 72px;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 32px 28px;
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 36px;
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__brand p {
  font-size: 14px;
  color: var(--text-mut);
  line-height: 1.6;
  max-width: 280px;
}

.footer__col h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mut);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer__col a {
  display: block;
  font-size: 14px;
  color: var(--text);
  padding: 4px 0;
  opacity: .8;
  transition: opacity .2s ease, color .2s ease;
}
.footer__col a:hover { opacity: 1; color: var(--violet); }

/* "Get the app" footer column.
 *
 * Specificity trap: `.footer__col a` is (0,1,1) and `.btn--store` is
 * (0,1,0), so the footer rule wins on conflicting properties — that
 * was clobbering the badge's padding (4px 0) and font-size (14px),
 * making the wordmark "Google Play" partially invisible. We re-apply
 * the badge styles here with matching specificity, and use a slightly
 * smaller variant so it sits comfortably inside the column. */
.footer__col--app .btn--store {
  display: inline-flex;
  width: auto;
  opacity: 1;
  padding: 11px 22px 11px 18px;
  font-size: 14px;
  border-radius: 16px;
  animation: none;            /* skip the pulse — it lives in the hero badge */
  white-space: nowrap;
}
.footer__col--app .btn--store__icon { width: 26px; height: 26px; }
.footer__col--app .btn--store__copy small {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2px;
}
.footer__col--app .btn--store__copy strong {
  font-size: 16px;
  letter-spacing: -0.005em;
  color: #fff;
}
.footer__col-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

.footer__social { display: flex; gap: 8px; }
.footer__social a {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-mut);
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.footer__social a:hover {
  color: var(--violet);
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-2px);
}

.footer__bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; }
  .hero__stage { height: 380px; }
  .features-grid, .mission-grid { grid-template-columns: repeat(2, 1fr); }
  .promises, .events-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; gap: 36px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 80px 22px; }
  .hero { padding: 100px 22px 50px; gap: 32px; }
  .nav__inner { padding: 0 18px; gap: 12px; }
  .nav__links, .nav__join { display: none; }   /* Let's Try stays visible */
  .nav__menu { display: flex; }

  /* Open mobile menu — solid card so options don't blend into the page */
  .nav__links.is-open {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 64px;
    left: 16px;
    right: 16px;
    padding: 10px;
    gap: 2px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-2);
    border-radius: 18px;
    box-shadow: 0 18px 44px -12px rgba(15, 23, 42, 0.22);
    z-index: 60;
  }
  .nav__links.is-open a {
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    border-radius: 12px;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
  }
  .nav__links.is-open a:hover {
    background: rgba(124, 58, 237, 0.08);
    color: var(--violet);
  }
  .features-grid, .mission-grid, .stats-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; padding: 40px 22px 24px; }
  .footer__bar { flex-direction: column; gap: 6px; padding: 16px 22px; text-align: center; }
  .hero__stage { height: 320px; }
  .hero__chip { font-size: 10.5px; padding: 5px 9px; }
  .bg-blob--cyan { display: none; }
  .cta-strip { padding: 26px; }
  .showcase__stage { height: 360px; }
  .orb { width: 220px; height: 220px; }
  .orb__dot { transform-origin: 110px 110px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  .cursor-glow { display: none; }
}
