/* ==========================================================================
   AfriMeet - Design System & Ultra-Premium Styling
   Colors:
   - Primary Coral: #FF6B6B
   - Primary Dark:  #111111
   - Primary Teal:  #4ECDC4
   - Secondary Gold:#FFC658
   - Pastel Lavender: #F3EEFF
   - Pastel Pink: #FFF0F3
   - Light Bg:      #F8F9FA
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-coral: #FF6B6B;
  --primary-coral-dark: #e05252;
  --primary-teal: #4ECDC4;
  --primary-teal-dark: #3dbab1;
  --gold-accent: #FFC658;
  --gold-glow: rgba(255, 198, 88, 0.4);
  
  --badoo-purple: #F3EEFF;
  --badoo-pink: #FFF0F3;
  --badoo-dark: #111111;
  
  --bg-light: #F8F9FA;
  --surface-light: #FFFFFF;
  --text-main: #111111;
  --text-muted: #666666;
  --border-light: #E9ECEF;
  --card-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  
  /* Dark mode support */
  --bg-dark: #1A252F;
  --surface-dark: #2C3E50;
  --text-dark: #F8F9FA;
  --border-dark: #3E5165;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   AFriMeet — Accueil éditorial premium 2026
   Toutes les règles sont volontairement isolées sous .premium-home-v2 afin
   de préserver l'application connectée, l'administration et les pages légales.
   ========================================================================== */

#landing-page-view > :not(.freemeet-home-v3) {
  display: none !important;
}

.premium-home-v2 {
  --ph-ink: #21131b;
  --ph-plum: #3a1028;
  --ph-plum-soft: #5b1d3f;
  --ph-rose: #c95069;
  --ph-coral: #dc6b72;
  --ph-champagne: #f4dfb9;
  --ph-cream: #f7f1e8;
  --ph-ivory: #fcfaf7;
  --ph-sage: #dbe8df;
  --ph-emerald: #1f6758;
  --ph-muted: #74666d;
  --ph-line: rgba(58, 16, 40, 0.12);
  --ph-serif: 'Playfair Display', Georgia, serif;
  --ph-sans: 'DM Sans', 'Inter', sans-serif;
  width: 100%;
  overflow: hidden;
  background: var(--ph-ivory);
  color: var(--ph-ink);
  font-family: var(--ph-sans);
}

.premium-home-v2 *,
.premium-home-v2 *::before,
.premium-home-v2 *::after {
  box-sizing: border-box;
}

.premium-home-v2 button,
.premium-home-v2 input,
.premium-home-v2 summary {
  font: inherit;
}

.premium-home-v2 a {
  text-decoration-skip-ink: auto;
}

.ph-shell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.ph-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ph-header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.ph-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.ph-brand img {
  width: 43px;
  height: 43px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(33, 19, 27, 0.16));
}

.ph-brand span {
  font-family: var(--ph-serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ph-header .ph-brand,
.ph-header .ph-nav a,
.ph-header .ph-btn-ghost {
  color: #fff;
}

.ph-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.ph-nav a {
  position: relative;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.84;
  transition: opacity 0.2s ease;
}

.ph-nav a::after {
  position: absolute;
  content: '';
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--ph-champagne);
  transition: right 0.25s ease;
}

.ph-nav a:hover {
  opacity: 1;
}

.ph-nav a:hover::after {
  right: 0;
}

.ph-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ph-btn {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.ph-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--ph-rose), #a93356);
  box-shadow: 0 13px 30px rgba(169, 51, 86, 0.25);
}

.ph-btn-primary:hover {
  box-shadow: 0 17px 36px rgba(169, 51, 86, 0.34);
}

.ph-btn-ghost {
  background: transparent;
}

.ph-btn-soft {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.ph-btn-light {
  color: var(--ph-plum);
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.ph-btn-champagne {
  color: var(--ph-plum);
  background: var(--ph-champagne);
  box-shadow: 0 14px 34px rgba(11, 2, 7, 0.24);
}

.ph-btn-large {
  min-height: 58px;
  padding: 0 28px;
  font-size: 0.96rem;
}

.ph-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ph-hero {
  position: relative;
  min-height: 880px;
  padding: 154px 0 0;
  color: #fff;
  background:
    radial-gradient(circle at 14% 92%, rgba(220, 107, 114, 0.21), transparent 25%),
    linear-gradient(124deg, #2a0a20 0%, #42122f 54%, #551d3d 100%);
  isolation: isolate;
}

.ph-hero::before {
  position: absolute;
  content: '';
  inset: 0;
  z-index: -1;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.ph-hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.ph-hero-glow-one {
  width: 520px;
  height: 520px;
  top: -220px;
  right: 18%;
  background: rgba(222, 111, 130, 0.16);
}

.ph-hero-glow-two {
  width: 320px;
  height: 320px;
  right: -120px;
  bottom: 60px;
  border: 1px solid rgba(244, 223, 185, 0.2);
  background: transparent;
}

.ph-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(480px, 0.88fr);
  align-items: center;
  gap: clamp(54px, 7vw, 104px);
}

.ph-hero-copy {
  position: relative;
  z-index: 4;
  padding-bottom: 100px;
}

.ph-eyebrow,
.ph-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ph-rose);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ph-eyebrow {
  margin-bottom: 28px;
  color: var(--ph-champagne);
}

.ph-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e99aa8;
  box-shadow: 0 0 0 7px rgba(233, 154, 168, 0.11);
}

.ph-hero h1,
.ph-section-heading h2,
.ph-experience-copy h2,
.ph-safety-copy h2,
.ph-faq-intro h2,
.ph-final-inner h2 {
  margin: 0;
  font-family: var(--ph-serif);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.ph-hero h1 {
  max-width: 690px;
  font-size: clamp(3.7rem, 5.4vw, 5.75rem);
  line-height: 0.98;
}

.ph-hero h1 em {
  color: var(--ph-champagne);
  font-weight: 600;
}

.ph-hero-lead {
  max-width: 620px;
  margin: 28px 0 30px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.08rem;
  line-height: 1.75;
}

.ph-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ph-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 27px;
}

.ph-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 600;
}

.ph-trust-row svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--ph-champagne);
  stroke-width: 2;
}

.ph-legal-note {
  max-width: 640px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.69rem;
  line-height: 1.6;
}

.ph-legal-note a {
  color: rgba(255, 255, 255, 0.67);
}

.ph-hero-visual {
  position: relative;
  z-index: 2;
  align-self: end;
  min-height: 662px;
}

.ph-hero-image-frame {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(100%, 520px);
  height: 650px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 260px 260px 26px 26px;
  box-shadow: 0 32px 80px rgba(8, 2, 6, 0.36);
}

.ph-hero-image-frame::before {
  position: absolute;
  content: '';
  inset: 13px;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.27);
  border-radius: inherit;
}

.ph-hero-image-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.ph-image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(25, 5, 18, 0.86) 100%);
}

.ph-hero-caption {
  position: absolute;
  z-index: 4;
  left: 42px;
  right: 42px;
  bottom: 34px;
}

.ph-hero-caption span {
  display: block;
  margin-bottom: 6px;
  color: var(--ph-champagne);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ph-hero-caption strong {
  display: block;
  font-family: var(--ph-serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
}

.ph-floating-card {
  position: absolute;
  z-index: 7;
  display: flex;
  align-items: center;
  color: var(--ph-ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 19px 45px rgba(8, 2, 6, 0.25);
  backdrop-filter: blur(18px);
}

.ph-floating-card small,
.ph-floating-card strong {
  display: block;
}

.ph-floating-card small {
  margin-bottom: 3px;
  color: #92858c;
  font-size: 0.67rem;
}

.ph-floating-card strong {
  font-size: 0.79rem;
}

.ph-match-card {
  top: 120px;
  left: -38px;
  gap: 13px;
  padding: 13px 17px 13px 13px;
  border-radius: 20px;
}

.ph-avatar-pair {
  display: flex;
}

.ph-avatar-pair img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 3px solid #fff;
  border-radius: 50%;
}

.ph-avatar-pair img + img {
  margin-left: -13px;
}

.ph-message-card {
  right: -55px;
  bottom: 140px;
  gap: 11px;
  padding: 14px 16px;
  border-radius: 17px;
}

.ph-online-dot {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #35a379;
  box-shadow: 0 0 0 3px rgba(53, 163, 121, 0.14);
}

.ph-message-time {
  align-self: flex-start;
  margin-left: 6px;
  color: #9a8d94;
  font-size: 0.58rem;
}

.ph-hero-monogram {
  position: absolute;
  z-index: -1;
  top: 6px;
  right: -62px;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--ph-serif);
  font-size: 27rem;
  line-height: 1;
}

.ph-trust-band {
  position: relative;
  z-index: 9;
  min-height: 116px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -1px;
  color: var(--ph-ink);
  background: #fff;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -18px 50px rgba(11, 2, 7, 0.09);
}

.ph-trust-band > div {
  position: relative;
  padding: 30px 27px;
}

.ph-trust-band > div:not(:last-child)::after {
  position: absolute;
  content: '';
  top: 30px;
  right: 0;
  bottom: 30px;
  width: 1px;
  background: var(--ph-line);
}

.ph-trust-band strong,
.ph-trust-band span {
  display: block;
}

.ph-trust-band strong {
  margin-bottom: 6px;
  color: var(--ph-plum);
  font-family: var(--ph-serif);
  font-size: 1.08rem;
}

.ph-trust-band span {
  color: var(--ph-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.ph-section {
  padding: 124px 0;
}

.ph-section-heading {
  margin-bottom: 62px;
}

.ph-section-heading h2,
.ph-experience-copy h2,
.ph-safety-copy h2,
.ph-faq-intro h2 {
  color: var(--ph-plum);
  font-size: clamp(2.6rem, 4.2vw, 4.15rem);
  line-height: 1.08;
}

.ph-section-heading .ph-kicker,
.ph-experience-copy .ph-kicker,
.ph-safety-copy .ph-kicker,
.ph-faq-intro .ph-kicker {
  margin-bottom: 18px;
}

.ph-heading-split {
  display: grid;
  grid-template-columns: 1.3fr 0.62fr;
  align-items: end;
  gap: 70px;
}

.ph-heading-split p,
.ph-centered-heading > p,
.ph-experience-copy > p,
.ph-safety-copy > p,
.ph-faq-intro > p {
  margin: 0;
  color: var(--ph-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.ph-centered-heading {
  max-width: 790px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.ph-centered-heading > p {
  max-width: 610px;
  margin: 20px auto 0;
}

.ph-profiles {
  background: var(--ph-ivory);
}

.ph-profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 18px;
}

.ph-profile-card {
  position: relative;
  height: 430px;
  overflow: hidden;
  border-radius: 170px 170px 25px 25px;
  background: #ddd;
  box-shadow: 0 20px 45px rgba(39, 17, 29, 0.12);
}

.ph-profile-card-tall {
  height: 492px;
}

.ph-profile-card-lifted {
  margin-top: 40px;
}

.ph-profile-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.ph-profile-card:hover > img {
  transform: scale(1.045);
}

.ph-profile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 47%, rgba(28, 10, 21, 0.88) 100%);
}

.ph-status-pill {
  position: absolute;
  top: 22px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  color: #234e41;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.ph-status-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #36a276;
}

.ph-profile-info {
  position: absolute;
  z-index: 3;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: #fff;
}

.ph-profile-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ph-profile-title h3 {
  margin: 0;
  font-family: var(--ph-serif);
  font-size: 1.65rem;
  font-weight: 600;
}

.ph-verified {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #4f9fcb;
  border-radius: 50%;
  font-size: 0.66rem;
  font-weight: 800;
}

.ph-profile-info p {
  margin: 5px 0 13px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
}

.ph-intent-tag {
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.66rem;
  backdrop-filter: blur(8px);
}

.ph-center-action {
  margin-top: 58px;
  text-align: center;
}

.ph-why {
  background: var(--ph-cream);
}

.ph-reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.ph-reason-card {
  min-height: 345px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(58, 16, 40, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.63);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ph-reason-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(58, 16, 40, 0.09);
}

.ph-reason-featured {
  color: #fff;
  border-color: transparent;
  background: var(--ph-plum);
}

.ph-reason-number {
  align-self: flex-end;
  color: rgba(58, 16, 40, 0.3);
  font-family: var(--ph-serif);
  font-size: 0.76rem;
}

.ph-reason-featured .ph-reason-number {
  color: rgba(255, 255, 255, 0.38);
}

.ph-reason-icon {
  width: 56px;
  height: 56px;
  margin-top: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ph-rose);
  background: #f7e7e7;
  border-radius: 50%;
}

.ph-reason-featured .ph-reason-icon {
  color: var(--ph-champagne);
  background: rgba(255, 255, 255, 0.1);
}

.ph-reason-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ph-reason-card h3 {
  margin: auto 0 12px;
  color: var(--ph-plum);
  font-family: var(--ph-serif);
  font-size: 1.45rem;
}

.ph-reason-featured h3 {
  color: #fff;
}

.ph-reason-card p {
  margin: 0;
  color: var(--ph-muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.ph-reason-featured p {
  color: rgba(255, 255, 255, 0.65);
}

.ph-experience {
  background: #fff;
}

.ph-experience-grid {
  display: grid;
  grid-template-columns: minmax(470px, 0.9fr) 1fr;
  align-items: center;
  gap: clamp(80px, 10vw, 150px);
}

.ph-app-scene {
  position: relative;
  min-height: 680px;
}

.ph-app-halo {
  position: absolute;
  inset: 40px -20px 20px 0;
  border-radius: 50% 50% 32px 32px;
  background: linear-gradient(155deg, #f3ddcf, #ecddd7 55%, #e0e7de);
}

.ph-phone {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 54px;
  width: 320px;
  height: 650px;
  overflow: hidden;
  color: var(--ph-ink);
  background: #fff;
  border: 9px solid #27151f;
  border-radius: 48px;
  box-shadow: 0 35px 75px rgba(47, 20, 34, 0.23);
}

.ph-phone::before {
  position: absolute;
  content: '';
  z-index: 5;
  top: 8px;
  left: 50%;
  width: 82px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #27151f;
}

.ph-phone-top {
  height: 45px;
  padding: 13px 17px 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  font-weight: 700;
}

.ph-phone-top i,
.ph-phone-top b {
  width: 14px;
  height: 7px;
  display: block;
  border-radius: 2px;
  background: #2a1722;
}

.ph-phone-top b {
  margin-left: -75px;
  opacity: 0.45;
}

.ph-phone-appbar {
  height: 56px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ph-phone-appbar img {
  width: 26px;
  height: 26px;
}

.ph-phone-appbar strong {
  font-family: var(--ph-serif);
}

.ph-phone-appbar span {
  color: var(--ph-muted);
  font-size: 1rem;
}

.ph-phone-profile {
  position: relative;
  height: 380px;
  margin: 0 11px;
  overflow: hidden;
  border-radius: 155px 155px 21px 21px;
}

.ph-phone-profile::after {
  position: absolute;
  content: '';
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(27, 9, 20, 0.8));
}

.ph-phone-profile > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-phone-profile-copy {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 17px;
  color: #fff;
}

.ph-phone-profile-copy h3 {
  margin: 0 0 3px;
  font-family: var(--ph-serif);
  font-size: 1.35rem;
}

.ph-phone-profile-copy h3 span {
  color: #71c8ee;
}

.ph-phone-profile-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
}

.ph-phone-tags {
  padding: 13px 14px 5px;
  display: flex;
  gap: 6px;
}

.ph-phone-tags span {
  padding: 6px 8px;
  color: var(--ph-plum);
  background: #f7edf0;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 600;
}

.ph-phone-actions {
  padding: 11px 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ph-phone-actions button {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: var(--ph-plum);
  background: #fff;
  box-shadow: 0 7px 20px rgba(39, 17, 29, 0.13);
  font-size: 1.2rem;
}

.ph-phone-actions button:nth-child(2) {
  width: 58px;
  height: 58px;
  color: #fff;
  background: linear-gradient(135deg, var(--ph-coral), var(--ph-rose));
}

.ph-mini-chat {
  position: absolute;
  z-index: 5;
  right: -15px;
  bottom: 60px;
  width: 252px;
  padding: 17px;
  color: var(--ph-ink);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  box-shadow: 0 26px 55px rgba(47, 20, 34, 0.2);
  backdrop-filter: blur(14px);
}

.ph-mini-chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ph-mini-chat-head img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
}

.ph-mini-chat-head strong,
.ph-mini-chat-head span {
  display: block;
}

.ph-mini-chat-head strong {
  font-size: 0.77rem;
}

.ph-mini-chat-head span {
  margin-top: 2px;
  color: #39a378;
  font-size: 0.6rem;
}

.ph-mini-chat > p,
.ph-chat-reply {
  width: fit-content;
  max-width: 92%;
  margin: 15px 0 7px;
  padding: 9px 11px;
  border-radius: 12px 12px 12px 4px;
  background: #f4eff1;
  font-size: 0.68rem;
}

.ph-chat-reply {
  margin: 0 0 8px auto;
  color: #fff;
  background: var(--ph-plum-soft);
  border-radius: 12px 12px 4px 12px;
}

.ph-voice-note {
  height: 31px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ph-plum);
  background: #f8e8eb;
  border-radius: 11px;
}

.ph-voice-note span {
  margin-right: 5px;
  font-size: 0.55rem;
}

.ph-voice-note i {
  width: 2px;
  height: 8px;
  border-radius: 2px;
  background: var(--ph-rose);
}

.ph-voice-note i:nth-of-type(2) { height: 15px; }
.ph-voice-note i:nth-of-type(3) { height: 11px; }
.ph-voice-note i:nth-of-type(4) { height: 18px; }

.ph-voice-note small {
  margin-left: auto;
  color: var(--ph-muted);
  font-size: 0.56rem;
}

.ph-experience-copy > p {
  max-width: 600px;
  margin-top: 24px;
}

.ph-feature-list {
  margin: 38px 0 34px;
  padding: 0;
  list-style: none;
}

.ph-feature-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--ph-line);
}

.ph-feature-list li:last-child {
  border-bottom: 1px solid var(--ph-line);
}

.ph-feature-list > li > span {
  color: var(--ph-rose);
  font-family: var(--ph-serif);
  font-size: 0.83rem;
}

.ph-feature-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ph-plum);
  font-family: var(--ph-serif);
  font-size: 1.08rem;
}

.ph-feature-list p {
  margin: 0;
  color: var(--ph-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.ph-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 0 6px;
  color: var(--ph-plum);
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(58, 16, 40, 0.28);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.ph-text-link span {
  transition: transform 0.2s ease;
}

.ph-text-link:hover span {
  transform: translateX(5px);
}

.ph-how {
  background: var(--ph-sage);
}

.ph-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.ph-steps article {
  position: relative;
  padding-right: 62px;
}

.ph-steps article > span {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ph-champagne);
  background: var(--ph-plum);
  border-radius: 50%;
  font-family: var(--ph-serif);
}

.ph-step-line {
  position: absolute;
  top: 24px;
  left: 63px;
  width: calc(100% - 78px);
  height: 1px;
  background: rgba(31, 103, 88, 0.26);
}

.ph-steps h3 {
  margin: 28px 0 10px;
  color: var(--ph-plum);
  font-family: var(--ph-serif);
  font-size: 1.45rem;
}

.ph-steps p {
  margin: 0;
  color: #5d6f67;
  font-size: 0.84rem;
  line-height: 1.7;
}

.ph-safety {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #173f38;
}

.ph-safety::before {
  position: absolute;
  content: '';
  inset: 0;
  opacity: 0.08;
  background-image: linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.25) 50%), linear-gradient(transparent 49.8%, rgba(255,255,255,.25) 50%);
  background-size: 72px 72px;
}

.ph-safety-orb {
  position: absolute;
  right: -100px;
  bottom: -190px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(244, 223, 185, 0.18);
  border-radius: 50%;
}

.ph-safety-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.83fr 1fr;
  align-items: center;
  gap: 110px;
}

.ph-safety-mark {
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 220px 220px 24px 24px;
  background: rgba(255, 255, 255, 0.055);
  text-align: center;
}

.ph-safety-mark svg {
  width: 130px;
  fill: none;
  stroke: var(--ph-champagne);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ph-safety-mark span,
.ph-safety-mark strong {
  display: block;
}

.ph-safety-mark span {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ph-safety-mark strong {
  margin-top: 6px;
  color: #fff;
  font-family: var(--ph-serif);
  font-size: 1.75rem;
  font-weight: 600;
}

.ph-kicker-light {
  color: var(--ph-champagne) !important;
}

.ph-safety-copy h2 {
  color: #fff;
}

.ph-safety-copy > p {
  margin-top: 23px;
  color: rgba(255, 255, 255, 0.65);
}

.ph-safety-points {
  margin: 31px 0 35px;
}

.ph-safety-points > div {
  display: flex;
  gap: 13px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.ph-safety-points > div:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.ph-safety-points span {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ph-emerald);
  background: var(--ph-champagne);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
}

.ph-safety-points p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.81rem;
  line-height: 1.6;
}

.ph-safety-points strong {
  color: #fff;
}

.ph-stories {
  background: var(--ph-ivory);
}

.ph-story-grid {
  display: grid;
  grid-template-columns: 1fr 0.86fr 1fr;
  align-items: stretch;
  gap: 18px;
}

.ph-story-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 24px;
}

.ph-story-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-story-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 7, 17, 0.02) 25%, rgba(24, 7, 17, 0.9) 100%);
}

.ph-story-photo blockquote {
  position: absolute;
  z-index: 2;
  left: 30px;
  right: 30px;
  bottom: 57px;
  margin: 0;
  color: #fff;
  font-family: var(--ph-serif);
  font-size: 1.4rem;
  line-height: 1.4;
}

.ph-story-photo > span {
  position: absolute;
  z-index: 2;
  left: 30px;
  bottom: 27px;
  color: var(--ph-champagne);
  font-size: 0.69rem;
  font-weight: 700;
}

.ph-story-quote {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: var(--ph-plum);
}

.ph-quote-mark {
  color: var(--ph-champagne);
  font-family: var(--ph-serif);
  font-size: 5rem;
  line-height: 0.7;
}

.ph-story-quote blockquote {
  margin: auto 0;
  font-family: var(--ph-serif);
  font-size: 1.52rem;
  line-height: 1.5;
}

.ph-story-quote strong,
.ph-story-quote span {
  display: block;
}

.ph-story-quote strong {
  font-size: 0.8rem;
}

.ph-story-quote span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
}

.ph-faq {
  background: #fff;
}

.ph-faq-grid {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 110px;
}

.ph-faq-intro {
  position: sticky;
  top: 30px;
  align-self: start;
}

.ph-faq-intro > p {
  margin: 22px 0 28px;
}

.ph-accordion details {
  border-top: 1px solid var(--ph-line);
}

.ph-accordion details:last-child {
  border-bottom: 1px solid var(--ph-line);
}

.ph-accordion summary {
  padding: 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ph-plum);
  font-family: var(--ph-serif);
  font-size: 1.2rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.ph-accordion summary::-webkit-details-marker {
  display: none;
}

.ph-accordion summary span {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ph-line);
  border-radius: 50%;
  font-family: var(--ph-sans);
  font-size: 1.1rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.ph-accordion details[open] summary span {
  transform: rotate(45deg);
}

.ph-accordion details p {
  max-width: 700px;
  margin: -8px 50px 25px 0;
  color: var(--ph-muted);
  font-size: 0.87rem;
  line-height: 1.75;
}

.ph-final-cta {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  color: #fff;
  background: var(--ph-plum);
  text-align: center;
}

.ph-final-pattern {
  position: absolute;
  top: -230px;
  left: 50%;
  width: 720px;
  height: 720px;
  transform: translateX(-50%);
  border: 1px solid rgba(244, 223, 185, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(244, 223, 185, 0.025), 0 0 0 160px rgba(244, 223, 185, 0.02);
}

.ph-final-inner {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.ph-final-inner > span {
  color: var(--ph-champagne);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ph-final-inner h2 {
  margin: 16px 0 20px;
  color: #fff;
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  line-height: 1.05;
}

.ph-final-inner p {
  max-width: 580px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.7;
}

.ph-footer {
  padding: 72px 0 30px;
  color: rgba(255, 255, 255, 0.67);
  background: #180912;
}

.ph-footer-top {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr;
  gap: 90px;
  padding-bottom: 60px;
}

.ph-footer .ph-brand {
  color: #fff;
}

.ph-footer-brand > p {
  max-width: 280px;
  margin: 18px 0 0;
  font-size: 0.82rem;
  line-height: 1.7;
}

.ph-footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.ph-footer-links strong,
.ph-footer-links a,
.ph-footer-links button {
  display: block;
}

.ph-footer-links strong {
  margin-bottom: 18px;
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ph-footer-links a,
.ph-footer-links button {
  margin: 0 0 11px;
  padding: 0;
  color: rgba(255, 255, 255, 0.58);
  background: none;
  border: 0;
  font-size: 0.77rem;
  text-decoration: none;
  cursor: pointer;
}

.ph-footer-links a:hover,
.ph-footer-links button:hover {
  color: var(--ph-champagne);
}

.ph-footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.ph-footer-bottom p {
  margin: 0;
  font-size: 0.67rem;
}

@media (max-width: 1180px) {
  .ph-nav { display: none; }
  .ph-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(420px, 0.8fr); gap: 45px; }
  .ph-hero h1 { font-size: clamp(3.4rem, 5.5vw, 5rem); }
  .ph-message-card { right: -12px; }
  .ph-profile-card { height: 390px; }
  .ph-profile-card-tall { height: 450px; }
  .ph-reasons-grid { grid-template-columns: repeat(2, 1fr); }
  .ph-experience-grid { gap: 65px; }
  .ph-mini-chat { right: 0; }
}

@media (max-width: 920px) {
  .ph-shell { width: min(100% - 40px, 760px); }
  .ph-header { background: rgba(42, 10, 32, 0.6); backdrop-filter: blur(16px); }
  .ph-header-inner { min-height: 76px; }
  .ph-header-cta { display: none; }
  .ph-hero { padding-top: 125px; }
  .ph-hero-grid { grid-template-columns: 1fr; }
  .ph-hero-copy { padding-bottom: 35px; text-align: center; }
  .ph-hero-lead, .ph-legal-note { margin-right: auto; margin-left: auto; }
  .ph-hero-actions, .ph-trust-row { justify-content: center; }
  .ph-hero-visual { width: min(560px, 100%); min-height: 650px; margin: 0 auto; }
  .ph-hero-image-frame { right: 50%; width: min(100%, 500px); transform: translateX(50%); }
  .ph-match-card { left: -10px; }
  .ph-message-card { right: -25px; }
  .ph-trust-band { grid-template-columns: repeat(2, 1fr); }
  .ph-trust-band > div:nth-child(2)::after { display: none; }
  .ph-section { padding: 92px 0; }
  .ph-heading-split { grid-template-columns: 1fr; gap: 22px; }
  .ph-profile-grid { grid-template-columns: repeat(2, 1fr); }
  .ph-profile-card, .ph-profile-card-tall { height: 480px; }
  .ph-profile-card-lifted { margin-top: 0; }
  .ph-experience-grid { grid-template-columns: 1fr; }
  .ph-app-scene { width: min(570px, 100%); margin: 0 auto; }
  .ph-experience-copy { max-width: 700px; margin: 0 auto; }
  .ph-safety-grid { grid-template-columns: 0.78fr 1fr; gap: 55px; }
  .ph-story-grid { grid-template-columns: 1fr 1fr; }
  .ph-story-card:last-child { grid-column: 1 / -1; height: 470px; }
  .ph-faq-grid { grid-template-columns: 1fr; gap: 55px; }
  .ph-faq-intro { position: static; }
  .ph-footer-top { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 680px) {
  .ph-shell { width: min(100% - 30px, 540px); }
  .ph-header-inner { min-height: 70px; }
  .ph-brand img { width: 36px; height: 36px; }
  .ph-brand span { font-size: 1.3rem; }
  .ph-header .ph-btn-ghost { min-height: 40px; padding: 0 13px; border: 1px solid rgba(255,255,255,.25); font-size: .76rem; }
  .ph-hero { min-height: 0; padding-top: 114px; }
  .ph-eyebrow { margin-bottom: 19px; font-size: .64rem; letter-spacing: .12em; }
  .ph-hero h1 { font-size: clamp(2.75rem, 13vw, 4rem); line-height: 1.02; }
  .ph-hero-lead { margin: 21px auto 25px; font-size: .94rem; line-height: 1.65; }
  .ph-hero-actions { display: grid; }
  .ph-btn-large { min-height: 54px; }
  .ph-trust-row { display: grid; justify-content: start; width: fit-content; margin: 23px auto 0; text-align: left; }
  .ph-legal-note { margin-top: 17px; }
  .ph-hero-visual { min-height: 525px; }
  .ph-hero-image-frame { height: 515px; border-radius: 210px 210px 22px 22px; }
  .ph-hero-caption { left: 28px; right: 28px; bottom: 27px; }
  .ph-hero-caption strong { font-size: 1.2rem; }
  .ph-match-card { top: 84px; left: -5px; transform: scale(.88); transform-origin: left; }
  .ph-message-card { right: -4px; bottom: 116px; max-width: 218px; transform: scale(.85); transform-origin: right; }
  .ph-message-time { display: none; }
  .ph-trust-band { width: 100%; grid-template-columns: 1fr 1fr; border-radius: 0; box-shadow: none; }
  .ph-trust-band > div { padding: 24px 20px; }
  .ph-trust-band > div:nth-child(odd)::after { display: block; top: 22px; bottom: 22px; }
  .ph-trust-band > div:nth-child(1), .ph-trust-band > div:nth-child(2) { border-bottom: 1px solid var(--ph-line); }
  .ph-trust-band strong { font-size: .96rem; }
  .ph-trust-band span { font-size: .68rem; }
  .ph-section { padding: 76px 0; }
  .ph-section-heading { margin-bottom: 40px; }
  .ph-section-heading h2, .ph-experience-copy h2, .ph-safety-copy h2, .ph-faq-intro h2 { font-size: clamp(2.25rem, 11vw, 3.1rem); }
  .ph-profile-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ph-profile-card, .ph-profile-card-tall { height: 340px; border-radius: 120px 120px 18px 18px; }
  .ph-profile-info { left: 15px; right: 15px; bottom: 16px; }
  .ph-profile-title h3 { font-size: 1.2rem; }
  .ph-profile-info p { font-size: .65rem; }
  .ph-intent-tag { display: none; }
  .ph-status-pill { top: 14px; right: 14px; padding: 6px 8px; font-size: .55rem; }
  .ph-reasons-grid { grid-template-columns: 1fr; }
  .ph-reason-card { min-height: 285px; }
  .ph-reason-icon { margin-top: 10px; }
  .ph-app-scene { min-height: 610px; }
  .ph-app-halo { inset: 30px 0 10px; }
  .ph-phone { left: 50%; width: 290px; height: 590px; transform: translateX(-50%); border-radius: 42px; }
  .ph-phone-profile { height: 334px; }
  .ph-mini-chat { right: -2px; bottom: 35px; width: 225px; transform: scale(.88); transform-origin: right bottom; }
  .ph-feature-list li { grid-template-columns: 38px 1fr; }
  .ph-steps { grid-template-columns: 1fr; gap: 32px; }
  .ph-steps article { padding: 0 0 0 68px; }
  .ph-steps article > span { position: absolute; left: 0; }
  .ph-step-line { top: 56px; left: 24px; width: 1px; height: calc(100% + 11px); }
  .ph-steps h3 { margin: 0 0 9px; }
  .ph-safety-grid { grid-template-columns: 1fr; gap: 50px; }
  .ph-safety-mark { min-height: 370px; border-radius: 180px 180px 22px 22px; }
  .ph-story-grid { grid-template-columns: 1fr; }
  .ph-story-card, .ph-story-card:last-child { grid-column: auto; min-height: 420px; height: 420px; }
  .ph-final-cta { padding: 84px 0; }
  .ph-final-inner h2 { font-size: clamp(2.55rem, 12vw, 3.6rem); }
  .ph-footer { padding-top: 56px; }
  .ph-footer-links { grid-template-columns: 1fr 1fr; gap: 34px 25px; }
  .ph-footer-links > div:last-child { grid-column: 1 / -1; }
  .ph-footer-bottom { flex-direction: column; }
}

@media (max-width: 390px) {
  .ph-shell { width: calc(100% - 24px); }
  .ph-header .ph-btn-ghost { padding: 0 10px; }
  .ph-hero h1 { font-size: 2.55rem; }
  .ph-hero-visual { min-height: 475px; }
  .ph-hero-image-frame { height: 468px; }
  .ph-match-card { left: -15px; }
  .ph-message-card { right: -12px; }
  .ph-profile-card, .ph-profile-card-tall { height: 300px; }
  .ph-profile-title h3 { font-size: 1.05rem; }
  .ph-status-pill { display: none; }
  .ph-phone { width: 275px; }
}

/* ==========================================================
   HOMEPAGE — PREMIUM, REALISTIC MOBILE PREVIEWS
   Scoped with precise selectors to supersede the legacy mockups.
   ========================================================== */

.meetic-showcase-stage {
  position: relative;
  width: 100%;
  max-width: 920px;
  height: 620px;
  margin: 32px auto 18px;
  perspective: 1600px;
  isolation: isolate;
}

.showcase-glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 18px;
  width: 78%;
  height: 42%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 30, 99, 0.2), rgba(124, 58, 237, 0.09) 42%, transparent 72%);
  filter: blur(22px);
}

.iphone-frame {
  position: absolute;
  top: 0;
  padding: 7px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: linear-gradient(145deg, #8c949f 0%, #222936 8%, #080c13 44%, #020409 78%, #59616c 100%);
  box-shadow: 0 34px 70px rgba(15, 23, 42, 0.24), 0 12px 28px rgba(15, 23, 42, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.iphone-frame::before {
  content: "";
  position: absolute;
  z-index: 20;
  inset: 2px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
}

.iphone-frame::after {
  content: "";
  position: absolute;
  top: 105px;
  right: -4px;
  width: 3px;
  height: 76px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(#3b4350, #0e131c 50%, #4e5661);
  box-shadow: 0 92px 0 #1a202a;
}

.iphone-frame-center {
  left: 50%;
  z-index: 4;
  width: 292px;
  height: 596px;
  border-radius: 49px;
  transform: translateX(-50%);
}

.iphone-frame-left,
.iphone-frame-right {
  z-index: 2;
  width: 268px;
  height: 552px;
  border-radius: 45px;
}

.iphone-frame-left {
  left: 50%;
  transform: translateX(-148%) translateY(30px) rotateY(8deg) rotateZ(-2.5deg);
}

.iphone-frame-right {
  left: 50%;
  transform: translateX(48%) translateY(30px) rotateY(-8deg) rotateZ(2.5deg);
}

.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 38px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.16);
}

.iphone-frame-center .iphone-screen {
  border-radius: 42px;
}

.status-bar {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  height: 38px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #111827;
  font-size: 9px;
  font-weight: 800;
}

.status-bar.light-bar {
  color: #fff;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dynamic-island {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 76px;
  height: 23px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #030508;
  box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.14), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.dynamic-island::after,
.discover-island::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #101b31;
  box-shadow: inset 0 0 2px #294878;
}

.screen-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.device-home-indicator {
  position: absolute;
  z-index: 40;
  bottom: 6px;
  left: 50%;
  width: 86px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
}

.device-home-indicator.light {
  background: rgba(255, 255, 255, 0.9);
}

/* Match preview */
.match-phone-screen {
  background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.96), rgba(255, 242, 247, 0.98) 44%, #fff 72%);
}

.match-screen-content {
  padding: 40px 14px 16px;
  display: flex;
  flex-direction: column;
}

.phone-app-brand {
  height: 37px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid #f0e9ed;
  color: #111827;
  font-size: 12px;
  font-weight: 800;
}

.phone-app-brand img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.phone-app-brand button,
.chat-more-btn {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6b7280;
  font: inherit;
}

.match-celebration {
  margin: auto 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.match-kicker {
  margin-bottom: 17px;
  padding: 6px 11px;
  border: 1px solid rgba(233, 30, 99, 0.16);
  border-radius: 999px;
  background: #fff;
  color: #d81b60;
  box-shadow: 0 7px 17px rgba(233, 30, 99, 0.1);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.match-avatars-pair {
  position: relative;
  width: 184px;
  height: 122px;
  margin-bottom: 16px;
}

.match-avatars-pair img {
  position: absolute;
  top: 5px;
  width: 105px;
  height: 105px;
  object-fit: cover;
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.18);
}

.match-avatars-pair .avatar-left { left: 0; }
.match-avatars-pair .avatar-right { right: 0; }

.heart-badge-center {
  position: absolute;
  z-index: 3;
  top: 45px;
  left: 50%;
  width: 38px;
  height: 38px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff4f87, #e91e63);
  color: #fff;
  box-shadow: 0 8px 18px rgba(233, 30, 99, 0.34);
  font-size: 16px;
}

.match-heading {
  margin: 0 0 5px;
  color: #111827;
  font-size: 16px;
  line-height: 1.25;
}

.match-text {
  margin: 0;
  color: #707787;
  font-size: 10px;
  line-height: 1.5;
}

.match-primary-btn {
  width: 100%;
  height: 38px;
  margin-bottom: 9px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #f43f75, #e91e63);
  color: #fff;
  box-shadow: 0 9px 18px rgba(233, 30, 99, 0.22);
  font-size: 10px;
  font-weight: 800;
}

.match-input-bar {
  height: 38px;
  padding: 0 6px 0 12px;
  display: flex;
  align-items: center;
  border: 1px solid #e6e8ee;
  border-radius: 13px;
  background: #fff;
  color: #9ca3af;
  font-size: 9px;
}

.send-icon-circle {
  width: 27px;
  height: 27px;
  margin-left: auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #111827;
  color: #fff;
}

/* Detailed profile preview */
.profile-screen-content {
  padding: 0;
  background: #fff;
}

.profile-header-bar {
  position: absolute;
  z-index: 20;
  top: 40px;
  left: 0;
  width: 100%;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.phone-circle-control {
  width: 31px;
  height: 31px;
  padding: 0;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.24);
  color: #fff;
  backdrop-filter: blur(9px);
}

.profile-photo-progress {
  display: flex;
  flex: 1;
  gap: 3px;
}

.profile-photo-progress span {
  height: 3px;
  flex: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

.profile-photo-progress span:first-child { background: #fff; }

.profile-photo-card {
  position: relative;
  height: 400px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 36px 36px 25px 25px;
  background: #ddd;
}

.profile-bg-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profile-photo-card::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(4, 8, 16, 0.82));
}

.profile-photo-overlay {
  position: absolute;
  z-index: 3;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #fff;
}

.profile-name-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-name {
  margin: 0;
  font-size: 23px;
  line-height: 1.1;
  color: #fff;
}

.verified-mini {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #3b82f6;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.profile-loc,
.profile-online {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
}

.profile-online span {
  width: 7px;
  height: 7px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: #22c55e;
}

.profile-details-meta {
  padding: 12px 16px 5px;
}

.profile-details-meta p {
  margin: 0 0 9px;
  color: #4b5563;
  font-size: 9px;
  line-height: 1.45;
}

.profile-interest-chips {
  display: flex;
  gap: 5px;
}

.profile-interest-chips span {
  padding: 5px 8px;
  border: 1px solid #eee5ea;
  border-radius: 999px;
  background: #fff8fb;
  color: #8b3a5a;
  font-size: 8px;
  font-weight: 700;
}

.profile-action-buttons {
  padding: 5px 18px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.btn-action-round {
  width: 43px;
  height: 43px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 8px 17px rgba(15, 23, 42, 0.17);
}

.btn-dark-navy { background: #111827; }
.btn-purple { background: linear-gradient(145deg, #7c3aed, #5b21b6); }
.btn-hot-pink { background: linear-gradient(145deg, #ff4f87, #e91e63); }

/* Conversation preview */
.chat-phone-screen { background: #fff; }

.chat-screen-content {
  padding: 40px 12px 16px;
  display: flex;
  flex-direction: column;
}

.chat-app-header {
  height: 47px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #eef0f4;
}

.chat-back-btn,
.chat-more-btn {
  width: 27px;
  height: 27px;
  padding: 0;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 9px;
  background: #f4f5f8;
  color: #4b5563;
}

.chat-more-btn { margin-left: auto; }

.chat-contact {
  display: flex;
  align-items: center;
  gap: 7px;
}

.chat-contact strong,
.chat-contact small { display: block; }
.chat-contact strong { color: #111827; font-size: 11px; }
.chat-contact small { margin-top: 1px; color: #22a35a; font-size: 8px; }

.chat-avatar-wrap {
  position: relative;
  width: 31px;
  height: 31px;
}

.chat-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.chat-avatar-wrap span {
  position: absolute;
  right: -1px;
  bottom: 0;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #22c55e;
}

.chat-safety-note {
  align-self: center;
  margin: 10px 0 5px;
  padding: 5px 9px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  background: #f0fdf4;
  color: #16803c;
  font-size: 7.5px;
  font-weight: 700;
}

.chat-date-tag {
  margin: 5px 0 10px;
  color: #9ca3af;
  font-size: 7px;
  text-align: center;
}

.chat-bubbles-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
}

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

.bubble-hot-pink {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: linear-gradient(145deg, #f8467e, #e91e63);
  color: #fff;
}

.bubble-grey {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  background: #f0f2f5;
  color: #374151;
}

.chat-read-receipt {
  align-self: flex-end;
  margin-top: -3px;
  color: #9ca3af;
  font-size: 7px;
}

.chat-bottom-bar {
  height: 38px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e6e8ed;
  border-radius: 13px;
  color: #9ca3af;
  font-size: 8px;
}

.chat-bottom-bar span { flex: 1; }

.chat-bottom-bar button {
  width: 27px;
  height: 27px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: #f3f4f6;
  color: #6b7280;
}

.chat-bottom-bar button:last-child {
  background: #111827;
  color: #fff;
}

/* Premium discovery phone after “Créer un compte” */
.discover-phone-stage {
  position: relative;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.discover-phone-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 30, 99, 0.2), rgba(124, 58, 237, 0.08) 48%, transparent 70%);
  filter: blur(12px);
}

.mockup-grid-phone.discover-device {
  position: relative;
  width: min(350px, calc(100vw - 36px));
  height: 650px;
  max-width: none;
  margin: 0 auto;
  padding: 8px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 54px;
  background: linear-gradient(145deg, #9299a3 0%, #252c37 7%, #090d14 42%, #030509 78%, #68707b 100%);
  box-shadow: 0 38px 78px rgba(15, 23, 42, 0.24), 0 13px 30px rgba(15, 23, 42, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: rotate(1deg);
}

.mockup-grid-phone.discover-device::before {
  content: "";
  position: absolute;
  z-index: 12;
  inset: 2px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: inherit;
}

.mockup-grid-phone.discover-device::after {
  content: "";
  position: absolute;
  top: 111px;
  right: -4px;
  width: 3px;
  height: 80px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(#464e5a, #10151d 50%, #59616c);
  box-shadow: 0 96px 0 #1a2029;
}

.discover-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 45px;
  background: linear-gradient(180deg, #ffffff, #f8f8fb 65%, #f2f3f6);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.14);
}

.discover-status-bar {
  position: relative;
  z-index: 10;
  height: 39px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #111827;
  font-size: 10px;
  font-weight: 800;
}

.discover-island {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 84px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #030508;
  box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.14);
}

.discover-status-icons {
  font-size: 8px;
  letter-spacing: 1px;
}

.discover-app-header {
  height: 50px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f0e9ed;
  background: rgba(255, 255, 255, 0.88);
}

.discover-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111827;
  font-size: 13px;
}

.discover-brand img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.discover-app-header button {
  width: 32px;
  height: 32px;
  margin-left: auto;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid #e9e7eb;
  border-radius: 10px;
  background: #fff;
  color: #4b5563;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}

.discover-title-row {
  height: 66px;
  padding: 12px 17px 9px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.discover-title-row small {
  display: block;
  margin-bottom: 3px;
  color: #e91e63;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.discover-title-row h3 {
  margin: 0;
  color: #111827;
  font-size: 17px;
  line-height: 1.1;
}

.discover-title-row > span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff0f5;
  color: #c2185b;
  font-size: 8px;
  font-weight: 800;
}

.discover-device .phone-members-grid {
  height: 438px;
  padding: 0 14px 11px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 8px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.discover-device .member-tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  background: #d7dce4;
  box-shadow: 0 7px 16px rgba(15, 23, 42, 0.11);
}

.discover-device .member-tile::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(transparent, rgba(5, 9, 17, 0.82));
}

.discover-device .member-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.discover-device .member-tile:hover img { transform: scale(1.045); }

.discover-device .member-online {
  position: absolute;
  z-index: 4;
  top: 9px;
  right: 9px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
}

.discover-device .member-tile-name {
  position: absolute;
  z-index: 3;
  left: 10px;
  right: 8px;
  bottom: 9px;
  padding: 0;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  background: transparent;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.discover-device .member-tile-name strong {
  font-size: 11px;
  font-weight: 800;
}

.discover-device .member-tile-name small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 7.5px;
  font-weight: 600;
}

.discover-bottom-nav {
  position: absolute;
  z-index: 8;
  right: 12px;
  bottom: 13px;
  left: 12px;
  height: 58px;
  padding: 6px 9px 9px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border: 1px solid rgba(226, 228, 234, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(14px);
}

.discover-bottom-nav span {
  min-width: 46px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 3px;
  color: #8b91a0;
}

.discover-bottom-nav span.active { color: #e91e63; }

.discover-bottom-nav small {
  font-size: 6.5px;
  font-weight: 700;
}

.discover-screen > .device-home-indicator {
  z-index: 10;
  bottom: 4px;
  height: 3px;
  background: rgba(17, 24, 39, 0.8);
}

@media (max-width: 900px) {
  .meetic-showcase-stage {
    transform: scale(0.78);
    transform-origin: center top;
    margin-bottom: -118px;
  }
}

@media (max-width: 640px) {
  .meetic-showcase-stage {
    transform: scale(0.61);
    margin-top: 18px;
    margin-bottom: -236px;
  }

  .mockup-grid-phone.discover-device {
    height: 625px;
    transform: none;
  }

  .discover-device .phone-members-grid { height: 413px; }
}

@media (max-width: 480px) {
  .meetic-showcase-stage {
    transform: scale(0.47);
    margin-top: 10px;
    margin-bottom: -326px;
  }

  .discover-phone-stage {
    padding-top: 10px;
  }

  .mockup-grid-phone.discover-device {
    height: 592px;
    border-radius: 48px;
  }

  .discover-screen { border-radius: 39px; }
  .discover-device .phone-members-grid { height: 380px; gap: 7px; padding-inline: 11px; }
  .discover-device .member-tile { border-radius: 15px; }
  .discover-title-row { padding-inline: 14px; }
  .discover-title-row h3 { font-size: 15px; }
}

body.dark-mode {
  --bg-light: var(--bg-dark);
  --surface-light: var(--surface-dark);
  --text-main: var(--text-dark);
  --text-muted: #A0AEC0;
  --border-light: var(--border-dark);
  --card-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  --badoo-purple: #231B36;
  --badoo-pink: #2E1B24;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--surface-light);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ==========================================================================
   LANDING PAGE (BADOO STYLE ULTRA-PREMIUM FULL-WIDTH)
   ========================================================================== */
#landing-page-view {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--surface-light);
}

/* Landing Navbar */
.landing-header {
  width: 100%;
  height: 84px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(233, 236, 239, 0.6);
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--primary-coral);
  letter-spacing: -0.5px;
  transition: transform var(--transition-fast);
}

.landing-brand:hover {
  transform: scale(1.02);
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(255, 107, 107, 0.35);
  border: 2px solid white;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.landing-brand:hover .brand-logo-img, .auth-brand:hover .brand-logo-img {
  transform: scale(1.06) rotate(-2deg);
}

.brand-logo-text {
  font-weight: 800;
  font-size: 1.65rem;
  background: linear-gradient(135deg, var(--primary-coral) 0%, #E91E63 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.landing-header-btns {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Ultra-Premium Badoo Style Pill Button */
.btn-badoo-black {
  position: relative;
  background: var(--badoo-dark);
  color: white;
  border: none;
  padding: 15px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-badoo-black::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-badoo-black:hover::after {
  transform: rotate(30deg) translateX(100%);
}

.btn-badoo-black:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  background: #222222;
}

.btn-badoo-outline {
  background: transparent;
  border: 2px solid var(--badoo-dark);
  color: var(--text-main);
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-badoo-outline:hover {
  background: var(--badoo-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Landing Inner Container */
.landing-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

/* HERO SECTION WITH ANIMATED BUBBLES */
.hero-section {
  background: linear-gradient(135deg, #F3EEFF 0%, #FFF0F3 100%);
  padding: 80px 0 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.1;
  color: #C6002B;
  letter-spacing: -1.2px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #333333;
  margin-bottom: 36px;
  line-height: 1.5;
  font-weight: 500;
}

.hero-disclaimer {
  font-size: 0.82rem;
  color: #666666;
  margin-top: 20px;
  max-width: 480px;
  line-height: 1.6;
}

/* Hero Visual Bubbles with Floating Keyframes */
.hero-visual-container {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bubble {
  position: absolute;
  border-radius: 140px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.16);
  transition: transform 0.4s ease;
  animation: floatAnim 4s infinite alternate ease-in-out;
}

@keyframes floatAnim {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-14px) rotate(2deg); }
}

.hero-bubble-1 {
  width: 300px;
  height: 300px;
  top: 10px;
  right: 20px;
  background: #A680FF;
  animation-delay: 0s;
}

.hero-bubble-2 {
  width: 310px;
  height: 310px;
  bottom: 10px;
  left: 10px;
  background: #8555EE;
  animation-delay: 1.5s;
}

.hero-bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-name-tag {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 24px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.8);
  z-index: 5;
}

.tag-jacob { top: 60px; left: 80px; }
.tag-chloe { bottom: 110px; right: 10px; }

/* FEATURE SECTION 1: TRUST */
.section-trust {
  padding: 100px 0;
  background: var(--surface-light);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-card-illustration {
  background: linear-gradient(135deg, var(--badoo-purple), var(--badoo-pink));
  border-radius: 36px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
  box-shadow: 0 16px 40px rgba(93, 62, 188, 0.08);
}

.section-title-large {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.section-text {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 30px;
}

/* FEATURE SECTION 2: CHAT NOW */
.section-chat-now {
  padding: 100px 0;
  background: #F9F8FD;
}

.mockup-grid-phone {
  background: #111;
  border-radius: 40px;
  padding: 18px;
  width: 340px;
  margin: 0 auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.22);
  border: 5px solid #222;
}

.phone-members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: #FFF;
  border-radius: 28px;
  padding: 14px;
  height: 460px;
  overflow: hidden;
}

.member-tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 135px;
  transition: transform var(--transition-fast);
}

.member-tile:hover {
  transform: scale(1.05);
}

.member-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-tile-name {
  position: absolute;
  bottom: 6px;
  left: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.9);
}

/* TESTIMONIALS SECTION */
.section-testimonials {
  padding: 100px 0;
  background: var(--surface-light);
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 54px 0;
}

.couple-card {
  background: var(--surface-light);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,0.06);
  text-align: left;
  border: 1px solid var(--border-light);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.couple-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.couple-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.couple-card-body {
  padding: 24px;
}

.couple-names {
  background: #7D0022;
  color: white;
  padding: 5px 14px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-block;
  margin-bottom: 12px;
}

.couple-quote {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.5;
}

/* BANNER METIER */
.section-banner-metier {
  background: linear-gradient(135deg, #B388FF 0%, #8C52FF 100%);
  padding: 90px 0;
  color: white;
}

.banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.banner-desc {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 560px;
  line-height: 1.6;
}

/* LANDING FOOTER */
.landing-footer {
  background: var(--surface-light);
  border-top: 1px solid var(--border-light);
  padding: 70px 0 36px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col-title {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
  cursor: pointer;
}

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

/* RESPONSIVE BREAKPOINTS FOR LANDING PAGE & MOBILE OPTIMIZATIONS */
@media (max-width: 992px) {
  .hero-grid, .split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    margin: 0 auto 28px auto;
  }

  .hero-visual-container {
    height: 340px;
    margin-top: 20px;
  }

  .hero-bubble-1 { width: 200px; height: 200px; }
  .hero-bubble-2 { width: 210px; height: 210px; }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .banner-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .banner-title {
    font-size: 2.2rem;
  }
}

/* MEETIC-STYLE 3-IPHONE SHOWCASE STAGE (SUPERPOSITION ET DYNAMIC ISLAND 1:1) */
.meetic-showcase-stage {
  position: relative;
  width: 100%;
  max-width: 820px;
  height: 540px;
  margin: 30px auto 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* iPhone Frames & Layering */
.iphone-frame {
  position: absolute;
  background: white;
  box-sizing: border-box;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.iphone-frame-center {
  z-index: 10;
  width: 285px;
  height: 540px;
  border-radius: 46px;
  padding: 8px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22), 0 0 0 3px #E2E8F0, 0 0 0 6px #0F172A;
}

.iphone-frame-left {
  z-index: 3;
  left: 50%;
  transform: translateX(-156%) translateY(12px) scale(0.9);
  width: 255px;
  height: 500px;
  border-radius: 42px;
  padding: 7px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12), 0 0 0 3px #E2E8F0, 0 0 0 5.5px #1E293B;
}

.iphone-frame-right {
  z-index: 3;
  left: 50%;
  transform: translateX(56%) translateY(12px) scale(0.9);
  width: 255px;
  height: 500px;
  border-radius: 42px;
  padding: 7px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12), 0 0 0 3px #E2E8F0, 0 0 0 5.5px #1E293B;
}

.iphone-screen {
  background: white;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Status Bar & Dynamic Island Notch */
.status-bar {
  height: 38px;
  padding: 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0F172A;
  z-index: 20;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.status-bar.light-bar {
  color: white;
}

.dynamic-island {
  width: 80px;
  height: 22px;
  background: black;
  border-radius: 20px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 8px;
}

.status-icons {
  display: flex;
  gap: 4px;
  font-size: 0.7rem;
}

.screen-content {
  padding-top: 38px;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* Left Phone Screen: Match */
.match-screen-content {
  padding: 50px 16px 16px 16px;
  align-items: center;
  text-align: center;
  justify-content: space-between;
}

.match-avatars-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 10px;
}

.avatar-left, .avatar-right {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.heart-badge-center {
  width: 32px;
  height: 32px;
  background: var(--primary-coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.95rem;
  margin: 0 -12px;
  z-index: 2;
  border: 2px solid white;
}

.match-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  font-family: serif, 'Poppins', sans-serif;
}

.match-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.match-input-bar {
  width: 100%;
  background: var(--bg-light);
  border-radius: 9999px;
  padding: 8px 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.send-icon-circle {
  width: 24px;
  height: 24px;
  background: #1E293B;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* Center Phone Screen: Profile Nadia */
.profile-screen-content {
  padding-top: 38px;
  position: relative;
  justify-content: space-between;
}

.profile-header-bar {
  position: relative;
  z-index: 10;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0F172A;
}

.profile-user-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.8rem;
}

.profile-user-mini img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-photo-card {
  position: relative;
  width: 100%;
  height: 330px;
  overflow: hidden;
}

.profile-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  color: white;
  text-align: left;
}

.profile-name {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.profile-loc {
  font-size: 0.82rem;
  opacity: 0.95;
}

.profile-online {
  font-size: 0.75rem;
  color: #4ADE80;
  margin-top: 2px;
  font-weight: 600;
}

.profile-details-meta {
  padding: 10px 16px;
  text-align: left;
  font-size: 0.76rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-action-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-bottom: 16px;
}

.btn-action-round {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  transition: transform 0.2s ease;
}

.btn-action-round:hover {
  transform: scale(1.08);
}

.btn-dark-navy { background: #1E293B; }
.btn-purple { background: #7C3AED; }
.btn-hot-pink { background: #E91E63; }

/* Right Phone Screen: Chat */
.chat-screen-content {
  padding: 46px 12px 12px 12px;
  justify-content: space-between;
}

.chat-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.chat-app-header img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.chat-user-title {
  font-weight: 700;
  font-size: 0.85rem;
}

.chat-date-tag {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: center;
  margin: 6px 0;
}

.chat-bubbles-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.bubble {
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 0.72rem;
  line-height: 1.35;
}

.bubble-hot-pink {
  background: #E91E63;
  color: white;
  align-self: flex-end;
  max-width: 85%;
  border-bottom-right-radius: 4px;
}

.bubble-grey {
  background: #F1F5F9;
  color: #1E293B;
  align-self: flex-start;
  max-width: 85%;
  border-bottom-left-radius: 4px;
}

.chat-bottom-bar {
  background: #F8FAFC;
  border-radius: 9999px;
  padding: 8px 14px;
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  border: 1px solid var(--border-light);
}

/* RESPONSIVE SCALING FOR MEETIC SHOWCASE STAGE */
@media (max-width: 840px) {
  .meetic-showcase-stage {
    transform: scale(0.78);
    transform-origin: center center;
    margin: -50px auto -50px auto;
  }
}

@media (max-width: 640px) {
  .meetic-showcase-stage {
    transform: scale(0.62);
    transform-origin: center center;
    margin: -90px auto -90px auto;
  }
}

@media (max-width: 480px) {
  .meetic-showcase-stage {
    transform: scale(0.48);
    transform-origin: center center;
    margin: -125px auto -125px auto;
  }
}

/* ==========================================================================
   AUTHENTICATION PAGE STYLES (BACKGROUND AFRICAN COUPLE EMBRACE + GLASS CARD)
   ========================================================================== */
.auth-page-wrapper {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background-color: #111;
}

.auth-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.60);
  z-index: 1;
}

.auth-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.75) 0%, rgba(255, 107, 107, 0.25) 100%);
  backdrop-filter: blur(4px);
  z-index: 2;
}

/* Dedicated Top Bar for Back Button (Never collides or overlaps) */
.auth-top-bar {
  position: relative;
  z-index: 50;
  width: 100%;
  padding: 20px 28px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}

/* Black Back Button on Top Left */
.btn-auth-back-black {
  background: #000;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 22px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.2px;
}

.btn-auth-back-black:hover {
  background: #18181B;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.5);
}

.auth-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 580px;
  padding: 10px 16px 40px 16px;
  box-sizing: border-box;
  margin: auto;
}

@media (max-width: 640px) {
  .auth-top-bar {
    padding: 12px 14px;
  }

  .btn-auth-back-black {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .auth-container {
    padding: 4px 10px 30px 10px;
  }
}

.auth-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(28px);
  border-radius: 28px;
  padding: 28px 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--primary-coral);
  margin-bottom: 6px;
}

.auth-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 2px;
}

.auth-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.35;
}

.auth-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  text-align: left;
  margin-bottom: 4px;
}

.auth-input {
  width: 100%;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  padding: 0 14px;
  font-size: 0.88rem;
  box-sizing: border-box;
  background: #F8FAFC;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input:focus {
  outline: none;
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
  background: white;
}

/* Black Back Button on Top Left */
.btn-auth-back-black {
  background: #000;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 9px 20px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-auth-back-black:hover {
  background: #1e1e1e;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

/* Compact Multi-Column Form Grid Layout */
.auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.auth-form-row.three-cols {
  grid-template-columns: 1fr 1.2fr 1fr;
}

@media (max-width: 580px) {
  .auth-form-row, .auth-form-row.three-cols {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.auth-form-group {
  margin-bottom: 10px;
}

.auth-hint-text {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: left;
  margin-top: 4px;
}

.btn-toggle-pw-svg {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: color 0.2s;
}

.btn-toggle-pw-svg:hover {
  color: #000;
}

/* Premium Black Button with Animated Gloss & Glow */
.btn-auth-premium-black {
  position: relative;
  width: 100%;
  height: 48px;
  background: #000000;
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  margin-top: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.2px;
}

.btn-auth-premium-black::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: rotate(30deg) translateY(-100%);
  transition: transform 0.6s ease;
}

.btn-auth-premium-black:hover {
  background: #18181B;
  transform: translateY(-2px) scale(1.005);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.btn-auth-premium-black:hover::after {
  transform: rotate(30deg) translateY(100%);
}

.btn-auth-premium-black:active {
  transform: translateY(0) scale(0.99);
}

.auth-link-small {
  font-size: 0.76rem;
  color: var(--primary-coral);
  font-weight: 700;
  text-decoration: none;
}

.auth-link-small:hover {
  text-decoration: underline;
}

.auth-footer-toggle {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  justify-content: center;
  gap: 6px;
  align-items: center;
}

/* ==========================================================================
   PROFILE COMPLETION / PHOTO ONBOARDING STYLES
   ========================================================================== */
.profile-complete-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 680px;
  padding: 10px 16px 40px 16px;
  box-sizing: border-box;
  margin: auto;
}

.profile-complete-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(28px);
  border-radius: 32px;
  padding: 36px 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.9);
  text-align: left;
}

.onboarding-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.step-badge-pill {
  background: #F1F5F9;
  color: var(--text-main);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid var(--border-light);
}

.onboarding-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.onboarding-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 20px;
}

/* Stats Motivation Box */
.photo-stats-box {
  background: linear-gradient(135deg, #FFF5F5 0%, #FFF0F2 100%);
  border: 1px solid #FFD4D8;
  border-radius: 20px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  color: #2D3748;
}

.stat-item.highlight {
  background: white;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid #FFC0C7;
  font-weight: 700;
  color: var(--primary-coral);
}

.stat-icon-svg {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #F1F5F9;
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.stat-icon-svg.highlight-icon {
  background: #FFF1F2;
  color: var(--primary-coral);
}

/* 4-Photo Gallery Grid */
.photo-grid-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.count-badge {
  background: #1E293B;
  color: white;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.76rem;
}

.profile-photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

@media (max-width: 580px) {
  .profile-photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.photo-slot {
  position: relative;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  box-sizing: border-box;
}

.photo-slot.empty {
  border: 2px dashed #CBD5E1;
  background: #F8FAFC;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.photo-slot.empty:hover {
  border-color: var(--primary-coral);
  background: #FFF5F5;
  transform: translateY(-2px);
}

.empty-slot-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #64748B;
  text-align: center;
  padding: 8px;
}

.empty-slot-content .plus-icon {
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--primary-coral);
  line-height: 1;
}

.empty-slot-content .slot-label {
  font-size: 0.72rem;
  font-weight: 700;
}

.photo-slot.filled {
  border: 2px solid white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.photo-slot.filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-slot .slot-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
}

.photo-slot.main-slot .slot-badge {
  background: #000;
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-remove-photo {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  border: 1.5px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-remove-photo:hover {
  background: #E11D48;
  transform: scale(1.1);
}

.btn-upload-gallery {
  width: 100%;
  height: 48px;
  background: white;
  color: var(--text-main);
  border: 2px solid var(--border-light);
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
  margin-bottom: 24px;
}

.btn-upload-gallery:hover {
  border-color: #000;
  background: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Photo Guidelines Section */
.photo-guidelines-section {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 20px;
}

.guidelines-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.guidelines-content-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: center;
}

@media (max-width: 640px) {
  .guidelines-content-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.guidelines-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.guide-infographic-img-compact {
  width: 100%;
  max-height: 250px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.guidelines-rules-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-main);
}

.rule-icon-svg {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.rule-icon-svg.do-icon {
  background: #ECFDF5;
}

.rule-icon-svg.dont-icon {
  background: #FEF2F2;
}

.auth-link-bold:hover {
  text-decoration: underline;
}

/* Profile Bio Step 3 Styles */
.auth-textarea {
  width: 100%;
  height: 110px;
  border-radius: 18px;
  border: 1.5px solid var(--border-light);
  padding: 14px 16px;
  font-size: 0.92rem;
  color: var(--text-main);
  font-family: inherit;
  resize: none;
  outline: none;
  background: #F8FAFC;
  box-sizing: border-box;
  transition: all 0.25s ease;
  line-height: 1.5;
}

.auth-textarea:focus {
  border-color: #000;
  background: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.security-warning-box {
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.82rem;
  color: #9F1239;
  line-height: 1.45;
  margin-top: 24px;
}

/* Age Calculation Info Badge */
.age-calculated-info {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #065F46;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  transition: all 0.2s ease;
}

/* Desktop Main Application Menu Bar */
.desktop-main-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu-item {
  background: transparent;
  border: none;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-menu-item:hover {
  background: #F1F5F9;
  color: #000;
}

.nav-menu-item.premium-menu-btn {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FCD34D;
}

.nav-menu-item.premium-menu-btn:hover {
  background: #FEF3C7;
}

.badge-pill-count {
  background: #E2E8F0;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
}

.badge-pill-count.highlight {
  background: #EF4444;
  color: white;
}

/* Mobile Bottom Navigation Bar - STRICTLY MOBILE ONLY (< 768px) */
.mobile-bottom-nav {
  display: none !important; /* Always hidden on Desktop screens */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #0F172A;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .mobile-bottom-nav.active {
    display: flex !important;
    justify-content: space-around;
    align-items: center;
  }
  
  .desktop-main-menu {
    display: none !important;
  }

  body.logged-in {
    padding-bottom: 70px;
  }
}

/* Member Card Action Buttons Bar (Croix Ignorer 1 semaine, Coucou, Cœur Liker, Message) */
.card-action-btn {
  height: 44px;
  border-radius: 22px;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-action-btn.btn-pass {
  width: 44px;
  background: #F1F5F9;
  color: #64748B;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1.5px solid #E2E8F0;
}

.card-action-btn.btn-pass:hover {
  background: #FEE2E2;
  color: #EF4444;
  border-color: #FCA5A5;
  transform: scale(1.08);
}

.card-action-btn.btn-coucou {
  flex: 1;
  background: #0F172A;
  color: white;
  padding: 0 8px;
}

.card-action-btn.btn-coucou:hover {
  background: #1E293B;
  transform: translateY(-2px);
}

.card-action-btn.btn-like-heart {
  width: 46px;
  height: 46px;
  background: #FFF1F2;
  color: #E11D48;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1.5px solid #FECDD3;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.18);
  border-radius: 50%;
  margin: 0 2px;
}

.card-action-btn.btn-like-heart:hover {
  background: #E11D48;
  color: white;
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.35);
}

.card-action-btn.btn-chat-msg {
  flex: 1;
  background: linear-gradient(135deg, #FF4B72 0%, #D81B60 100%);
  color: white;
  padding: 0 8px;
}

.card-action-btn.btn-chat-msg:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

.mobile-nav-item {
  background: transparent;
  border: none;
  color: #94A3B8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 600;
  gap: 3px;
  cursor: pointer;
  padding: 4px;
  flex: 1;
}

.mobile-nav-item:hover, .mobile-nav-item.active {
  color: #FFFFFF;
}

.mobile-nav-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-dot-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: #64748B;
  color: white;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 10px;
}

.mobile-dot-badge.active {
  background: #EF4444;
}

.mobile-nav-item.premium-item {
  color: #F59E0B;
}

/* Subscription Comparative Table & Duration Cards */
.subscription-plans-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

@media (max-width: 580px) {
  .subscription-plans-table {
    grid-template-columns: 1fr;
  }
}

.plan-col {
  border-radius: 20px;
  padding: 20px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  position: relative;
}

.plan-col.featured {
  border-color: #F59E0B;
  background: #FFFBEB;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.12);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #F59E0B;
  color: #FFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
}

.plan-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #0F172A;
}

.plan-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 14px;
}

.old-price {
  text-decoration: line-through;
  color: #94A3B8;
  font-size: 0.85rem;
  font-weight: 500;
  margin-left: 4px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.83rem;
  color: #334155;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-features li.disabled {
  color: #94A3B8;
}

.duration-options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

@media (max-width: 580px) {
  .duration-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.duration-card {
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  position: relative;
  background: #F8FAFC;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.duration-card.active, .duration-card:hover {
  border-color: #000;
  background: #FFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.duration-card input {
  display: none;
}

.discount-tag {
  position: absolute;
  top: -8px;
  right: -4px;
  background: #EF4444;
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
}

.duration-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
}

.duration-cost {
  font-size: 0.78rem;
  font-weight: 700;
  color: #2563EB;
  margin-top: 2px;
}

.duration-total {
  font-size: 0.68rem;
  color: #64748B;
  margin-top: 2px;
}

/* Chat Call Action Buttons */
.call-action-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.call-action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.chat-media-btn {
  background: #F1F5F9;
  border: none;
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-media-btn:hover {
  background: #E2E8F0;
}

/* Gender Selector Pills */
.gender-selector {
  display: flex;
  gap: 12px;
  width: 100%;
}

.gender-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  color: var(--text-main);
}

.gender-pill input {
  display: none;
}

.gender-pill:has(input:checked) {
  background: #000;
  color: white;
  border-color: #000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .hero-section {
    padding: 100px 0 50px 0;
  }

  .section-trust, .section-chat-now, .section-testimonials {
    padding: 60px 0;
  }

  .mockup-grid-phone {
    width: 100%;
    max-width: 320px;
  }

  /* Security roadmap responsive badge sizing */
  .security-nodes-wrapper {
    transform: scale(0.85);
    transform-origin: center center;
  }
}

@media (max-width: 520px) {
  .landing-header {
    padding: 0 12px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
  }
  
  .landing-brand {
    font-size: 1.1rem;
    gap: 8px;
  }

  .landing-brand-icon {
    width: 32px;
    height: 32px;
  }

  .landing-brand-icon svg {
    width: 18px;
    height: 18px;
  }

  .landing-header-btns {
    gap: 6px;
    flex-shrink: 0;
  }

  .landing-header-btns .btn-badoo-outline,
  .landing-header-btns .btn-badoo-black {
    height: 34px !important;
    padding: 0 10px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    letter-spacing: -0.2px;
    flex-shrink: 0;
  }

  .landing-container {
    padding: 0 16px;
  }

  .hero-content h1 {
    font-size: 1.95rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .section-title-large {
    font-size: 1.65rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Security Nodes compact layout on small mobile */
  .security-nodes-container {
    padding: 24px 10px !important;
    min-height: 280px !important;
  }

  .security-nodes-wrapper {
    transform: scale(0.75);
  }
}

/* ==========================================================================
   APP CONTAINER (MOBILE APP EXPERIENCE AFTER LOGIN)
   ========================================================================== */
#app-container-view {
  display: none;
  width: 100%;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  background-color: #F0F2F5;
}

#app-container-view.active {
  display: flex;
}

#app-container {
  width: 100%;
  max-width: 480px;
  height: 100vh;
  max-height: 920px;
  background: var(--surface-light);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-radius: 0;
}

@media (min-width: 540px) {
  #app-container {
    border-radius: var(--radius-lg);
    height: 92vh;
    border: 1px solid var(--border-light);
  }
}

/* Header Navbar */
.app-header {
  height: 64px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  background: var(--surface-light);
  z-index: 20;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary-coral);
}

.brand-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--primary-coral), #FF8E53);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--bg-light);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.icon-btn:hover {
  transform: scale(1.05);
  background: rgba(78, 205, 200, 0.15);
  color: var(--primary-teal);
}

.badge-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--primary-coral);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  border: 2px solid var(--surface-light);
}

/* Main Content Views */
.app-content {
  flex: 1;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
}

.tab-view {
  display: none;
  height: 100%;
  width: 100%;
  padding-bottom: 70px;
  animation: fadeIn 0.3s ease;
}

.tab-view.active {
  display: flex;
  flex-direction: column;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Bottom Navigation Bar */
.bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: var(--surface-light);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 30;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  width: 20%;
  height: 100%;
  transition: color var(--transition-fast);
}

.nav-item svg {
  width: 22px;
  height: 22px;
  transition: transform var(--transition-fast);
}

.nav-item.active {
  color: var(--primary-coral);
  font-weight: 600;
}

.nav-item.active svg {
  transform: scale(1.15);
  stroke-width: 2.5;
}

/* ==========================================================================
   VIEW 1: DISCOVER / SWIPE CARDS
   ========================================================================== */
.swipe-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  position: relative;
}

.cards-deck {
  position: relative;
  width: 100%;
  height: 520px;
  perspective: 1000px;
}

.profile-card {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: #000;
  user-select: none;
  cursor: grab;
  transition: transform 0.15s ease-out, opacity 0.15s ease-out;
  touch-action: none;
}

.profile-card:active {
  cursor: grabbing;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.1) 70%, transparent 100%);
  pointer-events: none;
}

.card-top-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.status-badge {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  color: white;
  font-size: 0.78rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ECC71;
  box-shadow: 0 0 8px #2ECC71;
}

.verified-badge {
  background: rgba(255, 198, 88, 0.2);
  border: 1px solid var(--gold-accent);
  color: var(--gold-accent);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: white;
  z-index: 2;
}

.card-name-age {
  font-size: 1.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.card-tag {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
}

/* Swipe Feedback Stamp */
.stamp {
  position: absolute;
  top: 40px;
  padding: 8px 20px;
  border: 4px solid;
  border-radius: 12px;
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0;
  transform: scale(0.8) rotate(0deg);
  transition: opacity 0.1s ease, transform 0.1s ease;
  pointer-events: none;
  z-index: 5;
}

.stamp.like {
  right: 40px;
  border-color: #2ECC71;
  color: #2ECC71;
  transform: rotate(15deg);
}

.stamp.pass {
  left: 40px;
  border-color: var(--primary-coral);
  color: var(--primary-coral);
  transform: rotate(-15deg);
}

.stamp.superlike {
  top: 100px;
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

/* Swipe Controls Bottom Bar */
.swipe-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
}

.action-btn {
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  background: var(--surface-light);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.action-btn:hover {
  transform: scale(1.1);
}

.action-btn.small {
  width: 44px;
  height: 44px;
  color: #8E8E93;
}

.action-btn.large {
  width: 62px;
  height: 62px;
}

.action-btn.pass-btn {
  color: var(--primary-coral);
}

.action-btn.like-btn {
  color: var(--primary-teal);
  background: linear-gradient(135deg, #4ECDC4, #2AB7CA);
  color: white;
}

.action-btn.super-btn {
  color: var(--gold-accent);
  background: linear-gradient(135deg, #FFC658, #FF9F43);
  color: white;
}

/* ==========================================================================
   VIEW 2: MESSAGERY & CHAT
   ========================================================================== */
.chat-tab-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.matches-slider {
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
}

.section-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.matches-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.match-avatar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  min-width: 68px;
}

.match-avatar-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--primary-coral), var(--gold-accent));
}

.match-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--surface-light);
}

.match-name {
  font-size: 0.78rem;
  font-weight: 500;
  text-align: center;
  max-width: 68px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversations-list {
  flex: 1;
  overflow-y: auto;
}

.chat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.chat-item:hover {
  background: rgba(0, 0, 0, 0.02);
}

.chat-avatar-box {
  position: relative;
  width: 52px;
  height: 52px;
}

.chat-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.chat-details {
  flex: 1;
  min-width: 0;
}

.chat-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.chat-user-name {
  font-size: 0.95rem;
  font-weight: 600;
}

.chat-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chat-last-msg {
  font-size: 0.85rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.voice-icon {
  color: var(--primary-teal);
  display: inline-flex;
}

/* Chat Conversation Screen (Full Overlay) */
#chat-room-screen {
  position: absolute;
  inset: 0;
  background: var(--surface-light);
  z-index: 40;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

#chat-room-screen.active {
  transform: translateX(0);
}

.chat-room-header {
  height: 64px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  background: var(--surface-light);
}

.chat-header-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-messages-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg-light);
}

.msg-bubble {
  max-width: 78%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  position: relative;
  word-wrap: break-word;
}

.msg-bubble.received {
  align-self: flex-start;
  background: var(--surface-light);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.msg-bubble.sent {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--primary-coral), #FF8E53);
  color: white;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.25);
}

/* Audio Voice Note Player Component */
.voice-note-player {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.voice-play-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--primary-teal);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sent .voice-play-btn {
  background: white;
  color: var(--primary-coral);
}

.waveform-bar-container {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 1;
  height: 24px;
}

.wave-bar {
  width: 3px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  height: 12px;
  transition: height 0.2s ease;
}

.received .wave-bar {
  background: var(--primary-teal);
}

.wave-bar.active {
  animation: wavePulse 0.6s infinite alternate ease-in-out;
}

@keyframes wavePulse {
  0% { height: 6px; }
  100% { height: 22px; }
}

.chat-input-bar {
  padding: 12px 16px;
  background: var(--surface-light);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-input {
  flex: 1;
  height: 42px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  padding: 0 16px;
  font-size: 0.9rem;
  background: var(--bg-light);
  color: var(--text-main);
  outline: none;
}

.chat-input:focus {
  border-color: var(--primary-coral);
}

/* ==========================================================================
   VIEW 3: COMMUNITY & CULTURAL GROUPS
   ========================================================================== */
.community-container {
  padding: 20px;
}

.groups-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.group-card {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.group-card:hover {
  transform: translateY(-2px);
}

.group-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(78, 205, 200, 0.2), rgba(255, 198, 88, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.group-info {
  flex: 1;
}

.group-name {
  font-weight: 600;
  font-size: 1rem;
}

.group-members {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.group-join-btn {
  background: var(--bg-light);
  color: var(--primary-teal);
  border: 1px solid var(--primary-teal);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
}

/* ==========================================================================
   VIEW 4: MONETIZATION & PAYMENT GATEWAY (MOBILE MONEY + DIASPORA)
   ========================================================================== */
.pricing-container {
  padding: 20px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 24px;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}

.pricing-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.plans-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.plan-card {
  background: var(--surface-light);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: border-color var(--transition-normal);
}

.plan-card.recommended {
  border-color: var(--gold-accent);
  box-shadow: 0 8px 24px var(--gold-glow);
  background: linear-gradient(to bottom, var(--surface-light), rgba(255, 198, 88, 0.05));
}

.recommended-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gold-accent);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-price {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 12px 0;
  color: var(--primary-coral);
}

.plan-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin: 16px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
}

.plan-features svg {
  color: #2ECC71;
  flex-shrink: 0;
}

.btn-primary {
  width: 100%;
  height: 48px;
  border-radius: var(--radius-full);
  border: none;
  background: linear-gradient(135deg, var(--primary-coral), #FF8E53);
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 107, 107, 0.3);
  transition: transform var(--transition-fast);
}

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

.btn-gold {
  background: linear-gradient(135deg, #FFC658, #FF9F43);
  color: #000;
  box-shadow: 0 6px 18px rgba(255, 198, 88, 0.4);
}

/* Payment Modal Gateways */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0;
}

.pay-method-btn {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--surface-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pay-method-btn:hover, .pay-method-btn.selected {
  border-color: var(--primary-coral);
  background: rgba(255, 107, 107, 0.05);
}

.pay-method-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.85rem;
}

.pay-orange { background: #FF6600; }
.pay-mtn { background: #FFCC00; color: #000; }
.pay-wave { background: #1DC3F4; }
.pay-moov { background: #005FA4; }
.pay-stripe { background: #6772E5; }
.pay-paypal { background: #003087; }

/* Modal Overlay & Base */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}

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

.modal-content {
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  background: var(--surface-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  animation: scaleUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
}

.form-input {
  height: 46px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 0 16px;
  font-size: 0.95rem;
  background: var(--bg-light);
  color: var(--text-main);
  outline: none;
}

.form-input:focus {
  border-color: var(--primary-teal);
}

/* Match Popup Modal */
.match-popup {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.95), rgba(78, 205, 200, 0.95));
  z-index: 60;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 30px;
  text-align: center;
  animation: zoomIn 0.3s ease;
}

.match-popup.active {
  display: flex;
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.match-avatars-pair {
  display: flex;
  align-items: center;
  gap: -20px;
  margin: 30px 0;
}

.match-avatar-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid white;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Call Modal Screen */
.call-screen {
  position: absolute;
  inset: 0;
  background: #111;
  z-index: 70;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 20px;
  color: white;
}

.call-screen.active {
  display: flex;
}

.call-avatar-big {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-teal);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(78, 205, 200, 0.7); }
  70% { box-shadow: 0 0 0 24px rgba(78, 205, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(78, 205, 200, 0); }
}

.call-controls {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.call-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
}

.call-btn.end { background: #E74C3C; }
.call-btn.mute { background: rgba(255, 255, 255, 0.2); }

/* ==========================================================================
   Section: Pourquoi Choisir AfriMeet ? (Design Premium)
   ========================================================================== */
.why-choose-afrimeet-section {
  margin-top: 32px;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 32px 28px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.why-choose-afrimeet-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #F59E0B 0%, #EF4444 50%, #8B5CF6 100%);
}

.why-choose-header {
  text-align: center;
  margin-bottom: 28px;
}

.why-choose-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  color: #D97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.why-choose-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.why-choose-subtitle {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 540px;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
}

.why-choose-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 20px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.why-choose-card:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
}

.why-choose-card.featured-guarantee {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1.5px solid #F59E0B;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.15);
}

.why-choose-card.featured-guarantee:hover {
  background: linear-gradient(135deg, #FFFBEB 0%, #FDE68A 100%);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.25);
  transform: translateY(-3px);
}

.why-choose-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.why-choose-card:hover .why-choose-icon-wrapper {
  transform: scale(1.08);
}

.why-choose-icon-wrapper.satisfaction {
  background: rgba(245, 158, 11, 0.15);
  color: #D97706;
}

.why-choose-icon-wrapper.security {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}

.why-choose-icon-wrapper.members {
  background: rgba(139, 92, 246, 0.15);
  color: #7C3AED;
}

.why-choose-icon-wrapper.cancel {
  background: rgba(14, 165, 233, 0.15);
  color: #0284C7;
}

.why-choose-icon-wrapper.guarantee {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.why-choose-card-content h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px;
  line-height: 1.38;
}

.why-choose-card-content p {
  font-size: 0.83rem;
  color: #64748B;
  margin: 0;
  line-height: 1.45;
}

.why-choose-notes {
  border-top: 1px dashed #E2E8F0;
  padding-top: 18px;
  font-size: 0.76rem;
  color: #94A3B8;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: center;
}

/* Styles Espace Premium Membre Actif */
.btn-cancel-premium {
  background: #DC2626;
  color: #FFFFFF;
  border: none;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cancel-premium:hover {
  background: #B91C1C !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  transform: translateY(-1px);
}

@media (max-width: 580px) {
  .premium-advantages-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Badge & Style Plan Actuel */
.current-plan-tag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.35);
  z-index: 5;
  white-space: nowrap;
}

.duration-card.is-current-plan {
  border-color: #10B981 !important;
  background: #ECFDF5 !important;
}

/* ==========================================================================
   Page Messagerie Complexe - Layout & Toolbar Responsive (Mobile & Desktop)
   ========================================================================== */
.messaging-fullscreen-view {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 1000;
  flex-direction: column;
  background: #F8FAFC;
}

.chat-input-toolbar {
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.05);
  position: sticky;
  bottom: 0;
  z-index: 1010;
}

.chat-input-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.chat-media-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.chat-media-btn:hover, .chat-media-btn.recording {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

.chat-media-btn.recording {
  background: #EF4444 !important;
  border-color: #EF4444 !important;
  color: #FFFFFF !important;
  animation: pulseRecording 1.5s infinite;
}

@keyframes pulseRecording {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.chat-text-field {
  flex: 1;
  border-radius: 24px !important;
  height: 44px !important;
  padding: 0 16px !important;
  font-size: 0.92rem !important;
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  transition: all 0.2s ease !important;
}

.chat-text-field:focus {
  background: #FFFFFF !important;
  border-color: #0F172A !important;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08) !important;
}

.chat-send-btn {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  background: #0F172A;
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.chat-send-btn:hover {
  background: #1E293B;
  transform: scale(1.05);
}

@media (max-width: 580px) {
  .chat-input-toolbar {
    padding: 8px 10px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    gap: 6px;
  }

  .chat-input-actions {
    gap: 4px;
  }

  .chat-media-btn {
    width: 36px;
    height: 36px;
  }

  .chat-media-btn svg {
    width: 16px;
    height: 16px;
  }

  .chat-text-field {
    height: 40px !important;
    font-size: 0.88rem !important;
    padding: 0 12px !important;
  }

  .chat-send-btn {
    width: 40px;
    height: 40px;
  }

.chat-send-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* ==========================================================================
   AFRIMEET — ACCUEIL ÉPURÉ, INSPIRÉ DES CODES DES SITES DE RENCONTRE MODERNES
   Palette volontairement réduite : blanc, encre et violet.
   ========================================================================== */

.freemeet-home-v3 {
  --fm-purple: #7529d8;
  --fm-purple-dark: #5d1db8;
  --fm-purple-soft: #9a62e4;
  --fm-pink: #dc3975;
  --fm-ink: #24202d;
  --fm-text: #625e69;
  --fm-line: #e9e4ef;
  --fm-lilac: #f7f2fd;
  --fm-lilac-2: #fbf9fe;
  --fm-white: #fff;
  width: 100%;
  overflow: hidden;
  color: var(--fm-ink);
  background: #fff;
  font-family: 'Poppins', 'Inter', sans-serif;
}

.freemeet-home-v3 *,
.freemeet-home-v3 *::before,
.freemeet-home-v3 *::after {
  box-sizing: border-box;
}

.freemeet-home-v3 button,
.freemeet-home-v3 input {
  font: inherit;
}

.fm-container {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.fm-header {
  position: relative;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(117, 41, 216, 0.07);
  backdrop-filter: blur(16px);
}

.fm-header-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.fm-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fm-purple-dark);
  text-decoration: none;
}

.fm-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
}

.fm-logo span {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.fm-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fm-login-btn,
.fm-main-cta {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--fm-purple), #8c34dc);
  box-shadow: 0 10px 25px rgba(117, 41, 216, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fm-login-btn:hover,
.fm-main-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(117, 41, 216, 0.3);
}

.fm-login-btn {
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.fm-lang {
  min-height: 48px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--fm-purple);
  border: 1px solid #e4dbef;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.fm-lang svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.fm-hero {
  position: relative;
  min-height: 700px;
  padding: 64px 0 58px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 76% 50%, rgba(136, 60, 222, 0.12), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fdfbff 100%);
}

.fm-world-pattern {
  position: absolute;
  left: 24%;
  top: 15%;
  width: 52%;
  height: 65%;
  opacity: 0.32;
  background-image: radial-gradient(circle, rgba(117, 41, 216, 0.25) 1.4px, transparent 1.7px);
  background-size: 11px 11px;
  mask-image: radial-gradient(ellipse at center, #000 0%, rgba(0,0,0,.7) 38%, transparent 72%);
  pointer-events: none;
}

.fm-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: 52px;
}

.fm-hero-copy {
  padding: 20px 0;
}

.fm-label {
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fm-purple);
  background: #fff;
  border: 1px solid #e5d8f5;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.fm-label svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.fm-hero h1 {
  max-width: 620px;
  margin: 24px 0 22px;
  color: #26202f;
  font-size: clamp(3.2rem, 5.05vw, 5.15rem);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -0.064em;
}

.fm-hero h1 span {
  display: block;
  color: var(--fm-purple);
  font-weight: 500;
}

.fm-hero-copy > p:not(.fm-login-note):not(.fm-terms) {
  max-width: 560px;
  margin: 0 0 28px;
  color: var(--fm-text);
  font-size: 1.02rem;
  line-height: 1.75;
}

.fm-main-cta {
  min-width: 300px;
  min-height: 58px;
  padding: 0 10px 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 700;
}

.fm-main-cta > span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fm-purple);
  background: #fff;
  border-radius: 50%;
}

.fm-main-cta svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fm-login-note {
  margin: 17px 0 30px;
  color: var(--fm-text);
  font-size: 0.78rem;
}

.fm-login-note button {
  padding: 0;
  color: var(--fm-purple);
  background: transparent;
  border: 0;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.fm-benefits {
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 18px;
  color: #4d4853;
  background: rgba(255,255,255,.84);
  border: 1px solid #ece5f3;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(66, 31, 92, 0.06);
}

.fm-benefits span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.71rem;
  font-weight: 600;
}

.fm-benefits b {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--fm-purple);
  border-radius: 50%;
  font-size: 0.6rem;
}

.fm-terms {
  max-width: 540px;
  margin: 14px 0 0;
  color: #9a95a0;
  font-size: 0.61rem;
  line-height: 1.55;
}

.fm-terms a {
  color: #77717d;
}

.fm-hero-profiles {
  position: relative;
  min-height: 570px;
  perspective: 1200px;
}

.fm-swipe-card {
  position: absolute;
  top: 36px;
  width: 272px;
  min-height: 440px;
  overflow: hidden;
  color: var(--fm-ink);
  background: #fff;
  border: 1px solid #eee9f2;
  border-radius: 25px;
  box-shadow: 0 24px 60px rgba(68, 34, 94, 0.15);
  transform-origin: center bottom;
}

.fm-swipe-left {
  z-index: 1;
  left: 2px;
  top: 105px;
  transform: rotate(-8deg) scale(.89);
  animation: fm-float-left 6.5s ease-in-out infinite;
}

.fm-swipe-center {
  z-index: 4;
  left: 50%;
  transform: translateX(-50%);
  animation: fm-float-center 5.7s ease-in-out infinite;
}

.fm-swipe-right {
  z-index: 2;
  right: 0;
  top: 105px;
  transform: rotate(8deg) scale(.89);
  animation: fm-float-right 6.9s ease-in-out infinite;
}

@keyframes fm-float-left {
  0%,100% { transform: rotate(-8deg) scale(.89) translateY(0); }
  50% { transform: rotate(-6deg) scale(.9) translateY(-10px); }
}

@keyframes fm-float-center {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-12px); }
}

@keyframes fm-float-right {
  0%,100% { transform: rotate(8deg) scale(.89) translateY(0); }
  50% { transform: rotate(6deg) scale(.9) translateY(-8px); }
}

.fm-card-image {
  height: 245px;
  overflow: hidden;
  background: #eee;
}

.fm-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.fm-swipe-center .fm-card-image {
  position: relative;
  height: 235px;
}

.fm-swipe-center .fm-card-image::after {
  position: absolute;
  content: '';
  inset: 15px;
  border: 4px solid #fff;
  border-radius: 50%;
  pointer-events: none;
}

.fm-swipe-center .fm-card-image img {
  clip-path: circle(43% at 50% 50%);
  transform: scale(1.08);
}

.fm-card-copy {
  padding: 20px 19px;
  text-align: center;
}

.fm-card-copy h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.fm-card-copy h3 span {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #6caee0;
  border-radius: 50%;
  font-size: 0.58rem;
}

.fm-card-copy p {
  margin: 7px 0 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #807985;
  font-size: 0.7rem;
}

.fm-card-copy p svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--fm-purple);
  stroke-width: 1.8;
}

.fm-card-copy small {
  display: block;
  min-height: 40px;
  color: #77717d;
  font-size: 0.64rem;
  line-height: 1.55;
}

.fm-card-buttons {
  margin-top: 13px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.fm-card-buttons button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--fm-purple);
  background: #fff;
  box-shadow: 0 6px 18px rgba(70, 38, 91, .13);
  font-size: 1.1rem;
}

.fm-card-buttons button:last-child {
  color: #fff;
  background: var(--fm-pink);
}

.fm-orbit {
  position: absolute;
  z-index: 7;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fm-purple);
  background: #fff;
  border: 1px solid #eee7f5;
  border-radius: 50%;
  box-shadow: 0 13px 30px rgba(71, 32, 100, 0.13);
  animation: fm-orbit-pulse 3s ease-in-out infinite;
}

.fm-orbit svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fm-orbit-heart { left: 15%; top: 18px; color: var(--fm-pink); }
.fm-orbit-chat { right: -12px; top: 140px; animation-delay: .6s; }
.fm-orbit-pin { right: 24px; bottom: 48px; animation-delay: 1.1s; }

@keyframes fm-orbit-pulse {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.04); }
}

.fm-swipe-hint {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  color: var(--fm-purple);
  font-size: 0.71rem;
  font-weight: 700;
  white-space: nowrap;
}

.fm-section-title {
  max-width: 760px;
  margin: 0 auto 74px;
  text-align: center;
}

.fm-section-title h2,
.fm-product-copy h2,
.fm-final-cta h2 {
  margin: 0;
  color: var(--fm-ink);
  font-size: clamp(2.25rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.052em;
}

.fm-section-title h2 span {
  color: var(--fm-purple);
}

.fm-section-title > p {
  margin: 14px 0 0;
  color: var(--fm-text);
  font-size: 0.95rem;
}

.fm-reasons {
  padding: 122px 0 58px;
  background: #fff;
}

.fm-reason-row {
  min-height: 600px;
  padding: 70px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 85px;
  margin-bottom: 34px;
  background: var(--fm-lilac-2);
  border: 1px solid #eee8f4;
  border-radius: 34px;
}

.fm-reason-row.fm-reverse > :first-child {
  order: 1;
}

.fm-reason-index {
  width: 45px;
  height: 45px;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--fm-purple);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(117,41,216,.22);
}

.fm-reason-copy h3 {
  margin: 0 0 17px;
  color: var(--fm-ink);
  font-size: clamp(2rem, 3.1vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.fm-reason-copy > p {
  margin: 0;
  color: var(--fm-text);
  font-size: 0.9rem;
  line-height: 1.75;
}

.fm-reason-copy ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.fm-reason-copy li {
  padding: 13px 0;
  display: flex;
  gap: 12px;
  border-top: 1px solid var(--fm-line);
}

.fm-reason-copy li:last-child {
  border-bottom: 1px solid var(--fm-line);
}

.fm-reason-copy li i {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--fm-purple);
  border-radius: 50%;
  font-size: 0.63rem;
  font-style: normal;
}

.fm-reason-copy li span {
  color: #7a747e;
  font-size: 0.72rem;
  line-height: 1.5;
}

.fm-reason-copy li strong {
  display: block;
  margin-bottom: 2px;
  color: var(--fm-ink);
  font-size: 0.82rem;
}

.fm-inline-link {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--fm-purple);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.fm-inline-link span {
  transition: transform .2s ease;
}

.fm-inline-link:hover span {
  transform: translateX(5px);
}

.fm-match-visual,
.fm-chat-visual,
.fm-intent-visual,
.fm-safety-visual {
  position: relative;
  min-height: 440px;
}

.fm-match-visual::before,
.fm-chat-visual::before,
.fm-intent-visual::before,
.fm-safety-visual::before {
  position: absolute;
  content: '';
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #eee2fb 0%, #f8f4fd 62%, transparent 63%);
}

.fm-match-ring {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: 165px;
  height: 165px;
  padding-top: 39px;
  transform: translate(-50%, -50%);
  color: var(--fm-purple);
  background: #fff;
  border: 12px solid #d7bdF5;
  border-top-color: var(--fm-purple);
  border-radius: 50%;
  box-shadow: 0 20px 45px rgba(73, 35, 100, .15);
  text-align: center;
}

.fm-match-ring > span {
  font-size: 2.05rem;
  font-weight: 800;
}

.fm-match-ring > small {
  font-size: 1rem;
  font-weight: 800;
}

.fm-match-ring p {
  margin: 0;
  color: var(--fm-text);
  font-size: .69rem;
  font-weight: 600;
}

.fm-mini-profile {
  position: absolute;
  z-index: 3;
  width: 142px;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(70, 36, 94, .14);
}

.fm-mini-profile img {
  width: 100%;
  height: 126px;
  display: block;
  object-fit: cover;
}

.fm-mini-profile div {
  padding: 10px 11px;
}

.fm-mini-profile strong,
.fm-mini-profile span {
  display: block;
}

.fm-mini-profile strong {
  font-size: .7rem;
}

.fm-mini-profile span {
  margin-top: 2px;
  color: var(--fm-text);
  font-size: .58rem;
}

.fm-mini-one { top: 12px; left: 22px; transform: rotate(-7deg); animation: fm-mini-a 5.2s ease-in-out infinite; }
.fm-mini-two { top: 42px; right: 3px; transform: rotate(7deg); animation: fm-mini-b 5.7s ease-in-out infinite; }
.fm-mini-three { left: 45%; bottom: 0; transform: translateX(-50%) rotate(-2deg); animation: fm-mini-c 5.4s ease-in-out infinite; }

@keyframes fm-mini-a { 50% { transform: rotate(-3deg) translateY(-9px); } }
@keyframes fm-mini-b { 50% { transform: rotate(3deg) translateY(9px); } }
@keyframes fm-mini-c { 50% { transform: translateX(-50%) rotate(2deg) translateY(-8px); } }

.fm-phone-shell {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  width: 290px;
  height: 520px;
  padding: 0 15px 15px;
  overflow: hidden;
  transform: translateX(-50%);
  background: #fff;
  border: 8px solid #27202c;
  border-radius: 40px;
  box-shadow: 0 24px 50px rgba(58, 29, 78, .18);
}

.fm-phone-shell::before {
  position: absolute;
  z-index: 5;
  content: '';
  top: 8px;
  left: 50%;
  width: 74px;
  height: 20px;
  transform: translateX(-50%);
  background: #27202c;
  border-radius: 999px;
}

.fm-phone-status {
  height: 44px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  font-size: .58rem;
  font-weight: 700;
}

.fm-phone-status b {
  width: 16px;
  height: 8px;
  border-radius: 2px;
  background: #27202c;
}

.fm-chat-head {
  padding: 11px 0 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--fm-line);
}

.fm-chat-head img {
  width: 39px;
  height: 39px;
  object-fit: cover;
  border-radius: 50%;
}

.fm-chat-head strong,
.fm-chat-head span {
  display: block;
}

.fm-chat-head strong { font-size: .75rem; }
.fm-chat-head span { color: #35a06f; font-size: .56rem; }
.fm-chat-head button { margin-left: auto; padding: 0; border: 0; background: transparent; color: #99929d; }

.fm-chat-day {
  margin: 14px 0;
  color: #aaa4ad;
  font-size: .53rem;
  text-align: center;
}

.fm-bubble {
  width: fit-content;
  max-width: 84%;
  margin-bottom: 9px;
  padding: 10px 12px;
  font-size: .63rem;
  line-height: 1.45;
}

.fm-bubble-in {
  background: #f1edf3;
  border-radius: 13px 13px 13px 4px;
}

.fm-bubble-out {
  margin-left: auto;
  color: #fff;
  background: var(--fm-purple);
  border-radius: 13px 13px 4px 13px;
}

.fm-typing {
  width: fit-content;
  padding: 10px 13px;
  display: flex;
  gap: 4px;
  background: #f1edf3;
  border-radius: 13px 13px 13px 4px;
}

.fm-typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #aca5af;
  animation: fm-typing 1.1s ease-in-out infinite;
}

.fm-typing i:nth-child(2) { animation-delay: .15s; }
.fm-typing i:nth-child(3) { animation-delay: .3s; }

@keyframes fm-typing {
  0%,70%,100% { transform: translateY(0); opacity: .45; }
  35% { transform: translateY(-4px); opacity: 1; }
}

.fm-chat-input {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 15px;
  min-height: 42px;
  padding-left: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #aaa4ad;
  background: #f7f4f8;
  border-radius: 999px;
  font-size: .58rem;
}

.fm-chat-input button {
  width: 34px;
  height: 34px;
  margin-right: 4px;
  border: 0;
  color: #fff;
  background: var(--fm-purple);
  border-radius: 50%;
}

.fm-chat-notice {
  position: absolute;
  z-index: 6;
  right: -6px;
  top: 110px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(56, 26, 77, .17);
  animation: fm-notice 4s ease-in-out infinite;
}

.fm-chat-notice > span {
  width: 31px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--fm-pink);
  border-radius: 50%;
}

.fm-chat-notice strong,
.fm-chat-notice small { display: block; }
.fm-chat-notice strong { font-size: .63rem; }
.fm-chat-notice small { color: #948d98; font-size: .52rem; }

@keyframes fm-notice {
  0%,100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-9px) rotate(1deg); }
}

.fm-intent-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fm-intent-card {
  position: relative;
  z-index: 3;
  width: 290px;
  padding: 13px 13px 21px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(63, 29, 87, .15);
  text-align: center;
}

.fm-intent-photo {
  height: 250px;
  overflow: hidden;
  border-radius: 18px;
}

.fm-intent-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fm-intent-card > span {
  width: 46px;
  height: 46px;
  margin: -23px auto 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--fm-purple);
  border: 4px solid #fff;
  border-radius: 50%;
}

.fm-intent-card h4 {
  margin: 0;
  font-size: .93rem;
}

.fm-intent-card p {
  margin: 6px 0 0;
  color: var(--fm-text);
  font-size: .62rem;
}

.fm-intent-chip {
  position: absolute;
  z-index: 6;
  padding: 10px 14px;
  color: var(--fm-purple);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(64, 28, 89, .13);
  font-size: .64rem;
  font-weight: 700;
  animation: fm-chip 4.5s ease-in-out infinite;
}

.fm-chip-one { left: 2px; top: 85px; }
.fm-chip-two { right: -8px; top: 165px; animation-delay: .7s; }
.fm-chip-three { left: 15px; bottom: 45px; animation-delay: 1.2s; }

@keyframes fm-chip { 50% { transform: translateY(-8px); } }

.fm-safety-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fm-shield {
  position: relative;
  z-index: 3;
  width: 210px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 100px 100px 28px 28px;
  box-shadow: 0 20px 45px rgba(64, 31, 87, .13);
}

.fm-shield svg {
  width: 114px;
  fill: rgba(117, 41, 216, .07);
  stroke: var(--fm-purple);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fm-verify-card {
  position: absolute;
  z-index: 5;
  min-width: 235px;
  padding: 12px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(61, 27, 83, .14);
}

.fm-verify-card img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}

.fm-verify-card strong,
.fm-verify-card span { display: block; }
.fm-verify-card strong { font-size: .67rem; }
.fm-verify-card span { color: #948d98; font-size: .55rem; }
.fm-verify-card b { margin-left: auto; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--fm-purple); border-radius: 50%; font-size: .63rem; }
.fm-verify-one { top: 38px; left: -5px; animation: fm-notice 4.7s ease-in-out infinite; }
.fm-verify-two { right: -10px; bottom: 55px; animation: fm-notice 4.7s .8s ease-in-out infinite; }

.fm-faq {
  padding: 118px 0;
  background: #fff;
}

.fm-faq .fm-section-title {
  max-width: 940px;
}

.fm-faq-filters {
  margin: -40px auto 46px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.fm-faq-filters button {
  min-height: 39px;
  padding: 0 18px;
  color: var(--fm-text);
  background: #fff;
  border: 1px solid var(--fm-line);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  cursor: pointer;
}

.fm-faq-filters button.active {
  color: #fff;
  background: var(--fm-purple);
  border-color: var(--fm-purple);
}

.fm-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fm-faq-grid article {
  min-height: 210px;
  padding: 26px;
  background: var(--fm-lilac-2);
  border: 1px solid #eee8f4;
  border-radius: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.fm-faq-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(66, 31, 92, .09);
}

.fm-faq-grid article > span {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--fm-purple);
  border-radius: 50%;
  font-weight: 800;
}

.fm-faq-grid h3 {
  margin: 20px 0 9px;
  color: var(--fm-ink);
  font-size: 1rem;
}

.fm-faq-grid p {
  margin: 0;
  color: var(--fm-text);
  font-size: .74rem;
  line-height: 1.65;
}

.fm-product-showcase {
  padding: 125px 0;
  background: var(--fm-lilac);
}

.fm-product-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 90px;
}

.fm-dashboard-scene {
  position: relative;
  min-height: 520px;
}

.fm-browser-mockup {
  position: absolute;
  left: 0;
  right: 0;
  top: 45px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7deee;
  border-radius: 22px;
  box-shadow: 0 28px 65px rgba(70, 34, 95, .16);
}

.fm-browser-bar {
  height: 45px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8f5fa;
  border-bottom: 1px solid #ebe5ef;
}

.fm-browser-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4cbd9;
}

.fm-browser-bar span {
  min-width: 180px;
  margin-left: 22px;
  padding: 5px 12px;
  color: #9b94a0;
  background: #fff;
  border-radius: 999px;
  font-size: .5rem;
}

.fm-browser-body {
  height: 360px;
  display: grid;
  grid-template-columns: 72px 1fr;
}

.fm-browser-body aside {
  padding: 16px 20px;
  background: var(--fm-purple);
}

.fm-browser-body aside img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 8px;
}

.fm-browser-body aside b {
  width: 27px;
  height: 5px;
  margin: 22px 0;
  display: block;
  border-radius: 99px;
  background: rgba(255,255,255,.45);
}

.fm-browser-content {
  padding: 23px;
}

.fm-search-line {
  width: 60%;
  height: 28px;
  margin-bottom: 22px;
  background: #f2eef4;
  border-radius: 999px;
}

.fm-browser-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

.fm-browser-cards > div {
  overflow: hidden;
  background: #fff;
  border: 1px solid #ece6f0;
  border-radius: 13px;
}

.fm-browser-cards img {
  width: 100%;
  height: 195px;
  display: block;
  object-fit: cover;
}

.fm-browser-cards strong {
  padding: 10px;
  display: block;
  font-size: .58rem;
}

.fm-notification {
  position: absolute;
  z-index: 5;
  min-width: 230px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255,255,255,.96);
  border: 1px solid #eee7f3;
  border-radius: 15px;
  box-shadow: 0 14px 32px rgba(63, 28, 87, .14);
  animation: fm-notice 4.5s ease-in-out infinite;
}

.fm-notification > span {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--fm-purple);
  border-radius: 50%;
}

.fm-notification strong,
.fm-notification small { display: block; }
.fm-notification strong { font-size: .67rem; }
.fm-notification small { color: #958e9a; font-size: .55rem; }
.fm-note-one { right: -28px; top: 0; }
.fm-note-two { left: 28px; bottom: 6px; animation-delay: .8s; }

.fm-small-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--fm-purple);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.fm-product-copy > p {
  margin: 21px 0 30px;
  color: var(--fm-text);
  font-size: .9rem;
  line-height: 1.75;
}

.fm-product-copy ul {
  margin: 0 0 31px;
  padding: 0;
  list-style: none;
}

.fm-product-copy li {
  padding: 13px 0;
  display: flex;
  gap: 13px;
}

.fm-product-copy li > span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fm-purple);
  background: #fff;
  border-radius: 50%;
  font-size: .85rem;
}

.fm-product-copy li strong {
  display: block;
  color: var(--fm-ink);
  font-size: .81rem;
}

.fm-product-copy li p {
  margin: 3px 0 0;
  color: var(--fm-text);
  font-size: .7rem;
  line-height: 1.55;
}

.fm-cta-small {
  min-width: 220px;
  min-height: 52px;
}

.fm-guides {
  padding: 118px 0;
  background: #fff;
}

.fm-title-row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  text-align: left;
}

.fm-title-row a {
  flex-shrink: 0;
  color: var(--fm-purple);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.fm-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fm-guide-grid > a {
  min-height: 285px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  color: inherit;
  background: var(--fm-lilac-2);
  border: 1px solid #eee7f3;
  border-radius: 22px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.fm-guide-grid > a:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(65, 29, 89, .1);
}

.fm-guide-grid > a > span {
  width: fit-content;
  padding: 7px 11px;
  color: var(--fm-purple);
  background: #eee2fb;
  border-radius: 999px;
  font-size: .63rem;
  font-weight: 700;
}

.fm-guide-grid h3 {
  margin: 24px 0 11px;
  font-size: 1.25rem;
  line-height: 1.4;
}

.fm-guide-grid p {
  margin: 0;
  color: var(--fm-text);
  font-size: .75rem;
  line-height: 1.7;
}

.fm-guide-grid b {
  margin-top: auto;
  color: var(--fm-purple);
  font-size: .7rem;
}

.fm-final-cta {
  padding: 98px 0;
  color: #fff;
  background: linear-gradient(135deg, #6922c7, #7e31dc);
  text-align: center;
}

.fm-final-cta > div {
  max-width: 850px;
}

.fm-final-cta > div > span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.fm-final-cta h2 {
  margin: 16px auto 30px;
  color: #fff;
}

.fm-final-cta .fm-main-cta {
  color: var(--fm-purple);
  background: #fff;
  box-shadow: 0 12px 28px rgba(37, 8, 61, .2);
}

.fm-final-cta .fm-main-cta > span {
  color: #fff;
  background: var(--fm-purple);
}

.fm-footer {
  padding: 72px 0 28px;
  color: var(--fm-text);
  background: #fff;
}

.fm-footer-grid {
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: 1.2fr .7fr .7fr;
  gap: 80px;
}

.fm-footer-grid > div:first-child > p {
  max-width: 310px;
  margin: 19px 0 0;
  font-size: .75rem;
  line-height: 1.7;
}

.fm-footer-grid h3 {
  margin: 4px 0 18px;
  color: var(--fm-ink);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.fm-footer-grid > div > a:not(.fm-logo),
.fm-footer-grid > div > button {
  margin: 0 0 11px;
  padding: 0;
  display: block;
  color: var(--fm-text);
  background: transparent;
  border: 0;
  font-size: .72rem;
  text-decoration: none;
  cursor: pointer;
}

.fm-footer-grid > div > a:hover,
.fm-footer-grid > div > button:hover {
  color: var(--fm-purple);
}

.fm-footer-bottom {
  padding-top: 23px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--fm-line);
}

.fm-footer-bottom p {
  margin: 0;
  font-size: .64rem;
}

.fm-motion-ready [data-reveal] {
  opacity: 0;
  transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1);
}

.fm-motion-ready [data-reveal="up"] { transform: translateY(34px); }
.fm-motion-ready [data-reveal="left"] { transform: translateX(-42px); }
.fm-motion-ready [data-reveal="right"] { transform: translateX(42px); }

.fm-motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 1100px) {
  .fm-hero-grid { grid-template-columns: minmax(0, .9fr) minmax(455px, 1.1fr); gap: 30px; }
  .fm-hero h1 { font-size: clamp(3rem, 5.6vw, 4.5rem); }
  .fm-swipe-card { width: 245px; }
  .fm-reason-row { padding: 55px; gap: 55px; }
  .fm-product-grid { gap: 55px; }
}

@media (max-width: 900px) {
  .fm-container { width: min(100% - 40px, 740px); }
  .fm-header-inner { min-height: 78px; }
  .fm-hero { padding-top: 46px; }
  .fm-hero-grid { grid-template-columns: 1fr; }
  .fm-hero-copy { text-align: center; }
  .fm-label, .fm-hero-copy > p, .fm-terms { margin-right: auto !important; margin-left: auto !important; }
  .fm-benefits { max-width: 540px; margin-inline: auto; text-align: left; }
  .fm-hero-profiles { width: min(610px, 100%); margin: 20px auto 0; }
  .fm-reason-row { grid-template-columns: 1fr; min-height: 0; padding: 54px; }
  .fm-reason-row.fm-reverse > :first-child { order: 0; }
  .fm-match-visual, .fm-chat-visual, .fm-intent-visual, .fm-safety-visual { width: min(520px, 100%); margin-inline: auto; }
  .fm-faq-grid { grid-template-columns: 1fr 1fr; }
  .fm-product-grid { grid-template-columns: 1fr; }
  .fm-dashboard-scene { width: min(650px, 100%); margin-inline: auto; }
  .fm-guide-grid { grid-template-columns: 1fr 1fr; }
  .fm-guide-grid > a:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .fm-container { width: calc(100% - 28px); }
  .fm-header-inner { min-height: 68px; }
  .fm-logo img { width: 38px; height: 38px; border-radius: 9px; }
  .fm-logo span { font-size: 1.42rem; }
  .fm-login-btn { min-height: 40px; padding: 0 16px; font-size: .75rem; }
  .fm-lang { display: none; }
  .fm-hero { padding: 38px 0 42px; }
  .fm-hero h1 { margin-top: 19px; font-size: clamp(2.65rem, 13vw, 3.7rem); }
  .fm-hero-copy > p:not(.fm-login-note):not(.fm-terms) { font-size: .88rem; }
  .fm-main-cta { min-width: min(100%, 320px); }
  .fm-benefits { grid-template-columns: 1fr; }
  .fm-hero-profiles { min-height: 475px; transform: scale(.88); transform-origin: top center; margin-bottom: -52px; }
  .fm-swipe-card { width: 230px; min-height: 405px; }
  .fm-card-image { height: 220px; }
  .fm-swipe-center .fm-card-image { height: 215px; }
  .fm-swipe-left { left: -28px; }
  .fm-swipe-right { right: -28px; }
  .fm-orbit-chat { right: -10px; }
  .fm-reasons { padding-top: 78px; }
  .fm-section-title { margin-bottom: 48px; }
  .fm-section-title h2, .fm-product-copy h2, .fm-final-cta h2 { font-size: clamp(2rem, 10vw, 2.75rem); }
  .fm-reason-row { padding: 34px 22px; gap: 44px; border-radius: 24px; }
  .fm-reason-copy h3 { font-size: 2rem; }
  .fm-match-visual, .fm-chat-visual, .fm-intent-visual, .fm-safety-visual { min-height: 405px; transform: scale(.9); transform-origin: center; }
  .fm-chat-visual { min-height: 485px; }
  .fm-faq { padding: 80px 0; }
  .fm-faq-filters { margin-top: -25px; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; }
  .fm-faq-filters button { flex-shrink: 0; }
  .fm-faq-grid { grid-template-columns: 1fr; }
  .fm-faq-grid article { min-height: 185px; }
  .fm-product-showcase { padding: 85px 0; }
  .fm-dashboard-scene { min-height: 390px; transform: scale(.95); transform-origin: center top; }
  .fm-browser-body { height: 290px; grid-template-columns: 54px 1fr; }
  .fm-browser-body aside { padding: 14px 12px; }
  .fm-browser-cards img { height: 145px; }
  .fm-browser-content { padding: 16px; }
  .fm-note-one { right: -8px; }
  .fm-note-two { left: 4px; bottom: -4px; }
  .fm-guides { padding: 80px 0; }
  .fm-title-row { display: block; }
  .fm-title-row a { display: inline-block; margin-top: 22px; }
  .fm-guide-grid { grid-template-columns: 1fr; }
  .fm-guide-grid > a:last-child { grid-column: auto; }
  .fm-guide-grid > a { min-height: 245px; }
  .fm-final-cta { padding: 75px 0; }
  .fm-footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 24px; }
  .fm-footer-grid > div:first-child { grid-column: 1 / -1; }
  .fm-footer-bottom { flex-direction: column; }
}

@media (max-width: 390px) {
  .fm-header .fm-logo span { font-size: 1.25rem; }
  .fm-login-btn { padding: 0 13px; }
  .fm-hero h1 { font-size: 2.5rem; }
  .fm-label { font-size: .61rem; }
  .fm-hero-profiles { transform: scale(.8); margin-bottom: -94px; }
  .fm-faq-grid article { padding: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .freemeet-home-v3 *,
  .freemeet-home-v3 *::before,
  .freemeet-home-v3 *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .fm-motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   INSCRIPTION / CONNEXION — CARTE ÉPURÉE BLANCHE ET VIOLETTE
   ========================================================================== */

#auth-page-view.auth-page-wrapper {
  min-height: 100dvh;
  padding: 0 0 38px;
  color: #27222f;
  background:
    radial-gradient(circle at 50% 18%, rgba(127, 52, 221, .08), transparent 30%),
    #f8f5fd;
  font-family: 'Poppins', 'Inter', sans-serif;
}

#auth-page-view .auth-bg-img,
#auth-page-view .auth-bg-overlay {
  display: none;
}

#auth-page-view .auth-top-bar {
  position: absolute;
  z-index: 40;
  top: 0;
  left: 0;
  padding: 22px 28px;
}

#auth-page-view .btn-auth-back-black {
  min-height: 42px;
  padding: 0 17px;
  color: #6f2ad2;
  background: rgba(255, 255, 255, .9);
  border: 1px solid #e4dced;
  border-radius: 999px;
  box-shadow: 0 7px 22px rgba(75, 39, 103, .08);
  font-size: .73rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

#auth-page-view .btn-auth-back-black:hover {
  color: #fff;
  background: #742bd8;
  border-color: #742bd8;
  box-shadow: 0 10px 26px rgba(116, 43, 216, .2);
}

#auth-page-view .auth-container {
  width: 100%;
  max-width: 570px;
  padding: 48px 18px 28px;
  margin: auto;
}

#auth-page-view.login-mode .auth-container {
  max-width: 500px;
}

#auth-page-view .auth-card {
  padding: 0;
  color: #27222f;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  text-align: center;
}

#auth-page-view .auth-brand {
  margin: 0 0 10px;
  gap: 10px;
  color: #6420bd;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.045em;
}

#auth-page-view .auth-brand .brand-logo-text {
  color: #6420bd;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: #6420bd;
}

#auth-page-view .auth-brand .brand-logo-img {
  width: 46px !important;
  height: 46px !important;
  border-radius: 11px;
}

#auth-page-view .auth-title {
  margin: 0;
  color: #6522bd;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
}

#auth-page-view .auth-subtitle {
  margin: 7px 0 0;
  color: #817a87;
  font-size: .73rem;
  line-height: 1.5;
}

.auth-signup-progress {
  position: relative;
  z-index: 5;
  width: calc(100% - 86px);
  min-height: 64px;
  margin: 21px auto -31px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.auth-progress-line {
  position: absolute;
  z-index: -1;
  top: 24px;
  left: 25px;
  right: 25px;
  height: 6px;
  overflow: hidden;
  background: #e6e2e9;
  border-radius: 999px;
}

.auth-progress-line > span {
  width: 0;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #a767ec, #752bd8);
  border-radius: inherit;
  transition: width .35s ease;
}

.auth-progress-step {
  min-width: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #aaa4ad;
  font-size: .56rem;
  font-weight: 700;
}

.auth-progress-step > span {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a8a2ad;
  background: #ece9ee;
  border: 4px solid #f8f5fd;
  border-radius: 50%;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

.auth-progress-step svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-progress-step.active > span,
.auth-progress-step.complete > span {
  color: #fff;
  background: linear-gradient(135deg, #b476ef, #792bd8);
  box-shadow: 0 8px 20px rgba(121, 43, 216, .22);
}

.auth-progress-step.active > span {
  transform: scale(1.05);
}

.auth-progress-step.active small,
.auth-progress-step.complete small {
  color: #6e28c9;
}

#auth-page-view #auth-form {
  position: relative;
  z-index: 2;
  min-height: 330px;
  padding: 61px 48px 38px;
  color: #27222f;
  background: #fff;
  border: 1px solid #eee9f2;
  border-radius: 25px;
  box-shadow: 0 10px 28px rgba(65, 38, 85, .1);
  text-align: left;
}

#auth-page-view.login-mode #auth-form {
  min-height: 0;
  margin-top: 24px;
  padding: 34px 40px 38px;
}

#auth-page-view .auth-form-row {
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 16px;
}

#auth-page-view .auth-form-row.three-cols {
  grid-template-columns: 1fr 1fr;
}

#auth-page-view .auth-form-group {
  margin-bottom: 17px;
}

#auth-page-view .auth-label {
  margin-bottom: 7px;
  color: #302a35;
  font-size: .74rem;
  font-weight: 600;
}

#auth-page-view .auth-input {
  height: 47px;
  padding: 0 15px;
  color: #2d2732;
  background: #fff;
  border: 1px solid #dcd7e1;
  border-radius: 17px;
  font-size: .78rem;
  box-shadow: none;
}

#auth-page-view select.auth-input {
  padding-right: 34px;
}

#auth-page-view .auth-input::placeholder {
  color: #aaa4ae;
}

#auth-page-view .auth-input:focus {
  background: #fff;
  border-color: #8d43df;
  box-shadow: 0 0 0 3px rgba(117, 43, 216, .1);
}

#auth-page-view .auth-hint-text {
  margin-top: 7px;
  color: #8b8490;
  font-size: .63rem;
}

#auth-page-view .auth-username-hint {
  display: block;
  margin: 6px 3px 0;
  color: #8b8490;
  font-size: .6rem;
  line-height: 1.35;
}

#auth-page-view .auth-form-message {
  margin: 4px 0 10px;
  padding: 10px 13px;
  color: #8f1d3f;
  background: #fff1f5;
  border: 1px solid #f4c7d5;
  border-radius: 13px;
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
}

#auth-page-view .auth-form-message[hidden] {
  display: none;
}

#auth-page-view .auth-form-message.success {
  color: #276749;
  background: #ecfdf3;
  border-color: #b7ebcc;
}

#auth-page-view .auth-email-verification {
  text-align: center;
}

#auth-page-view .auth-email-verification[hidden] {
  display: none;
}

#auth-page-view .auth-verification-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7028cc;
  background: #f3eafa;
  border: 1px solid #dfcbed;
  border-radius: 19px;
}

#auth-page-view .auth-verification-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#auth-page-view .auth-email-verification h3 {
  margin: 0;
  color: #302a35;
  font-size: 1.12rem;
}

#auth-page-view .auth-email-verification > p {
  margin: 9px auto 20px;
  color: #817989;
  font-size: .74rem;
  line-height: 1.55;
}

#auth-page-view .auth-email-verification > p strong {
  display: block;
  margin-top: 3px;
  color: #6522bd;
}

#auth-page-view .auth-email-verification .auth-label {
  text-align: left;
}

#auth-page-view .auth-code-input {
  height: 58px;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .48em;
  padding-left: calc(15px + .48em);
}

#auth-page-view .auth-verification-help {
  display: block;
  margin: 9px 0 14px;
  color: #8b8490;
  font-size: .64rem;
  line-height: 1.45;
}

#auth-page-view .auth-email-verification .btn-auth-premium-black {
  width: 100%;
}

#auth-page-view .auth-resend-code {
  margin: 13px auto 0;
  padding: 5px 9px;
  display: block;
  color: #7028cc;
  background: transparent;
  border: 0;
  font-size: .7rem;
  font-weight: 700;
  cursor: pointer;
}

#auth-page-view .auth-resend-code:disabled {
  color: #a49da9;
  cursor: wait;
}

#auth-page-view .btn-toggle-pw-svg {
  right: 13px;
  color: #817887;
}

#auth-page-view .auth-step-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

#auth-page-view .btn-auth-premium-black,
#auth-page-view .btn-auth-secondary {
  min-height: 49px;
  margin-top: 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}

#auth-page-view .btn-auth-premium-black {
  flex: 1;
  width: auto;
  color: #fff;
  background: linear-gradient(135deg, #8b37df, #7127d1);
  border: 0;
  box-shadow: 0 9px 22px rgba(113, 39, 209, .22);
}

#auth-page-view .btn-auth-premium-black::after {
  display: none;
}

#auth-page-view .btn-auth-premium-black:hover {
  background: linear-gradient(135deg, #7e2fd2, #6420c0);
  box-shadow: 0 12px 27px rgba(113, 39, 209, .29);
}

#auth-page-view .btn-auth-premium-black svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#auth-page-view .btn-auth-secondary {
  padding: 0 21px;
  color: #6f29ca;
  background: #f5effb;
  border: 1px solid #dfd1ee;
}

#auth-page-view .auth-link-small,
#auth-page-view .auth-link-bold,
#auth-page-view .auth-signup-legal a {
  color: #7028cc;
  font-weight: 700;
}

#auth-page-view .auth-link-small {
  font-size: .67rem;
}

#auth-page-view .auth-signup-legal {
  margin: 5px 3px 17px;
  color: #8d8691;
  font-size: .58rem;
  line-height: 1.6;
  text-align: center;
}

#auth-page-view .auth-footer-toggle {
  margin-top: 20px;
  padding-top: 0;
  color: #807987;
  border-top: 0;
  font-size: .76rem;
}

#auth-page-view .auth-link-bold {
  text-decoration: none;
}

#auth-page-view .auth-link-bold:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  #auth-page-view.auth-page-wrapper {
    padding-bottom: 20px;
  }

  #auth-page-view .auth-top-bar {
    position: relative;
    padding: 12px 14px 3px;
  }

  #auth-page-view .auth-container {
    padding: 16px 12px 24px;
  }

  #auth-page-view .auth-brand .brand-logo-img {
    width: 40px !important;
    height: 40px !important;
  }

  #auth-page-view .auth-brand {
    font-size: 1.4rem;
  }

  #auth-page-view .auth-title {
    font-size: 1.3rem;
  }

  .auth-signup-progress {
    width: calc(100% - 48px);
  }

  .auth-progress-step small {
    display: none;
  }

  #auth-page-view #auth-form,
  #auth-page-view.login-mode #auth-form {
    padding: 57px 20px 28px;
    border-radius: 22px;
  }

  #auth-page-view.login-mode #auth-form {
    padding-top: 28px;
  }

  #auth-page-view .auth-form-row,
  #auth-page-view .auth-form-row.three-cols {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-bottom: 13px;
  }

  #auth-page-view .auth-input {
    height: 49px;
  }
}
