/* Language Switcher Styles */
.lang-switch-form {
  display: inline-block;
  margin-right: 1rem;
}
.lang-switch-select {
  padding: 0.4rem 1.2rem 0.4rem 2.2rem;
  border-radius: 24px;
  border: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #f8fafc 80%, #e0e7ff 100%);
  color: #4f46e5;
  font-weight: 600;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(139, 69, 255, 0.04);
  cursor: pointer;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%234f46e5" height="16" viewBox="0 0 20 20" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/></svg>');
  background-repeat: no-repeat;
  background-position: 0.7rem center;
  background-size: 1.1rem;
}
.lang-switch-select:focus {
  border: 1.5px solid #8b5cf6;
  box-shadow: 0 0 0 2px #c7d2fe;
}
/* Professional Enterprise Design - Stripe-inspired */

/* ============ */
/* Design System Variables */
/* ============ */
:root {
  /* Colors */
  --color-primary: #635bff;
  --color-primary-hover: #5a52f5;
  --color-primary-light: #f6f9fc;
  --color-secondary: #0a2540;
  --color-success: #00d924;
  --color-warning: #ffb946;
  --color-error: #df1b41;
  
  /* Backgrounds */
  --bg-primary: #ffffff;
  --bg-secondary: #f6f9fc;
  --bg-tertiary: #f8fafc;
  --bg-dark: #0a2540;
  --bg-gradient: linear-gradient(135deg, rgba(99, 91, 255, 0.1) 0%, rgba(10, 37, 64, 0.05) 100%);
  
  /* Text Colors */
  --text-primary: #0a2540;
  --text-secondary: #425466;
  --text-tertiary: #8898aa;
  --text-light: #ffffff;
  --text-muted: #6b7c93;
  
  /* Borders */
  --border-light: #e3e8ee;
  --border-medium: #c7d2fe;
  --border-dark: #8898aa;
  
  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  
  /* Typography */
  --font-family-primary: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
  --font-family-mono: 'SF Mono', Monaco, Menlo, monospace;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  
  /* Container Widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;
}

/* ============ */
/* Base Styling */
/* ============ */
* {
  box-sizing: border-box;
}

main {
  flex: 1;
}

body {
  font-family: var(--font-family-primary);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background: #ffffff;
  margin: 0;
  padding: 0;
  padding-top: 64px; /* Add padding for fixed navbar */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Professional Enterprise Design - Stripe-inspired */

/* ============ */
/* Onboarding Styles */
/* ============ */
body.onboarding-page {
  background: #ffffff !important;
}

body.onboarding-page main {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.onboarding-container {
  background: #ffffff !important;
  min-height: 100vh !important;
  padding: var(--space-4) !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  position: relative !important;
}

.onboarding-card {
  background: #ffffff !important;
  backdrop-filter: none !important;
  border: none !important;
  border-radius: var(--radius-xl) !important;
  padding: var(--space-6) var(--space-4) !important;
  max-width: 900px !important;
  width: 100% !important;
  margin: 0 auto !important;
  box-shadow: none !important;
  text-align: left !important;
  position: relative !important;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.step-icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
}

.progress-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto var(--space-6) auto;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: var(--space-2);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  border-radius: 4px;
  transition: width 0.3s ease;
  width: 12.5%;
}

.progress-text {
  text-align: center;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ============ */
/* Old Header Styles - Replaced with Stripe-style navbar */
/* ============ */
/* 
header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 0 var(--space-6);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  height: 64px;
}

.nav-brand {
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-primary);
  text-decoration: none;
  margin-right: var(--space-8);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-left: auto;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}
*/

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

.nav-link.active {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

/* ============ */
/* Stripe-Style Transparent Navbar */
/* ============ */
.stripe-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stripe-navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

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

/* Brand */
.navbar-brand .brand-link {
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.logo-icon {
  font-size: 24px;
  filter: drop-shadow(0 2px 4px rgba(99, 91, 255, 0.3));
}

.brand-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* Navigation */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-item {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
  position: relative;
  letter-spacing: -0.01em;
}

.nav-item:hover {
  color: var(--color-primary);
  background: rgba(99, 91, 255, 0.08);
  transform: translateY(-1px);
}

.nav-item.active {
  color: var(--color-primary);
  font-weight: 600;
  background: rgba(99, 91, 255, 0.1);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* Actions */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.credits-display {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.credits-icon {
  font-size: 16px;
}

.btn-credits {
  text-decoration: none;
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-credits:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  text-decoration: none;
  padding: var(--space-2) var(--space-4);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-secondary:hover {
  color: var(--color-primary);
  background: rgba(99, 91, 255, 0.05);
  border-color: rgba(99, 91, 255, 0.2);
}

.btn-primary {
  text-decoration: none;
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* User Menu */
.user-menu {
  position: relative;
}

.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1);
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.user-menu-trigger:hover {
  background: var(--bg-secondary);
}

.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}

.chevron {
  color: var(--text-tertiary);
  transition: transform 0.2s ease;
}

.user-menu-trigger:hover .chevron {
  transform: rotate(180deg);
}

.user-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: var(--space-2);
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-menu:hover .user-menu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Real-time notification indicator */
.notification-indicator {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--color-error);
  border-radius: 50%;
  border: 2px solid white;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.menu-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.menu-item:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.menu-item:first-child {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.menu-item:last-child {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.menu-icon {
  font-size: 16px;
  opacity: 0.7;
}

.menu-divider {
  height: 1px;
  background: var(--border-light);
  margin: var(--space-1) 0;
}

/* ============ */
/* Containers & Layout */
/* ============ */
.container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: var(--space-8) var(--space-6);
  background: transparent;
  width: 100%;
}

.page-header {
  text-align: center;
  margin-bottom: var(--space-12);
  padding: var(--space-16) var(--space-6);
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-4);
  line-height: 1.1;
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ */
/* Cards & Components */
/* ============ */
.card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.card-header {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-light);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-2);
}

.card-description {
  color: var(--text-secondary);
  margin: 0;
}

/* ============ */
/* Forms & Inputs */
/* ============ */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

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

/* ============ */
/* Buttons */
/* ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--text-light);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border-color: var(--border-light);
}

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

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--text-light);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: 1.1rem;
  min-height: 52px;
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: 0.9rem;
  min-height: 36px;
}

/* ============ */
/* Typography */
/* ============ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0 0 var(--space-4);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 var(--space-4);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
h1 {
  margin: 0 0 1.2rem;
  font-size: 2.6rem;
  font-weight: 800;
  color: #3a86ff;
  text-shadow: 0 0 6px rgba(58,134,255,0.4);
  letter-spacing: 1px;
}

h2 {
  margin: 0 0 1rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: #60a5fa;
  border-bottom: 2px solid #3a86ff;
  padding-bottom: 0.4rem;
  text-shadow: 0 0 4px rgba(58, 134, 255, 0.3);
}

/* ============ */
/* Sections */
/* ============ */
.section {
  margin-bottom: 2.5rem;
}

/* ============ */
/* Buttons */
/* ============ */
.btn {
  display: inline-block;
  background: #3a86ff;
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  user-select: none;
}

.btn:hover,
.btn:focus {
  background: #60a5fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.6);
  outline: none;
}

.btn:active {
  transform: translateY(0) scale(0.96);
  box-shadow: 0 3px 8px rgba(0,0,0,0.7);
}

/* ============ */
/* Matches List */
/* ============ */
.matches li {
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  background: #2e333d;
  border-radius: 8px;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.4);
  transition: background 0.3s ease, transform 0.2s ease;
}

.matches li:hover {
  background: #393f4e;
  transform: translateY(-2px);
}

.matches li strong {
  color: #3a86ff;
  text-shadow: 0 0 4px rgba(58,134,255,0.4);
}

/* ============ */
/* Lists & Text */
/* ============ */
ul {
  padding-left: 1.5rem;
  color: #a0a0a0;
}

ul li {
  margin-bottom: 1rem;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #c0c0c0;
}

/* ============ */
/* Footer */
/* ============ */
footer {
  background: #2a2c36;
  text-align: center;
  font-size: 0.85rem;
  color: #7a7e8c;
  padding: 1.5rem 1rem;
  box-shadow: inset 0 1px 8px rgba(0,0,0,0.5);
  margin-top: auto;
}

/* ============ */
/* Scrollbar */
/* ============ */
::-webkit-scrollbar {
  width: 8px;
  background: #252a34;
}

::-webkit-scrollbar-thumb {
  background: #3a86ff;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #60a5fa;
}

/* ============ */
/* Flash Messages */
/* ============ */
.flash-messages {
  position: fixed;
  top: 80px;
  right: var(--space-6);
  z-index: 1000;
  max-width: 400px;
}

.flash-message {
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-3);
  border-radius: var(--radius-lg);
  border-left: 4px solid;
  background: var(--bg-primary);
  box-shadow: var(--shadow-lg);
  font-weight: 500;
  animation: slideInRight 0.3s ease;
  position: relative;
  padding-right: var(--space-8);
}

.flash-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-muted);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.flash-close:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.flash-success {
  border-left-color: var(--color-success);
  color: var(--color-success);
  background: rgba(0, 217, 36, 0.05);
}

.flash-error {
  border-left-color: var(--color-error);
  color: var(--color-error);
  background: rgba(223, 27, 65, 0.05);
}

.flash-warning {
  border-left-color: var(--color-warning);
  color: var(--color-warning);
  background: rgba(255, 185, 70, 0.05);
}

.flash-info {
  border-left-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(99, 91, 255, 0.05);
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============ */
/* Professional Landing Page */
/* ============ */
.landing-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.02) 0%, rgba(255, 255, 255, 0.95) 100%);
  padding: var(--space-6);
}

.landing-content {
  text-align: center;
  max-width: 800px;
  background: var(--bg-primary);
  padding: var(--space-16) var(--space-8);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.landing-title {
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.landing-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  line-height: 1.4;
}

.landing-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  margin: var(--space-12) 0;
}

.feature-item {
  padding: var(--space-6);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.feature-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

/* ============ */
/* Professional Dashboard */
/* ============ */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.stat-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

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

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}

.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.match-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

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

.match-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin: var(--space-4) auto var(--space-3);
}

.match-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: var(--space-3);
}

.match-details {
  padding: 0 var(--space-6) var(--space-6);
}

.match-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.match-tag {
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ============ */
/* Professional Text Colors - All Black */
/* ============ */
body, h1, h2, h3, h4, h5, h6, p, span, div, label, input, textarea, select {
  color: var(--text-primary) !important;
}

.card-title, .page-title, .landing-title {
  color: var(--text-primary) !important;
}

.card-description, .page-subtitle, .landing-subtitle {
  color: var(--text-secondary) !important;
}

/* Only keep white text for buttons and specific elements */
.btn-primary, .btn-primary span, .btn-primary div {
  color: var(--text-light) !important;
}

.nav-link.btn.btn-primary {
  color: var(--text-light) !important;
}

/* ============ */
/* Swipe Action Buttons */
/* ============ */
.swipe-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-4);
}

.swipe-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.swipe-btn-reject {
  border-color: var(--color-error);
  color: var(--color-error);
}

.swipe-btn-reject:hover {
  background: var(--color-error);
  color: var(--text-light);
  transform: scale(1.1);
}

.swipe-btn-like {
  border-color: var(--color-success);
  color: var(--color-success);
}

.swipe-btn-like:hover {
  background: var(--color-success);
  color: var(--text-light);
  transform: scale(1.1);
}

/* ============ */
/* Professional Purchase Layout */
/* ============ */
.purchase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
}

.purchase-card {
  background: var(--bg-primary);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.purchase-card.featured {
  border-color: var(--color-primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.purchase-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--text-light);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
}

.purchase-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.purchase-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.purchase-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.purchase-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.purchase-credits {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.purchase-features {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0;
}

.purchase-features li {
  padding: var(--space-2) 0;
  color: var(--text-secondary);
}

.purchase-features li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: bold;
  margin-right: var(--space-2);
}

/* ============ */
/* Settings Page Styling */
/* ============ */
.settings-section {
  margin-bottom: var(--space-8);
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.match-status-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
}

.match-status-pending {
  background: rgba(255, 185, 70, 0.1);
  color: var(--color-warning);
  border: 1px solid var(--color-warning);
}

.match-status-accepted {
  background: rgba(0, 217, 36, 0.1);
  color: var(--color-success);
  border: 1px solid var(--color-success);
}

.match-status-rejected {
  background: rgba(223, 27, 65, 0.1);
  color: var(--color-error);
  border: 1px solid var(--color-error);
}

@media (max-width: 768px) {
  .purchase-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .purchase-card.featured {
    transform: none;
    order: -1;
  }
  
  .swipe-actions {
    gap: var(--space-6);
  }
  
  .swipe-btn {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
}

/* ========================= */
/* Profile Page Integration */
/* ========================= */
.profile-container {
  max-width: 700px;
  margin: 2.5rem auto;
  background: #252a34;
  padding: 2rem 2.5rem;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.profile-container > h1 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: #3a86ff;
  border-bottom: 2px solid #60a5fa;
  padding-bottom: 0.5rem;
}

.profile-container form {
  display: flex;
  flex-direction: column;
}

.profile-container fieldset {
  border: 1px solid #3b3d48;
  border-radius: 6px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.8rem;
  background: #2e333d;
}

.profile-container legend {
  font-size: 1.25rem;
  font-weight: 700;
  color: #60a5fa;
  padding: 0 0.5rem;
}

.profile-container label {
  display: inline-flex;
  align-items: center;
  margin-right: 1rem;
  margin-bottom: 0.8rem;
  cursor: pointer;
  color: #a0a0a0;
  transition: color 0.2s ease;
}

.profile-container label:hover {
  color: #e0e0e0;
}

.profile-container input[type="checkbox"] {
  accent-color: #3a86ff;
  width: 1.2rem; height: 1.2rem;
  margin-right: 0.6rem;
  cursor: pointer;
}

.profile-container textarea,
.profile-container input[type="text"],
.profile-container input[type="password"] {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border: 1px solid #3b3d48;
  border-radius: 6px;
  background: #2e333d;
  color: #e0e0e0;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s ease;
}

.profile-container textarea:focus,
.profile-container input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

.profile-container button[type="submit"] {
  width: max-content;
  align-self: flex-start;
  background: #3a86ff;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: background 0.3s ease, transform 0.2s ease;
}

.profile-container button[type="submit"]:hover {
  background: #60a5fa;
  transform: translateY(-2px);
}

.profile-container p a {
  display: inline-block;
  margin-top: 1.8rem;
  color: #3a86ff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.profile-container p a:hover {
  color: #60a5fa;
}


/* ===== Filters Container ===== */
.actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* ===== Fieldset Panels ===== */
.actions fieldset {
  background: #252a34;          /* panel background */
  border: 1px solid #3b3d48;    /* subtle border */
  border-radius: 8px;
  padding: 1rem 1.5rem;
}
.actions legend {
  font-size: 1.2rem;
  font-weight: 600;
  color: #60a5fa;              /* accent color */
  padding: 0 0.5rem;
}

/* ===== Checkbox Grid ===== */
.actions .checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem 1.5rem;
  margin-top: 0.75rem;
}
.actions .checkbox-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #a0a0a0;
  transition: color 0.2s ease;
}
.actions .checkbox-group label:hover {
  color: #e0e0e0;
}

/* ===== Inputs ===== */
.actions input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 0.5rem;
  accent-color: #60a5fa;
}

/* ===== Buttons & Reset Link ===== */
.actions button {
  width: max-content;
  background: #3a86ff;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: background 0.3s, transform 0.15s;
}
.actions button:hover {
  background: #60a5fa;
  transform: translateY(-2px);
}
.actions a.reset {
  margin-left: 1rem;
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.actions a.reset:hover {
  color: #3a86ff;
}

/* === Two-column layout === */
.content-wrapper {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;           /* wraps on small screens */
  margin-bottom: 2rem;
}

/* Left column: filters */
.content-wrapper .filters {
  flex: 0 0 260px;           /* fixed sidebar width */
}

/* Right column: results grid */
.content-wrapper .results {
  flex: 1;                   /* fill remaining space */
}

/* Turn UL into 2-column grid of user cards */
.content-wrapper .results ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;               /* space between cards */
}

/* Style each user entry as a “card” */
.content-wrapper .results .user-card {
  background: #252a34;       /* match panel bg */
  padding: 1.2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, background 0.3s ease;
}
.content-wrapper .results .user-card:hover {
  background: #2e333d;
  transform: translateY(-2px);
}


/* Labels and grouping */
.content-wrapper label {
  display: inline-block;
  color: #c0c0c0;
  font-weight: 500;
  margin-bottom: 0.8rem;
  cursor: pointer;
  transition: color 0.2s ease;
}
.content-wrapper label:hover {
  color: #e0e0e0;
}

/* Text inputs, number inputs & selects */
.content-wrapper input[type="text"],
.content-wrapper input[type="number"],
.content-wrapper input[type="email"],
.content-wrapper input[type="password"],
.content-wrapper select {
  width: auto;
  max-width: 250px;
  padding: 0.5rem 0.75rem;
  margin-left: 0.5rem;
  margin-right: 1.5rem;
  border: 1px solid #3b3d48;
  border-radius: 6px;
  background: #252a34;
  color: #e0e0e0;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}
.content-wrapper input:focus,
.content-wrapper select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

/* Checkbox & radio inputs */
.content-wrapper input[type="checkbox"],
.content-wrapper input[type="radio"] {
  accent-color: #60a5fa;
  margin-right: 0.5rem;
  width: 1.2rem;
  height: 1.2rem;
  vertical-align: middle;
}

/* Range sliders */
.content-wrapper input[type="range"] {
  -webkit-appearance: none;
  width: 180px;
  height: 6px;
  background: #3b3d48;
  border-radius: 3px;
  margin: 0 0.75rem 0.75rem 0;
}
.content-wrapper input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  background: #60a5fa;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
  cursor: pointer;
  transition: background 0.2s ease;
}
.content-wrapper input[type="range"]::-webkit-slider-thumb:hover {
  background: #3a86ff;
}

/* Textareas */
.content-wrapper textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #3b3d48;
  border-radius: 6px;
  background: #252a34;
  color: #e0e0e0;
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color 0.2s ease;
  margin-bottom: 1rem;
}
.content-wrapper textarea:focus {
  outline: none;
  border-color: #60a5fa;
}

/* Submit button */
.content-wrapper button.btn {
  margin-top: 1rem;
  background: #3a86ff;
  color: #fff;
  padding: 0.6rem 1.6rem;
  border: none;
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  font-weight: 600;
  transition: background 0.3s, transform 0.15s;
}
.content-wrapper button.btn:hover {
  background: #60a5fa;
  transform: translateY(-1px);
}

/* Flash messages */
.content-wrapper .flash {
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.content-wrapper .flash.success { background: #1f4720; color: #a8e6a3; }
.content-wrapper .flash.error   { background: #47201f; color: #e6a3a3; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .content-wrapper input[type="text"],
  .content-wrapper select {
    display: block;
    width: 100%;
    margin: 0.5rem 0 1rem;
  }
  .content-wrapper input[type="range"] { width: 100%; }
}


/* ==== Animated, Colored Checkboxes ==== */
.content-wrapper input[type="checkbox"] {
  /* remove default */
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #3b3d48;       /* neutral border */
  border-radius: 4px;
  background: #252a34;             /* panel background */
  position: relative;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.15s;
}

.content-wrapper input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 12px; height: 12px;
  background: #60a5fa;             /* accent color */
  border-radius: 2px;
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.2s ease-out;
}

.content-wrapper input[type="checkbox"]:hover {
  transform: scale(1.05);
  border-color: #60a5fa;
}

.content-wrapper input[type="checkbox"]:checked {
  border-color: #60a5fa;
  background: #3a86ff;
}

.content-wrapper input[type="checkbox"]:checked::before {
  transform: scale(1);
}

/* Optional: a subtle checkmark fade-in */
.content-wrapper input[type="checkbox"]::after {
  content: "✔";
  position: absolute;
  top: 0; left: 3px;
  font-size: 14px;
  line-height: 20px;
  color: white;
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.content-wrapper input[type="checkbox"]:checked::after {
  opacity: 1;
}


/* On very small screens, stack them */
@media (max-width: 600px) {
  .content-wrapper {
    flex-direction: column;
  }
  .content-wrapper .results ul {
    grid-template-columns: 1fr;
  }
}



/* hide extra cards */
.user-card.hidden {
  display: none;
}

/* style for your Show More button */
.btn-show-more {
  display: inline-block;
  margin: 1.5rem auto 0;
  padding: 0.6rem 1.4rem;
  background: #3a86ff;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: background 0.3s, transform 0.2s;
}
.btn-show-more:hover {
  background: #60a5fa;
  transform: translateY(-2px);
}




/* ==================== */
/* Profile Form Styling */
/* ==================== */

/* Fieldsets as panels */
.profile-container fieldset {
  border: 1px solid #3b3d48;
  background: #2e333d;
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.5);
}

/* Legends */
.profile-container legend {
  font-size: 1.3rem;
  font-weight: 700;
  color: #60a5fa;
  padding: 0 0.5rem;
  background: #2e333d;
  position: relative;
  top: -0.9rem;
}

/* Labels and grouping */
.profile-container label {
  display: inline-block;
  color: #c0c0c0;
  font-weight: 500;
  margin-bottom: 0.8rem;
  cursor: pointer;
  transition: color 0.2s ease;
}
.profile-container label:hover {
  color: #e0e0e0;
}

/* Text inputs, number inputs & selects */
.profile-container input[type="text"],
.profile-container input[type="number"],
.profile-container input[type="email"],
.profile-container input[type="password"],
.profile-container select {
  width: auto;
  max-width: 250px;
  padding: 0.5rem 0.75rem;
  margin-left: 0.5rem;
  margin-right: 1.5rem;
  border: 1px solid #3b3d48;
  border-radius: 6px;
  background: #252a34;
  color: #e0e0e0;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}
.profile-container input:focus,
.profile-container select:focus {
  outline: none;
  border-color: #60a5fa;
}

/* Checkbox & radio inputs */
.profile-container input[type="checkbox"],
.profile-container input[type="radio"] {
  accent-color: #60a5fa;
  margin-right: 0.5rem;
  width: 1.2rem;
  height: 1.2rem;
  vertical-align: middle;
}

/* Range sliders */
.profile-container input[type="range"] {
  -webkit-appearance: none;
  width: 180px;
  height: 6px;
  background: #3b3d48;
  border-radius: 3px;
  margin: 0 0.75rem 0.75rem 0;
}
.profile-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  background: #60a5fa;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
  cursor: pointer;
  transition: background 0.2s ease;
}
.profile-container input[type="range"]::-webkit-slider-thumb:hover {
  background: #3a86ff;
}

/* Textareas */
.profile-container textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #3b3d48;
  border-radius: 6px;
  background: #252a34;
  color: #e0e0e0;
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color 0.2s ease;
  margin-bottom: 1rem;
}
.profile-container textarea:focus {
  outline: none;
  border-color: #60a5fa;
}

/* Submit button */
.profile-container button.btn {
  margin-top: 1rem;
  background: #3a86ff;
  color: #fff;
  padding: 0.6rem 1.6rem;
  border: none;
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  font-weight: 600;
  transition: background 0.3s, transform 0.15s;
}
.profile-container button.btn:hover {
  background: #60a5fa;
  transform: translateY(-1px);
}

/* Flash messages */
.profile-container .flash {
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.profile-container .flash.success { background: #1f4720; color: #a8e6a3; }
.profile-container .flash.error   { background: #47201f; color: #e6a3a3; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .profile-container input[type="text"],
  .profile-container select {
    display: block;
    width: 100%;
    margin: 0.5rem 0 1rem;
  }
  .profile-container input[type="range"] { width: 100%; }
}


/* ==== Animated, Colored Checkboxes ==== */
.profile-container input[type="checkbox"] {
  /* remove default */
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #3b3d48;       /* neutral border */
  border-radius: 4px;
  background: #252a34;             /* panel background */
  position: relative;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.15s;
}

.profile-container input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 12px; height: 12px;
  background: #60a5fa;             /* accent color */
  border-radius: 2px;
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.2s ease-out;
}

.profile-container input[type="checkbox"]:hover {
  transform: scale(1.05);
  border-color: #60a5fa;
}

.profile-container input[type="checkbox"]:checked {
  border-color: #60a5fa;
  background: #3a86ff;
}

.profile-container input[type="checkbox"]:checked::before {
  transform: scale(1);
}

/* Optional: a subtle checkmark fade-in */
.profile-container input[type="checkbox"]::after {
  content: "✔";
  position: absolute;
  top: 0; left: 3px;
  font-size: 14px;
  line-height: 20px;
  color: white;
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.profile-container input[type="checkbox"]:checked::after {
  opacity: 1;
}


/* ============ */
/* Advanced Animations & Transitions */
/* ============ */

/* Smooth page transitions */
* {
  transition: all 0.2s ease-out;
}

/* Card hover animations */
.card:hover,
.user-card:hover,
.match-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Button animations */
.btn:hover {
  transform: translateY(-1px);
  transition: all 0.2s ease-out;
}

.btn:active {
  transform: translateY(0);
  transition: all 0.1s ease-out;
}

/* Swipe button pulse animation */
.swipe-btn-like:hover {
  animation: pulse-like 0.6s ease-in-out;
}

.swipe-btn-reject:hover {
  animation: pulse-reject 0.6s ease-in-out;
}

@keyframes pulse-like {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); box-shadow: 0 0 20px rgba(99, 91, 255, 0.4); }
  100% { transform: scale(1); }
}

@keyframes pulse-reject {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); box-shadow: 0 0 20px rgba(239, 68, 68, 0.4); }
  100% { transform: scale(1); }
}

/* Score badge animations */
.score-badge {
  animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page load animations */
.page-header {
  animation: fadeInUp 0.6s ease-out;
}

.card {
  animation: fadeInUp 0.7s ease-out;
}

.user-card {
  animation: fadeInScale 0.5s ease-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Loading spinner for buttons */
.btn.loading {
  position: relative;
  color: transparent;
}

.btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Match notification animation */
.match-notification {
  animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Progress bar animation */
.progress-fill {
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Form field focus animations */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease-out;
}

/* Toggle animations */
.toggle-content {
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.3s ease-out,
              padding 0.3s ease-out;
}

/* Floating action button */
.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  border: none;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1000;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
  background: var(--color-primary-hover);
}

/* Stagger animation for lists */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  animation: staggerIn 0.5s ease-out forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes staggerIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Hover effects for interactive elements */
.clickable {
  cursor: pointer;
  transition: all 0.2s ease-out;
}

.clickable:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

/* Success celebration animation */
.celebration {
  animation: celebrate 0.8s ease-out;
}

@keyframes celebrate {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.1) rotate(-5deg);
  }
  75% {
    transform: scale(1.1) rotate(5deg);
  }
}

/* Micro-interactions for better UX */
.tag:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease-out;
}

.avatar:hover {
  transform: scale(1.1);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Responsive animation adjustments */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============ */
/* Footer Styles */
/* ============ */

.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  margin-top: auto;
  z-index: 10;
  position: relative;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 2rem;
}

.footer-section h3 {
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-section h4 {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section ul li a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 2rem 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-tertiary);
  margin: 0;
}

.footer-social span {
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

/* ============ */
/* End of File  */
/* ============ */

/* Mobile Responsiveness for Stripe Navbar */
@media (max-width: 768px) {
  .navbar-container {
    padding: 0 var(--space-4);
  }
  
  .navbar-nav {
    display: none; /* Hide on mobile - could add hamburger menu */
  }
  
  .navbar-actions {
    gap: var(--space-2);
  }
  
  .btn-secondary,
  .btn-primary {
    padding: var(--space-1) var(--space-3);
    font-size: 14px;
  }
  
  .credits-display {
    padding: var(--space-1) var(--space-2);
    font-size: 12px;
  }
}

/* Stripe-style micro-interactions */
.stripe-navbar .navbar-content {
  animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced brand hover effect */
.brand-logo:hover .logo-icon {
  transform: rotate(15deg) scale(1.1);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-logo:hover .brand-text {
  color: var(--color-primary);
  transition: color 0.2s ease;
}

/* Subtle glow effect for active nav items */
.nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(99, 91, 255, 0.1);
  border-radius: var(--radius-lg);
  z-index: -1;
  box-shadow: 0 0 20px rgba(99, 91, 255, 0.2);
}

/* ============ */
/* Star Rating System */
/* ============ */

/* Star Rating Display */
.rating-display {
  text-align: center;
  padding: var(--space-3);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.stars-display {
  font-size: 1.2em;
  color: var(--color-warning);
  margin-bottom: var(--space-2);
}

.stars-display .star {
  margin: 0 1px;
}

.stars-display .star.filled {
  color: #ffd700;
}

.stars-display .star.empty {
  color: #e5e7eb;
}

.rating-comment {
  font-style: italic;
  background: var(--bg-primary);
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-primary);
}

/* Star Rating Input - Simplified and Working */
.star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 2px;
  margin: var(--space-2) 0;
}

.star-rating-input input[type="radio"] {
  display: none;
}

.star-rating-input .star-label {
  font-size: 1.5em;
  color: #e5e7eb;
  cursor: pointer;
  transition: color 0.2s ease;
  user-select: none;
}

/* Hover effects */
.star-rating-input .star-label:hover {
  color: #ffd700;
}

.star-rating-input .star-label:hover ~ .star-label {
  color: #ffd700;
}

/* Selected state */
.star-rating-input input[type="radio"]:checked + .star-label {
  color: #ffd700;
}

.star-rating-input input[type="radio"]:checked + .star-label ~ .star-label {
  color: #ffd700;
}

.star-rating-input input[type="radio"]:nth-of-type(1) + .star-label {
  order: 5;
}

.star-rating-input input[type="radio"]:nth-of-type(2) + .star-label {
  order: 4;
}

.star-rating-input input[type="radio"]:nth-of-type(3) + .star-label {
  order: 3;
}

.star-rating-input input[type="radio"]:nth-of-type(4) + .star-label {
  order: 2;
}

.star-rating-input input[type="radio"]:nth-of-type(5) + .star-label {
  order: 1;
}

/* Alternative simpler approach */
.star-rating-simple {
  display: flex;
  justify-content: center;
  gap: 2px;
}

.star-rating-simple input {
  display: none;
}

.star-rating-simple label {
  font-size: 1.5em;
  color: #e5e7eb;
  cursor: pointer;
  transition: color 0.2s;
}

.star-rating-simple input:checked + label,
.star-rating-simple input:checked + label ~ label {
  color: #ffd700;
}

.star-rating-simple label:hover,
.star-rating-simple label:hover ~ label {
  color: #ffd700;
}

/* User Card Star Display */
.user-card-rating {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  font-size: 0.9em;
}

.user-card-rating .stars {
  color: #ffd700;
}

.user-card-rating .rating-text {
  color: var(--text-muted);
  font-size: 0.85em;
}

/* Mobile responsiveness for rating */
@media (max-width: 768px) {
  .star-rating-input .star-label,
  .star-rating-simple label {
    font-size: 1.3em;
  }
  
  .rating-display {
    padding: var(--space-2);
  }
  
  .stars-display {
    font-size: 1.1em;
  }
}

/* Enhanced Contact Sharing Styles */
.contact-sharing-prompt {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
  margin: var(--space-4) 0;
  transition: all 0.3s ease;
}

.contact-sharing-prompt:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 91, 255, 0.15);
}

.sharing-status-info {
  margin-bottom: 1rem;
}

.sharing-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

.credit-badge {
  display: inline-block;
  background: rgba(99, 91, 255, 0.1);
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(99, 91, 255, 0.2);
}

.share-contact-btn {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(99, 91, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.share-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 91, 255, 0.4);
  background: linear-gradient(135deg, var(--color-primary-hover), #4c44f0);
}

.btn-icon {
  font-size: 1.1rem;
}

/* Waiting for Contact Sharing Styles */
.waiting-for-contact {
  background: linear-gradient(135deg, #fff5e6 0%, #ffeaa7 100%);
  border: 2px solid var(--color-warning);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
  margin: var(--space-4) 0;
}

.waiting-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Contact Shared Success Styles */
.contact-shared-success {
  background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
  border: 2px solid var(--color-success);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
  margin: var(--space-4) 0;
}

.success-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--color-success);
}

.view-contact-btn {
  background: linear-gradient(135deg, var(--color-success), #00c920);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 217, 36, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  text-decoration: none;
}

.view-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 217, 36, 0.4);
  color: white;
  text-decoration: none;
}

/* Profile Page Styles */
/* =================== */

.profile-header {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--bg-secondary) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  margin-bottom: var(--space-8);
  border: 1px solid var(--border-light);
}

.profile-header-content {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-lg);
}

.avatar-text {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
}

.profile-header-info {
  flex: 1;
}

.profile-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-2) 0;
}

.profile-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0 0 var(--space-4) 0;
}

.profile-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.9rem;
}

.status-complete {
  background: rgba(0, 217, 36, 0.1);
  color: var(--color-success);
  border: 1px solid var(--color-success);
}

.status-incomplete {
  background: rgba(255, 185, 70, 0.1);
  color: var(--color-warning);
  border: 1px solid var(--color-warning);
}

.status-icon {
  font-size: 1rem;
}

/* Personality Dashboard */
.personality-dashboard {
  margin-bottom: var(--space-8);
}

.personality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.personality-radar-section {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--border-light);
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-6) 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.radar-chart-container {
  position: relative;
  height: 400px;
  margin-bottom: var(--space-4);
}

.chart-controls {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
}

.personality-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.stat-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

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

.stat-card-primary::before {
  background: linear-gradient(135deg, var(--color-primary) 0%, #818cf8 100%);
}

.stat-card-success::before {
  background: linear-gradient(135deg, var(--color-success) 0%, #34d399 100%);
}

.stat-card-purple::before {
  background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
}

.stat-card-orange::before {
  background: linear-gradient(135deg, #ea580c 0%, #fb923c 100%);
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.stat-card-primary .stat-value {
  color: var(--color-primary);
}

.stat-card-success .stat-value {
  color: var(--color-success);
}

.stat-card-purple .stat-value {
  color: #a855f7;
}

.stat-card-orange .stat-value {
  color: #ea580c;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Personality Insights */
.personality-insights {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--border-light);
}

.insights-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-5) 0;
}

.insight-section {
  margin-bottom: var(--space-4);
}

.insight-section:last-child {
  margin-bottom: 0;
}

.insight-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 var(--space-2) 0;
}

.insight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.insight-tag {
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
}

.strength-tag {
  background: rgba(0, 217, 36, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(0, 217, 36, 0.3);
}

.work-tag {
  background: rgba(99, 91, 255, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(99, 91, 255, 0.3);
}

.role-tag {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Assessment CTA */
.assessment-cta {
  margin-bottom: var(--space-8);
}

.cta-content {
  text-align: center;
  padding: var(--space-10);
}

.cta-icon {
  font-size: 4rem;
  margin-bottom: var(--space-4);
  opacity: 0.8;
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-3) 0;
}

.cta-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0 0 var(--space-6) 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .profile-header-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-4);
  }
  
  .profile-title {
    font-size: 1.5rem;
  }
  
  .personality-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  
  .chart-controls {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Profile Form Styles */
.profile-form-section {
  margin-bottom: var(--space-8);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.form-section {
  width: 100%;
}

.form-groups {
  padding: var(--space-6);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  font-size: 0.95rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: all 0.2s ease;
  background: var(--bg-primary);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

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

/* Skills Grid */
.skills-grid,
.interests-grid,
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.skill-option,
.interest-option,
.project-option {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--bg-primary);
}

.skill-option:hover,
.interest-option:hover,
.project-option:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.skill-option input:checked + .skill-label,
.interest-option input:checked + .interest-label,
.project-option input:checked + .project-label {
  color: var(--color-primary);
  font-weight: 600;
}

.skill-checkbox:checked + .skill-label {
  color: var(--color-primary);
  font-weight: 600;
}

.skill-label,
.interest-label,
.project-label {
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-8);
  padding: var(--space-6);
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
}

/* Responsive Form */
@media (max-width: 768px) {
  .form-group-row {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .skills-grid,
  .interests-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .form-actions .btn {
    width: 100%;
  }
}

/* Settings Contact Sharing Enhancement */
.settings-contact-section {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin: var(--space-8) 0;
}

.contact-action-buttons {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

.contact-action-buttons .btn {
  min-width: 140px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

/* Mobile Responsiveness for Contact Sharing */
@media (max-width: 768px) {
  .contact-sharing-prompt {
    padding: 1rem;
  }
  
  .contact-action-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .contact-action-buttons .btn {
    width: 100%;
    min-width: auto;
  }
  
  .share-contact-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
}
