:root {
  --bg: #f3f4f7;
  --ink: #12141d;
  --muted: #5f6575;
  --card: #ffffff;
  --line: #d8dce7;
  --accent: #67baf2;
  --accent-2: #ffd04a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sora", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1500px 900px at -5% -10%, #fff0ba 0%, transparent 60%),
    radial-gradient(1200px 800px at 105% 0%, #d5efff 0%, transparent 62%),
    linear-gradient(180deg, #f8f9fc 0%, #edf0f6 100%);
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
}

.orb-a {
  width: 180px;
  height: 180px;
  top: -72px;
  left: -56px;
  background: var(--accent-2);
}

.orb-b {
  width: 520px;
  height: 520px;
  right: -300px;
  top: -120px;
  background: #c8e7ff;
  opacity: 0.55;
}

.orb-c {
  width: 160px;
  height: 160px;
  left: -64px;
  bottom: -78px;
  background: #7ec4f5;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 2rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 2rem;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.slogan {
  margin: 0.6rem 0 0;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  font-weight: 700;
  color: #242a3b;
}

.lead {
  margin: 0.9rem 0 0;
  color: var(--muted);
  max-width: 500px;
  font-size: clamp(0.98rem, 1.9vw, 1.08rem);
  line-height: 1.5;
}

.download-row {
  margin-top: 1.45rem;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.store-buttons {
  display: grid;
  gap: 0.48rem;
}

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 200px;
  height: 64px;
  padding: 8px 12px;
  border-radius: 0.7rem;
  background: #101217;
  border: 1px solid #262a36;
}

.store-badge {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 0;
  transition: transform 200ms ease;
}

.store-link:hover .store-badge {
  transform: translateY(-2px);
}

.qr-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 0.55rem;
  box-shadow: 0 10px 22px rgba(9, 18, 44, 0.08);
}

.qr-card img {
  width: 122px;
  height: 122px;
  display: block;
  border-radius: 0.5rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.phone-glow {
  width: min(440px, 88vw);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: var(--accent);
  position: absolute;
  top: 52%;
  left: 52%;
  transform: translate(-50%, -50%);
}

.phone-frame {
  width: min(338px, 84vw);
  aspect-ratio: 10 / 20;
  border: 7px solid #111;
  border-radius: 2.3rem;
  background: #0d0f16;
  position: relative;
  box-shadow: 0 24px 50px rgba(7, 9, 14, 0.34);
}

.phone-notch {
  width: 28%;
  height: 9px;
  border-radius: 999px;
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  background: #232735;
  z-index: 2;
}

.phone-screen {
  position: absolute;
  inset: 20px 10px 10px;
  border-radius: 1.65rem;
  overflow: hidden;
  background: #e8ebf2;
}

.phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  color: #4e5364;
  background:
    linear-gradient(130deg, #e8ecf6 0%, #d8deea 55%, #edf0f8 100%);
}

.video-fallback p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.details,
.features,
.how-it-works {
  padding: 4.25rem 0 0;
}

.details p {
  margin: 0.85rem 0 0;
  max-width: 820px;
  color: var(--muted);
  line-height: 1.6;
}

h2 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.feature-grid {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 14px 26px rgba(8, 16, 36, 0.07);
}

.feature-card h3 {
  margin: 0.35rem 0 0;
  font-size: 1rem;
}

.feature-card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.feature-icon {
  width: 2.1rem;
  height: 2.1rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #ecf5ff;
  border: 1px solid #cfe1f5;
  font-size: 1.1rem;
}

.how-it-works ol {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  padding: 2.4rem 0;
}

.footer-inner {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: #717787;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    padding-top: 1.2rem;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .hero-copy {
    order: 2;
  }

  .hero-visual {
    order: 1;
    min-height: 390px;
  }

  .phone-frame {
    width: min(286px, 72vw);
  }

  .phone-glow {
    width: min(360px, 92vw);
  }

  .download-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-copy h1 {
    font-size: clamp(2.45rem, 14vw, 3.5rem);
  }

  .store-link {
    width: 182px;
    height: 58px;
  }

  .qr-card img {
    width: 108px;
    height: 108px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-badge,
  .reveal {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
