/* ═══════════════════════════════════════════════════
   NOUVELLVIE v2 — PREMIUM CSS
   Editorial · Liquid Glass · Bold · Fireside-inspired
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Outfit:wght@300;400;500;600;700&family=Noto+Naskh+Arabic:wght@400;500;600&display=swap');

/* ── TOKENS ──────────────────────────────────────── */
:root {
  /* Core palette — warm editorial */
  --sand:       #F2EDE4;
  --sand-deep:  #E8E0D4;
  --cream:      #FAF7F2;
  --white:      #FFFFFF;
  --ink:        #1C1914;
  --ink-80:     rgba(28,25,20,0.80);
  --ink-60:     rgba(28,25,20,0.60);
  --ink-40:     rgba(28,25,20,0.40);
  --ink-15:     rgba(28,25,20,0.15);
  --ink-08:     rgba(28,25,20,0.08);
  --ink-04:     rgba(28,25,20,0.04);

  /* Accent — vivid orange */
  --amber:      #ef4c23;
  --amber-deep: #c93a14;
  --amber-pale: rgba(239,76,35,0.10);
  --amber-glow: rgba(239,76,35,0.32);

  /* Dark sections */
  --dark:       #161412;
  --dark-2:     #1e1b18;
  --dark-3:     #252118;

  /* Surfaces */
  --glass-light: rgba(250,247,242,0.70);
  --glass-dark:  rgba(22,20,18,0.68);
  --glass-amber: rgba(239,76,35,0.10);

  /* Borders */
  --line:       rgba(28,25,20,0.10);
  --line-dark:  rgba(250,247,242,0.10);
  --line-amber: rgba(239,76,35,0.28);

  /* Shadows */
  --sh-xs: 0 1px 3px rgba(28,25,20,0.06);
  --sh-sm: 0 2px 12px rgba(28,25,20,0.09);
  --sh-md: 0 8px 28px rgba(28,25,20,0.12);
  --sh-lg: 0 20px 56px rgba(28,25,20,0.16);
  --sh-xl: 0 36px 80px rgba(28,25,20,0.20);
  --sh-amber: 0 8px 28px rgba(239,76,35,0.38);
  --sh-amber-lg: 0 16px 48px rgba(239,76,35,0.32);

  /* Typography */
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans:  'Outfit', -apple-system, sans-serif;
  --ar:    'Noto Naskh Arabic', serif;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 150ms var(--ease-out);
  --t-base: 280ms var(--ease-out);
  --t-slow: 480ms var(--ease-out);

  /* Geometry */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 100px;

  /* Layout */
  --nav-h: 62px;
  --tab-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --app-w: 500px;
}

/* ── RESET ───────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  height: 100%;
}

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  min-height: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body[lang="ar"] { font-family: var(--ar); direction: rtl; }

img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; -webkit-tap-highlight-color: transparent; user-select: none; }
input, select, textarea { font-family: inherit; font-size: inherit; -webkit-appearance: none; appearance: none; outline: none; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
ul,ol { list-style: none; }

/* ── APP WRAPPER (centers on desktop) ───────────────────── */
body {
  background: #E8E4DC;
}

.app-frame {
  width: 100%;
  max-width: var(--app-w);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--cream);
  position: relative;
  box-shadow: 0 0 80px rgba(28,25,20,0.25);
}

/* On desktop, show frame border */
@media (min-width: 520px) {
  .app-frame {
    border-left: 1px solid var(--ink-15);
    border-right: 1px solid var(--ink-15);
  }
}

/* ── TYPOGRAPHY ──────────────────────────────────── */
.t-display {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 11vw, 4.2rem);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.t-h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 8vw, 3.2rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.018em;
}

.t-h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 6.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.t-h3 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 4.5vw, 1.7rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.t-body { font-size: 0.9rem; font-weight: 400; line-height: 1.72; }
.t-small { font-size: 0.8rem; line-height: 1.65; }
.t-micro { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

.t-serif { font-family: var(--serif); }
.t-italic { font-style: italic; }
.t-amber { color: var(--amber); }
.t-cream { color: var(--cream); }
.t-sand { color: var(--sand); }
.t-muted { color: var(--ink-60); }
.t-muted-dark { color: rgba(250,247,242,0.55); }
.t-center { text-align: center; }
.t-bold { font-weight: 700; }

/* ── NAV ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  max-width: var(--app-w);
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  transition: background var(--t-base), border-color var(--t-base);
  border-bottom: 1px solid transparent;
}

.nav--over {
  background: transparent;
}

.nav--solid {
  background: var(--glass-light);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-bottom-color: var(--line);
}

.nav--dark-solid {
  background: var(--glass-dark);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border-bottom-color: var(--line-dark);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--t-base);
}

.nav__logo-mark {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heartPulse 2.4s ease-in-out infinite;
}

.nav__logo-mark svg {
  width: 16px;
  height: 16px;
  fill: var(--amber);
  filter: drop-shadow(0 0 4px rgba(239,76,35,0.5));
}

.nav--over .nav__logo,
.nav--dark-solid .nav__logo { color: var(--cream); }
.nav--solid .nav__logo { color: var(--ink); }

/* Lang switcher */
.nav__lang {
  display: flex;
  gap: 2px;
  background: rgba(28,25,20,0.08);
  border-radius: var(--r-pill);
  padding: 3px;
  border: 1px solid var(--line);
}

.nav--over .nav__lang,
.nav--dark-solid .nav__lang {
  background: rgba(250,247,242,0.10);
  border-color: rgba(250,247,242,0.14);
}

.nav__lang-btn {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--ink-60);
  transition: all var(--t-fast);
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: var(--sans);
}

.nav--over .nav__lang-btn,
.nav--dark-solid .nav__lang-btn { color: rgba(250,247,242,0.5); }

.nav__lang-btn.active {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 2px 8px var(--amber-glow);
}

/* ── TAB BAR ─────────────────────────────────────── */
.tabbar {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: var(--app-w);
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  height: calc(var(--tab-h) + var(--safe-b));
  padding-bottom: var(--safe-b);

  /* Liquid glass */
  background: var(--glass-light);
  backdrop-filter: blur(32px) saturate(200%) brightness(1.06);
  -webkit-backdrop-filter: blur(32px) saturate(200%) brightness(1.06);
  border-top: 1px solid rgba(255,255,255,0.65);
  box-shadow: 0 -1px 0 var(--line), inset 0 1px 0 rgba(255,255,255,0.8);

  display: flex;
  align-items: stretch;
}

.tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: all var(--t-base);
  -webkit-tap-highlight-color: transparent;
  padding-bottom: 2px;
  position: relative;
  min-width: 0;
}

.tab__icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-base);
  flex-shrink: 0;
}

.tab__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--ink-40);
  fill: none;
  stroke-width: 1.6;
  transition: stroke var(--t-base);
}

.tab__label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-40);
  transition: color var(--t-base);
  white-space: nowrap;
}

.tab.active .tab__icon { transform: translateY(-1px) scale(1.08); }
.tab.active .tab__icon svg { stroke: var(--ink); }
.tab.active .tab__label { color: var(--ink); }

.tab.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--amber);
}

/* ── SCREENS ─────────────────────────────────────── */
.screen {
  display: none;
  padding-top: 0;
  padding-bottom: calc(var(--tab-h) + var(--safe-b));
  min-height: 100vh;
}
.screen.active { display: block; }

/* ═══════════════════════════════════════════════════
   HOME SCREEN
   ═══════════════════════════════════════════════════ */

/* HERO — full bleed dark with grain */
.hero {
  background: var(--dark);
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Grain texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 15%, rgba(239,76,35,0.22) 0%, transparent 45%),
    radial-gradient(ellipse at 20% 80%, rgba(28,25,20,0.6) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* Decorative lines */
.hero__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(rgba(239,76,35,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239,76,35,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Floating profile cards */
.hero__cards {
  position: absolute;
  top: var(--nav-h);
  right: -14px;
  width: 220px;
  pointer-events: none;
  z-index: 2;
}

.hero-card {
  position: absolute;
  width: 140px;
  height: 190px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--sh-xl);
  will-change: transform;
}

.hero-card--1 {
  top: 0; right: 66px;
  transform: rotate(-5deg);
  background: linear-gradient(160deg, #D4A880, #8B5535);
  animation: floatCard1 6s ease-in-out infinite;
}

.hero-card--2 {
  top: 36px; right: 16px;
  transform: rotate(4deg);
  background: linear-gradient(160deg, #8AABCA, #3A6085);
  opacity: 0.75;
  filter: blur(0.8px);
  animation: floatCard2 7s ease-in-out infinite;
}

.hero-card--3 {
  top: 68px; right: 0;
  transform: rotate(10deg);
  background: linear-gradient(160deg, #B8B090, #7A6A48);
  opacity: 0.40;
  filter: blur(2px);
}

.hero-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 12px 12px;
  background: linear-gradient(to top, rgba(18,15,10,0.9), transparent);
}

.hero-card__name {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  display: block;
}

.hero-card__sub {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.55);
  display: block;
  margin-top: 2px;
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 28px) 24px 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.hero__eyebrow-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulseRing 2s ease-in-out infinite;
}

.hero__h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 10vw, 3.8rem);
  font-weight: 300;
  line-height: 0.97;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin-bottom: 22px;
}

.hero__h1 em {
  font-style: italic;
  color: var(--amber);
  font-weight: 300;
}

.hero__sub {
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(250,247,242,0.52);
  max-width: 320px;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 30px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 0;
  margin-bottom: 28px;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  color: rgba(250,247,242,0.30);
  letter-spacing: 0.03em;
}

.hero__trust-item svg {
  width: 13px; height: 13px;
  stroke: currentColor; fill: none; stroke-width: 2;
  opacity: 0.6;
}

.hero__scroll-hint {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding: 18px 0 32px;
}

.hero__scroll-track {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--amber), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── STAT BAND ───────────────────────────────────── */
.stat-band {
  background: var(--dark-2);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.stat-band::-webkit-scrollbar { display: none; }

.stat-band__item {
  flex: 1;
  min-width: 100px;
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid var(--line-dark);
  flex-shrink: 0;
}

.stat-band__item:last-child { border: none; }

.stat-band__num {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--amber);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

.stat-band__label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.38);
}

/* ── BOLD TEXT SECTIONS (Fireside-style) ─────────── */
.bold-section {
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}

.bold-section--dark {
  background: var(--dark);
  color: var(--cream);
}

.bold-section--amber {
  background: var(--amber);
  color: var(--cream);
}

.bold-section--sand {
  background: var(--sand);
  color: var(--ink);
}

.bold-section--cream {
  background: var(--cream);
  color: var(--ink);
}

/* Kicker label */
.kicker {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

.kicker--amber { color: var(--amber); }
.kicker--cream-muted { color: rgba(250,247,242,0.45); }
.kicker--ink-muted { color: var(--ink-60); }
.kicker--dark { color: var(--dark); }

/* Big statement headline */
.statement {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.statement em { font-style: italic; }
.statement--cream { color: var(--cream); }
.statement--ink { color: var(--ink); }
.statement--amber { color: var(--amber); }

.body-copy {
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.body-copy--muted { color: rgba(250,247,242,0.52); }
.body-copy--ink { color: var(--ink-60); }

/* ── WHY CARDS ───────────────────────────────────── */
.why-grid { display: flex; flex-direction: column; gap: 2px; }

.why-card {
  background: rgba(250,247,242,0.05);
  border: 1px solid rgba(250,247,242,0.09);
  border-radius: var(--r-md);
  padding: 22px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: background var(--t-base);
}

.why-card:active { background: rgba(250,247,242,0.08); }

.why-card__num {
  font-family: var(--serif);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--amber);
  flex-shrink: 0;
  padding-top: 3px;
  width: 22px;
}

.why-card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 5px;
  line-height: 1.35;
}

.why-card p {
  font-size: 0.78rem;
  color: rgba(250,247,242,0.50);
  line-height: 1.65;
  margin: 0;
}

/* ── VS SECTION — full orange background ────────── */
.vs-section {
  background: var(--amber);
  position: relative;
  overflow: hidden;
}

.vs-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.vs-section__inner {
  padding: 44px 24px 44px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vs-section__kicker {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 22px;
}

.vs-col { display: flex; flex-direction: column; gap: 10px; }
.vs-col--bad { margin-bottom: 6px; }
.vs-col--good { margin-top: 6px; }

.vs-col__label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.vs-col--bad .vs-col__label { color: rgba(255,255,255,0.45); }
.vs-col--good .vs-col__label { color: rgba(255,255,255,0.90); }

.vs-divider {
  height: 1px;
  background: rgba(255,255,255,0.22);
  margin: 10px 0;
}

.vs-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: var(--r-pill);
}

.vs-item--bad {
  background: rgba(0,0,0,0.18);
}

.vs-item--good {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.vs-item__sign {
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
  line-height: 1.5;
  width: 18px;
  text-align: center;
}

.vs-item--bad .vs-item__sign { color: rgba(255,255,255,0.45); }
.vs-item--good .vs-item__sign { color: #fff; }

.vs-item span:last-child {
  font-size: 0.82rem;
  line-height: 1.55;
}
.vs-item--bad span:last-child { color: rgba(255,255,255,0.60); }
.vs-item--good span:last-child { color: #fff; font-weight: 500; }

/* ── STEPS (Fireside-style bold numbered) ────────── */
.steps-wrap { padding: 0 24px; }

.step-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.step-item:last-child { border: none; }

.step-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.02em;
}

.step-item h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 7px;
  line-height: 1.2;
}

.step-item p {
  font-size: 0.83rem;
  color: var(--ink-60);
  line-height: 1.68;
  margin: 0 0 10px;
}

.step-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-deep);
  background: var(--amber-pale);
  border: 1px solid rgba(239,76,35,0.2);
  padding: 3px 10px;
  border-radius: var(--r-xs);
}

/* ── QUIZ SECTION ────────────────────────────────── */
.quiz-shell {
  background: var(--dark);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin: 0 16px;
  position: relative;
  box-shadow: var(--sh-xl);
}

.quiz-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 0%, rgba(239,76,35,0.16), transparent 55%);
  pointer-events: none;
}

.quiz-bar {
  height: 3px;
  background: rgba(250,247,242,0.08);
  position: relative;
  overflow: hidden;
}

.quiz-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber), #ff7a55);
  transition: width 0.45s var(--ease-out);
}

.quiz-hdr {
  padding: 26px 22px 18px;
  position: relative;
  z-index: 1;
}

.quiz-hdr h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 5px;
}

.quiz-hdr p {
  font-size: 0.78rem;
  color: rgba(250,247,242,0.45);
  line-height: 1.6;
}

.quiz-step { display: none; padding: 16px 22px; position: relative; z-index: 1; }
.quiz-step.active { display: block; }

.quiz-q {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 14px;
  line-height: 1.4;
}

.quiz-opts { display: flex; flex-direction: column; gap: 7px; }

.quiz-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1.5px solid rgba(250,247,242,0.09);
  background: rgba(250,247,242,0.04);
  cursor: pointer;
  transition: all var(--t-base);
  color: rgba(250,247,242,0.70);
  font-size: 0.84rem;
  font-weight: 500;
}

.quiz-opt:hover { border-color: var(--amber); background: var(--glass-amber); color: var(--cream); }

.quiz-opt.selected {
  border-color: var(--amber);
  background: rgba(239,76,35,0.14);
  color: var(--cream);
}

.quiz-opt__dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(250,247,242,0.22);
  flex-shrink: 0;
  transition: all var(--t-base);
  display: flex; align-items: center; justify-content: center;
}

.quiz-opt.selected .quiz-opt__dot {
  background: var(--amber);
  border-color: var(--amber);
}

.quiz-opt.selected .quiz-opt__dot::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: white;
}

.quiz-footer { padding: 14px 22px 24px; position: relative; z-index: 1; }

.quiz-results {
  display: none;
  padding: 20px 22px 28px;
  position: relative; z-index: 1;
}
.quiz-results.active { display: block; }
.quiz-results.active ~ .quiz-footer { display: none; }

.quiz-results h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 4px;
}

.quiz-results p {
  font-size: 0.76rem;
  color: rgba(250,247,242,0.45);
  margin-bottom: 16px;
}

.quiz-match-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 16px; }

.quiz-match {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(250,247,242,0.06);
  border: 1px solid rgba(250,247,242,0.09);
  border-radius: var(--r-md);
  padding: 12px 14px;
  cursor: pointer;
  transition: all var(--t-base);
}

.quiz-match:hover { background: rgba(250,247,242,0.09); border-color: var(--line-amber); }

.quiz-match__photo {
  width: 46px; height: 46px;
  border-radius: 11px;
  flex-shrink: 0;
}

.quiz-match__info { flex: 1; min-width: 0; }

.quiz-match__name {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--cream);
  display: block;
  margin-bottom: 2px;
}

.quiz-match__detail {
  font-size: 0.7rem;
  color: rgba(250,247,242,0.45);
}

.quiz-match__pct {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--amber);
  line-height: 1;
}

/* ── STORIES ─────────────────────────────────────── */
.stories-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 24px 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  margin: 0 -24px;
}
.stories-rail::-webkit-scrollbar { display: none; }

.story-card {
  min-width: 268px;
  max-width: 280px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  scroll-snap-align: start;
  box-shadow: var(--sh-sm);
  transition: transform var(--t-base);
}

.story-card:active { transform: scale(0.98); }

.story-stars {
  color: var(--amber);
  font-size: 0.78rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.story-text {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 400;
  font-style: italic;
  color: var(--ink-80);
  line-height: 1.62;
  margin-bottom: 18px;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.story-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
}

.story-origin {
  font-size: 0.68rem;
  color: var(--ink-60);
  display: block;
  margin-top: 2px;
}

/* ── CTA BOX ─────────────────────────────────────── */
.cta-block {
  text-align: center;
  padding: 14px 0;
}

.cta-price-display {
  font-family: var(--serif);
  font-size: 3.6rem;
  font-weight: 300;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.cta-price-display sup {
  font-size: 1.1rem;
  vertical-align: super;
  font-weight: 400;
}

.cta-tagline {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 10px;
  line-height: 1.25;
}

.cta-note {
  font-size: 0.66rem;
  color: rgba(250,247,242,0.28);
  margin-top: 12px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  transition: all var(--t-base);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}

.btn:active { transform: scale(0.96); }

/* Primary — orange */
.btn--amber {
  background: linear-gradient(135deg, var(--amber), #c93a14);
  color: #fff;
  padding: 13px 26px;
  box-shadow: var(--sh-amber);
}
.btn--amber:hover { transform: translateY(-1px); box-shadow: var(--sh-amber-lg); }

/* Ghost on dark */
.btn--ghost-dark {
  background: rgba(250,247,242,0.09);
  border: 1.5px solid rgba(250,247,242,0.18);
  color: rgba(250,247,242,0.75);
  padding: 12px 22px;
}
.btn--ghost-dark:hover { background: rgba(250,247,242,0.14); border-color: rgba(250,247,242,0.28); }

/* Ghost on light */
.btn--ghost-light {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink-60);
  padding: 12px 22px;
}
.btn--ghost-light:hover { background: var(--ink-04); border-color: var(--ink-40); }

/* Ink (dark) */
.btn--ink {
  background: var(--ink);
  color: var(--cream);
  padding: 13px 26px;
}

.btn--full { width: 100%; }

.btn--lg {
  padding: 15px 30px;
  font-size: 0.9rem;
  border-radius: var(--r-pill);
}

.btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; }

/* ═══════════════════════════════════════════════════
   PROFILES SCREEN
   ═══════════════════════════════════════════════════ */

.profiles-hdr {
  background: var(--dark);
  padding: calc(var(--nav-h) + 24px) 22px 22px;
  position: relative;
  overflow: hidden;
}

.profiles-hdr::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 78% 20%, rgba(239,76,35,0.16), transparent 55%);
  pointer-events: none;
}

.profiles-hdr__inner { position: relative; z-index: 1; }

.profiles-hdr h1 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 4px;
}

.profiles-hdr p { font-size: 0.76rem; color: rgba(250,247,242,0.48); }

/* Badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239,76,35,0.12);
  border: 1px solid rgba(239,76,35,0.25);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  margin-top: 12px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

.live-badge__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulseRing 2s infinite;
}

/* Filter bar */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.filter-bar__inner {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.filter-bar__inner::-webkit-scrollbar { display: none; }

.filter-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink-60);
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--t-base);
}

.filter-pill.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.filter-pill:active { transform: scale(0.96); }

/* Profile grid */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
}

.profile-thumb {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink-08);
  transition: opacity var(--t-fast);
}

.profile-thumb:active { opacity: 0.82; }

.profile-thumb__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

.profile-thumb__flag {
  position: absolute;
  top: 5px; left: 5px;
  font-size: 0.72rem;
  background: rgba(18,15,10,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 5px;
  padding: 2px 5px;
  line-height: 1.4;
}

.profile-thumb__verified {
  position: absolute;
  top: 5px; right: 5px;
  background: rgba(61,170,98,0.18);
  border: 1px solid rgba(61,170,98,0.38);
  color: #3daa62;
  font-size: 0.48rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.profile-thumb__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 7px 7px;
  background: linear-gradient(to top, rgba(18,15,10,0.92), transparent);
}

.profile-thumb__name {
  font-size: 0.66rem;
  font-weight: 700;
  color: #fff;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-thumb__loc {
  font-size: 0.56rem;
  color: rgba(255,255,255,0.52);
  display: block;
  margin-top: 1px;
}

/* Load more */
.load-more-wrap {
  padding: 22px 22px;
  background: var(--cream);
  border-top: 1px solid var(--line);
}

/* ═══════════════════════════════════════════════════
   PROFILE SHEET (Bottom sheet with liquid glass)
   ═══════════════════════════════════════════════════ */

.sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 960;
  background: rgba(18,15,10,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
  max-width: none;
  left: 0; right: 0;
  transform: none;
}

.sheet-overlay.open { opacity: 1; pointer-events: all; }

.sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: var(--app-w);
  z-index: 970;
  background: var(--cream);
  border-radius: 28px 28px 0 0;
  max-height: 93svh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transition: transform 0.4s var(--ease-out);
  padding-bottom: calc(28px + var(--safe-b));
  box-shadow: 0 -12px 56px rgba(18,15,10,0.25);
}

.sheet.open { transform: translateX(-50%) translateY(0); }

.sheet__handle {
  width: 36px; height: 4px;
  border-radius: 2px;
  background: var(--ink-15);
  margin: 14px auto 0;
}

.sheet__close {
  position: absolute;
  top: 14px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink-08);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none;
  transition: background var(--t-fast);
}

.sheet__close svg { width: 14px; height: 14px; stroke: var(--ink-60); fill: none; stroke-width: 2; }
.sheet__close:active { background: var(--ink-15); }

/* Sheet hero */
.sheet-photo {
  margin: 18px 16px 0;
  height: 250px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}

.sheet-photo__bg { position: absolute; inset: 0; width: 100%; height: 100%; }

.sheet-photo__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}

.sheet-photo__placeholder svg {
  width: 72px; height: 72px;
  stroke: rgba(255,255,255,0.08); fill: none; stroke-width: 1;
}

.sheet-photo__verified {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(61,170,98,0.16);
  border: 1px solid rgba(61,170,98,0.35);
  color: #3daa62;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 9px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sheet-photo__fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 70px 18px 18px;
  background: linear-gradient(to top, rgba(18,15,10,0.94), transparent);
}

.sheet-photo__name {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
  color: #fff;
  display: block;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.sheet-photo__loc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.58);
}

/* Sheet body */
.sheet-body { padding: 0 16px; }

/* Stats row */
.sheet-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.sheet-stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 10px;
  text-align: center;
  box-shadow: var(--sh-xs);
}

.sheet-stat--amber {
  background: rgba(239,76,35,0.07);
  border-color: rgba(239,76,35,0.22);
}

.sheet-stat__val {
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-bottom: 3px;
}

.sheet-stat--amber .sheet-stat__val { color: var(--amber-deep); }

.sheet-stat__lbl {
  font-size: 0.58rem;
  color: var(--ink-40);
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* Tags */
.sheet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.sheet-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--ink-60);
}

.sheet-tag--amber {
  background: var(--amber-pale);
  border-color: rgba(239,76,35,0.22);
  color: var(--amber-deep);
  font-weight: 600;
}

.sheet-tag--green {
  background: rgba(61,170,98,0.07);
  border-color: rgba(61,170,98,0.22);
  color: #2e8a50;
}

/* Sections */
.sheet-section { margin-bottom: 16px; }

.sheet-lbl {
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 8px;
}

.sheet-bio {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px;
  font-size: 0.85rem;
  color: var(--ink-80);
  line-height: 1.78;
  box-shadow: var(--sh-xs);
}

.sheet-seek {
  background: rgba(239,76,35,0.06);
  border: 1px solid rgba(239,76,35,0.16);
  border-radius: var(--r-md);
  padding: 16px;
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--ink-80);
  line-height: 1.65;
}

.sheet-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sheet-lang {
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--ink-04);
  border: 1px solid var(--line);
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--ink-60);
}

.sheet-persona {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  box-shadow: var(--sh-xs);
}

.sheet-persona__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--amber-pale);
  border: 1px solid rgba(239,76,35,0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.sheet-persona h4 {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}

.sheet-persona p {
  font-size: 0.74rem;
  color: var(--ink-60);
  line-height: 1.6;
  margin: 0;
}

.sheet-privacy {
  background: var(--ink-04);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.sheet-privacy svg {
  width: 15px; height: 15px;
  stroke: var(--ink-40); fill: none; stroke-width: 1.8;
  flex-shrink: 0; margin-top: 1px;
}

.sheet-privacy p {
  font-size: 0.73rem;
  color: var(--ink-60);
  line-height: 1.55;
  margin: 0;
}

/* Contact button */
.btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 22px;
  background: linear-gradient(135deg, var(--amber), #c93a14);
  color: white;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--sh-amber);
  border: none;
  cursor: pointer;
  transition: all var(--t-base);
  letter-spacing: -0.01em;
}

.btn-contact:hover { transform: translateY(-1px); box-shadow: var(--sh-amber-lg); }
.btn-contact:active { transform: scale(0.97); }

.btn-contact__sub {
  font-size: 0.7rem;
  opacity: 0.75;
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════
   MESSAGE SCREEN
   ═══════════════════════════════════════════════════ */

.msg-hdr {
  background: var(--dark);
  padding: calc(var(--nav-h) + 24px) 22px 28px;
  position: relative;
  overflow: hidden;
}

.msg-hdr::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 18%, rgba(239,76,35,0.14), transparent 55%);
  pointer-events: none;
}

.msg-hdr__inner { position: relative; z-index: 1; }

.msg-hdr h1 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 7px;
  line-height: 1.2;
}

.msg-hdr p {
  font-size: 0.78rem;
  color: rgba(250,247,242,0.50);
  line-height: 1.65;
}

/* Role toggle */
.role-wrap { padding: 16px 20px 8px; }

.role-label {
  font-size: 0.63rem;
  font-weight: 700;
  color: var(--ink-40);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.role-btn {
  padding: 11px 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-60);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  transition: all var(--t-base);
}

.role-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.role-btn.active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.role-btn:active { transform: scale(0.97); }

/* Recipient card */
.recipient-card {
  margin: 0 20px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  box-shadow: var(--sh-xs);
}

.recipient-card__photo {
  width: 72px; height: 72px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}

.recipient-card__photo svg { width: 28px; height: 28px; stroke: rgba(255,255,255,0.4); fill: none; stroke-width: 1.8; }

.recipient-card__info {
  flex: 1;
  padding: 13px 14px;
  min-width: 0;
}

.recipient-card__name {
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--ink);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.recipient-card__meta {
  font-size: 0.71rem;
  color: var(--ink-60);
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.recipient-tag {
  background: var(--amber-pale);
  color: var(--amber-deep);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(239,76,35,0.2);
}

/* Payment banner */
.pay-banner {
  margin: 0 20px 16px;
  background: rgba(61,170,98,0.06);
  border: 1px solid rgba(61,170,98,0.20);
  border-radius: var(--r-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pay-banner svg {
  width: 18px; height: 18px;
  stroke: #3daa62; fill: none; stroke-width: 2;
  flex-shrink: 0;
}

.pay-banner p { font-size: 0.77rem; color: var(--ink-60); line-height: 1.5; margin: 0; }
.pay-banner strong { color: var(--ink); }

/* Form cards */
.form-body { padding: 0 20px; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: var(--sh-xs);
}

.form-card__hdr {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--sand);
}

.form-card__hdr h3 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 2px;
}

.form-card__hdr h3 svg {
  width: 15px; height: 15px;
  stroke: var(--amber); fill: none; stroke-width: 2;
}

.form-card__hdr p {
  font-size: 0.70rem;
  color: var(--ink-60);
}

.form-card__body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.form-field label {
  display: block;
  font-size: 0.63rem;
  font-weight: 700;
  color: var(--ink-40);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.form-field label .req {
  color: var(--amber);
  margin-left: 2px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--sand);
  color: var(--ink);
  font-size: 0.86rem;
  font-family: var(--sans);
  transition: border-color var(--t-base), box-shadow var(--t-base), background var(--t-base);
}

.form-field textarea { resize: none; min-height: 90px; line-height: 1.65; }

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='rgba(28,25,20,0.4)' stroke-width='1.8'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-color: var(--sand);
  padding-right: 32px;
  cursor: pointer;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(239,76,35,0.12);
  background: var(--white);
  outline: none;
}

/* Validation error state */
.form-field input.error,
.form-field select.error,
.form-field textarea.error {
  border-color: #d94f4f;
  background: rgba(217,79,79,0.04);
  box-shadow: 0 0 0 3px rgba(217,79,79,0.08);
}

.field-error {
  font-size: 0.65rem;
  color: #d94f4f;
  margin-top: 4px;
  display: none;
}

.field-error.visible { display: block; }

/* Photo upload */
.photo-upload-area {
  border: 2px dashed var(--line);
  border-radius: var(--r-md);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--t-base);
  background: var(--sand);
  position: relative;
}

.photo-upload-area:hover {
  border-color: var(--amber);
  background: var(--amber-pale);
}

.photo-upload-area.has-files {
  border-color: #3daa62;
  background: rgba(61,170,98,0.05);
}

.photo-upload-area input[type="file"] {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer;
  width: 100%; height: 100%;
  padding: 0;
  border: none;
  background: transparent;
}

.photo-upload-icon {
  width: 36px; height: 36px;
  margin: 0 auto 10px;
  background: var(--amber-pale);
  border: 1px solid rgba(239,76,35,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}

.photo-upload-icon svg { width: 18px; height: 18px; stroke: var(--amber); fill: none; stroke-width: 1.8; }

.photo-upload-title {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.photo-upload-sub {
  font-size: 0.71rem;
  color: var(--ink-60);
  line-height: 1.5;
}

.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.photo-preview-item {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--ink-08);
}

.photo-preview-item img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.photo-preview-remove {
  position: absolute;
  top: 3px; right: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(18,15,10,0.75);
  color: #fff;
  font-size: 0.6rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 2;
}

/* Char count */
.char-count {
  text-align: right;
  font-size: 0.64rem;
  color: var(--ink-40);
  margin-top: 4px;
}

/* Submit area */
.form-submit {
  padding: 16px 20px calc(18px + var(--safe-b));
}

.submit-note {
  text-align: center;
  font-size: 0.66rem;
  color: var(--ink-40);
  margin-top: 10px;
  line-height: 1.6;
}

/* ── FOOTER ──────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: 44px 24px 32px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.footer__tagline {
  font-size: 0.78rem;
  color: rgba(250,247,242,0.32);
  line-height: 1.68;
  margin-bottom: 28px;
}

.footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 22px;
  margin-bottom: 28px;
}

.footer__links a {
  font-size: 0.77rem;
  color: rgba(250,247,242,0.38);
  padding: 3px 0;
  display: block;
  transition: color var(--t-base);
}

.footer__links a:hover { color: var(--cream); }

.footer__bottom {
  border-top: 1px solid rgba(250,247,242,0.07);
  padding-top: 16px;
  font-size: 0.66rem;
  color: rgba(250,247,242,0.18);
  line-height: 1.7;
}

/* ── TOAST ───────────────────────────────────────── */
.toast {
  position: fixed;
  top: calc(var(--nav-h) + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  z-index: 9999;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 20px;
  border-radius: var(--r-pill);
  font-size: 0.79rem;
  font-weight: 600;
  box-shadow: var(--sh-lg);
  opacity: 0;
  transition: all var(--t-base);
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-width: calc(var(--app-w) - 40px);
  text-align: center;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── SCROLL REVEAL ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── DIVIDER ─────────────────────────────────────── */
.divider { height: 1px; background: var(--line); margin: 0 24px; }
.divider--dark { background: var(--line-dark); margin: 0; }

/* ── ANIMATIONS ──────────────────────────────────── */
@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 0 var(--amber-glow); }
  50% { box-shadow: 0 0 0 6px rgba(239,76,35,0); }
}

@keyframes heartPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 3px rgba(239,76,35,0.4)); }
  40% { transform: scale(1.22); filter: drop-shadow(0 0 7px rgba(239,76,35,0.7)); }
  55% { transform: scale(1.08); }
  70% { transform: scale(1.18); filter: drop-shadow(0 0 6px rgba(239,76,35,0.6)); }
  85% { transform: scale(1.04); }
}

@keyframes floatCard1 {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(-5deg) translateY(-8px); }
}

@keyframes floatCard2 {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-6px); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

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

/* ── NO-REGISTRATION CALLOUT ─────────────────────── */
.no-reg-box {
  background: linear-gradient(135deg, var(--amber-pale), rgba(239,76,35,0.06));
  border: 1px solid rgba(239,76,35,0.24);
  border-radius: var(--r-xl);
  padding: 24px 22px;
  text-align: center;
}

.no-reg-box__icon {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--amber), #c93a14);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-amber);
}

.no-reg-box__icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; }

.no-reg-box h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.2;
}

.no-reg-box p {
  font-size: 0.82rem;
  color: var(--ink-60);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ── REDUCED MOTION ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── PAYMENT METHODS ─────────────────────────────── */
.payment-methods {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.12);
}

.payment-methods__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(18,15,10,0.45);
  margin-bottom: 12px;
  text-align: center;
}

.payment-methods__icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.pay-icon {
  height: 28px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.pay-icon svg {
  height: 28px;
  width: auto;
  display: block;
}

.payment-methods__stripe {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

/* ── STORIES RAIL FIX ────────────────────────────── */
.stories-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 24px 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  margin: 0 -24px;
}
.stories-rail::-webkit-scrollbar { display: none; }

.story-card {
  min-width: 270px;
  max-width: 280px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  scroll-snap-align: start;
  box-shadow: var(--sh-sm);
  transition: transform var(--t-base);
  display: flex;
  flex-direction: column;
}

.story-card:active { transform: scale(0.98); }

/* ── ALIGNMENT FIXES ─────────────────────────────── */

/* Consistent section padding */
.bold-section { padding: 52px 24px; }
.bold-section--amber { padding: 40px 24px; }

/* All kickers same margin */
.kicker { margin-bottom: 12px; }

/* Steps consistent padding */
.step-item:first-child { padding-top: 20px; }

/* No-reg box — equal padding */
.no-reg-box { padding: 26px 22px; }

/* Form cards consistent */
.form-card { margin-bottom: 10px; }

/* Sheet padding consistent */
.sheet-body { padding: 0 16px 0; }
.sheet-section { margin-bottom: 14px; }

/* Recipient card consistent */
.recipient-card { margin: 0 20px 12px; }

/* Desktop: consistent app frame padding */
@media (min-width: 520px) {
  .app-frame { border-left: 1px solid rgba(28,25,20,0.12); border-right: 1px solid rgba(28,25,20,0.12); }
}


/* ── PAYMENT STEP STYLES ─────────────────────────── */
.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 16px;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.step-badge--orange {
  background: rgba(239,76,35,0.12);
  border: 1px solid rgba(239,76,35,0.28);
  color: var(--amber);
}
.step-badge--green {
  background: rgba(61,170,98,0.10);
  border: 1px solid rgba(61,170,98,0.26);
  color: #3daa62;
}

.pay-price-box {
  background: var(--white);
  border: 1.5px solid var(--line-amber);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--sh-sm);
}
.pay-price-box__label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 3px;
}
.pay-price-box__desc {
  font-size: 0.72rem;
  color: var(--ink-60);
}
.pay-price-box__price {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--amber);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}
.pay-price-box__price span {
  font-size: 0.9rem;
  font-weight: 400;
  margin-left: 3px;
}

.pay-includes {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px;
}
.pay-includes__title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 12px;
}
.pay-includes__item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 9px;
  font-size: 0.82rem;
  color: var(--ink-60);
  line-height: 1.55;
}
.pay-includes__item:last-child { margin: 0; }
.pay-includes__item svg { flex-shrink: 0; margin-top: 2px; }

/* Payment icons — clean flat style */
.payment-methods__icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
}
.pay-icon-svg {
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(28,25,20,0.14), 0 0 0 1px rgba(28,25,20,0.07);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 0 8px;
}

/* ── PAYWALL / MSG STEPS ──────────────────────────── */
.msg-hdr { background: var(--dark); padding: 64px 20px 24px; text-align: center; }
.msg-hdr__inner h1 { font-family: var(--serif); font-size: clamp(1.4rem,6vw,2rem); font-weight: 400; color: var(--cream); letter-spacing: -.02em; margin-bottom: 6px; }
.msg-hdr__inner p { font-size: .82rem; color: rgba(250,247,242,.5); }

.msg-step { transition: background .2s; }
.msg-step.active > div:first-child { color: var(--amber) !important; }

#msgPaywall { margin-top: 0; }

/* pay-icon sizing in footer */
.pay-icon { height: 28px; border-radius: 5px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.pay-icon svg { width: auto; height: 28px; display: block; }


/* ── MSG NO-RECIPIENT SCREEN ─────────────────────── */
.msg-no-rcpt-hero {
  background: var(--dark);
  padding: 72px 24px 32px;
  text-align: center;
}
.msg-no-rcpt-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), #c93a14);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 28px rgba(239,76,35,.4);
  animation: heartPulse 2.4s ease-in-out infinite;
}
.msg-no-rcpt-icon svg { width: 26px; height: 26px; fill: white; }
.msg-no-rcpt-h1 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 7vw, 2.2rem);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -.02em;
  line-height: 1.12;
  margin-bottom: 14px;
}
.msg-no-rcpt-h1 em { color: var(--amber); font-style: italic; }
.msg-no-rcpt-sub {
  font-size: .86rem;
  color: rgba(250,247,242,.55);
  line-height: 1.65;
}
.msg-no-rcpt-sub strong { color: rgba(250,247,242,.9); font-weight: 600; }

/* Featured cards rail */
.msg-no-rcpt-profiles {
  display: flex;
  gap: 12px;
  padding: 20px 20px 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.msg-no-rcpt-profiles::-webkit-scrollbar { display: none; }

.featured-card {
  flex-shrink: 0;
  width: 130px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--sh-md);
  cursor: pointer;
  transition: transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s;
  border: 1px solid var(--line);
}
.featured-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.featured-card:active { transform: scale(.97); }
.featured-card__photo {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.featured-card__badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(28,25,20,.55);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  padding: 2px 7px;
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(250,247,242,.9);
}
.featured-card__body {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.featured-card__name {
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.featured-card__loc {
  font-size: .66rem;
  color: var(--ink-60);
}
.featured-card__income {
  font-size: .64rem;
  font-weight: 700;
  color: var(--amber);
  margin-top: 3px;
}

/* ── PREMIUM PAYMENT BADGES ──────────────────────── */
.paywall-methods {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.pm-badge {
  height: 30px;
  min-width: 46px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.09);
  padding: 0 8px;
  flex-shrink: 0;
}
/* Visa */
.pm-visa {
  background: #1A1F71;
}
.pm-visa span {
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .5px;
  color: #fff;
}
/* Mastercard */
.pm-mc {
  background: #252525;
  position: relative;
  min-width: 46px;
  overflow: hidden;
}
.pm-mc__l {
  width: 20px; height: 20px; border-radius: 50%;
  background: #EB001B;
  position: absolute; left: 7px;
}
.pm-mc__r {
  width: 20px; height: 20px; border-radius: 50%;
  background: #F79E1B;
  position: absolute; right: 7px;
}
/* Amex */
.pm-amex {
  background: #2E77BC;
}
.pm-amex span {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 1px;
  color: #fff;
}
/* Apple Pay */
.pm-apple {
  background: #000;
  gap: 3px;
}
.pm-apple span {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #fff;
  letter-spacing: -.2px;
}
/* Google Pay */
.pm-gpay {
  background: #fff;
  border: 1px solid #e0e0e0 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.06) !important;
  gap: 1px;
  padding: 0 7px;
}
.pm-gpay__g {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  background: linear-gradient(180deg, #4285F4 0%, #34A853 33%, #FBBC05 66%, #EA4335 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.pm-gpay__pay {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #5f6368;
}
/* SEPA / Virement */
.pm-sepa {
  background: #E8EFFA;
  padding: 0 10px;
}

/* Also update the CTA section pay icons */
.payment-methods__icons .pay-icon {
  height: 30px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,.15), 0 0 0 1px rgba(0,0,0,.07);
}

/* ═══════════════════════════════════════════════
   v6 FIXES — spacing, stories, recipient, verified
   ═══════════════════════════════════════════════ */

/* Remove Vérifié badge from sheet entirely */
.sheet-photo__verified { display: none !important; }

/* Fix sheet photo — full cover, not cut */
.sheet-photo {
  margin: 0;
  border-radius: 0;
  height: 280px;
}
.sheet-photo__bg {
  object-fit: cover;
  object-position: center top;
}
.sheet-photo__placeholder svg {
  width: 88px; height: 88px;
  stroke: rgba(255,255,255,0.12);
}

/* Recipient card photo — full, not cut */
.recipient-card__photo {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px;
  border-radius: 14px !important;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Stories rail — proper left padding so first card is not clipped */
.stories-rail {
  padding: 4px 20px 18px !important;
  margin: 0 !important;
  gap: 12px !important;
}
.story-card {
  min-width: 260px !important;
  max-width: 270px !important;
  padding: 20px 18px !important;
  display: flex;
  flex-direction: column;
}
.story-card:first-child { margin-left: 0; }

/* Spacing between all bold-sections */
.bold-section { padding: 40px 24px !important; }
.bold-section--amber { padding-top: 40px !important; padding-bottom: 40px !important; }

/* More air between step items */
.step-item { padding: 14px 0 !important; }
.step-item:not(:last-child) { border-bottom: 1px solid var(--line); margin-bottom: 0 !important; }

/* Why grid more air */
.why-grid { gap: 10px !important; margin-top: 20px !important; }
.why-card { padding: 16px !important; }

/* Profile grid — more spacing */
.profile-grid {
  padding: 12px 16px 8px !important;
  gap: 10px !important;
}

/* Filter bar better spacing */
.filter-bar__inner { padding: 10px 12px !important; gap: 6px !important; }

/* Sheet body more air */
.sheet-body { padding: 0 18px 12px !important; }
.sheet-section { padding: 14px 0 !important; }
.sheet-stats { margin: 16px 0 12px !important; gap: 6px !important; }

/* Form cards more air */
.form-body { padding: 16px 20px 4px !important; gap: 12px !important; }
.form-card { padding: 0 !important; }
.form-card__body { padding: 14px 16px 16px !important; }
.form-card__hdr { padding: 14px 16px 0 !important; }
.form-row { gap: 10px !important; }

/* No-recipient hero more breathing room */
.msg-no-rcpt-hero { padding: 80px 28px 36px !important; }
.msg-no-rcpt-sub { margin-top: 8px !important; line-height: 1.8 !important; }

/* Featured cards — ensure photo fills properly */
.featured-card__photo {
  height: 100px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

/* Profiles screen header more padding */
.profiles-hdr__inner { padding: 72px 20px 16px !important; }

/* Quiz shell more air */
.quiz-shell { padding: 20px !important; }
.quiz-q { margin-bottom: 14px !important; font-size: .96rem !important; }
.quiz-opts { gap: 8px !important; }
.quiz-opt { padding: 12px 14px !important; }

/* VS section rows more air */
.vs-item { padding: 10px 12px !important; margin-bottom: 6px !important; }

/* Hero content more vertical space */
.hero__content { padding-bottom: 48px !important; }
.hero__actions { margin-bottom: 20px !important; }

/* ═══════════════════════════════════════════════
   v7 — FAVORITES, SHEET CLOSE, HERO, SPACING
   ═══════════════════════════════════════════════ */

/* ── Hero: less height, less scroll ──────────── */
.hero { min-height: 88svh !important; }
@media (min-height: 800px) { .hero { min-height: 82svh !important; } }

/* ── Sheet close button — always visible ─────── */
.sheet__close {
  position: fixed !important;
  top: 18px !important;
  right: 18px !important;
  z-index: 9999 !important;
  width: 38px !important; height: 38px !important;
  border-radius: 50% !important;
  background: rgba(250,247,242,0.92) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 2px 12px rgba(28,25,20,.22) !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  cursor: pointer !important; border: none !important;
}
.sheet__close svg { stroke: var(--ink) !important; width: 16px !important; height: 16px !important; }

/* ── Sheet photo in sheet — flush, no margin ─── */
.sheet { overflow-y: auto; }
.sheet-photo {
  margin: 0 !important;
  border-radius: 0 !important;
  height: 260px !important;
}

/* Heart overlay in sheet photo */
.sheet-heart-overlay {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 10;
}
.sheet-heart-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(250,247,242,0.90);
  backdrop-filter: blur(10px);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-60);
  transition: all .2s;
  box-shadow: 0 2px 10px rgba(28,25,20,.18);
}
.sheet-heart-btn.active {
  background: rgba(239,76,35,0.15);
  color: var(--amber);
}
.sheet-heart-btn:active { transform: scale(0.9); }

/* ── Sheet body — tighter spacing ────────────── */
.sheet-section { padding: 10px 0 !important; border-bottom: 1px solid var(--line); }
.sheet-section:last-of-type { border-bottom: none; }
.sheet-stats { margin: 12px 0 10px !important; }
.sheet-body { padding: 0 16px 8px !important; }
.sheet-bio { font-size: .87rem !important; line-height: 1.68 !important; }
.sheet-seek {
  font-size: .86rem !important;
  line-height: 1.68 !important;
  font-style: italic;
  padding: 12px 14px !important;
  margin-top: 6px !important;
}
.sheet-tags { gap: 6px !important; margin-bottom: 4px !important; flex-wrap: wrap; display: flex; }
.sheet-lbl { font-size: .6rem !important; letter-spacing: .08em !important; margin-bottom: 6px !important; }
.sheet-langs { gap: 5px !important; flex-wrap: wrap; display: flex; }
.sheet-privacy { padding: 10px 0 8px !important; }
.sheet-privacy p { font-size: .72rem !important; line-height: 1.5 !important; }

/* ── Sheet CTA area ─────────────────────────── */
.sheet-cta-area {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0 24px;
}
.sheet-cta-area .btn-contact { flex: 1; margin: 0 !important; }
.sheet-fav-btn {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--sand);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; cursor: pointer; flex-shrink: 0;
  transition: all .2s;
}
.sheet-fav-btn .sheet-fav-icon { font-size: 1.1rem; color: var(--ink-60); line-height: 1; }
.sheet-fav-btn .sheet-fav-lbl { font-size: .48rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-40); }
.sheet-fav-btn.active { background: rgba(239,76,35,.08); border-color: rgba(239,76,35,.25); }
.sheet-fav-btn.active .sheet-fav-icon { color: var(--amber); }
.sheet-fav-btn.active .sheet-fav-lbl { color: var(--amber); }
.sheet-fav-btn:active { transform: scale(0.94); }

/* ── Heart button on grid cards ──────────────── */
.heart-btn {
  position: absolute;
  top: 8px; right: 8px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(250,247,242,0.85);
  backdrop-filter: blur(8px);
  border: none;
  font-size: .95rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-60);
  transition: all .18s;
  z-index: 5;
  line-height: 1;
}
.heart-btn.active { color: var(--amber); background: rgba(239,76,35,0.12); }
.heart-btn:active { transform: scale(0.88); }

/* ── Profile thumb: relative for heart btn ───── */
.profile-thumb { position: relative !important; }

/* ── Tab fav dot ─────────────────────────────── */
.tab-fav-dot {
  position: absolute;
  top: -1px; right: -3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  border: 1.5px solid var(--bg, #E8E4DC);
}

/* ── Profiles header new style ───────────────── */
.profiles-hdr__inner h1 {
  font-size: clamp(1.5rem, 6vw, 2rem) !important;
  margin-bottom: 6px !important;
}
.profiles-hdr__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* ── Favorites pill button ─────────────────────*/
.fav-tab-btn {
  display: none;
  align-items: center;
  gap: 5px;
  padding: 6px 12px 6px 10px;
  border-radius: 100px;
  background: var(--sand);
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 700;
  color: var(--ink-60);
  cursor: pointer;
  transition: all .2s;
  position: relative;
}
.fav-tab-btn.active {
  background: rgba(239,76,35,0.10);
  border-color: rgba(239,76,35,0.30);
  color: var(--amber);
}
.favs-count-badge {
  min-width: 18px; height: 18px;
  border-radius: 100px;
  background: var(--amber);
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
}

/* ── Favorites empty state ─────────────────────*/
.favs-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  color: var(--ink-60);
}
.favs-empty__icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  color: var(--ink-40);
}
.favs-empty p { font-size: .86rem; line-height: 1.65; }

/* ── Second message upsell block ───────────────*/
.success-upsell {
  margin: 0 20px;
  background: linear-gradient(135deg, rgba(239,76,35,.07), rgba(239,76,35,.03));
  border: 1px solid rgba(239,76,35,.18);
  border-radius: 18px;
  padding: 18px 16px 14px;
  margin-bottom: 16px;
}
.success-upsell__kicker {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 5px;
}
.success-upsell__sub {
  font-size: .84rem;
  color: var(--ink-60);
  line-height: 1.55;
  margin-bottom: 14px;
}
.success-upsell__profiles { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.success-upsell__card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: all .2s;
}
.success-upsell__card:hover { border-color: var(--amber); background: rgba(239,76,35,.04); }
.success-upsell__photo {
  width: 40px; height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}
.success-upsell__info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.success-upsell__name { font-size: .8rem; font-weight: 700; color: var(--ink); }
.success-upsell__loc { font-size: .7rem; color: var(--ink-60); }
.success-upsell__price {
  font-size: .72rem;
  font-weight: 800;
  color: var(--amber);
  background: rgba(239,76,35,.09);
  border-radius: 100px;
  padding: 3px 8px;
  white-space: nowrap;
}

/* ── Button spacing fix in message screen ─────── */
.form-submit { padding: 16px 20px 24px !important; }
.recipient-card { margin: 12px 16px !important; }

/* ── Profiles section spacing ─────────────────── */
.profiles-hdr { padding-bottom: 0 !important; }
.profiles-hdr__inner { padding: 64px 20px 14px !important; }

/* ═══════════════════════════════════════════════
   v8 — COMPLETE GRAPHIC CONSISTENCY OVERHAUL
   ═══════════════════════════════════════════════ */

/* ── DESIGN TOKENS (overrides) ───────────────── */
:root {
  --hero-h: calc(var(--nav-h) + 220px); /* consistent hero header height */
}

/* ══ 1. PROFILES HEADER — orange bg ═══════════ */
.profiles-hdr {
  background: var(--amber) !important;
  padding: 0 !important;
}
.profiles-hdr__inner {
  padding: calc(var(--nav-h) + 28px) 22px 22px !important;
}
.profiles-hdr__inner h1 {
  font-family: var(--serif) !important;
  font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
  font-weight: 400 !important;
  color: #fff !important;
  letter-spacing: -.02em !important;
  margin-bottom: 6px !important;
  line-height: 1.1 !important;
}
.profiles-hdr__inner p {
  font-size: .84rem !important;
  color: rgba(255,255,255,0.75) !important;
  margin-bottom: 14px !important;
}
/* Live badge on orange bg */
.profiles-hdr .live-badge {
  background: rgba(255,255,255,0.18) !important;
  border-color: rgba(255,255,255,0.30) !important;
  color: #fff !important;
}
.profiles-hdr .live-badge__dot {
  background: #fff !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.35) !important;
}
.profiles-hdr .live-badge span { color: #fff !important; }

/* ── Nav on profiles → dark (same as message) ─ */
/* Both profiles and message use nav--dark-solid — unified */

/* ══ 2. FAV PILL — same style as live-badge ═══ */
.profiles-hdr__badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
/* Remove old fav-tab-btn style */
.fav-tab-btn { display: none !important; }

.fav-pill-btn {
  display: none; /* shown via JS */
  align-items: center;
  gap: 5px;
  padding: 5px 12px 5px 9px;
  border-radius: 100px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.30);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.fav-pill-btn svg { fill: #fff; opacity: 0.85; flex-shrink: 0; }
.fav-pill-btn.active {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.50);
}
.fav-pill-count {
  min-width: 16px; height: 16px;
  border-radius: 100px;
  background: #fff;
  color: var(--amber);
  font-size: .6rem;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* ══ 3. MESSAGE HERO — left-aligned, same height ══ */
.msg-no-rcpt-hero {
  background: var(--dark) !important;
  padding: calc(var(--nav-h) + 32px) 24px 28px !important;
  text-align: left !important;
}
.msg-no-rcpt-icon {
  margin: 0 0 20px 0 !important; /* left-aligned */
}
.msg-no-rcpt-h1 { text-align: left !important; }
.msg-no-rcpt-sub { text-align: left !important; margin-top: 10px !important; }

/* Featured profiles rail spacing */
.msg-no-rcpt-profiles {
  padding: 20px 20px 0 !important;
  margin: 0 !important;
}

/* CTA button area — properly spaced */
.msg-no-rcpt-cta {
  padding: 20px 20px 32px !important;
}
.msg-no-rcpt-note {
  text-align: center;
  font-size: .68rem;
  color: var(--ink-40);
  margin-top: 12px;
  line-height: 1.6;
}

/* ══ 4. HEART BUTTONS — consistent logo SVG ═══ */

/* Grid card heart */
.heart-btn {
  position: absolute !important;
  top: 8px !important; right: 8px !important;
  width: 34px !important; height: 34px !important;
  border-radius: 50% !important;
  background: rgba(250,247,242,0.88) !important;
  backdrop-filter: blur(10px) !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 5 !important;
  transition: all .18s !important;
  padding: 0 !important;
}
.heart-btn svg {
  width: 15px; height: 15px;
  stroke: rgba(28,25,20,0.5);
  fill: none;
  transition: all .18s;
}
.heart-btn.active svg {
  fill: var(--amber);
  stroke: var(--amber);
  animation: heartPop .3s cubic-bezier(.34,1.56,.64,1);
}
.heart-btn:active { transform: scale(0.88) !important; }

/* Sheet heart top-left — mirrors close X top-right */
.sheet-heart-overlay {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important; /* symmetrical with close X at right: 14px */
  z-index: 10 !important;
}
.sheet-heart-btn {
  width: 38px !important; height: 38px !important;
  border-radius: 50% !important;
  background: rgba(250,247,242,0.92) !important;
  backdrop-filter: blur(12px) !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 10px rgba(28,25,20,.18) !important;
  transition: all .2s !important;
  padding: 0 !important;
}
.sheet-heart-btn svg {
  width: 16px; height: 16px;
  stroke: rgba(28,25,20,0.55);
  fill: none;
  transition: all .22s;
}
.sheet-heart-btn.active {
  background: rgba(239,76,35,0.12) !important;
}
.sheet-heart-btn.active svg {
  fill: var(--amber);
  stroke: var(--amber);
  animation: heartPulse 2.4s ease-in-out infinite, heartPop .3s cubic-bezier(.34,1.56,.64,1);
}
.sheet-heart-btn:active { transform: scale(0.9) !important; }

/* Sheet close — same style as sheet-heart-btn, fixed position */
.sheet__close {
  position: fixed !important;
  top: 18px !important; right: 18px !important;
  z-index: 9999 !important;
  width: 38px !important; height: 38px !important;
  border-radius: 50% !important;
  background: rgba(250,247,242,0.92) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 2px 12px rgba(28,25,20,.22) !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  cursor: pointer !important; border: none !important; padding: 0 !important;
}
.sheet__close svg {
  stroke: rgba(28,25,20,0.65) !important;
  width: 15px !important; height: 15px !important;
  stroke-width: 2.2 !important;
}

/* Sheet bottom fav button — icon only, clean */
.sheet-cta-area {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 14px 0 28px !important;
}
.sheet-cta-area .btn-contact { flex: 1 !important; margin: 0 !important; }
.sheet-fav-btn {
  width: 50px !important; height: 50px !important;
  border-radius: 14px !important;
  background: var(--sand) !important;
  border: 1.5px solid var(--line) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: all .2s !important;
  padding: 0 !important;
}
.sheet-fav-btn svg {
  width: 20px; height: 20px;
  stroke: rgba(28,25,20,0.45);
  fill: none;
  transition: all .2s;
}
.sheet-fav-btn.active {
  background: rgba(239,76,35,0.09) !important;
  border-color: rgba(239,76,35,0.28) !important;
}
.sheet-fav-btn.active svg {
  fill: var(--amber);
  stroke: var(--amber);
  animation: heartPop .3s cubic-bezier(.34,1.56,.64,1);
}
.sheet-fav-btn:active { transform: scale(0.94) !important; }

/* ══ 5. SHEET BODY — cleaner privacy notice ═══ */
.sheet-privacy {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 12px 14px !important;
  background: var(--sand) !important;
  border-radius: 12px !important;
  margin: 4px 0 0 !important;
  border: 1px solid var(--line) !important;
}
.sheet-privacy svg {
  width: 15px !important; height: 15px !important;
  stroke: var(--ink-60) !important;
  fill: none !important;
  stroke-width: 1.8 !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}
.sheet-privacy p { font-size: .74rem !important; color: var(--ink-60) !important; line-height: 1.55 !important; margin: 0 !important; }

/* ══ 6. HEART POP ANIMATION ═════════════════ */
@keyframes heartPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.3); }
  70%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}

/* ══ 7. NAV — consistent for profiles+message ═ */
/* Profiles screen nav = dark solid (same as message) */
/* Already handled by goScreen nav class assignment */

/* ══ 8. FAVS EMPTY STATE — SVG heart ═════════ */
.favs-empty__icon {
  font-size: 1rem !important; /* reset - we use SVG now */
  margin-bottom: 14px !important;
}
.favs-empty__icon svg {
  width: 36px; height: 36px;
  stroke: var(--ink-40);
  fill: none;
  stroke-width: 1.4;
}

/* ══ 9. PROFILES SCREEN — filter bar on white ═ */
/* Filter bar sits on white bg, profiles-hdr is amber */
.filter-bar { background: var(--white) !important; }

/* ══ 10. PROFILES GRID top spacing ═══════════ */
.profile-grid { padding-top: 14px !important; }

/* ══ CLEANUP old conflicting overrides ════════ */
.profiles-hdr__actions { display: none !important; } /* replaced by .profiles-hdr__badges */


/* ═══════════════════════════════════════════════════
   v9 — COMPLETE QUALITY REVIEW OVERHAUL
   Heart buttons, hero consistency, visual polish,
   modern effects, responsive improvements
   ═══════════════════════════════════════════════════ */

/* ══ 1. HEART BUTTONS — white outline default, orange filled active, heartbeat ══ */

/* Grid card heart — white outline default */
.heart-btn {
  background: rgba(0,0,0,0.25) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}
.heart-btn svg {
  width: 15px !important; height: 15px !important;
  stroke: #fff !important;
  fill: none !important;
  stroke-width: 2 !important;
  transition: all .25s var(--ease-spring) !important;
}
/* Active = orange filled */
.heart-btn.active {
  background: rgba(239,76,35,0.18) !important;
}
.heart-btn.active svg {
  fill: var(--amber) !important;
  stroke: var(--amber) !important;
}

/* Heartbeat animation on click */
@keyframes heartBeat {
  0%   { transform: scale(1); }
  15%  { transform: scale(1.25); }
  30%  { transform: scale(0.95); }
  45%  { transform: scale(1.15); }
  60%  { transform: scale(0.98); }
  75%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.heart-btn.active svg {
  animation: heartBeat .5s cubic-bezier(.34,1.56,.64,1) !important;
}

/* Sheet heart button — same pattern */
.sheet-heart-btn {
  background: rgba(0,0,0,0.3) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}
.sheet-heart-btn svg {
  width: 17px !important; height: 17px !important;
  stroke: #fff !important;
  fill: none !important;
  stroke-width: 2 !important;
  transition: all .25s var(--ease-spring) !important;
}
.sheet-heart-btn.active {
  background: rgba(239,76,35,0.2) !important;
}
.sheet-heart-btn.active svg {
  fill: var(--amber) !important;
  stroke: var(--amber) !important;
  animation: heartBeat .5s cubic-bezier(.34,1.56,.64,1) !important;
}

/* Sheet CTA fav button — same pattern */
.sheet-fav-btn svg {
  transition: all .25s var(--ease-spring) !important;
}
.sheet-fav-btn.active svg {
  animation: heartBeat .5s cubic-bezier(.34,1.56,.64,1) !important;
}

/* Heart animate class for JS-triggered animation */
.heart-animate svg {
  animation: heartBeat .5s cubic-bezier(.34,1.56,.64,1) !important;
}


/* ══ 2. HERO SECTIONS — consistent height between Profiles & Messages ══ */

/* Shared hero height variable */
:root {
  --inner-hero-h: calc(var(--nav-h) + 140px);
}

/* Profiles hero */
.profiles-hdr {
  min-height: var(--inner-hero-h) !important;
  display: flex !important;
  align-items: flex-end !important;
}
.profiles-hdr__inner {
  width: 100% !important;
}
.profiles-hdr::after {
  background: radial-gradient(ellipse at 78% 20%, rgba(255,255,255,0.12), transparent 55%) !important;
}

/* Message hero (no-recipient state) */
.msg-no-rcpt-hero {
  min-height: var(--inner-hero-h) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
}

/* Message hero (form state) */
.msg-hdr {
  min-height: calc(var(--nav-h) + 80px) !important;
  display: flex !important;
  align-items: flex-end !important;
  padding-bottom: 22px !important;
}
.msg-hdr__inner {
  width: 100% !important;
}


/* ══ 3. VISUAL CONSISTENCY — cards, shadows, borders, spacing ══ */

/* Consistent card hover effects */
.profile-thumb {
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out) !important;
}
.profile-thumb:hover {
  transform: scale(1.02);
  z-index: 2;
}

/* Why cards — subtle hover lift */
.why-card {
  transition: background var(--t-base), transform .25s var(--ease-out), box-shadow .25s var(--ease-out) !important;
}
.why-card:hover {
  background: rgba(250,247,242,0.10) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Step items — subtle left border accent on hover */
.step-item {
  transition: padding-left .25s var(--ease-out) !important;
  border-left: 3px solid transparent;
}
.step-item:hover {
  padding-left: 8px !important;
  border-left-color: var(--amber);
}

/* Story cards — refined hover */
.story-card {
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out) !important;
}
.story-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--sh-md) !important;
}

/* VS items — subtle scale on hover */
.vs-item {
  transition: transform .2s var(--ease-out), background .2s !important;
}
.vs-item:hover {
  transform: scale(1.02);
}

/* Quiz options — refined hover */
.quiz-opt {
  transition: all .22s var(--ease-out) !important;
}
.quiz-opt:hover {
  transform: translateX(4px);
}

/* Filter pills — refined transition */
.filter-pill {
  transition: all .2s var(--ease-out) !important;
}
.filter-pill:hover:not(.active) {
  background: var(--sand) !important;
  border-color: var(--ink-40) !important;
  transform: translateY(-1px);
}

/* Featured cards — refined hover */
.featured-card {
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out) !important;
}
.featured-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--sh-lg) !important;
}

/* Form fields — refined focus states */
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--amber) !important;
  box-shadow: 0 0 0 4px rgba(239,76,35,0.10) !important;
  transform: translateY(-1px);
}

/* Buttons — refined hover glow */
.btn--amber {
  transition: all .25s var(--ease-out) !important;
}
.btn--amber:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 36px rgba(239,76,35,0.35) !important;
}
.btn--amber:active {
  transform: scale(0.97) translateY(0) !important;
}

/* Contact button in sheet — refined hover */
.btn-contact {
  transition: all .25s var(--ease-out) !important;
}
.btn-contact:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 36px rgba(239,76,35,0.35) !important;
}

/* Consistent border-radius on profile thumbs */
.profile-thumb {
  border-radius: 4px !important;
}


/* ══ 4. MODERN EFFECTS — reveal, parallax, depth ══ */

/* Enhanced scroll reveal with stagger */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out) !important;
}
.reveal.visible {
  opacity: 1 !important;
  transform: none !important;
}

/* Staggered children reveal */
.why-card,
.step-item,
.quiz-opt {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out),
              background var(--t-base), padding-left .25s var(--ease-out) !important;
}
.reveal.visible .why-card,
.reveal.visible .step-item,
.reveal.visible .quiz-opt {
  opacity: 1;
  transform: none;
}
.reveal.visible .why-card:nth-child(1),
.reveal.visible .step-item:nth-child(1),
.reveal.visible .quiz-opt:nth-child(1) { transition-delay: .05s; }
.reveal.visible .why-card:nth-child(2),
.reveal.visible .step-item:nth-child(2),
.reveal.visible .quiz-opt:nth-child(2) { transition-delay: .12s; }
.reveal.visible .why-card:nth-child(3),
.reveal.visible .step-item:nth-child(3),
.reveal.visible .quiz-opt:nth-child(3) { transition-delay: .19s; }
.reveal.visible .why-card:nth-child(4),
.reveal.visible .step-item:nth-child(4),
.reveal.visible .quiz-opt:nth-child(4) { transition-delay: .26s; }

/* Stat band — count-up feel */
.stat-band__num {
  transition: transform .6s var(--ease-out);
}
.reveal.visible .stat-band__num {
  animation: fadeUp .6s var(--ease-out) both;
}
.stat-band__item:nth-child(2) .stat-band__num { animation-delay: .1s; }
.stat-band__item:nth-child(3) .stat-band__num { animation-delay: .2s; }

/* Hero cards — enhanced floating with depth */
.hero-card--1 {
  animation: floatCard1 5s ease-in-out infinite !important;
}
.hero-card--2 {
  animation: floatCard2 6s ease-in-out infinite !important;
  animation-delay: -2s;
}
.hero-card--3 {
  animation: floatCard3 7s ease-in-out infinite;
}
@keyframes floatCard3 {
  0%, 100% { transform: rotate(10deg) translateY(0); }
  50% { transform: rotate(10deg) translateY(-5px); }
}

/* Hero content — fade-in on load */
.hero__content {
  animation: heroFadeIn .8s var(--ease-out) both;
  animation-delay: .2s;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero trust items — staggered entrance */
.hero__trust-item {
  opacity: 0;
  animation: fadeUp .5s var(--ease-out) both;
}
.hero__trust-item:nth-child(1) { animation-delay: .5s; }
.hero__trust-item:nth-child(2) { animation-delay: .6s; }
.hero__trust-item:nth-child(3) { animation-delay: .7s; }

/* No-reg box — subtle entrance */
.no-reg-box {
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out) !important;
}
.no-reg-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(239,76,35,0.12);
}

/* CTA price — subtle pulse */
.cta-price-display {
  color: rgba(18,15,10,0.85) !important;
}

/* Sheet — smoother entrance */
.sheet {
  transition: transform .45s var(--ease-spring) !important;
}

/* Sheet overlay — smoother */
.sheet-overlay {
  transition: opacity .35s var(--ease-out) !important;
}

/* Nav transition smoother */
.nav {
  transition: background .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out) !important;
}
.nav--solid,
.nav--dark-solid {
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}

/* Tab bar — active tab transition */
.tab {
  transition: all .2s var(--ease-out) !important;
}
.tab:hover .tab__icon svg {
  stroke: var(--ink-60);
}
.tab:hover .tab__label {
  color: var(--ink-60);
}

/* Quiz match cards — hover lift */
.quiz-match {
  transition: all .22s var(--ease-out) !important;
}
.quiz-match:hover {
  transform: translateX(4px) !important;
  border-color: var(--amber) !important;
}

/* Smooth page transitions between screens */
.screen {
  animation: screenIn .35s var(--ease-out) both;
}
@keyframes screenIn {
  from { opacity: 0.85; }
  to { opacity: 1; }
}


/* ══ 5. HERO SECTION — subtle gradient refinement ══ */

/* Profiles hero — grain overlay for premium feel */
.profiles-hdr::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* Message no-recipient hero — grain overlay */
.msg-no-rcpt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 15%, rgba(239,76,35,0.14) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}
.msg-no-rcpt-hero > * {
  position: relative;
  z-index: 1;
}


/* ══ 6. TYPOGRAPHY POLISH ══ */

/* Kicker labels — consistent spacing */
.kicker {
  margin-bottom: 14px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

/* Statement headlines — consistent bottom margin */
.statement {
  margin-bottom: 16px !important;
}

/* Body copy — consistent spacing */
.body-copy {
  margin-bottom: 22px !important;
}


/* ══ 7. MOBILE TOUCH REFINEMENTS ══ */

/* Better touch targets for filter pills */
@media (max-width: 519px) {
  .filter-pill {
    padding: 8px 14px !important;
    min-height: 36px;
  }

  /* Larger heart button targets on mobile */
  .heart-btn {
    width: 36px !important;
    height: 36px !important;
  }

  /* Profile thumb overlay — more readable text */
  .profile-thumb__name {
    font-size: 0.68rem !important;
  }

  /* Quiz options — better touch targets */
  .quiz-opt {
    padding: 14px 16px !important;
    min-height: 48px;
  }
}

/* Desktop hover states (no hover on touch) */
@media (hover: hover) {
  .profile-thumb:hover {
    transform: scale(1.03);
    z-index: 3;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  }
}

/* Touch devices — active states only */
@media (hover: none) {
  .profile-thumb:active {
    transform: scale(0.97) !important;
  }
  .why-card:hover { transform: none !important; box-shadow: none !important; }
  .story-card:hover { transform: none !important; }
  .quiz-opt:hover { transform: none !important; }
}


/* ══ 8. PAYMENT METHODS — refined alignment ══ */
.payment-methods {
  margin-top: 20px !important;
}
.payment-methods__icons {
  gap: 5px !important;
}
.pm-badge {
  transition: transform .15s var(--ease-out);
}
.pm-badge:hover {
  transform: translateY(-1px);
}


/* ══ 9. FOOTER — subtle enhancements ══ */
.footer__links a {
  transition: color .2s var(--ease-out), transform .2s var(--ease-out) !important;
}
.footer__links a:hover {
  color: var(--amber) !important;
  transform: translateX(3px);
}

/* Footer logo heart — subtle pulse */
.footer__logo .nav__logo-mark {
  transition: transform .3s var(--ease-spring);
}
.footer__logo:hover .nav__logo-mark {
  transform: scale(1.15);
}


/* ══ 10. PROFILE GRID — improved spacing & border radius ══ */
.profile-grid {
  background: var(--cream) !important;
  gap: 8px !important;
  padding: 12px 12px 8px !important;
}

/* Profile overlay — smoother gradient */
.profile-thumb__overlay {
  background: linear-gradient(to top, rgba(18,15,10,0.88) 0%, rgba(18,15,10,0.4) 60%, transparent 100%) !important;
  padding: 32px 8px 8px !important;
}

/* Flag badge — refined */
.profile-thumb__flag {
  border-radius: 6px !important;
  background: rgba(18,15,10,0.45) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}


/* ══ 11. SHEET REFINEMENTS ══ */

/* Sheet — subtle border top glow */
.sheet {
  border-top: 2px solid var(--amber) !important;
}

/* Sheet stats — hover effect */
.sheet-stat {
  transition: transform .2s var(--ease-out), box-shadow .2s !important;
}
.sheet-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}

/* Sheet tags — subtle hover */
.sheet-tag {
  transition: all .15s var(--ease-out) !important;
}
.sheet-tag:hover {
  transform: translateY(-1px);
  box-shadow: var(--sh-xs);
}

/* Sheet persona card — hover lift */
.sheet-persona {
  transition: transform .2s var(--ease-out), box-shadow .2s !important;
}
.sheet-persona:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}


/* ══ 12. SUCCESS UPSELL — refined ══ */
.success-upsell__card {
  transition: all .22s var(--ease-out) !important;
}
.success-upsell__card:hover {
  transform: translateX(4px) !important;
  border-color: var(--amber) !important;
}


/* ══ 13. GENERAL CLEANUP — removing !important where safe ══ */

/* Ensure the CTA tagline uses correct color on amber bg */
.bold-section--amber .cta-tagline {
  color: rgba(255,255,255,0.92) !important;
}

/* Fix copyright year */
.footer__bottom {
  font-size: 0.64rem !important;
  color: rgba(250,247,242,0.22) !important;
}

/* Live badge pulse — refined */
@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(255,255,255,0); }
}

/* Nav logo heart — refined pulse */
@keyframes heartPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 3px rgba(239,76,35,0.35)); }
  40% { transform: scale(1.18); filter: drop-shadow(0 0 6px rgba(239,76,35,0.6)); }
  55% { transform: scale(1.06); }
  70% { transform: scale(1.14); filter: drop-shadow(0 0 5px rgba(239,76,35,0.5)); }
  85% { transform: scale(1.03); }
}


/* ═══════════════════════════════════════════════════
   FASE 1 — VALUE EXPLANATION BLOCK (inside orange CTA)
   ═══════════════════════════════════════════════════ */
.value-explain {
  margin-top: 28px;
  padding-top: 24px;
  text-align: left;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
.value-explain__line {
  width: 40px;
  height: 2px;
  background: rgba(18,15,10,0.15);
  margin: 0 auto 18px;
  border-radius: 2px;
}
.value-explain__title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(18,15,10,0.82);
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.value-explain__text {
  font-size: 0.78rem;
  color: rgba(18,15,10,0.58);
  line-height: 1.72;
  text-align: center;
  margin-bottom: 18px;
}
.value-explain__points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.value-explain__point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(18,15,10,0.06);
  border-radius: 14px;
  padding: 14px 16px;
}
.value-explain__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(18,15,10,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-explain__icon svg {
  stroke: rgba(18,15,10,0.55);
}
.value-explain__point p {
  font-size: 0.76rem;
  color: rgba(18,15,10,0.62);
  line-height: 1.65;
  margin: 0;
}


/* ═══════════════════════════════════════════════════
   FASE 2 — FAV PILL RIGHT-ALIGNED
   ═══════════════════════════════════════════════════ */
.profiles-hdr__badges {
  justify-content: space-between !important;
  width: 100% !important;
}
.fav-pill-btn {
  margin-left: auto !important;
}


/* ═══════════════════════════════════════════════════
   FASE 3 — SMALLER HEART BUTTONS (match flag size)
   ═══════════════════════════════════════════════════ */
.heart-btn {
  width: 26px !important;
  height: 26px !important;
}
.heart-btn svg {
  width: 12px !important;
  height: 12px !important;
}
@media (max-width: 519px) {
  .heart-btn {
    width: 28px !important;
    height: 28px !important;
  }
  .heart-btn svg {
    width: 12px !important;
    height: 12px !important;
  }
}


/* ═══════════════════════════════════════════════════
   FASE 4 — MESSAGE FORM LAYOUT REFINEMENTS
   ═══════════════════════════════════════════════════ */

/* Better padding inside form body */
.form-body {
  padding: 12px 18px !important;
}

/* Consistent card spacing */
.form-card {
  margin-bottom: 14px !important;
  border-radius: 16px !important;
}
.form-card__hdr {
  padding: 16px 18px 12px !important;
}
.form-card__body {
  padding: 16px 18px 18px !important;
}

/* Labels - better spacing and readability */
.form-field label {
  font-size: 0.65rem !important;
  margin-bottom: 6px !important;
  line-height: 1.5 !important;
}

/* Multi-line labels like "Tu aimes recevoir des cadeaux?" */
.form-field label[data-i18n="lbl_gifts"],
.form-field label[data-i18n="lbl_leave_morocco"],
.form-field label[data-i18n="lbl_lifestyle"] {
  font-size: 0.62rem !important;
  line-height: 1.45 !important;
  min-height: 28px !important;
  display: flex !important;
  align-items: flex-end !important;
}

/* Input/select fields — better internal padding */
.form-field input,
.form-field select,
.form-field textarea {
  padding: 11px 14px !important;
  font-size: 0.84rem !important;
  border-radius: 10px !important;
  line-height: 1.5 !important;
}

/* Consistent row gap */
.form-row {
  gap: 12px !important;
  align-items: end !important;
}

/* Better vertical rhythm for form cards */
.form-card__body > .form-field + .form-field,
.form-card__body > .form-row + .form-field,
.form-card__body > .form-field + .form-row,
.form-card__body > .form-row + .form-row {
  margin-top: 2px;
}

/* Textarea refinement */
.form-field textarea {
  min-height: 100px !important;
  line-height: 1.65 !important;
}

/* Char count alignment */
.char-count {
  text-align: right;
  font-size: 0.68rem;
  color: var(--ink-40);
  margin-top: 4px;
}

/* Role wrap — better padding */
.role-wrap {
  padding: 16px 18px !important;
}

/* Recipient card — better padding */
.recipient-card {
  margin: 0 18px 4px !important;
  border-radius: 14px !important;
}

/* Submit area — better alignment */
.form-submit {
  padding: 16px 18px calc(20px + var(--safe-b)) !important;
}

/* Submit note */
.submit-note {
  text-align: center !important;
  padding: 0 12px !important;
  line-height: 1.6 !important;
}


/* ═══════════════════════════════════════════════════
   FASE 5 — ORIENTATION FILTER PILL
   ═══════════════════════════════════════════════════ */
.filter-pill[data-filter="straight"],
.filter-pill[data-filter="gay"],
.filter-pill[data-filter="lesbian"] {
  /* same style as other pills, no special treatment */
}
