/* ═══════════════════════════════════════════════════════
   RateMe — Landing Page v2 — Luxe Dark / Neon Accent
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&display=swap');

:root {
  --bg:           #07070B;
  --bg-elevated:  #0D0D14;
  --surface:      #12121A;
  --surface-high: #1A1A26;
  --border:       rgba(255,255,255,0.07);
  --border-bright:rgba(255,255,255,0.18);

  --text:         #F2F2F7;
  --text-muted:   #9090A8;
  --text-faint:   #58586A;

  --pink:    #FF3FA0;
  --violet:  #8B5CF6;
  --violet2: #A78BFA;
  --cyan:    #00E5FF;
  --gold:    #FFD166;
  --green:   #34D399;

  --grad-brand: linear-gradient(135deg, var(--pink) 0%, var(--violet) 50%, var(--cyan) 100%);
  --grad-soft:  linear-gradient(135deg, rgba(255,63,160,.2), rgba(139,92,246,.2));

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 100px;

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --trans: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Mesh Grain Overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse 120% 80% at 0% 0%, rgba(139,92,246,.12) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(255,63,160,.10) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 100% 100%, 100% 100%, 200px 200px;
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

/* ── Parallax background orbs (depth on scroll) ── */
.parallax-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.porb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  will-change: transform;
}
.porb--1 { width: 380px; height: 380px; top: 2%;  left: -6%;
  background: radial-gradient(circle, rgba(139,92,246,.55), transparent 70%); }
.porb--2 { width: 300px; height: 300px; top: 26%; right: -8%;
  background: radial-gradient(circle, rgba(255,63,160,.5), transparent 70%); }
.porb--3 { width: 240px; height: 240px; top: 52%; left: -4%;
  background: radial-gradient(circle, rgba(0,229,255,.4), transparent 70%); }
.porb--4 { width: 440px; height: 440px; top: 70%; right: -12%;
  background: radial-gradient(circle, rgba(139,92,246,.45), transparent 70%); }
.porb--5 { width: 320px; height: 320px; top: 88%; left: 28%;
  background: radial-gradient(circle, rgba(255,63,160,.4), transparent 70%); }
@media (prefers-reduced-motion: reduce) {
  .porb { display: none; }
}

/* ── Utilities ── */
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700; font-size: 15px;
  transition: var(--trans);
  cursor: pointer; border: none;
  white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 0 32px rgba(139,92,246,.4), 0 4px 20px rgba(0,0,0,.3);
}
.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 48px rgba(139,92,246,.6), 0 8px 32px rgba(0,0,0,.4);
}
.btn--ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-bright);
  color: var(--text-muted);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  border-color: var(--violet2);
  color: var(--text);
  transform: translateY(-1px);
}
.btn--small { padding: 8px 18px; font-size: 13px; }
.btn--lg { padding: 18px 40px; font-size: 17px; letter-spacing: -0.01em; }

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.3);
  color: var(--violet2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge--glow {
  box-shadow: 0 0 20px rgba(139,92,246,0.2);
  animation: pulse-badge 3s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 20px rgba(139,92,246,.2); }
  50%       { box-shadow: 0 0 32px rgba(139,92,246,.45); }
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 24px;
  height: 68px;
  display: flex; align-items: center;
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  background: rgba(7,7,11,.6);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s ease;
}
.nav.scrolled {
  background: rgba(7,7,11,.88);
  border-bottom-color: rgba(255,255,255,.1);
}
.nav__inner {
  max-width: 1240px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  transition: opacity 0.2s;
}
.nav__brand:hover { opacity: 0.85; }
.nav__logo {
  width: 34px; height: 34px;
  border-radius: 10px;
  object-fit: contain;
}
.brand {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.brand--accent { color: var(--violet2); }
.brand--dot { color: var(--pink); }

.nav__links {
  display: flex; align-items: center; gap: 32px;
}
.nav__links a:not(.btn) {
  font-size: 14px; font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav__links a:not(.btn)::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 24px 80px;
  gap: 80px;
  max-width: 1240px; margin: 0 auto;
  position: relative;
}
.hero__content { flex: 1; max-width: 580px; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--violet2);
  margin-bottom: 24px;
  padding: 6px 14px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: var(--radius-pill);
}
.hero__eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero__title em {
  font-style: normal;
  display: block;
}

.hero__sub {
  font-size: 18px; line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 480px;
  font-weight: 300;
}

.hero__cta {
  display: flex; gap: 14px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex; gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero__stat-val {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 800;
  letter-spacing: -0.03em;
}
.hero__stat-label {
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ── PHONE MOCKUP ── */
.hero__visual {
  flex: 0 0 auto;
  perspective: 1200px;
}
.phone-wrapper {
  transform-style: preserve-3d;
  transition: transform 0.08s ease-out;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,.5));
}

.phone-frame {
  width: 290px; height: 580px;
  background: #101018;
  border-radius: 44px;
  border: 1.5px solid rgba(255,255,255,.12);
  padding: 14px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    inset 0 1px 0 rgba(255,255,255,.08),
    0 32px 80px rgba(0,0,0,.6),
    0 0 80px rgba(139,92,246,.08);
}

/* Notch */
.phone-frame::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 28px;
  background: #101018;
  border-radius: 0 0 18px 18px;
  z-index: 10;
  border: 1.5px solid rgba(255,255,255,.07);
  border-top: none;
}

/* Side shine */
.phone-frame::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 44px;
  background: linear-gradient(135deg,
    rgba(255,255,255,.06) 0%,
    transparent 40%,
    transparent 60%,
    rgba(255,255,255,.02) 100%);
  pointer-events: none;
  z-index: 5;
}

.phone-screen {
  width: 100%; height: 100%;
  background: var(--bg);
  border-radius: 32px;
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}

/* Profile cards carousel */
.phone-carousel {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.phone-card {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 24px 20px 16px;
  gap: 10px;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.phone-card.active {
  opacity: 1;
  transform: translateY(0);
}
.phone-card.exit-up {
  opacity: 0;
  transform: translateY(-60px);
}

.card-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  position: relative;
}
.card-avatar__ring {
  width: 100%; height: 100%;
  border-radius: 50%;
  padding: 2.5px;
  background: var(--grad-brand);
}
.card-avatar__img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--surface-high), var(--surface));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  font-weight: 800;
}

.card-name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 17px;
  letter-spacing: -0.02em;
}
.card-location {
  font-size: 11px; color: var(--text-faint);
  display: flex; align-items: center; gap: 4px;
}

.card-score {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: flex; align-items: baseline; gap: 6px;
}
.card-score__star { font-size: 24px; }
.card-score__sub { font-size: 13px; color: var(--text-faint); font-family: var(--font-body); font-weight: 400; }

/* Star rating widget in phone */
.phone-rating {
  width: 100%;
  padding: 10px 4px 8px;
}
.phone-rating__label {
  font-size: 10px; color: var(--text-faint);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 5px;
}
.star-fill-wrapper {
  position: relative;
  width: 100%;
  height: 52px;
}
.star-track {
  width: 100%; height: 100%;
  position: relative;
}
.star-svg {
  width: 100%; height: 100%;
  position: absolute; inset: 0;
}
.star-fill-bar {
  position: absolute; top: 0; bottom: 0; left: 0;
  border-radius: 4px;
  overflow: hidden;
  transition: width 1.2s cubic-bezier(0.22,1,0.36,1);
}

/* Phone bottom bar */
.phone-navbar {
  display: flex; justify-content: space-around; align-items: center;
  padding: 12px 8px;
  border-top: 1px solid var(--border);
  background: rgba(7,7,11,.9);
}
.phone-nav-dot {
  width: 32px; height: 4px;
  border-radius: 2px;
  background: var(--surface-high);
}
.phone-nav-dot.active {
  background: var(--grad-brand);
  box-shadow: 0 0 8px rgba(139,92,246,.4);
}

/* Live indicator */
.phone-live {
  position: absolute; top: 36px; left: 14px;
  display: flex; align-items: center; gap: 6px;
  background: rgba(13,13,20,.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 10px; font-weight: 700;
  color: var(--text-muted);
  z-index: 4;
}
.phone-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: blink 2s ease-in-out infinite;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── STATS STRIP ── */
.stats-strip {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  overflow: hidden;
}
.stats-strip__inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item__num {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-item__label {
  font-size: 12px; color: var(--text-faint);
  text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 500;
}

/* ── FEATURES ── */
.features {
  padding: 110px 24px;
  max-width: 1240px; margin: 0 auto;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 32px;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover { z-index: 1; }

.feature-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  position: relative;
}
.feature-card__icon::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  opacity: 0.15;
}
.icon--pink   { color: var(--pink);   background: rgba(255,63,160,.12); }
.icon--violet { color: var(--violet2);background: rgba(139,92,246,.12); }
.icon--cyan   { color: var(--cyan);   background: rgba(0,229,255,.12); }
.icon--gold   { color: var(--gold);   background: rgba(255,209,102,.12); }
.icon--green  { color: var(--green);  background: rgba(52,211,153,.12); }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--text-muted); font-size: 14px; line-height: 1.7;
  font-weight: 300;
}

/* ── HOW IT WORKS ── */
.how {
  padding: 110px 24px;
  max-width: 960px; margin: 0 auto;
}
.steps {
  display: flex; align-items: stretch; justify-content: center;
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(50% - 280px); right: calc(50% - 280px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--pink), transparent);
  pointer-events: none;
}
.step {
  flex: 1; max-width: 260px;
  text-align: center;
  padding: 0 20px;
}
.step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: 22px;
  margin: 0 auto 20px;
  position: relative;
  color: var(--violet2);
  transition: var(--trans);
}
.step__num::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: var(--grad-brand);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}
.step:hover .step__num::after { opacity: 1; }
.step:hover .step__num { border-color: transparent; color: #fff; background: transparent; }

.step h3 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.step p { color: var(--text-muted); font-size: 14px; line-height: 1.65; font-weight: 300; }

/* ── DOWNLOAD ── */
.download {
  padding: 120px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,63,160,.08) 0%, rgba(139,92,246,.06) 40%, transparent 70%);
  bottom: -200px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.download__eyebrow {
  display: inline-block;
  margin-bottom: 20px;
}
.download h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.download__sub {
  font-size: 18px; color: var(--text-muted);
  margin-bottom: 44px;
  max-width: 460px; margin-inline: auto;
  font-weight: 300;
  line-height: 1.7;
}
.download__buttons {
  margin-bottom: 16px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.download__note {
  font-size: 12px; color: var(--text-faint);
  letter-spacing: 0.02em;
}
.download__stores {
  margin-top: 32px;
  display: flex; gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.store-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px; color: var(--text-muted);
  transition: var(--trans);
}
.store-badge:hover { border-color: var(--border-bright); color: var(--text); }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 24px 28px;
}
.footer__inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.footer__brand { max-width: 260px; }
.footer__brand p {
  color: var(--text-muted); font-size: 13px;
  margin-top: 10px; line-height: 1.65;
  font-weight: 300;
}
.footer__links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 14px; color: var(--text-muted);
  transition: color 0.2s;
  font-weight: 300;
}
.footer__col a:hover { color: var(--text); }

.footer__bottom {
  max-width: 1240px; margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer__bottom p { font-size: 13px; color: var(--text-faint); }
.footer__tagline {
  font-size: 12px; color: var(--text-faint);
  display: flex; align-items: center; gap: 6px;
}
.footer__tagline::before {
  content: '';
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 110px;
    gap: 48px;
  }
  .hero__sub { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__stats { justify-content: center; }
  .stats-strip__inner { gap: 40px; }
}

@media (max-width: 640px) {
  .nav__links a:not(.btn) { display: none; }
  .steps { flex-direction: column; align-items: center; gap: 40px; }
  .steps::before { display: none; }
  .footer__inner { flex-direction: column; }
  .footer__links { gap: 40px; }
  .phone-frame { width: 260px; height: 520px; }
  .hero__stats { gap: 24px; flex-wrap: wrap; justify-content: center; }
}

/* ════════════════════════════════════════════════════
   v4 — photo-driven overrides
   ════════════════════════════════════════════════════ */

/* Carousel: single .is-active class → clean crossfade, NO overlap */
.phone-card {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 26px 20px 14px; gap: 9px;
  opacity: 0;
  transform: translateY(34px) scale(0.97);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
  will-change: opacity, transform;
}
.phone-card.is-active { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

/* Real photo avatar */
.card-avatar { width: 96px; height: 96px; }
.card-avatar__ring {
  width: 100%; height: 100%; border-radius: 50%; padding: 3px;
  background: var(--grad-brand);
  box-shadow: 0 0 28px rgba(139,92,246,.35);
}
.card-avatar__img {
  width: 100%; height: 100%; border-radius: 50%;
  object-fit: cover; display: block;
  border: 2px solid var(--bg);
  background: var(--surface-high);
}
.card-location { font-size: 12px; color: var(--text-faint); }

/* Rating bar (matches the app's star-fill widget) */
.phone-rating { width: 100%; margin-top: 6px; }
.phone-rating__label {
  font-size: 10px; letter-spacing: .12em; color: var(--text-faint);
  text-align: center; margin-bottom: 7px; font-weight: 600;
}
.rate-bar {
  position: relative; width: 100%; height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.rate-bar__fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--grad-brand);
  box-shadow: 0 0 24px rgba(255,63,160,.4);
}
.rate-bar__num {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.phone-nav-dot { width: 30px; height: 4px; border-radius: 2px; background: var(--surface-high); }
.phone-nav-dot.is-on { background: var(--grad-brand); box-shadow: 0 0 8px rgba(139,92,246,.5); }

/* Hero social proof — stacked face photos */
.hero__proof { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.proof-faces { display: flex; }
.proof-faces img {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--bg);
  margin-left: -12px; box-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.proof-faces img:first-child { margin-left: 0; }
.hero__proof p { font-size: 13px; color: var(--text-muted); font-weight: 300; max-width: 220px; }

/* ── SEE IT IN ACTION — real screenshots in phone frames ── */
.preview { padding: 110px 24px; max-width: 1240px; margin: 0 auto; }
.preview__head { text-align: center; margin-bottom: 56px; }
.preview__head .badge { margin-bottom: 18px; }
.preview__sub { color: var(--text-muted); font-weight: 300; margin-top: -2.2rem; }
.preview__rail {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 28px; flex-wrap: wrap;
}
.shot { width: 240px; will-change: transform; }
.shot--mid { width: 268px; }
.shot__frame {
  border-radius: 30px; padding: 8px;
  background: #101018;
  border: 1.5px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 50px rgba(139,92,246,.12);
  overflow: hidden;
}
.shot__frame img { width: 100%; display: block; border-radius: 22px; }
.shot figcaption {
  margin-top: 18px; text-align: center;
  font-size: 14px; color: var(--text-muted); font-weight: 300; line-height: 1.5;
}
.shot figcaption strong {
  display: block; font-family: var(--font-display); font-weight: 700;
  color: var(--text); font-size: 16px; margin-bottom: 3px;
}

/* Feed mockups — HD ComfyUI faces in the app's full-bleed feed look */
.feed-mock {
  position: relative; width: 100%;
  aspect-ratio: 9 / 17;
  border-radius: 30px; overflow: hidden;
  background: #101018;
  border: 1.5px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 50px rgba(139,92,246,.12);
}
.feed-mock__photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 20%;
}
.feed-mock::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,7,11,.94) 4%, rgba(7,7,11,.35) 38%, transparent 62%);
}
.feed-mock__live, .feed-mock__rank, .feed-mock__follow {
  position: absolute; top: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 100px;
  font-size: 11px; font-weight: 700;
  background: rgba(13,13,20,.7); backdrop-filter: blur(8px);
  border: 1px solid var(--border); color: #fff;
}
.feed-mock__live { left: 14px; }
.feed-mock__live span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); }
.feed-mock__rank { left: 14px; background: linear-gradient(135deg, rgba(255,209,102,.28), rgba(255,63,160,.22)); border-color: rgba(255,209,102,.5); color: var(--gold); }
.feed-mock__follow { right: 14px; background: rgba(52,211,153,.2); border-color: rgba(52,211,153,.5); color: var(--green); }
.feed-mock__overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px; }
.feed-mock__star {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 14px;
  margin-bottom: 9px; padding: 5px 12px; border-radius: 100px;
  background: var(--grad-brand); box-shadow: 0 4px 18px rgba(255,63,160,.4);
}
.feed-mock__star b { font-size: 19px; }
.feed-mock__star--gold { background: linear-gradient(135deg, var(--gold), #ff9f43); color: #1a1205; box-shadow: 0 4px 18px rgba(255,209,102,.45); }
.feed-mock__name {
  font-family: var(--font-display); font-weight: 800; font-size: 21px;
  color: #fff; letter-spacing: -0.02em; line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
}
.feed-mock__loc { font-size: 12px; color: rgba(255,255,255,.72); margin-top: 3px; }
.feed-mock__dots { display: flex; gap: 4px; margin-top: 13px; }
.feed-mock__dots i { flex: 1; height: 6px; border-radius: 3px; background: var(--grad-brand); }
.feed-mock__dots i.off { background: rgba(255,255,255,.18); box-shadow: none; }

@media (max-width: 640px) {
  .hero__proof { justify-content: center; }
  .preview__rail { gap: 40px; }
  .shot, .shot--mid { width: 80%; max-width: 300px; }
  .shot[data-parallax] { transform: none !important; }
}
