/* ==========================================================================
   Luxury Dating — Components Stylesheet
   Headers, Navigation, Hero, Cards, Modals, Wizards, FAQs, Footer
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Navigation Bar (Sticky & Glassmorphism)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(250, 248, 245, 0.98);
  box-shadow: var(--shadow-sm);
  height: 74px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-monogram {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1C1917 0%, #2D2926 100%);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-xs);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  text-transform: uppercase;
  line-height: 1;
}

.logo-subtitle {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--gold-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-signin {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 14px;
}

.btn-signin:hover {
  color: var(--gold-primary);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   2. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: clamp(40px, 6vw, 70px);
  padding-bottom: clamp(60px, 8vw, 100px);
  background: linear-gradient(180deg, var(--bg-primary) 0%, #F5EFE7 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 70px);
  align-items: center;
}

.hero-content {
  max-width: 640px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  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: 20px;
}

.hero-h1 {
  margin-bottom: 22px;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.trust-icon {
  color: var(--gold-primary);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gold-border);
}

.hero-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.hero-floating-card {
  position: absolute;
  bottom: -25px;
  left: -25px;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 320px;
}

.floating-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--gold-light);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-card-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.floating-card-text span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   3. What Is Luxury Dating? (Section 2)
   -------------------------------------------------------------------------- */
.editorial-lead-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 60px);
  box-shadow: var(--shadow-sm);
}

.lead-box-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
}

.values-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.values-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.values-icon {
  color: var(--gold-primary);
  margin-top: 2px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   4. Why Choose Premium Dating? (Section 3 Cards)
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border);
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background-color: var(--gold-light);
  border: 1px solid var(--gold-border);
  color: var(--gold-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   5. How It Works (Section 4 — 4 Steps)
   -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 16px;
  display: inline-block;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   6. Featured Profiles (Section 5)
   -------------------------------------------------------------------------- */
.profiles-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background-color: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--gold-primary);
  color: var(--text-primary);
}

.filter-btn.active {
  background-color: var(--text-primary);
  color: #FFFFFF;
  border-color: var(--text-primary);
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.profile-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border);
}

.profile-image-container {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.profile-card:hover .profile-photo {
  transform: scale(1.03);
}

.profile-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.profile-header-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.profile-name {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
}

.profile-age-loc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.profile-occupation {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-hover);
  margin-bottom: 12px;
}

.profile-bio-snippet {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.profile-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tag-pill {
  font-size: 0.75rem;
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.profile-card-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.relationship-pref-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.relationship-pref-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

/* --------------------------------------------------------------------------
   7. Lifestyle & Editorial Section (Section 6)
   -------------------------------------------------------------------------- */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.editorial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.editorial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.editorial-thumb-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.editorial-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.editorial-card:hover .editorial-thumb {
  transform: scale(1.04);
}

.editorial-meta-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.editorial-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.editorial-body h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.35;
}

.editorial-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.editorial-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-hover);
}

.editorial-read-link:hover {
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   8. Keyword Clusters Directory (Section 7)
   -------------------------------------------------------------------------- */
.clusters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cluster-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: all var(--transition-fast);
  display: block;
}

.cluster-card:hover {
  border-color: var(--gold-primary);
  background-color: #FFFFFF;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.cluster-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.cluster-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cluster-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-hover);
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   9. AEO FAQ Section & Comparison Table (Section 8)
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.open {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-xs);
}

.faq-question-btn {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  gap: 16px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background-color: var(--gold-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 26px;
}

.faq-item.open .faq-answer {
  padding-bottom: 24px;
}

.direct-answer {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
  background-color: var(--gold-light);
  border-left: 3px solid var(--gold-primary);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 14px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-answer ul {
  margin: 12px 0 0 20px;
  color: var(--text-secondary);
  font-size: 0.925rem;
}

.faq-answer li {
  margin-bottom: 6px;
}

/* Comparison Table */
.comparison-wrapper {
  margin-top: 60px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.comparison-table th.col-highlight {
  color: var(--gold-hover);
  background-color: var(--gold-light);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.comparison-table td.col-highlight {
  background-color: rgba(247, 243, 236, 0.5);
  font-weight: 600;
  color: var(--text-primary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   10. GEO Platform Entity Info (Section 9)
   -------------------------------------------------------------------------- */
.entity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.entity-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 22px;
}

.entity-card h4 {
  font-size: 0.95rem;
  color: var(--gold-hover);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.entity-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   11. Trust & Safety (Section 10)
   -------------------------------------------------------------------------- */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.safety-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  gap: 18px;
}

.safety-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--accent-emerald-light);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.safety-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.safety-card p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. Conversion CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, #1C1917 0%, #292420 100%);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 70px) clamp(24px, 5vw, 60px);
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(197, 168, 128, 0.3);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(197, 168, 128, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #FFFFFF;
  margin-bottom: 16px;
}

.cta-banner p {
  color: #D6D3D1;
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1.125rem;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #171513;
  color: #A8A29E;
  padding-top: 80px;
  padding-bottom: 40px;
  border-top: 1px solid #292524;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand .logo-title {
  color: #FAF8F5;
}

.footer-brand p {
  color: #A8A29E;
  font-size: 0.925rem;
  margin: 18px 0 24px;
  line-height: 1.65;
  max-width: 320px;
}

.footer-col h4 {
  color: #FAF8F5;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #A8A29E;
  font-size: 0.925rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid #292524;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #78716C;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: #FAF8F5;
}

/* --------------------------------------------------------------------------
   14. Modals (Profile Viewer & 6-Step Onboarding Wizard)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(28, 25, 23, 0.7);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-dialog {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(250, 248, 245, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: #FFFFFF;
  color: var(--gold-primary);
}

/* Profile Modal Detail Content */
.profile-modal-hero {
  height: 320px;
  position: relative;
}

.profile-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-modal-body {
  padding: 32px;
}

/* Onboarding Wizard Specifics */
.wizard-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-secondary);
}

.wizard-step-tracker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.wizard-step-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-hover);
}

.wizard-progress-track {
  width: 100%;
  height: 6px;
  background-color: var(--border-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.wizard-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #C5A880 0%, #1B3830 100%);
  width: 16.66%;
  transition: width 0.3s ease;
}

.wizard-body {
  padding: 32px;
}

.wizard-step-panel {
  display: none;
}

.wizard-step-panel.active {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

.wizard-step-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.wizard-step-panel p.subhead {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background-color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.2);
}

.tag-select-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.selectable-tag {
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background-color: #FFFFFF;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  user-select: none;
}

.selectable-tag.selected {
  background-color: var(--text-primary);
  color: #FFFFFF;
  border-color: var(--text-primary);
}

.wizard-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #FAF8F5;
}

/* Membership Card Mockup on Success */
.vip-pass-card {
  background: linear-gradient(135deg, #1C1917 0%, #2E2822 100%);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 26px;
  color: #FFFFFF;
  margin: 20px 0;
  box-shadow: var(--shadow-gold);
}

.vip-pass-card .pass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.vip-pass-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-primary);
  letter-spacing: 0.05em;
}

.vip-pass-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  font-size: 0.875rem;
}

.vip-pass-meta span {
  color: #A8A29E;
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
}


/* --------------------------------------------------------------------------
   15. 150+ Articles Live Search, Category Filter & Reader Modal
   -------------------------------------------------------------------------- */
.articles-search-wrapper {
  max-width: 760px;
  margin: 0 auto 30px;
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  padding: 6px 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.search-input-box:focus-within {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(184, 150, 104, 0.25);
}

.search-input-box .search-icon {
  color: var(--gold-hover);
  margin-right: 12px;
  flex-shrink: 0;
}

.article-search-input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--text-primary);
  padding: 10px 0;
  outline: none;
}

.clear-search-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
}

.clear-search-btn:hover {
  color: var(--text-primary);
}

.category-pills-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.category-pill {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.category-pill .pill-count {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background-color: var(--bg-secondary);
  color: var(--text-muted);
}

.category-pill:hover {
  border-color: var(--gold-primary);
  color: var(--text-primary);
}

.category-pill.active {
  background-color: var(--text-primary);
  color: #FFFFFF;
  border-color: var(--text-primary);
}

.category-pill.active .pill-count {
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.articles-count-bar {
  text-align: center;
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.article-reader-modal .modal-dialog {
  max-width: 820px;
  padding: 36px;
}

.reader-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(250, 248, 245, 0.9);
  border: 1px solid var(--border-subtle);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.reader-close-btn:hover {
  color: var(--gold-primary);
}

/* ==========================================================================
   Discovery Controls, Search, Sort & Empty States
   ========================================================================== */
.discovery-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.search-input-wrapper .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.profile-search-field {
  padding-left: 42px !important;
  padding-right: 36px !important;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  width: 100%;
}

.profile-search-field:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.clear-search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
}

.clear-search-btn:hover {
  color: var(--text-primary);
}

.sort-select-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sort-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.profile-sort-select {
  height: 48px;
  padding: 0 36px 0 16px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-size: 0.925rem;
  cursor: pointer;
}

/* Empty State Card */
.profiles-empty-state {
  text-align: center;
  padding: 48px 24px;
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  margin-top: 20px;
}

.profiles-empty-state .empty-state-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--gold-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.profiles-empty-state h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.profiles-empty-state p {
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto 20px;
  font-size: 0.95rem;
}

/* Header Member Auth Pill */
.member-header-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-secondary);
  padding: 4px 12px 4px 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-border);
}

.member-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #FAF8F5;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.member-greeting {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* Wizard Error Banner */
.wizard-error-banner {
  background-color: #FEF2F2;
  color: #991B1B;
  border-left: 4px solid #EF4444;
  padding: 10px 14px;
  font-size: 0.875rem;
  margin-bottom: 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 500;
}

.input-error {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

/* Modals & Dialog Polish */
.btn-ghost {
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-ghost:hover {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--gold-primary);
}

.char-counter {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
}

.char-counter.limit-near {
  color: #D97706;
}

.char-counter.limit-reached {
  color: #DC2626;
  font-weight: 600;
}

