/* Lovelore landing page
   Palette mirrors the iOS app: black -> #1b0044 splash gradient, purple accent gradient,
   with blue and rose glows taken from the heart mark. */

:root {
  --bg: #07000f;
  --bg-deep: #1b0044;
  --accent-a: #7425ae;
  --accent-b: #9747ff;
  --blue: #3a7bff;
  --rose: #ff4d8d;
  --amber: #ffb547;
  --green: #34d399;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-faint: rgba(255, 255, 255, 0.5);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.12);
  --radius: 24px;
  --max: 1160px;
  --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, #000 0%, var(--bg) 35%, var(--bg-deep) 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

/* ---------- Backdrop ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.orb--violet {
  width: 60vw;
  height: 60vw;
  max-width: 820px;
  max-height: 820px;
  top: -20%;
  left: 30%;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.85), transparent 65%);
}

.orb--blue {
  width: 45vw;
  height: 45vw;
  max-width: 620px;
  max-height: 620px;
  bottom: -10%;
  left: -12%;
  background: radial-gradient(circle, rgba(58, 123, 255, 0.55), transparent 65%);
}

.orb--rose {
  width: 40vw;
  height: 40vw;
  max-width: 560px;
  max-height: 560px;
  top: 35%;
  right: -12%;
  background: radial-gradient(circle, rgba(255, 77, 141, 0.42), transparent 65%);
}

.stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 72% 12%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 40% 62%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 88% 48%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 22% 82%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 60% 88%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 52% 30%, rgba(255, 255, 255, 0.35), transparent);
  opacity: 0.8;
}

/* ---------- Shared bits ---------- */

.gradient-text {
  background: linear-gradient(100deg, #7fb2ff 0%, #b18cff 40%, #ff7ab0 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d9c8ff;
  background: rgba(151, 71, 255, 0.14);
  border: 1px solid rgba(151, 71, 255, 0.35);
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 12px var(--rose);
}

.pill-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 8px 24px rgba(116, 37, 174, 0.45);
  transition: transform 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}

.pill-button:hover,
.pill-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(116, 37, 174, 0.6);
  outline: none;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px 12px 18px;
  min-height: 60px;
  border-radius: 16px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(151, 71, 255, 0.35);
  outline: none;
}

.store-button__icon {
  width: 30px;
  height: 30px;
  flex: none;
  margin-top: -3px;
}

.store-button__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.store-button__eyebrow {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
}

.store-button__label {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  padding-top: max(16px, env(safe-area-inset-top));
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 0, 15, 0.85), rgba(7, 0, 15, 0.4));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
}

.nav__brand img {
  display: block;
  height: 30px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 28px;
  font-size: 15px;
}

.nav__links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 120ms ease;
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: #fff;
  outline: none;
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px 88px;
}

.hero__title {
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.04;
  font-weight: 800;
}

.hero__lead {
  margin-top: 22px;
  max-width: 52ch;
  font-size: clamp(17px, 0.5vw + 15px, 20px);
  line-height: 1.6;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 34px;
}

.hero__note {
  font-size: 14px;
  color: var(--text-faint);
}

/* Phone mockup */

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 0;
  text-align: left;
}

.phone {
  position: relative;
  width: 320px;
  height: 640px;
  padding: 12px;
  border-radius: 52px;
  background: linear-gradient(160deg, #2a2340, #0d0a17);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(124, 77, 255, 0.35),
    inset 0 0 0 2px rgba(255, 255, 255, 0.04);
  transform: rotate(-2.5deg);
}

.phone__notch {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 96px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
  z-index: 2;
}

.phone__screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  background: linear-gradient(180deg, #05000c 0%, #1b0044 100%);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 60px 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  font-weight: 700;
  font-size: 16px;
}

.avatar--aiko {
  background: conic-gradient(from 200deg, #3a7bff, #9747ff, #ff4d8d, #ffb547, #3a7bff);
  box-shadow: 0 0 0 2px #120428, 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.chat-header__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.chat-header__meta strong {
  font-size: 15px;
}

.chat-header__meta small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--text-faint);
}

.online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.chat-header__actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.icon-chip {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
}

.icon-chip svg,
.scene-chip svg,
.play svg,
.send svg,
.floating-card__icon svg,
.feature__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-chip svg {
  width: 16px;
  height: 16px;
}

.chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px 14px 10px;
  overflow: hidden;
}

.scene-chip {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #e4d6ff;
  background: rgba(151, 71, 255, 0.18);
  border: 1px solid rgba(151, 71, 255, 0.35);
}

.scene-chip svg {
  width: 12px;
  height: 12px;
}

.bubble {
  max-width: 84%;
  padding: 10px 13px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.42;
}

.bubble--them {
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bubble--me {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
}

.bubble--voice {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px 8px 8px;
}

.play {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: #1b0044;
}

.play svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  stroke: none;
  margin-left: 2px;
}

.wave {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 22px;
}

.wave i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.75);
  height: 30%;
}

.wave i:nth-child(3n) { height: 85%; }
.wave i:nth-child(3n + 1) { height: 50%; }
.wave i:nth-child(4n) { height: 100%; }
.wave i:nth-child(5n) { height: 35%; }

.duration {
  font-size: 11px;
  color: var(--text-faint);
}

.bubble--photo {
  padding: 5px;
  width: 72%;
}

.photo-art {
  position: relative;
  display: block;
  height: 110px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #1b1060 0%, #6b2fb8 55%, #ff6f91 100%);
}

.photo-art__moon {
  position: absolute;
  top: 16px;
  right: 22px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffe8c2;
  box-shadow: 0 0 24px rgba(255, 232, 194, 0.8);
}

.photo-art__skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background:
    linear-gradient(#0b0420, #0b0420) 4% 100% / 12% 70% no-repeat,
    linear-gradient(#0b0420, #0b0420) 18% 100% / 10% 95% no-repeat,
    linear-gradient(#0b0420, #0b0420) 30% 100% / 14% 55% no-repeat,
    linear-gradient(#0b0420, #0b0420) 46% 100% / 9% 100% no-repeat,
    linear-gradient(#0b0420, #0b0420) 57% 100% / 15% 65% no-repeat,
    linear-gradient(#0b0420, #0b0420) 74% 100% / 10% 85% no-repeat,
    linear-gradient(#0b0420, #0b0420) 86% 100% / 14% 60% no-repeat;
}

.photo-caption {
  display: block;
  padding: 7px 6px 3px;
  font-size: 12px;
  color: var(--text-muted);
}

.typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  padding: 10px 13px;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
}

.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  animation: typing 1.2s infinite ease-in-out;
}

.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6px 12px 20px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text-faint);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.send {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  color: #fff;
}

.send svg {
  width: 14px;
  height: 14px;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  background: rgba(24, 12, 48, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  font-size: 13px;
  line-height: 1.3;
  animation: float 6s ease-in-out infinite;
}

.floating-card strong {
  display: block;
  font-size: 14px;
}

.floating-card small {
  color: var(--text-faint);
  font-size: 12px;
}

.floating-card--call {
  top: 150px;
  left: -36px;
}

.floating-card--memory {
  bottom: 40px;
  right: -40px;
  animation-delay: -3s;
}

.floating-card__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--accent-b));
}

.floating-card__icon--green {
  background: linear-gradient(135deg, #10b981, var(--green));
}

.floating-card__icon svg {
  width: 19px;
  height: 19px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- World strip ---------- */

.world-strip {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.world-strip__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.world-strip__track span {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-muted);
  background: var(--glass);
  border: 1px solid var(--border);
}

.world-strip__track span:nth-child(3n + 1) { color: #b9d2ff; }
.world-strip__track span:nth-child(3n + 2) { color: #e0ceff; }
.world-strip__track span:nth-child(3n) { color: #ffc4da; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 112px 24px 0;
  scroll-margin-top: 70px;
}

.section__head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

.section__head h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.1;
  font-weight: 800;
}

.section__lead {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 30px 28px 32px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--border);
  overflow: hidden;
}

.step::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(151, 71, 255, 0.28), transparent 70%);
}

.step__num {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: transparent;
  background: linear-gradient(100deg, #7fb2ff, #ff7ab0);
  -webkit-background-clip: text;
  background-clip: text;
}

.step h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.step p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Features */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  padding: 30px 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--glass-strong), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--border);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(151, 71, 255, 0.45);
}

.feature--wide {
  grid-column: span 2;
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 10px 26px rgba(116, 37, 174, 0.45);
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature__icon--green { background: linear-gradient(135deg, #059669, var(--green)); box-shadow: 0 10px 26px rgba(16, 185, 129, 0.35); }
.feature__icon--blue  { background: linear-gradient(135deg, #2563eb, #60a5fa); box-shadow: 0 10px 26px rgba(37, 99, 235, 0.4); }
.feature__icon--rose  { background: linear-gradient(135deg, #e11d74, var(--rose)); box-shadow: 0 10px 26px rgba(225, 29, 116, 0.38); }
.feature__icon--amber { background: linear-gradient(135deg, #f97316, var(--amber)); box-shadow: 0 10px 26px rgba(249, 115, 22, 0.35); }

.feature h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.feature p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Worlds */

.worlds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.world {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
  transition: transform 220ms ease;
}

.world:hover {
  transform: translateY(-4px);
}

.world::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.world::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 20%, rgba(5, 0, 15, 0.88) 100%);
}

.world--neon::before {
  background:
    radial-gradient(circle at 75% 25%, rgba(255, 77, 141, 0.75), transparent 40%),
    radial-gradient(circle at 20% 35%, rgba(58, 123, 255, 0.7), transparent 45%),
    linear-gradient(160deg, #1a0b3d, #3b0a5e);
}

.world--sea::before {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 196, 120, 0.85), transparent 30%),
    linear-gradient(180deg, #ff9a8b 0%, #8e6bd8 45%, #1e4a8f 70%, #0b2552 100%);
}

.world--mystery::before {
  background:
    radial-gradient(circle at 50% 30%, rgba(180, 150, 255, 0.45), transparent 35%),
    linear-gradient(170deg, #111427, #2a1748 60%, #0c0716);
}

.world--fantasy::before {
  background:
    radial-gradient(ellipse at 50% 85%, rgba(255, 255, 255, 0.35), transparent 45%),
    radial-gradient(circle at 25% 20%, rgba(255, 214, 140, 0.6), transparent 35%),
    linear-gradient(180deg, #5b7bff 0%, #b28cff 55%, #f0b3ff 100%);
}

.world--books::before {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 181, 71, 0.65), transparent 40%),
    linear-gradient(160deg, #3b1d0f, #6a2f2a 50%, #2a1032);
}

.world--custom::before {
  background:
    conic-gradient(from 180deg at 50% 40%, #3a7bff, #9747ff, #ff4d8d, #ffb547, #3a7bff);
  filter: blur(30px) saturate(1.2);
  transform: scale(1.3);
}

.world__tag {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.world h3 {
  margin-top: 60px;
  font-size: 22px;
}

.world p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
}

/* Stats */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max);
  margin: 112px auto 0;
  padding: 0 24px;
}

.stat {
  padding: 28px 12px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat:first-child {
  border-left: none;
}

.stat strong {
  display: block;
  font-size: clamp(40px, 4.5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, #7fb2ff, #b18cff 50%, #ff7ab0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  font-size: 15px;
  color: var(--text-muted);
}

/* Final CTA */

.cta {
  position: relative;
  max-width: 880px;
  margin: 112px auto 0;
  padding: 64px 32px 68px;
  text-align: center;
  border-radius: 36px;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(151, 71, 255, 0.38), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.cta__heart {
  width: 84px;
  height: 84px;
  margin-bottom: 18px;
  filter: drop-shadow(0 14px 30px rgba(124, 77, 255, 0.55));
}

.cta h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
}

.cta p {
  max-width: 46ch;
  margin: 14px auto 30px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px 32px;
  padding-bottom: max(32px, env(safe-area-inset-bottom));
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
}

.footer__brand img {
  display: inline-block;
  height: 28px;
  width: auto;
  margin-bottom: 20px;
  opacity: 0.9;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  font-size: 14px;
}

.footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 2px;
  border-bottom: 1px solid transparent;
  transition: color 120ms ease, border-color 120ms ease;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
  outline: none;
}

.footer__legal {
  max-width: 70ch;
  margin: 14px auto 0;
  line-height: 1.55;
}

.footer__copyright {
  margin-top: 10px;
}

/* ---------- Reveal on scroll ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .hero__copy > *,
  .hero__visual {
    animation: rise 800ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero__copy > :nth-child(2) { animation-delay: 80ms; }
  .hero__copy > :nth-child(3) { animation-delay: 160ms; }
  .hero__copy > :nth-child(4) { animation-delay: 240ms; }
  .hero__visual { animation-delay: 200ms; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .world-strip__track,
  .floating-card,
  .typing span {
    animation: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 36px;
  }

  .hero__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .features,
  .worlds {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature--wide {
    grid-column: span 2;
  }

  .nav__links {
    display: none;
  }
}

@media (max-width: 680px) {
  .steps,
  .features,
  .worlds {
    grid-template-columns: 1fr;
  }

  .feature--wide {
    grid-column: auto;
  }

  .section {
    padding-top: 84px;
  }

  .section__head {
    margin-bottom: 36px;
  }

  .stats {
    grid-template-columns: 1fr;
    margin-top: 84px;
  }

  .stat {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 12px;
  }

  .stat:first-child {
    border-top: none;
  }

  .cta {
    margin: 84px 16px 0;
    padding: 48px 22px 52px;
    border-radius: 28px;
  }

  .phone {
    width: 290px;
    height: 590px;
  }

  .floating-card--call {
    left: 0;
    top: 40px;
  }

  .floating-card--memory {
    right: 0;
    bottom: 50px;
  }

  .nav__brand img {
    height: 26px;
  }
}

@media (max-width: 380px) {
  .store-button {
    width: 100%;
    justify-content: center;
  }

  .floating-card {
    display: none;
  }
}
