/* ==========================================================================
   MeetAround.me - Design System & Styles
   Aesthetic: Warm & Romantic (Meetic style) + Glassmorphism + Dynamic Dual Mode
   ========================================================================== */

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

:root {
  /* Classic Mode Colors (Warm Romantic & Coral Rose) */
  --bg-main: #FAF7F5;
  --bg-secondary: #FCEEF2;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-dark-glass: rgba(44, 12, 23, 0.88);
  
  --color-primary: #E05A6D;
  --color-primary-hover: #D04559;
  --color-primary-light: rgba(224, 90, 109, 0.12);
  --color-accent: #D4AF37;
  --color-accent-hover: #B89628;
  
  --text-dark: #2C0C17;
  --text-muted: #6B4E58;
  --text-light: #FAF7F5;
  
  --border-color: rgba(224, 90, 109, 0.18);
  --shadow-sm: 0 4px 12px rgba(44, 12, 23, 0.05);
  --shadow-md: 0 10px 30px rgba(44, 12, 23, 0.08);
  --shadow-lg: 0 20px 50px rgba(44, 12, 23, 0.14);
  --shadow-glow: 0 0 25px rgba(224, 90, 109, 0.35);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* Over 45 Club Mode Colors (Warm, Elegant Gold, High Contrast, Serene) */
body.over45-mode {
  --bg-main: #FFFDF9;
  --bg-secondary: #F7F1E5;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 253, 249, 0.9);
  --bg-dark-glass: rgba(35, 17, 24, 0.92);
  
  --color-primary: #C59B27;
  --color-primary-hover: #A8821C;
  --color-primary-light: rgba(197, 155, 39, 0.14);
  --color-accent: #B85D19;
  --color-accent-hover: #9E4E13;
  
  --text-dark: #231118;
  --text-muted: #5E464E;
  --border-color: rgba(197, 155, 39, 0.25);
  --shadow-glow: 0 0 25px rgba(197, 155, 39, 0.35);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

button, input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
}

/* Utility Classes */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.font-serif { font-family: var(--font-serif); }

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-icon {
  transform: rotate(-8deg) scale(1.08);
}

/* Mode Switcher Toggle Pill */
.mode-switcher {
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
  padding: 4px;
  border-radius: var(--radius-full);
  position: relative;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.04);
}

.mode-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.mode-btn.active {
  background: var(--bg-card);
  color: var(--text-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

body.over45-mode .mode-btn[data-mode="over45"].active {
  background: linear-gradient(135deg, #C59B27, #D8B44D);
  color: #FFFFFF;
}

body:not(.over45-mode) .mode-btn[data-mode="classic"].active {
  background: linear-gradient(135deg, var(--color-primary), #E87A8B);
  color: #FFFFFF;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--color-primary);
}

.btn-login {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-login:hover {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   User Profile Pill & Account Dropdown Menu (Glassmorphism & WOW Design)
   ========================================================================== */
.user-profile-menu-container {
  position: relative;
  display: inline-block;
}

.btn-user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px 5px 6px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-user-pill:hover,
.btn-user-pill:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 6px 20px rgba(224, 90, 109, 0.18);
  transform: translateY(-1px);
}

.user-pill-photo {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-primary);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

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

.pill-verified-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  background: #2E7D32;
  color: white;
  border-radius: 50%;
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

.user-pill-name {
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pill-chevron {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.28s ease;
}

.user-profile-menu-container.open .pill-chevron,
.userAccountMenu.show .pill-chevron,
.user-profile-menu-container:hover .pill-chevron {
  transform: rotate(180deg);
}

/* Dropdown Card */
.user-account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  width: 320px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 20px;
  border: 1px solid rgba(224, 90, 109, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(224, 90, 109, 0.08);
  padding: 16px;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.97);
  transform-origin: top right;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.user-account-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 6px 12px;
}

.dh-avatar {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2.5px solid var(--color-primary);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

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

.dh-info {
  flex: 1;
  overflow: hidden;
}

.dh-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-v {
  background: #2E7D32;
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

.dh-status {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.status-waiting-for-approval {
  background: #FFF3E0;
  color: #E65100;
  border: 1px solid #FFE0B2;
}

.status-approved {
  background: #E3F2FD;
  color: #1565C0;
  border: 1px solid #BBDEFB;
}

.status-verified {
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #C8E6C9;
}

.status-guest {
  background: #F5F5F5;
  color: #616161;
  border: 1px solid #E0E0E0;
}

.dropdown-divider {
  border: 0;
  height: 1px;
  background: var(--border-color);
  margin: 10px 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  color: var(--text-dark);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-item i {
  width: 22px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--color-primary);
  transition: transform 0.2s ease;
}

.dropdown-item:hover {
  background: #FAF7F5;
  color: var(--color-primary);
  transform: translateX(4px);
}

.dropdown-item:hover i {
  transform: scale(1.15);
}

.dropdown-item.logout-item {
  color: #D32F2F;
}

.dropdown-item.logout-item i {
  color: #D32F2F;
}

.dropdown-item.logout-item:hover {
  background: #FFF0F2;
  color: #C62828;
}

/* ==========================================================================
   Hero Section & Multi-Step Onboarding Form
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 60px 0 90px;
  overflow: hidden;
}

.hero-bg-blobs {
  position: absolute;
  top: -100px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-primary-light) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  z-index: -1;
  animation: floatBlob 15s infinite alternate ease-in-out;
}

.hero-bg-blobs-2 {
  position: absolute;
  bottom: -50px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
}

@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, 60px) scale(1.15); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.hero-badge i { font-size: 1rem; }

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

.trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* ==========================================================================
   Multi-Step Onboarding Form Card (Gamified & Progressive Disclosure)
   ========================================================================== */
.onboarding-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(224, 90, 109, 0.12);
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

body.over45-mode .onboarding-card {
  border-color: rgba(197, 155, 39, 0.25);
  box-shadow: 0 20px 50px rgba(197, 155, 39, 0.12);
}

.form-header {
  margin-bottom: 28px;
}

.form-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Progress Bar & Step Indicators */
.progress-container {
  margin-bottom: 32px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.progress-track {
  width: 100%;
  height: 8px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-full);
  transition: width 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-dots {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.step-dot.active {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 0 12px rgba(224, 90, 109, 0.4);
  transform: scale(1.15);
}

.step-dot.completed {
  background: var(--color-accent);
  color: white;
}

/* Step Content Transitions */
.step-pane {
  display: none;
  animation: fadeInStep 0.38s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.step-pane.active {
  display: block;
}

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

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

/* Pills Selection (Gender, Seeking) */
.pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pill-option {
  position: relative;
}

.pill-option input[type="radio"],
.pill-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pill-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 10px;
  background: var(--bg-main);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.pill-label i { font-size: 1.3rem; }

.pill-option input:checked + .pill-label {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(224, 90, 109, 0.15);
  font-weight: 700;
}

/* Interactive Intent Cards (Step 2) */
.intent-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.intent-card-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg-main);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
  height: 100%;
}

.intent-card-label .emoji-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.intent-card-label .intent-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.intent-card-label .intent-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.pill-option input:checked + .intent-card-label {
  background: var(--bg-secondary);
  border-color: var(--color-primary);
  box-shadow: 0 6px 18px rgba(224, 90, 109, 0.15);
  transform: translateY(-2px);
}

/* Lifestyle Tags (Step 3) */
.tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-item {
  position: relative;
}

.tag-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-main);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
}

.tag-item input:checked + .tag-label {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

/* 2FA / OTP 6-Digit Boxes & Wrapper */
.otp-boxes-wrapper {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin: 24px auto;
  flex-wrap: wrap;
  max-width: 100%;
}

.otp-input-box {
  width: 48px;
  height: 58px;
  max-width: calc((100% - 45px) / 6);
  flex: 0 0 auto;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  color: var(--color-primary);
  transition: all 0.2s ease;
  outline: none;
  box-shadow: var(--shadow-xs);
  padding: 0;
}

.otp-input-box:focus {
  border-color: var(--color-primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(224, 90, 109, 0.16);
  transform: translateY(-2px);
}

/* Photo Upload Box (Step 4) */
.photo-upload-container {
  border: 2px dashed var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  background: var(--bg-main);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.photo-upload-container:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-hover);
}

.upload-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-sm);
}

.upload-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.upload-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.photo-preview-box {
  display: none;
  margin-top: 18px;
  text-align: center;
}

.photo-preview-box img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-primary);
  box-shadow: var(--shadow-md);
  margin-bottom: 12px;
}

.verified-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #E8F5E9;
  color: #2E7D32;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
}

/* Standard Input Fields (Step 5) */
.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-main);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all 0.25s ease;
}

.form-input:focus {
  border-color: var(--color-primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 4px var(--color-primary-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--color-primary);
  width: 18px;
  height: 18px;
}

.checkbox-group label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Buttons */
.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  gap: 16px;
}

.btn-primary {
  padding: 15px 32px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: white;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  padding: 15px 24px;
  background: var(--bg-secondary);
  color: var(--text-dark);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: var(--border-color);
}

/* Senior Auto Hint Alert in Step 1 */
.senior-auto-hint {
  display: none;
  background: linear-gradient(135deg, #FFF8E7, #FFF2D1);
  border: 1px solid #E8C15A;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-top: 16px;
  color: #7A5C0C;
  font-size: 0.86rem;
  font-weight: 600;
  animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* ==========================================================================
   Sections Below Hero: Why MeetAround, Profile Grid, Club 45+ Feature
   ========================================================================== */
.section-padding {
  padding: 90px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 50px;
}

/* Trust Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  padding: 34px 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--bg-secondary);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Profiles Preview Grid */
.profiles-filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}

.filter-chip {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-chip.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

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

.profile-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  cursor: pointer;
}

.profile-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.profile-image-wrap {
  position: relative;
  height: 310px;
  overflow: hidden;
}

.profile-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.profile-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(20, 5, 10, 0.9) 0%, rgba(20, 5, 10, 0.3) 60%, transparent 100%);
  padding: 24px 18px 16px;
  color: white;
}

.profile-name-age {
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-icon {
  color: #64B5F6;
  font-size: 1.1rem;
}

.profile-city {
  font-size: 0.88rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.profile-intent-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.club45-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #C59B27, #E5C365);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.profile-body {
  padding: 16px 18px;
}

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

.profile-tag {
  background: var(--bg-main);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ==========================================================================
   Dedicated Club 45+ Section (Senior Focus)
   ========================================================================== */
.club45-showcase {
  background: linear-gradient(135deg, #2A141D 0%, #1A0A10 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 40px 0;
}

body.over45-mode .club45-showcase {
  background: linear-gradient(135deg, #231118 0%, #3D222E 100%);
  border: 1px solid #C59B27;
}

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

.club45-badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(197, 155, 39, 0.2);
  border: 1px solid #C59B27;
  border-radius: var(--radius-full);
  color: #E5C365;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.club45-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  font-family: var(--font-serif);
}

.club45-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 30px;
}

.club45-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.club45-point {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  font-weight: 600;
}

.club45-point i {
  color: #C59B27;
  font-size: 1.3rem;
}

.btn-gold {
  padding: 16px 36px;
  background: linear-gradient(135deg, #C59B27, #E5C365);
  color: #1A0A10;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(197, 155, 39, 0.35);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-gold:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 35px rgba(197, 155, 39, 0.5);
}

.club45-image-cluster {
  position: relative;
  height: 420px;
}

.cluster-img-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 75%;
  height: 340px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(197, 155, 39, 0.4);
}

.cluster-img-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55%;
  height: 220px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 4px solid #1A0A10;
}

/* Success Stories Section */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.story-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  gap: 24px;
  align-items: center;
  transition: all 0.3s ease;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.story-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--color-primary);
}

.story-content h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
}

.story-content .story-date {
  font-size: 0.82rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-block;
}

.story-content p {
  font-size: 0.94rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

/* ==========================================================================
   Verification Celebratory Modal & Profile Detail Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 5, 10, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  max-width: 520px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transform: scale(0.9);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--color-primary);
  color: white;
}

.celebration-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #E8F5E9;
  color: #2E7D32;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
  animation: pulseSuccess 2s infinite;
}

@keyframes pulseSuccess {
  0% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(46, 125, 50, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0); }
}

/* Footer */
.site-footer {
  background: #1A0A10;
  color: #FAF7F5;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(224, 90, 109, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-about {
  font-size: 0.92rem;
  color: rgba(250, 247, 245, 0.7);
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-primary);
}

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

.footer-links a {
  font-size: 0.9rem;
  color: rgba(250, 247, 245, 0.75);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(250, 247, 245, 0.1);
  font-size: 0.85rem;
  color: rgba(250, 247, 245, 0.5);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-grid, .profiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .club45-grid {
    grid-template-columns: 1fr;
  }
  .club45-image-cluster {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: auto;
    padding: 16px 0;
    flex-wrap: wrap;
    gap: 14px;
  }
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .features-grid, .profiles-grid, .stories-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .pills-grid, .intent-cards-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .club45-showcase {
    padding: 40px 24px;
  }
  .modal-content {
    padding: 30px 20px;
    width: 95%;
    max-width: 440px;
  }
  .otp-boxes-wrapper {
    gap: 6px;
    margin: 20px auto;
  }
  .otp-input-box {
    width: 42px;
    height: 52px;
    font-size: 1.3rem;
  }
}
