/* ==========================================================================
   VELOURA HEARTS - DISCREET LUXURY MATCHMAKER DESIGN SYSTEM
   Frameless, Light Luxury Pearl & Velvet Plum Theme with 16-Image Flanked Layout
   ========================================================================== */

:root {
  /* Logo-Derived Brand Palette (Velvet Plum, Rose Burgundy & Gold) */
  --brand-plum-deep: #4a1038;
  --brand-plum: #6c1d53;
  --brand-plum-light: #8e2a6f;
  --brand-plum-vivid: #a83283;
  --brand-rose: #d4639e;
  --brand-rose-soft: #f4dce9;
  --brand-gold: #c59b27;
  --brand-gold-light: #e5b944;

  /* Theme Backgrounds */
  --bg-page: #f7f4f8;
  --bg-card-solid: #ffffff;
  --bg-pill: rgba(255, 255, 255, 0.95);

  /* Borders & Dividers */
  --border-subtle: rgba(108, 29, 83, 0.14);
  --border-medium: rgba(108, 29, 83, 0.28);
  --border-brand: #6c1d53;

  /* Gradients */
  --gradient-cta: linear-gradient(135deg, #6c1d53 0%, #9b2b77 100%);
  --gradient-cta-hover: linear-gradient(135deg, #7c2260 0%, #ad3487 100%);
  --gradient-gold: linear-gradient(135deg, #c59b27 0%, #e6be4e 100%);
  --gradient-gold-hover: linear-gradient(135deg, #d4a72e 0%, #f0c756 100%);
  --gradient-card-overlay: linear-gradient(to top, rgba(45, 11, 35, 0.9) 0%, rgba(45, 11, 35, 0.4) 40%, rgba(45, 11, 35, 0) 100%);
  --gradient-brand-text: linear-gradient(135deg, #4a1038 0%, #8e2a6f 100%);

  /* Typography */
  --font-heading: 'Cinzel', Georgia, serif;
  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Text Colors */
  --text-title: #2d0b23;
  --text-body: #4a2842;
  --text-muted: #73546b;
  --text-light: #ffffff;

  /* Shadows */
  --shadow-soft: 0 4px 18px rgba(74, 16, 56, 0.07);
  --shadow-image: 0 16px 40px rgba(74, 16, 56, 0.14);
  --shadow-cta: 0 8px 24px rgba(108, 29, 83, 0.35);
  --shadow-cta-hover: 0 12px 30px rgba(108, 29, 83, 0.48);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html,
body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-page);
  background-image: url('assets/bg.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  color: var(--text-body);
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Floating Sparkle Particles */
.bg-sparkle-field {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.sparkle-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--brand-rose);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand-plum);
  animation: floatSparkle infinite ease-in-out;
}

@keyframes floatSparkle {

  0%,
  100% {
    opacity: 0.15;
    transform: translateY(0) scale(0.6);
  }

  50% {
    opacity: 0.85;
    transform: translateY(-25px) scale(1.3);
  }
}

/* Main Layout Wrapper */
.app-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.app-wrapper.app-wide-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem 2.5rem;
}

/* ==========================================================================
   0. 18+ AGE GATE INTERSTITIAL MODAL
   ========================================================================== */

body.age-gate-active {
  overflow: hidden !important;
}

.age-gate-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28, 5, 23, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.age-gate-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.age-gate-card {
  max-width: 500px;
  width: 100%;
  background: #ffffff;
  border: 2px solid var(--border-brand);
  border-radius: var(--radius-xl);
  padding: 2.2rem 2rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  animation: gatePop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes gatePop {
  0% {
    transform: scale(0.92) translateY(10px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.age-gate-icon-wrap {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(108, 29, 83, 0.35);
}

.age-gate-badge-18 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.age-gate-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.age-gate-desc {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.age-gate-terms-note {
  font-size: 0.82rem;
  color: var(--brand-plum-deep);
  font-weight: 600;
  background: rgba(244, 220, 233, 0.45);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.35rem;
  line-height: 1.45;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  margin-bottom: 1.15rem;
}

.btn-age-confirm {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-size: 0.98rem;
}

.btn-age-exit {
  width: 100%;
  padding: 0.7rem 1.2rem;
  font-size: 0.88rem;
  background: #f8f6f9;
}

.age-gate-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.78rem;
}

.age-gate-footer-links a {
  color: var(--brand-plum);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.age-gate-footer-links a:hover {
  color: var(--brand-plum-deep);
  text-decoration: underline;
}

.age-gate-footer-links .sep {
  color: var(--brand-rose);
  opacity: 0.7;
}

/* ==========================================================================
   1. LUXURY TOP NAVIGATION BAR
   Left: Big Logo | Center: Website Name | Right: 100% Free CTA
   ========================================================================== */

.main-navbar {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 0.75rem 1.6rem;
  box-shadow: 0 8px 30px rgba(74, 16, 56, 0.08);
  margin-bottom: 0.65rem;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Left: Big Brand Logo */
.nav-logo-link {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-start;
  text-decoration: none;
}

.nav-logo-img {
  height: 60px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(108, 29, 83, 0.2));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.nav-logo-link:hover .nav-logo-img {
  transform: scale(1.06);
  filter: drop-shadow(0 4px 14px rgba(108, 29, 83, 0.3));
}

/* Center: Website Name & Brand Typography */
.nav-brand-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 2;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  background: var(--gradient-brand-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  letter-spacing: 2px;
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(108, 29, 83, 0.05);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.brand-title:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.brand-tagline {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-top: 2px;
}

/* Right: Make It Free CTA Button */
.nav-action-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}

.btn-nav-free {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.35rem;
  background: var(--gradient-cta);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(108, 29, 83, 0.35);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-nav-free:hover {
  background: var(--gradient-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(108, 29, 83, 0.5);
}

.free-sparkle {
  font-size: 1.1rem;
  animation: sparkleTwinkle 2s infinite ease-in-out;
}

@keyframes sparkleTwinkle {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.25) rotate(15deg);
    opacity: 1;
  }
}

.free-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.free-main-text {
  font-size: 0.94rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.7px;
}

.free-sub-text {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--brand-rose-soft);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Top Live Status Strip */
.top-status-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.75rem;
}

.live-activity-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-soft);
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
  animation: pulseDotGlow 1.4s infinite;
}

@keyframes pulseDotGlow {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.35);
    opacity: 0.4;
  }
}

.chip-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-title);
  letter-spacing: 0.3px;
}

.chip-text strong {
  color: var(--brand-plum);
  font-weight: 800;
}

/* ==========================================================================
   2. 3-PANEL FLANKED STAGE LAYOUT:
   Left (2 Images) | Center (Questionnaire) | Right (2 Images)
   ========================================================================== */

.flanked-stage-layout {
  display: grid;
  grid-template-columns: minmax(290px, 330px) minmax(380px, 460px) minmax(290px, 330px);
  justify-content: center;
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: 2rem;
  width: 100%;
}

/* Flanking Image Columns */
.flank-images-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: space-between;
}

/* Match Image Card */
.match-img-card {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-image);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 255px;
}

.match-img-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-plum);
  box-shadow: 0 12px 32px rgba(108, 29, 83, 0.22);
}

.match-img-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: #1c0517;
}

.match-slot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.match-img-card:hover .match-slot-img {
  transform: scale(1.06);
}

/* Top Floating Badge on Image */
.match-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(108, 29, 83, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--brand-plum-deep);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
}

.badge-dot-live {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
  animation: pulseDotGlow 1.4s infinite;
}

.badge-icon-tag {
  font-size: 0.8rem;
  line-height: 1;
}

/* Bottom Overlay on Image */
.match-card-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.8rem 1rem 0.75rem;
  background: linear-gradient(to top, rgba(45, 11, 35, 0.94) 0%, rgba(45, 11, 35, 0.45) 50%, rgba(45, 11, 35, 0) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: #ffffff;
  z-index: 5;
}

.match-name-tag {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.match-dist-tag {
  font-size: 0.76rem;
  color: #ffdeeb;
  font-weight: 600;
}

/* ==========================================================================
   3. CENTER PANEL: QUESTIONNAIRE STEP ENGINE
   ========================================================================== */

.center-quiz-panel {
  position: relative;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: var(--radius-xl);
  padding: 0.6rem 0.85rem;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  min-height: 525px;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

/* Background Watermark Logo with Transparent z-index Layering */
.panel-bg-logo-layer {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.14;
  filter: drop-shadow(0 4px 16px rgba(108, 29, 83, 0.18));
  transition: opacity var(--transition-normal), transform 0.6s ease;
}

.panel-bg-watermark-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Top Progress Tracker inside Center Card (Foreground z-index: 1) */
.quiz-card-progress {
  position: relative;
  z-index: 1;
  margin-bottom: 0.9rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(108, 29, 83, 0.12);
}

.progress-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.step-counter-pill {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-plum);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.compat-gauge-pill {
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--brand-gold);
  letter-spacing: 0.3px;
}

.progress-track-bar {
  height: 6px;
  background: rgba(108, 29, 83, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill-bar {
  height: 100%;
  background: var(--gradient-cta);
  border-radius: var(--radius-full);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Quiz Steps Viewport (Foreground z-index: 1) */
.quiz-step-viewport {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.step-card {
  display: none;
  flex-direction: column;
  flex: 1;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.step-card.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* Step Header */
.step-header {
  margin-bottom: 0.75rem;
}

.step-num-bubble {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  box-shadow: 0 2px 8px rgba(108, 29, 83, 0.25);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.25;
  margin-bottom: 0.15rem;
}

.step-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Step Options */
.step-options-stack {
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
  margin-bottom: 0.95rem;
}

.step-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.48rem;
  margin-bottom: 0.95rem;
}

.step-option-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.95rem;
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-primary);
  font-size: 0.88rem;
  color: var(--text-body);
  text-align: left;
  box-shadow: 0 2px 6px rgba(74, 16, 56, 0.03);
}

.step-option-btn:hover {
  border-color: var(--brand-plum);
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(108, 29, 83, 0.1);
}

.step-option-btn.active {
  border-color: var(--brand-plum);
  background: rgba(244, 220, 233, 0.35);
  color: var(--brand-plum-deep);
  font-weight: 700;
  box-shadow: 0 0 0 2px rgba(108, 29, 83, 0.15), 0 4px 12px rgba(108, 29, 83, 0.08);
}

.btn-meta-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.btn-text {
  font-weight: 600;
}

.btn-radio-dot {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border-medium);
  border-radius: 50%;
  position: relative;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.step-option-btn.active .btn-radio-dot {
  border-color: var(--brand-plum);
  background: var(--brand-plum);
}

.step-option-btn.active .btn-radio-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
}

/* Step Action Footer */
.step-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.55rem;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.35rem;
  background: var(--gradient-cta);
  border: none;
  border-radius: var(--radius-full);
  color: var(--text-light);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  transition: all var(--transition-fast);
}

.btn-primary-cta:hover {
  background: var(--gradient-cta-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-hover);
}

.btn-secondary-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.95rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--brand-plum);
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-secondary-back:hover {
  background: #ffffff;
  border-color: var(--brand-plum);
  color: var(--brand-plum-deep);
  transform: translateY(-1px);
}

/* ==========================================================================
   4. STEP 4: FINAL RESULT SCREEN (DYNAMICALLY DRIVEN)
   ========================================================================== */

.final-unlocked-body {
  text-align: center;
  padding: 0.2rem 0 0.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.unlocked-hero-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient-brand-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

/* Dynamic User Preference Summary Card */
.selected-preferences-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  background: rgba(244, 220, 233, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.75rem;
  text-align: left;
}

.pref-tag-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
}

.pref-tag-lbl {
  font-weight: 700;
  color: var(--brand-plum-deep);
}

.pref-tag-val {
  font-weight: 600;
  color: var(--text-body);
  background: #ffffff;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.unlocked-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  width: 100%;
  margin-bottom: 0.75rem;
}

.metric-item {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.45rem 0.25rem;
  box-shadow: 0 2px 8px rgba(74, 16, 56, 0.05);
}

.metric-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-plum);
  line-height: 1.1;
}

.metric-lbl {
  display: block;
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 1px;
}

.unlocked-action-box {
  width: 100%;
  margin-bottom: 0.55rem;
}

.btn-access-big {
  width: 100%;
  padding: 0.75rem 1.1rem;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  background: var(--gradient-gold);
  color: #2d0b23;
  box-shadow: 0 8px 25px rgba(197, 155, 39, 0.4);
}

.btn-access-big:hover {
  background: var(--gradient-gold-hover);
  color: #1a0515;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(197, 155, 39, 0.55);
}

/* Partner Disclosure Notice */
.partner-disclosure-box {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.55rem;
  text-align: center;
}

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

.discretion-assurance {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   5. STANDARD PAGES (PRIVACY, TERMS, CONTACT)
   ========================================================================== */

.page-card {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-soft);
}

.policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(244, 220, 233, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-plum);
  margin-bottom: 1.25rem;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.page-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.55;
}

.policy-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.policy-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.75rem;
}

.policy-section p {
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 0.75rem;
  font-size: 0.98rem;
}

.policy-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--text-body);
}

.policy-section ul li {
  margin-bottom: 0.45rem;
  line-height: 1.55;
  font-size: 0.98rem;
}

/* Contact Business Box & Direct Action Button */
.contact-business-box {
  background: rgba(244, 220, 233, 0.35);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.biz-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.biz-info-icon {
  font-size: 1.2rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.biz-info-text strong {
  display: block;
  font-size: 0.82rem;
  color: var(--brand-plum-deep);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.15rem;
}

.biz-info-text p {
  color: var(--text-body);
  margin: 0;
  line-height: 1.4;
}

.direct-email-link {
  color: var(--brand-plum);
  font-weight: 700;
  text-decoration: underline;
}

.direct-action-container {
  margin-bottom: 1.5rem;
  text-align: center;
}

.btn-direct-email {
  width: 100%;
  padding: 0.95rem 1.4rem;
  font-size: 0.96rem;
}

.contact-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

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

.contact-divider span {
  padding: 0 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-title);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.95rem 1.2rem;
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-title);
  font-family: var(--font-primary);
  font-size: 0.98rem;
  transition: var(--transition-fast);
  outline: none;
  box-shadow: var(--shadow-soft);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--brand-plum);
  box-shadow: 0 0 0 3px rgba(108, 29, 83, 0.15);
}

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

.btn-submit {
  width: 100%;
  padding: 1.1rem;
  font-size: 1.02rem;
}

/* ==========================================================================
   6. FOOTER SECTION (LOGO ON LEFT, ENHANCED & CENTERED CONTENT)
   ========================================================================== */

.app-footer {
  margin-top: 2rem;
  padding: 0 0 1.5rem;
  text-align: center;
  width: 100%;
}

.footer-glass-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.15rem 2rem;
  box-shadow: 0 8px 30px rgba(74, 16, 56, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  position: relative;
  overflow: hidden;
}

.footer-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-rose), var(--brand-gold), var(--brand-rose), transparent);
  opacity: 0.65;
}

.footer-logo-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding-right: 1.75rem;
  border-right: 1.5px solid rgba(108, 29, 83, 0.14);
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-full-logo {
  height: 70px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(108, 29, 83, 0.18));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.footer-full-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 5px 14px rgba(108, 29, 83, 0.28));
}

.footer-content-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.55rem;
  flex: 1;
}

.footer-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand-plum-deep);
  background: linear-gradient(135deg, rgba(244, 220, 233, 0.6) 0%, rgba(255, 255, 255, 0.95) 100%);
  padding: 0.28rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(108, 29, 83, 0.18);
  box-shadow: 0 2px 8px rgba(74, 16, 56, 0.04);
  transition: all var(--transition-fast);
}

.trust-badge:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(244, 220, 233, 0.9) 0%, #ffffff 100%);
  border-color: var(--brand-rose);
  box-shadow: 0 4px 14px rgba(108, 29, 83, 0.14);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-links a,
.footer-link {
  color: var(--brand-plum);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.88rem;
  position: relative;
  padding: 0.15rem 0.1rem;
  transition: all var(--transition-fast);
}

.footer-links a::after,
.footer-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background: var(--brand-plum-light);
  transition: width var(--transition-fast);
}

.footer-links a:hover,
.footer-link:hover {
  color: var(--brand-plum-deep);
  transform: translateY(-1px);
}

.footer-links a:hover::after,
.footer-link:hover::after {
  width: 100%;
}

.footer-links .sep {
  color: var(--brand-rose);
  opacity: 0.7;
  font-size: 0.85rem;
}

/* Verifiable Corporate Identity Block */
.footer-corporate-block {
  margin-top: 0.35rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(108, 29, 83, 0.1);
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.45;
  text-align: center;
}

.corp-name {
  font-weight: 600;
  color: var(--brand-plum-deep);
  margin-bottom: 0.15rem;
}

.corp-addr {
  margin-bottom: 0.15rem;
}

.corp-contact {
  margin-bottom: 0.25rem;
}

.corp-email {
  color: var(--brand-plum);
  font-weight: 700;
  text-decoration: underline;
}

.copyright {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   7. RESPONSIVE MEDIA QUERIES (DESKTOP, LAPTOP, TABLET, MOBILE)
   ========================================================================== */

/* 1. Standard Laptops & Medium Desktops (1025px - 1280px) */
@media (max-width: 1280px) {
  .app-wrapper.app-wide-layout {
    max-width: 1160px;
    padding: 0.75rem 1rem 2.5rem;
  }

  .flanked-stage-layout {
    grid-template-columns: 265px minmax(340px, 420px) 265px;
    gap: 1rem;
  }

  .flank-images-column {
    gap: 1rem;
  }

  .match-img-card {
    height: 230px;
  }

  .center-quiz-panel {
    min-height: 470px;
    max-width: 420px;
  }
}

/* 2. Compact Laptops, iPad Pro & Small Desktops (861px - 1024px) */
@media (max-width: 1024px) {
  .flanked-stage-layout {
    grid-template-columns: 225px minmax(290px, 360px) 225px;
    gap: 0.85rem;
  }

  .flank-images-column {
    gap: 0.85rem;
  }

  .match-img-card {
    height: 210px;
  }

  .center-quiz-panel {
    min-height: 430px;
    max-width: 360px;
    padding: 0.5rem 0.65rem;
  }

  .brand-title {
    font-size: 1.75rem;
  }
}

/* 3. Small Tablets & Large Phones (581px - 860px) */
@media (max-width: 860px) {
  .main-navbar {
    padding: 0.6rem 1rem;
  }

  .nav-logo-img {
    height: 44px;
  }

  .brand-title {
    font-size: 1.45rem;
    letter-spacing: 1px;
  }

  .brand-tagline {
    font-size: 0.68rem;
  }

  .flanked-stage-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .flank-images-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .match-img-card {
    height: 210px;
  }

  .center-quiz-panel {
    order: -1;
    /* Place center quiz on top on mobile/tablets for great UX */
    min-height: auto;
    padding: 0.85rem 0.5rem;
    max-width: 100%;
  }

  .footer-glass-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.25rem 1rem;
  }

  .footer-logo-cover {
    padding-right: 0;
    border-right: none;
    border-bottom: 1.5px solid rgba(108, 29, 83, 0.12);
    padding-bottom: 0.75rem;
    width: 100%;
  }

  .footer-content-side {
    align-items: center;
    text-align: center;
  }
}

/* 4. Mobile Phones (<= 580px) */
@media (max-width: 580px) {
  .app-wrapper.app-wide-layout {
    padding: 0.5rem 0.65rem 2rem;
  }

  .nav-container {
    gap: 0.5rem;
  }

  .nav-logo-img {
    height: 38px;
    max-width: 100px;
  }

  .brand-title {
    font-size: 1.25rem;
    letter-spacing: 0.5px;
  }

  .brand-tagline {
    display: none;
  }

  .btn-nav-free {
    padding: 0.4rem 0.75rem;
  }

  .free-main-text {
    font-size: 0.82rem;
  }

  .free-sub-text {
    display: none;
  }

  .step-title {
    font-size: 1.25rem;
  }

  .flank-images-column {
    gap: 0.65rem;
  }

  .step-options-grid {
    grid-template-columns: 1fr 1fr;
  }

  .match-img-card {
    height: 180px;
  }

  .page-card {
    padding: 1.25rem 1rem;
  }

  .footer-glass-card {
    padding: 1rem 0.85rem;
    gap: 0.75rem;
  }

  .footer-full-logo {
    height: 48px;
  }

  .footer-links {
    gap: 0.75rem;
  }

  .footer-links a,
  .footer-link {
    font-size: 0.82rem;
  }

  .trust-badge {
    font-size: 0.72rem;
    padding: 0.24rem 0.65rem;
  }

  .copyright {
    font-size: 0.72rem;
  }
}