/* ============================================================
   Faze — shared styles
   Design system + MagicUI effects ported to vanilla CSS
   ============================================================ */

:root {
  /* Dark theme */
  --bg: #0d0d0d;
  /* translucent so the ambient body glow shows through elevated sections */
  --bg-elevated: rgba(255, 255, 255, 0.022);
  --card: #1a1a1a;
  --border: #2a2a2a;
  --text: #ffffff;
  --muted: #a1a1aa;
  --ring: #ffffff;
  --grad-from: #ff2d55;
  --grad-to: #22d3ee;
  /* gradient text endpoint — vivid cyan reads fine on dark */
  --grad-to-text: #22d3ee;
  --gradient: linear-gradient(90deg, #ff2d55, #22d3ee);
  /* soft shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px -25px rgba(0, 0, 0, 0.9);
  --shadow-xl: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
  --maxw: 1200px;
  --nav-h: 72px;
  /* z-index scale */
  --z-nav: 50;
  --z-overlay: 40;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  /* ambient brand glows — keeps the dark theme but adds color depth */
  background-image: radial-gradient(
      ellipse 55% 45% at 12% 4%,
      rgba(255, 45, 85, 0.14),
      transparent 55%
    ),
    radial-gradient(
      ellipse 50% 45% at 88% 10%,
      rgba(34, 211, 238, 0.12),
      transparent 55%
    ),
    radial-gradient(
      ellipse 65% 50% at 50% 96%,
      rgba(168, 85, 247, 0.1),
      transparent 65%
    );
  background-attachment: fixed;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

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

p {
  margin: 0;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

section {
  padding-block: 96px;
}

.section-head {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.125rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  padding: 7px 14px 7px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gradient);
  flex: none;
}

/* ---------- Gradient text (MagicUI: animated-gradient-text) ---------- */
.gradient-text {
  background: linear-gradient(
    90deg,
    var(--grad-from),
    var(--grad-to-text),
    var(--grad-from)
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradient-shift 6s linear infinite;
}

@keyframes gradient-shift {
  to {
    background-position: -300% 0;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding-inline: 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.0625rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.25s ease, opacity 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

/* Primary = gradient pill with MagicUI shimmer */
.btn-primary {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--gradient);
  overflow: hidden;
  box-shadow: 0 8px 30px -10px rgba(255, 45, 85, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -10px rgba(34, 211, 238, 0.6);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Shimmer sweep (MagicUI: shimmer-button) */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  animation: shimmer-slide 3s linear infinite;
}

@keyframes shimmer-slide {
  to {
    transform: translateX(100%);
  }
}

/* Secondary = outlined pill */
.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #3a3a3a;
  transform: translateY(-2px);
}

/* Liquid glass = frosted, light-bending pill (21st.dev liquid-glass-button) */
.btn-liquid-glass {
  position: relative;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: transform 0.3s ease;
}

.btn-liquid-glass:hover {
  transform: scale(1.05);
}

.btn-liquid-glass:active {
  transform: scale(0.97);
}

.liquid-glass-shadow {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    0 0 8px rgba(0, 0, 0, 0.03),
    0 2px 6px rgba(0, 0, 0, 0.08),
    inset 3px 3px 0.5px -3.5px rgba(255, 255, 255, 0.09),
    inset -3px -3px 0.5px -3.5px rgba(255, 255, 255, 0.85),
    inset 1px 1px 1px -0.5px rgba(255, 255, 255, 0.6),
    inset -1px -1px 1px -0.5px rgba(255, 255, 255, 0.6),
    inset 0 0 6px 6px rgba(255, 255, 255, 0.12),
    inset 0 0 2px 2px rgba(255, 255, 255, 0.06),
    0 0 12px rgba(0, 0, 0, 0.15);
}

.liquid-glass-blur {
  position: absolute;
  inset: 0;
  z-index: -1;
  isolation: isolate;
  border-radius: inherit;
  overflow: hidden;
  backdrop-filter: url(#container-glass);
  -webkit-backdrop-filter: blur(6px);
}

@supports (backdrop-filter: url(#container-glass)) {
  .liquid-glass-blur {
    -webkit-backdrop-filter: url(#container-glass);
  }
}

.liquid-glass-label {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.btn-block {
  width: 100%;
}

/* App Store / Google Play download badge */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 44px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 56px;
  padding: 0 22px;
  border-radius: 14px;
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  background: #141414;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.8);
}

.store-badge--soon {
  cursor: default;
  opacity: 0.65;
}

.store-badge--soon:hover {
  transform: none;
  background: #000000;
  box-shadow: none;
}

.store-badge:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

.store-badge svg {
  width: 27px;
  height: 27px;
  flex: none;
}

.store-badge small {
  display: block;
  font-size: 0.68rem;
  line-height: 1.1;
  opacity: 0.85;
  letter-spacing: 0.02em;
}

.store-badge strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ---------- Navbar (floating glassmorphism pill) ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 24px 16px 0;
}

.nav-inner {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  height: 58px;
  padding: 0 10px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 999px;
  background: rgba(22, 22, 22, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding-inline: 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 6px 20px -8px rgba(255, 45, 85, 0.6);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -8px rgba(34, 211, 238, 0.6);
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(118px, 14vw, 170px) 0 clamp(80px, 13vw, 150px);
  text-align: center;
  overflow: hidden;
}

/* Animated grid backdrop (MagicUI: animated-grid-pattern) */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(
    ellipse 70% 60% at 50% 0%,
    #000 40%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 70% 60% at 50% 0%,
    #000 40%,
    transparent 100%
  );
}

/* Soft gradient glow behind hero */
.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90vw);
  height: 460px;
  z-index: 0;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(255, 45, 85, 0.22),
    transparent 70%
  );
  filter: blur(40px);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* ---------- Video hero (full-bleed) ---------- */
.hero-video {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-block: clamp(132px, 17vh, 200px);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* dark scrim for headline legibility */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
      ellipse 78% 70% at 50% 40%,
      rgba(10, 10, 10, 0.32),
      rgba(10, 10, 10, 0.62)
    ),
    linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.5) 0%,
      rgba(10, 10, 10, 0.5) 55%,
      rgba(10, 10, 10, 0.45) 100%
    );
}

/* white text over the dark video */
.hero-video h1 {
  color: #ffffff;
}

.hero-video .sub {
  color: rgba(255, 255, 255, 0.85);
}

/* vivid gradient pops on the dark video */
.hero-video .gradient-text {
  background-image: linear-gradient(
    90deg,
    var(--grad-from),
    var(--grad-to),
    var(--grad-from)
  );
}

/* "Be the next…" block laid over the hero video */
.aspire-onhero {
  margin-top: clamp(72px, 11vh, 132px);
}

.aspire-onhero .aspire-headline {
  color: #ffffff;
}

.aspire-onhero p {
  max-width: 560px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
}

.aspire-onhero .hero-actions {
  margin-top: 32px;
}

.hero h1 {
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 800;
}

.hero .sub {
  max-width: 620px;
  margin: 28px auto 0;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}

/* ---------- App showcase (phone mockup) ---------- */
.showcase {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding-block: clamp(96px, 16vh, 200px);
}

.showcase .container {
  position: relative;
  z-index: 1;
}

/* Modern split layout: copy on the left, phones on the right */
.showcase-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  text-align: left;
}

.showcase-split .showcase-frame {
  max-width: 420px;
  margin-left: auto;
}

.showcase-copy h2 {
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: 20px;
}

.showcase-copy p {
  max-width: 520px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.4vw, 1.3rem);
  line-height: 1.6;
}

.showcase-copy .btn {
  margin-top: 38px;
}

/* warm glow behind the mockup that bleeds into the dark page */
.showcase-glow {
  position: absolute;
  top: 34%;
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, 92vw);
  height: 540px;
  z-index: 0;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(255, 45, 85, 0.2),
    rgba(34, 211, 238, 0.12) 48%,
    transparent 72%
  );
  filter: blur(80px);
  pointer-events: none;
}

.showcase-frame {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}

.showcase-frame img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.55));
}

/* MagicUI: Dot Pattern — faint textured grid behind the mockup */
.showcase-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.11) 1px,
    transparent 1px
  );
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(
    ellipse 58% 52% at 50% 46%,
    #000 28%,
    transparent 74%
  );
  mask-image: radial-gradient(
    ellipse 58% 52% at 50% 46%,
    #000 28%,
    transparent 74%
  );
}

/* MagicUI: Meteors — drifting streaks behind the mockup */
.showcase-meteors {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.meteor {
  --angle: -215deg;
  position: absolute;
  top: -5%;
  width: 2px;
  height: 2px;
  border-radius: 9999px;
  background: #71717a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  animation: meteor linear infinite;
}

/* meteor tail */
.meteor::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, #71717a, transparent);
}

@keyframes meteor {
  0% {
    transform: rotate(var(--angle)) translateX(0);
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: rotate(var(--angle)) translateX(-500px);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .meteor {
    animation: none;
    opacity: 0;
  }
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 24px;
}

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

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

.card {
  position: relative;
  background: linear-gradient(180deg, #1c1c1e 0%, #161618 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s ease, box-shadow 0.3s ease;
}

/* subtle top highlight for depth */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    transparent 38%
  );
  pointer-events: none;
}

.card > * {
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 1);
}

/* Border beam (MagicUI: border-beam) — traveling highlight on hover */
.card-beam::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--beam-angle, 0deg),
    transparent 0deg,
    var(--grad-from) 40deg,
    var(--grad-to) 80deg,
    transparent 120deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-beam:hover::after {
  opacity: 1;
  animation: beam-spin 4s linear infinite;
}

@property --beam-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes beam-spin {
  to {
    --beam-angle: 360deg;
  }
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fafafa;
  margin-bottom: 22px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

/* brand reveal on hover */
.card:hover .card-icon {
  color: #ff6b8a;
  border-color: rgba(255, 45, 85, 0.35);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 9px;
}

.card p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

/* ---------- Section divider (between showcase & how-it-works) ---------- */
.section-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.14) 50%,
    transparent
  );
}

/* ---------- Stats / social proof ---------- */
.stats {
  padding-block: clamp(72px, 12vh, 140px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.stat {
  text-align: center;
  padding: clamp(24px, 3vw, 36px) 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-elevated);
}

.stat-num {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1rem;
}

/* ---------- "How it works" — step carousel ---------- */
.hiw {
  overflow: hidden;
  padding-bottom: 80px;
}

.hiw-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hiw-carousel::-webkit-scrollbar {
  display: none;
}

.hiw-track {
  display: flex;
}

.hiw-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  padding-block: 16px;
  padding-inline: max(24px, (100% - var(--maxw)) / 2);
}

/* alternate which side the phone sits on */
.hiw-slide--reverse .hiw-visual {
  order: 2;
}

/* ----- visual / phone ----- */
.hiw-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hiw-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 340px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(255, 45, 85, 0.22),
    rgba(34, 211, 238, 0.12) 50%,
    transparent 72%
  );
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}

.phone {
  position: relative;
  z-index: 1;
  width: 264px;
  height: 540px;
  padding: 12px;
  border-radius: 40px;
  background: #0c0c0e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 104px;
  height: 24px;
  border-radius: 14px;
  background: #000;
  z-index: 2;
}

.phone-screen {
  height: 100%;
  padding: 42px 18px 18px;
  border-radius: 30px;
  background: linear-gradient(180deg, #18181b, #0f0f11);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

/* screen UI primitives */
.scr-head {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}
.scr-media {
  height: 132px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(140deg, rgba(255, 45, 85, 0.45), rgba(34, 211, 238, 0.32));
}
.scr-media svg {
  width: 34px;
  height: 34px;
}
.scr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.scr-label {
  font-size: 0.82rem;
  color: var(--muted);
}
.scr-pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.scr-line {
  display: block;
  height: 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.09);
}
.scr-line.short {
  width: 58%;
}
.scr-btn {
  margin-top: auto;
  padding: 12px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  border-radius: 12px;
  background: var(--gradient);
}

/* creator rows (step 02) */
.scr-creator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.scr-creator.is-active {
  border-color: rgba(255, 45, 85, 0.5);
  background: rgba(255, 45, 85, 0.08);
}
.scr-avatar {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(140deg, #ff2d55, #22d3ee);
}
.scr-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.scr-creator .scr-line {
  height: 8px;
}

/* payment confirm (step 03) */
.scr-center {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}
.scr-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(140deg, #ff2d55, #22d3ee);
  box-shadow: 0 12px 30px -8px rgba(255, 45, 85, 0.6);
}
.scr-check svg {
  width: 30px;
  height: 30px;
}
.scr-amount {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.scr-sub {
  font-size: 0.82rem;
  color: var(--muted);
}
.scr-center .scr-btn {
  margin-top: 6px;
  width: 100%;
}

/* ----- text content ----- */
.hiw-content {
  position: relative;
  max-width: 30rem;
}
.hiw-num {
  display: block;
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 0.08em;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.03)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hiw-content h3 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.hiw-content p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ----- pagination dots ----- */
.hiw-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}
.hiw-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}
.hiw-dot.is-active {
  width: 28px;
  background: var(--gradient);
}

@media (max-width: 820px) {
  .hiw-slide {
    grid-template-columns: 1fr;
    gap: 30px;
    justify-items: center;
    text-align: center;
  }
  .hiw-slide--reverse .hiw-visual {
    order: 0;
  }
  .hiw-content {
    margin-inline: auto;
  }
}

/* Numbered step cards */
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-weight: 800;
  color: #fff;
  background: var(--gradient);
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step p {
  color: var(--muted);
  font-size: 0.98rem;
}

.steps {
  display: grid;
  gap: 28px;
  max-width: 760px;
  margin-inline: auto;
}

/* ---------- Marquee (MagicUI: marquee) ---------- */
.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 0;
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
  padding-block: 22px;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 100%;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  padding-inline: 28px;
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
}

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

/* ---------- Pricing ---------- */
.pricing {
  text-align: center;
}

.pricing .price {
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 800;
  line-height: 1;
}

.pricing p {
  max-width: 480px;
  margin: 20px auto 0;
  font-size: 1.15rem;
  color: var(--muted);
}

/* "Powered by Stripe" badge */
.stripe-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stripe-badge::before {
  content: "Powered by";
}

.stripe-badge svg {
  height: 22px;
  width: auto;
  color: #fff;
}

/* ---------- Two-column (about) ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.col {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}

.col > h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 28px;
}

.col .steps {
  gap: 24px;
}

/* ---------- Origin story ---------- */
.origin {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.origin h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 800;
}

.origin p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.15rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 32px;
}

/* ---------- Aspire rotator (MagicUI: word-rotate) ---------- */
.aspire {
  text-align: center;
  background: var(--bg-elevated);
}

.aspire .eyebrow {
  margin-bottom: 24px;
}

.aspire-headline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.2em 0.35em;
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.aspire-rotator {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}

.aspire-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  height: 1.1em;
  border-radius: 999px;
  overflow: hidden;
  flex: none;
  box-shadow: 0 0 0 4px rgba(255, 45, 85, 0.08);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.aspire-avatar .aspire-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aspire-name {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.aspire-rotator.swap .aspire-avatar,
.aspire-rotator.swap .aspire-name {
  opacity: 0;
  transform: translateY(-12px);
}

.aspire p {
  max-width: 560px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.aspire .hero-actions {
  margin-top: 36px;
}

/* ---------- Download page ---------- */
.email-capture {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 40px auto 0;
}

.email-capture input {
  flex: 1;
  height: 56px;
  padding-inline: 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}

.email-capture input::placeholder {
  color: var(--muted);
}

.email-capture input:focus {
  outline: none;
  border-color: var(--grad-to);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer .logo {
  font-size: 1.25rem;
}

.footer .logo-mark {
  width: 28px;
  height: 28px;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Scroll reveal (MagicUI: blur-fade) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .two-col {
    grid-template-columns: 1fr;
  }

  .showcase-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .showcase-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .showcase-split .showcase-frame {
    max-width: 460px;
    transform: none;
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  section {
    padding-block: 72px;
  }

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

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 94px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(18, 18, 18, 0.92);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    backdrop-filter: saturate(160%) blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    transform: translateY(-12px) scale(0.98);
    transform-origin: top center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: var(--z-overlay);
  }

  .nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px 16px;
    font-size: 1.05rem;
    border-radius: 14px;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(255, 255, 255, 0.06);
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .store-badges,
  .email-capture {
    flex-direction: column;
  }

  .email-capture {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .gradient-text {
    background-position: 0 0;
  }

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