/* ==========================================================================
   Luxury Dating — Luxury Dating Design System
   Bright Luxury Aesthetic: Warm Ivory, Soft Champagne, Deep Charcoal & Gold
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette — Bright Luxury */
  --bg-primary: #FAF8F5;          /* Warm Ivory */
  --bg-secondary: #F4EFEA;        /* Soft Champagne */
  --bg-tertiary: #EFE8DF;         /* Warm Sand */
  --bg-card: #FFFFFF;             /* Pure Card Surface */
  --bg-card-subtle: #FAF7F2;      /* Off-white card variant */
  --bg-surface-elevated: #FFFFFF;

  /* Typography Colors — WCAG Compliant Contrast */
  --text-primary: #1C1917;        /* Deep Charcoal (Contrast ratio > 12:1 on ivory) */
  --text-secondary: #44403C;      /* Refined Warm Stone */
  --text-muted: #78716C;          /* Muted Taupe */
  --text-inverse: #FAF8F5;        /* Light text on dark accents */

  /* Luxury Accents */
  --gold-primary: #B89668;        /* Refined Brushed Gold */
  --gold-hover: #9E7D52;          /* Deeper Gold on Hover */
  --gold-light: #F7F3EC;          /* Soft Gold Tint for Badges */
  --gold-border: rgba(184, 150, 104, 0.35); /* Subtle Gold Outline */
  --gold-glow: rgba(184, 150, 104, 0.15);

  --accent-emerald: #1B3830;      /* Deep Regal Emerald */
  --accent-emerald-light: #E7F0ED;
  --accent-rose: #EEDFD8;         /* Subtle Blush Accent */
  --accent-rose-tint: #FAF2EF;

  /* Borders & Dividers */
  --border-subtle: #E8E2D8;
  --border-light: #F0EAE1;
  --border-strong: #D3C9BC;

  /* Elevation & Shadows */
  --shadow-xs: 0 1px 3px rgba(28, 25, 23, 0.04);
  --shadow-sm: 0 4px 12px rgba(28, 25, 23, 0.05);
  --shadow-md: 0 10px 30px rgba(28, 25, 23, 0.06);
  --shadow-lg: 0 20px 45px rgba(28, 25, 23, 0.08);
  --shadow-gold: 0 12px 32px rgba(184, 150, 104, 0.18);

  /* Typography Families */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max-width: 1240px;
  --container-narrow: 860px;
  --header-height: 84px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessibility Focus */
:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
}

/* Skip Navigation for Screen Readers */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--text-primary);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 99999;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-to-content:focus {
  top: 20px;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.3;
}

h4 {
  font-size: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
}

p.lead {
  font-size: clamp(1.125rem, 1.5vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: clamp(60px, 8vw, 110px);
  padding-bottom: clamp(60px, 8vw, 110px);
}

.section-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  background-color: var(--gold-light);
  border: 1px solid var(--gold-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

/* Buttons & Luxury CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--text-primary);
  color: #FFFFFF;
  border-color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: #2D2926;
  border-color: #2D2926;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #FFFFFF;
}

.btn-gold {
  background: linear-gradient(135deg, #C5A880 0%, #A88656 100%);
  color: #FFFFFF;
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #B5956A 0%, #967442 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(184, 150, 104, 0.28);
  color: #FFFFFF;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  background-color: rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
  background-color: #FFFFFF;
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* Badge Styles */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.badge-gold {
  background-color: var(--gold-light);
  color: var(--gold-hover);
  border: 1px solid var(--gold-border);
}

.badge-emerald {
  background-color: var(--accent-emerald-light);
  color: var(--accent-emerald);
}

.badge-demo {
  background-color: #F3F4F6;
  color: #4B5563;
  border: 1px solid #E5E7EB;
}

/* Editorial Dividers */
.gold-divider {
  width: 60px;
  height: 2px;
  background-color: var(--gold-primary);
  margin: 20px auto;
}

.gold-divider-left {
  width: 60px;
  height: 2px;
  background-color: var(--gold-primary);
  margin: 18px 0 24px 0;
}

/* Visually Hidden */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Custom Luxury Scrollbar */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: #D8CEBE;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Back to Top Floating Button */
.back-to-top-btn {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--text-primary);
  color: var(--gold-primary);
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition-normal);
  z-index: 900;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background-color: #2D2926;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Button & Card Micro-Interactions */
.btn:active {
  transform: scale(0.97) !important;
}

.feature-card:hover, .editorial-card:hover, .profile-card:hover {
  box-shadow: 0 14px 34px rgba(184, 150, 104, 0.12) !important;
}

