/* ═══════════════════════════════════════════════════════════════════════════
   PayPerMeet.org — Premium PPM Sugar Dating Platform
   Design System & Global Styles
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Google Fonts ─────────────────────────────────────────────────────────── */
/* ── CSS Custom Properties ────────────────────────────────────────────────── */
:root {
  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  /* Backgrounds */
  --bg-deep: #0C0910;
  --bg-dark: #130E16;
  --bg-mid: #1C1221;
  --bg-card: #1F1427;
  --bg-card-hover: #221628;

  /* Accent Colors */
  --gold: #C4A26A;
  --gold-dim: #9A7B4A;
  --blush: #C2667E;
  --blush-dim: #8A3D52;

  /* Text Colors */
  --text-primary: #F2EAE0;
  --text-secondary: rgba(242, 234, 224, 0.52);
  --text-muted: rgba(242, 234, 224, 0.28);

  /* Borders */
  --border-gold: rgba(196, 162, 106, 0.18);
  --border-blush: rgba(194, 102, 126, 0.22);
  --border-white: rgba(242, 234, 224, 0.08);

  /* Shadows */
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.18);
  --shadow-card-hover: 0 24px 56px rgba(0, 0, 0, 0.48);
  --shadow-btn: 0 4px 20px rgba(194, 102, 126, 0.22);

  /* Spacing */
  --section-padding: 128px;
  --heading-content-gap: 24px;
  --content-max: 1200px;
  --content-wide: 1360px;
  --header-height: 68px;

  /* Border Radius */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 10px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

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

/* Prevent any element from causing horizontal overflow */
main, section, footer {
  max-width: 100vw;
  overflow-x: hidden;
}

*, *::before, *::after {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

input, select, textarea, button, .btn {
  max-width: 100%;
}

pre, code {
  white-space: pre-wrap;
  word-break: break-all;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ── Scrollbar ────────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--blush-dim);
  border-radius: 3px;
}

/* ── Utility Classes ──────────────────────────────────────────────────────── */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 48px;
}

.container-wide {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 48px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 48px;
}

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

/* ── Responsive Grid Layouts ──────────────────────────────────────────────── */
.grid-profiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

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

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

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

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

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

@media (max-width: 900px) {
  .grid-safety {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-testimonials {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .grid-profiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .grid-features {
    grid-template-columns: 1fr;
  }
  .grid-safety {
    grid-template-columns: 1fr;
  }
  .grid-benefits {
    grid-template-columns: 1fr;
  }
}

/* ── Typography ───────────────────────────────────────────────────────────── */
.display-text {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.heading-xl {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--heading-content-gap);
}

.heading-md {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.5vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.text-gradient-gold {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

.text-gradient-blush {
  color: var(--blush);
  font-style: italic;
  font-weight: 400;
}

.body-text {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

.body-text-sm {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* ── Section Labels ───────────────────────────────────────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.section-label.center {
  justify-content: center;
}

.section-label .label-line {
  width: 24px;
  height: 1px;
  background: var(--blush);
  opacity: 0.7;
}

.section-label .label-text {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blush);
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blush-dim) 0%, var(--blush) 100%);
  border: none;
  color: var(--text-primary);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--gold);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(196, 162, 106, 0.07);
}

.btn-sm {
  padding: 10px 26px;
  font-size: 12.5px;
}

.btn-lg {
  padding: 16px 48px;
  font-size: 13.5px;
}

.btn-full {
  width: 100%;
}

/* ── Header / Navigation ──────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 9, 16, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease;
  isolation: isolate;
}

.site-header.scrolled {
  background: rgba(12, 9, 16, 0.94);
  border-bottom-color: var(--border-gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 40px;
}

.header-logo {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.01em;
  text-decoration: none;
}

.header-logo span {
  color: var(--blush);
}

.header-nav {
  display: flex;
  gap: 36px;
  align-items: center;
}

.header-nav a {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

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

/* ── Hamburger Button ─────────────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px 8px;
  cursor: pointer;
  background: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hamburger → X */
.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  width: 22px;
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Mobile Menu Overlay ──────────────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: auto;
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  z-index: 1;
  background: rgba(12, 9, 16, 0.98);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 24px 40px 40px;
}

.mobile-menu a {
  display: block;
  padding: 13px 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.03em;
  text-decoration: none;
}

.mobile-menu a:hover,
.mobile-menu a:active {
  color: var(--gold);
}

.mobile-menu .mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}

body.mobile-menu-open {
  overflow: hidden;
}

/* ── Hero Section ─────────────────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(160deg, #150C1C 0%, var(--bg-deep) 55%, #12090F 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 15%;
  left: -5%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(138, 61, 82, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 45%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(196, 162, 106, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  padding: 88px 48px;
  padding-left: max(48px, calc((100vw - 1360px) / 2 + 48px));
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.2vw, 62px);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-content h1 em {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

.hero-content > p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.78;
  margin-bottom: 44px;
  max-width: 440px;
  font-weight: 300;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-white);
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.01em;
}

.hero-stat-label {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-image-wrapper {
  position: relative;
  height: 100vh;
  min-height: 600px;
}

.hero-image-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0C0910 0%, rgba(12, 9, 16, 0.08) 35%, rgba(12, 9, 16, 0) 100%);
}

.hero-image-overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 9, 16, 0.65) 0%, transparent 40%);
}

.hero-floating-card {
  position: absolute;
  background: rgba(12, 9, 16, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  animation: slideIn 0.7s ease both;
}

.hero-floating-card .card-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(196, 162, 106, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
}

.hero-floating-card .card-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.hero-floating-card .card-sub {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-floating-card.card-1 { top: 16%; left: -36px; animation-delay: 0.1s; }
.hero-floating-card.card-2 { top: 46%; left: -44px; animation-delay: 0.3s; }
.hero-floating-card.card-3 { bottom: 20%; left: -36px; animation-delay: 0.5s; }

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── Page Hero (inner pages) ──────────────────────────────────────────────── */
.page-hero {
  min-height: 50vh;
  background: linear-gradient(160deg, #150C1C 0%, var(--bg-deep) 55%, #12090F 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(138, 61, 82, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 80px 32px;
}

.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: var(--heading-content-gap);
}

.page-hero-content h1 em {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

.page-hero-content p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  font-weight: 300;
}

/* ── Sections ─────────────────────────────────────────────────────────────── */
.section {
  padding: var(--section-padding) 0;
}

.section-dark {
  background: var(--bg-deep);
}

.section-mid {
  background: linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-dark) 100%);
}

.section-deep {
  background: var(--bg-deep);
}

.section-alt {
  background: #0A0710;
}

.section-wine {
  background: linear-gradient(180deg, #130D18 0%, var(--bg-mid) 100%);
}

/* ── App Promo ───────────────────────────────────────────────────────────── */
.app-promo-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 45%, rgba(138, 61, 82, 0.16), transparent 34%),
    linear-gradient(145deg, #0A0710 0%, #120B18 58%, #0B0810 100%);
}

.app-promo-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(196, 162, 106, 0.04), transparent 38%);
}

.app-promo-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
}

.app-promo-copy {
  max-width: 540px;
}

.app-promo-copy .heading-lg {
  margin-bottom: var(--heading-content-gap);
  line-height: 1.12;
}

.app-promo-copy .heading-lg em {
  font-style: italic;
  font-weight: 400;
}

.app-promo-copy .body-text {
  max-width: 490px;
}

.app-promo-points {
  display: grid;
  gap: 13px;
  margin-top: 30px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
}

.app-promo-points li {
  display: flex;
  align-items: center;
  gap: 11px;
}

.app-promo-points li > span {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 11px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.store-badge {
  width: 174px;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 15px;
  border: 1px solid rgba(245, 238, 242, 0.24);
  border-radius: 9px;
  background: #050407;
  color: #FFF;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.store-badge-icon {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
}

.apple-icon {
  fill: currentColor;
}

.play-blue { fill: #49A7F2; }
.play-green { fill: #45C87A; }
.play-red { fill: #F25D64; }
.play-gold { fill: #F3C654; }

.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.store-badge small {
  margin-bottom: 4px;
  font-family: Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 0.02em;
}

.store-badge strong {
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.app-promo-visual {
  position: relative;
  min-width: 0;
}

.app-promo-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  display: block;
}

.section-header h2 em {
  font-style: italic;
}

.section-header .subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: var(--heading-content-gap) auto 0;
  line-height: 1.7;
  font-weight: 300;
}

/* ── Two-Column Grid ──────────────────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col-wide {
  gap: 88px;
}

/* ── Cards ────────────────────────────────────────────────────────────────── */
.feature-card {
  background: rgba(31, 20, 39, 0.6);
  border: 1px solid var(--border-white);
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  transition: all 0.28s ease;
  cursor: default;
}

.feature-card:hover {
  background: #1E1327;
  border-color: var(--border-gold);
}

.feature-card .card-icon {
  color: var(--gold);
  font-size: 22px;
  margin-bottom: 18px;
  opacity: 0.7;
  transition: opacity 0.28s ease;
}

.feature-card:hover .card-icon {
  opacity: 1;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.feature-card p {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* ── Profile Cards ────────────────────────────────────────────────────────── */
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.32s ease;
  box-shadow: var(--shadow-card);
}

.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  background: var(--bg-card-hover);
}

.profile-card.sugar-daddy:hover {
  border-color: var(--border-gold);
}

.profile-card.sugar-baby:hover {
  border-color: var(--border-blush);
}

.profile-card-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #120D18;
}

.profile-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: blur(3.5px);
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

.profile-card:hover .profile-card-image img {
  transform: scale(1.09);
}

.profile-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 9, 16, 0.94) 0%, rgba(12, 9, 16, 0.25) 50%, transparent 100%);
}

.profile-role-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.profile-role-badge.daddy {
  background: rgba(196, 162, 106, 0.18);
  border: 1px solid rgba(196, 162, 106, 0.3);
  color: var(--gold);
}

.profile-role-badge.baby {
  background: rgba(194, 102, 126, 0.18);
  border: 1px solid rgba(194, 102, 126, 0.3);
  color: var(--blush);
}

.profile-status {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(12, 9, 16, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 4px 10px;
}

.profile-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block;
}

.profile-status-dot.online {
  background: #5eead4;
}

.profile-status-dot.away {
  background: #4b5563;
}

.profile-status-text {
  font-family: var(--font-body);
  font-size: 10.5px;
}

.profile-status-text.online {
  color: #5eead4;
}

.profile-status-text.away {
  color: #6b7280;
}

.profile-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 18px 14px;
}

.profile-card-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  color: var(--text-primary);
}

.profile-card-name .verified {
  color: var(--blush);
  font-size: 14px;
}

.profile-card-location {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.profile-card-body {
  padding: 14px 18px 18px;
}

.profile-card-bio {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
  font-weight: 300;
}

.profile-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.profile-card-tag {
  font-family: var(--font-body);
  font-size: 11px;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
}

.profile-card-tag.gold {
  color: var(--gold);
  background: rgba(196, 162, 106, 0.07);
  border: 1px solid rgba(196, 162, 106, 0.16);
}

.profile-card-tag.blush {
  color: var(--blush);
  background: rgba(194, 102, 126, 0.07);
  border: 1px solid rgba(194, 102, 126, 0.16);
}

/* ── Testimonial Cards ────────────────────────────────────────────────────── */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}

.testimonial-card .quote-mark {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--blush);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
}

.testimonial-card blockquote {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--border-gold);
}

.testimonial-author-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.testimonial-author-role {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ── Safety Cards ─────────────────────────────────────────────────────────── */
.safety-card {
  background: rgba(19, 13, 24, 0.7);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
}

.safety-card .card-emoji {
  font-size: 22px;
  margin-bottom: 16px;
  opacity: 0.8;
}

.safety-card h3 {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 10px;
}

.safety-card p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* ── How It Works Steps ───────────────────────────────────────────────────── */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps-line {
  position: absolute;
  top: 42px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-gold), var(--border-gold), transparent);
}

.step-item {
  text-align: center;
  padding: 0 18px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2A1633, var(--blush-dim));
  border: 1px solid var(--border-blush);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--gold);
}

.step-item h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.step-item p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* ── FAQ Accordion ────────────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-white);
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: var(--border-blush);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 22px;
  background: rgba(19, 13, 24, 0.6);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.2s ease;
  color: rgba(242, 234, 224, 0.78);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
}

.faq-item.active .faq-question {
  background: rgba(138, 61, 82, 0.15);
  color: var(--text-primary);
}

.faq-icon {
  color: var(--blush);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.22s ease;
  line-height: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 4px 22px 20px;
  background: rgba(12, 9, 16, 0.35);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  font-weight: 300;
}

/* ── CTA Section ──────────────────────────────────────────────────────────── */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 152px 0;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: brightness(0.22) saturate(0.8);
}

.cta-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19, 9, 24, 0.92) 0%, rgba(12, 9, 16, 0.78) 100%);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
  padding: 0 32px;
}

.cta-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--heading-content-gap);
  font-weight: 500;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--heading-content-gap);
}

.cta-content h2 em {
  color: var(--blush);
  font-style: italic;
}

.cta-content p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 48px;
  font-weight: 300;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  background: #08060B;
  border-top: 1px solid var(--border-white);
  padding: 72px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-brand-name span {
  color: var(--blush);
}

.footer-brand-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 270px;
  font-weight: 300;
}

.footer-domain {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: rgba(242, 234, 224, 0.2);
  letter-spacing: 0.06em;
  margin-top: 24px;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s ease;
  font-weight: 300;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-white);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-text {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Image Cards (with overlays) ──────────────────────────────────────────── */
.image-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}

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

.image-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 9, 16, 0.85) 0%, transparent 55%);
}

.image-card-quote {
  position: absolute;
  bottom: 28px;
  left: 24px;
  right: 24px;
  background: rgba(12, 9, 16, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.image-card-quote p {
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  line-height: 1.55;
}

/* ── Tag Grid ─────────────────────────────────────────────────────────────── */
.tag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 40px;
}

.tag-item {
  padding: 12px 16px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.tag-item.gold {
  border: 1px solid var(--border-gold);
  background: rgba(196, 162, 106, 0.04);
  color: var(--gold);
}

.tag-item.blush {
  border: 1px solid var(--border-blush);
  background: rgba(194, 102, 126, 0.04);
  color: var(--blush);
}

/* ── Feature List (icon + text) ───────────────────────────────────────────── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-list-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.feature-list-item .item-icon {
  color: var(--gold);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.feature-list-item .item-content h3,
.feature-list-item .item-content h4 {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feature-list-item .item-content p {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* ── Blockquote ───────────────────────────────────────────────────────────── */
.styled-blockquote {
  border-left: 2px solid var(--blush-dim);
  padding-left: 20px;
  margin: 0;
}

.styled-blockquote p {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  line-height: 1.55;
}

/* ── Profile image grid ───────────────────────────────────────────────────── */
.profile-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.profile-image-grid .profile-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--bg-card);
}

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

.profile-image-grid .profile-img:first-child {
  margin-top: 44px;
}

/* ── Lifestyle Grid ───────────────────────────────────────────────────────── */
.lifestyle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}

.lifestyle-grid .lifestyle-img-wide {
  border-radius: var(--radius-md);
  overflow: hidden;
  grid-column: 1 / 3;
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
}

.lifestyle-grid .lifestyle-img-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lifestyle-grid .lifestyle-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
}

.lifestyle-grid .lifestyle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Forms ────────────────────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(19, 13, 24, 0.7);
  border: 1px solid var(--border-white);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--border-gold);
  background: rgba(31, 20, 39, 0.9);
}

.form-input::placeholder {
  color: var(--text-muted);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-secondary);
}

.form-checkbox input[type="checkbox"] {
  accent-color: var(--blush);
  width: 16px;
  height: 16px;
}

.form-error {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--blush);
  margin-top: 6px;
  display: none;
}

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

.form-success {
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #5eead4;
  text-align: center;
  display: none;
}

.form-success.visible {
  display: block;
}

/* ── Login page ───────────────────────────────────────────────────────────── */
.login-page-main {
  padding-top: var(--header-height);
}

.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.login-form-side {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(56px, 7vh, 88px) 48px 64px;
  background: linear-gradient(160deg, #150C1C 0%, var(--bg-deep) 100%);
}

.login-form-container {
  width: 100%;
  max-width: 420px;
}

.login-form-container h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.login-form-container .login-subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.login-form-container .form-link {
  color: var(--blush);
  text-decoration: none;
  font-weight: 400;
}

.login-form-container .form-link:hover {
  text-decoration: underline;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-white);
}

.login-divider span {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-create-account {
  text-align: center;
}

.auth-create-account h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.auth-create-account p {
  max-width: 340px;
  margin: 0 auto 20px;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  font-weight: 300;
}

.login-image-side {
  position: relative;
  overflow: hidden;
}

.login-image-side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.login-image-side .login-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 9, 16, 0.7) 0%, rgba(12, 9, 16, 0.25) 100%);
}

.login-image-side .login-image-text {
  position: absolute;
  bottom: 64px;
  left: 48px;
  right: 48px;
  z-index: 2;
}

.login-image-side .login-image-text p {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.4;
  font-weight: 300;
}

/* ── Legal Pages ──────────────────────────────────────────────────────────── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 48px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--gold);
  margin: 28px 0 12px;
}

.legal-content p {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 300;
}

.legal-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.legal-content ul li {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
  font-weight: 300;
  list-style: disc;
}

.legal-content .last-updated {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 32px;
}

/* ── Contact Page ─────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.contact-info p {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-detail .detail-icon {
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail .detail-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

.contact-detail .detail-text strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ── About Page ───────────────────────────────────────────────────────────── */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.28s ease;
}

.value-card:hover {
  border-color: var(--border-gold);
  background: #1E1327;
}

.value-card .value-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.value-card p {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* ── Centered CTA button ──────────────────────────────────────────────────── */
.cta-center {
  text-align: center;
  margin-top: 56px;
}

/* ── Modal ────────────────────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(12, 9, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}

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

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 90%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-content h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 20px;
}

/* ── Animations ───────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-in {
  animation: fadeInUp 0.6s ease both;
}

/* ── Back to Top ──────────────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 100;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush-dim), var(--blush));
  color: var(--text-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-btn);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Tablet (max 900px) ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root {
    --section-padding: 80px;
  }

  .header-nav {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 72px 48px 48px;
  }

  .hero-image-wrapper {
    height: 56vw;
    min-height: 300px;
  }

  .hero-floating-card {
    display: none;
  }

  .app-promo-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .app-promo-copy {
    max-width: 650px;
  }

  .app-promo-visual {
    width: min(100%, 760px);
    margin: 0 auto;
  }

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

  .two-col .profile-image-grid {
    order: -1;
  }

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

  .steps-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .steps-line {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .login-layout {
    grid-template-columns: 1fr;
  }

  .login-image-side {
    display: none;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }
}

/* ── Small Tablet (max 768px) ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .container,
  .container-wide,
  .container-narrow {
    padding: 0 24px;
  }

  .header-inner {
    padding: 0 24px;
  }

  .hero-content {
    padding: 64px 24px 40px;
    padding-left: max(24px, calc((100vw - 1360px) / 2 + 24px));
  }

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

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

  .legal-content {
    padding: 0 24px;
  }

  .two-col-wide {
    gap: 44px;
  }

  /* Keep the homepage's two large editorial images from reading as one
     continuous gallery on narrow screens. The section copy becomes the
     visual separator while the semantic HTML order stays unchanged. */
  #what-is-ppm .two-col-wide > .image-card {
    order: 2;
  }

  #what-is-ppm .two-col-wide > :not(.image-card) {
    order: 1;
  }

  .page-hero {
    min-height: 40vh;
  }

  .page-hero-content {
    padding: 64px 24px;
  }

}

/* ── Mobile (max 620px) ──────────────────────────────────────────────────── */
@media (max-width: 620px) {
  .hero-image-wrapper {
    order: -1;
  }

  .hero-content {
    padding-top: 36px;
  }

  .hero-content .section-label {
    justify-content: center;
  }

  .app-promo-copy {
    max-width: none;
    text-align: center;
  }

  .app-promo-copy .section-label {
    justify-content: center;
  }

  .app-promo-copy .body-text {
    margin-right: auto;
    margin-left: auto;
  }

  .app-promo-points {
    width: fit-content;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  .store-badges {
    justify-content: center;
  }

  .hero-content h1 {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .hero-stats {
    width: calc(100% + 24px);
    justify-content: space-between;
    gap: 0;
  }

  .hero-stats > div:nth-child(2) {
    text-align: center;
  }

  .hero-stats > div:last-child {
    text-align: right;
    padding-right: 14px;
  }

  .profile-role-badge {
    top: 8px;
    left: 8px;
    padding: 3px 6px;
    font-size: 8px;
    letter-spacing: 0.04em;
  }

  .profile-status {
    top: 8px;
    right: 8px;
    padding: 5px;
  }

  .profile-status-text {
    display: none;
  }

  .profile-card-info {
    padding: 12px 10px 10px;
  }

  .profile-card-name {
    font-size: 16px;
  }

  .profile-card-name .verified {
    font-size: 11px;
  }

  .profile-card-location {
    font-size: 10px;
  }

  .profile-card-body {
    padding: 11px 10px 13px;
  }

  .profile-card-bio {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 11px;
    line-height: 1.45;
    margin-bottom: 10px;
  }

  .profile-card-tags {
    gap: 4px;
  }

  .profile-card-tag {
    padding: 3px 6px;
    font-size: 9px;
    letter-spacing: 0.02em;
  }

  .profile-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
  }

  .profile-image-grid .profile-img {
    min-width: 0;
    aspect-ratio: 3 / 4;
  }

  .profile-image-grid .profile-img:first-child {
    margin-top: clamp(24px, 7vw, 32px);
  }

  .hero-stats {
    gap: 0;
  }

  .hero-stat-number {
    font-size: 22px;
  }

  .hero-stat-label {
    font-size: 10px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

/* ── Small Mobile (max 520px) ────────────────────────────────────────────── */
@media (max-width: 520px) {
  :root {
    --section-padding: 60px;
    --heading-content-gap: 20px;
  }

  .hero-content {
    padding: 36px 20px 40px;
  }

  .hero-stats {
    width: calc(100% + 20px);
  }

  .store-badges {
    gap: 10px;
  }

  .store-badge {
    width: calc(50% - 5px);
    min-height: 50px;
    gap: 8px;
    padding: 7px 9px;
  }

  .store-badge-icon {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
  }

  .store-badge strong {
    font-size: 15px;
  }

  .steps-container {
    grid-template-columns: 1fr;
  }

  .mobile-menu {
    padding: 20px 24px 28px;
  }

  .mobile-menu a {
    font-size: 15px;
    padding: 12px 0;
  }

  .mobile-menu .mobile-actions {
    flex-direction: column;
  }

  .page-hero {
    min-height: 32vh;
  }

  .page-hero-content {
    padding: 48px 20px;
  }

  .container,
  .container-wide,
  .container-narrow {
    padding: 0 20px;
  }

  .header-inner {
    padding: 0 20px;
  }
}
