:root {
  --bg: #f6f7fc;
  --surface: #ffffff;
  --text: #2f365c;
  --muted: #7c84a3;
  --border: #dfe3f1;

  --pink: #ffaab8;
  --purple: #c9beff;
  --cyan: #0ac4e0;

  --soft-pink: #fff1f4;
  --soft-purple: #f2ecff;
  --soft-cyan: #ebfbff;

  --shadow: 0 16px 36px rgba(33, 44, 94, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #fbfcff 0%, #f6f7fc 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(246, 247, 252, 0.8);
  border-bottom: 1px solid rgba(223, 227, 241, 0.7);
}

.topbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
  transition: 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 20px 48px;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 38px;
  display: grid;
  gap: 28px;
  margin-bottom: 26px;
}

.hero-centered {
  text-align: center;
  justify-items: center;
}

.pill,
.plan-pill,
.modal-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,170,184,0.22), rgba(10,196,224,0.18));
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.plan-pill.pro {
  background: linear-gradient(90deg, rgba(201,190,255,0.28), rgba(10,196,224,0.16));
}

.hero-card h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-tagline {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--muted);
}

.hero-text {
  margin: 0;
  font-size: 19px;
  line-height: 1.7;
  color: var(--muted);
}

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

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 22px;
}

.steps {
  display: grid;
  gap: 20px;
  margin-bottom: 22px;
}

.steps-onboarding {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 30px;
}

.card h2,
.card h3 {
  margin: 0 0 14px;
  color: var(--text);
}

.card h2 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.card h3 {
  font-size: 22px;
  font-weight: 800;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,170,184,0.24), rgba(10,196,224,0.2));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 18px;
}

.plan-card {
  min-height: 100%;
}

.story-card,
.quote-card {
  margin-bottom: 22px;
}

.quote-card {
  text-align: center;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 12px;
}

.second-cta {
  margin-top: 22px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 22px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  transition: 0.2s ease;
}

.store-btn.primary {
  background: linear-gradient(90deg, #FFAAB8, #C9BEFF, #0AC4E0);
  color: white;
  box-shadow: 0 12px 28px rgba(10, 196, 224, 0.18);
}

.store-btn.secondary {
  background: #ffffff;
  border: 1px solid #dfe3f1;
  color: #2f365c;
}

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

.store-icon {
  font-size: 20px;
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-text small {
  font-size: 11px;
  opacity: 0.7;
}

.store-text strong {
  font-size: 16px;
  font-weight: 800;
}

.modal-btn {
  margin-top: 8px;
  width: 100%;
}

.text-link {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-link-wrap {
  margin-top: 18px;
}

.footer {
  padding: 18px 20px 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
}

.footer-logo {
  height: 34px;
  width: auto;
  display: block;
  margin: 0 auto 12px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(33, 44, 94, 0.36);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal-overlay.show {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 20px 44px rgba(33, 44, 94, 0.16);
  padding: 28px;
  text-align: center;
}

.modal-card h3 {
  margin: 6px 0 12px;
  font-size: 24px;
  font-weight: 900;
}

.modal-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.lottie-wrap {
  width: 100%;
  height: 190px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lottie-inner {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lottie-inner lottie-player {
  width: 100%;
  height: 100%;
}

/* Per-animation visual normalization */
.lottie-move .lottie-inner {
  width: 115px;
  height: 115px;
}

.lottie-earn .lottie-inner {
  width: 165px;
  height: 165px;
}

.lottie-unlock .lottie-inner {
  width: 155px;
  height: 155px;
}

@media (max-width: 920px) {
  .section-grid,
  .steps-onboarding {
    grid-template-columns: 1fr;
  }

  .hero-card h1 {
    font-size: 42px;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    padding: 16px;
  }

  .container {
    padding: 20px 16px 40px;
  }

  .hero-card,
  .card {
    padding: 24px;
  }

  .brand-logo {
    height: 36px;
  }

  .nav {
    gap: 14px;
  }

  .hero-card h1 {
    font-size: 34px;
  }

  .hero-tagline {
    font-size: 20px;
  }

  .hero-text,
  .card p,
  .card li {
    font-size: 16px;
  }

 .lottie-wrap {
  height: 160px;
}

.lottie-move .lottie-inner {
  width: 105px;
  height: 105px;
}

.lottie-earn .lottie-inner {
  width: 145px;
  height: 145px;
}

.lottie-unlock .lottie-inner {
  width: 135px;
  height: 135px;
}
}
