/* ============================================================
   Haircameleons — Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ---- Design Tokens ---- */
:root {
  --primary:        #6D28D9;
  --primary-dark:   #4C1D95;
  --primary-light:  #EDE9FE;
  --primary-mid:    #7C3AED;
  --accent:         #F59E0B;
  --accent-dark:    #D97706;
  --accent-light:   #FEF3C7;

  --text:           #111827;
  --text-muted:     #6B7280;
  --text-subtle:    #9CA3AF;

  --bg:             #F9FAFB;
  --bg-alt:         #F3F4F6;
  --white:          #FFFFFF;

  --border:         #E5E7EB;
  --border-focus:   #6D28D9;

  --error:          #EF4444;
  --error-bg:       #FEE2E2;
  --error-border:   #FECACA;
  --success:        #10B981;
  --success-bg:     #D1FAE5;
  --success-border: #A7F3D0;

  --radius-sm:      6px;
  --radius:         12px;
  --radius-lg:      18px;
  --radius-xl:      24px;

  --shadow-sm:      0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:         0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-md:      0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.05);
  --shadow-lg:      0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.05);
  --shadow-xl:      0 25px 50px -12px rgba(0,0,0,.18);

  --nav-height:     64px;
  --transition:     all .2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: box-shadow .3s ease;
}

nav.scrolled {
  box-shadow: 0 4px 20px rgba(109, 40, 217, .08);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.nav-brand:hover { text-decoration: none; opacity: 0.9; }

.nav-brand img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav-brand-text { color: var(--text); }
.nav-brand-text span { color: var(--primary); }

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
  text-decoration: none;
}

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

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.container-sm {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover:not(:disabled) {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(109, 40, 217, .35);
  text-decoration: none;
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover:not(:disabled) {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, .35);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn-outline:hover:not(:disabled) {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.8);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover:not(:disabled) {
  background: var(--primary-light);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--bg-alt);
  color: var(--text);
  text-decoration: none;
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.825rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-danger {
  background: #FEE2E2;
  color: #991B1B;
  border-color: #FECACA;
}
.btn-danger:hover:not(:disabled) {
  background: #FECACA;
  text-decoration: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-mid) 100%);
  color: var(--white);
  text-align: center;
  padding: 6rem 1.5rem 5rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

/* Decorative blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
}
.hero-blob-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #F59E0B, transparent);
  top: -120px; right: -80px;
}
.hero-blob-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #8B5CF6, transparent);
  bottom: -100px; left: -60px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.88;
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Decorative scissors visual below hero buttons */
.hero-visual {
  position: relative;
  margin-top: 3.5rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.hero-visual-line {
  height: 2px;
  width: 120px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,.3), transparent);
  border-radius: 2px;
}

.hero-visual-scissors {
  font-size: 2rem;
  opacity: 0.6;
  animation: bob 3s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(-5deg); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 2rem 1.5rem;
}

.stats-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.stats-bar-item {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 0.75rem 1.5rem;
  position: relative;
}

.stats-bar-item + .stats-bar-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

.stats-bar-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stats-bar-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* ============================================================
   SECTION GENERIC
   ============================================================ */
.section {
  padding: 5rem 1.5rem;
}

.section-alt {
  background: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}

.section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.section-title p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   HOW IT WORKS / STEPS
   ============================================================ */
.steps-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.step-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   FEATURES SECTION (original compatibility)
   ============================================================ */
.features {
  padding: 5rem 1.5rem;
  background: var(--white);
}

.features h2 {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
}

.features-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  background: var(--white);
}

.feature-icon { font-size: 2.25rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* ============================================================
   BENEFIT LIST SECTION
   ============================================================ */
.benefits-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.benefit-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.benefit-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; max-width: 580px; margin: 0 auto; }

.cta-section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.05rem;
  opacity: 0.88;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-btns {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-tagline {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  max-width: 220px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 0.75rem;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,.65);
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--white);
  text-decoration: none;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,.4);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* ============================================================
   MODEL CARDS
   ============================================================ */
.model-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.model-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #C4B5FD;
}

.model-card-avatar {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #DDD6FE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.model-card-avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(109, 40, 217, .08));
}

.model-card-body { padding: 1.25rem; }
.model-card-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--text); }
.model-card-meta { color: var(--text-muted); font-size: 0.825rem; margin-bottom: 0.75rem; line-height: 1.6; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.badge-model   { background: var(--primary-light); color: var(--primary-dark); }
.badge-student { background: var(--accent-light); color: #92400E; }
.badge-pending   { background: var(--accent-light); color: #92400E; }
.badge-accepted  { background: #D1FAE5; color: #065F46; }
.badge-rejected  { background: #FEE2E2; color: #991B1B; }
.badge-completed { background: #DBEAFE; color: #1E40AF; }

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  border: 1px solid transparent;
}

.alert-error   { background: var(--error-bg);   color: #991B1B; border-color: var(--error-border); }
.alert-success { background: var(--success-bg); color: #065F46; border-color: var(--success-border); }
.alert-info    { background: #EFF6FF; color: #1E40AF; border-color: #BFDBFE; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group label .hint {
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 0.3rem;
}

input, select, textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text);
  transition: var(--transition);
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}

input::placeholder, textarea::placeholder {
  color: var(--text-subtle);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, .1);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-wrapper {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(160deg, var(--primary-light) 0%, var(--bg) 50%);
}

.auth-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  padding: 2.75rem;
  width: 100%;
  max-width: 460px;
}

.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.auth-logo a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.auth-logo img {
  width: 36px;
  height: 36px;
}

.auth-box h1 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  letter-spacing: -0.03em;
  text-align: center;
}

.auth-box .subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 1.75rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--text-subtle);
  font-size: 0.8rem;
}

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

/* ============================================================
   ROLE TOGGLE
   ============================================================ */
.role-toggle {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: var(--bg);
}

.role-toggle input[type="radio"] { display: none; }

.role-toggle label {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition);
  background: transparent;
}

.role-toggle input:checked + label {
  background: var(--primary);
  color: var(--white);
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 2.25rem 1.5rem;
  margin-bottom: 2rem;
}

.page-header-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-header h1 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.page-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================================
   PROFILE PAGE
   ============================================================ */
.profile-header {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light) 0%, #C4B5FD 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary-light);
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info h1 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
}

.profile-info .role {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.profile-location {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================================
   DASHBOARD
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.stat-card .stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-card .stat-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.35rem;
  line-height: 1.3;
}

/* Section header row */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Booking list */
.booking-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.booking-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.booking-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.booking-info { flex: 1; min-width: 180px; }
.booking-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.2rem; }
.booking-meta { color: var(--text-muted); font-size: 0.825rem; line-height: 1.5; }
.booking-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, .6);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-xl);
  animation: modalIn .2s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(.96) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal h2 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.empty-state p {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 340px;
  margin: 0 auto;
}

/* ============================================================
   SPINNER
   ============================================================ */
.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin: 2.5rem auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 2rem; }
  .stats-bar-item + .stats-bar-item::before { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { padding: 4rem 1.25rem 3.5rem; }
  .hero h1 { font-size: 2rem; }

  .nav-links .hide-mobile { display: none; }

  .auth-box { padding: 2rem 1.5rem; }

  .stats-bar-inner { flex-direction: column; gap: 1rem; }
  .stats-bar-item + .stats-bar-item::before { display: none; }
  .stats-bar-item { padding: 0.5rem; }

  .page-header { padding: 1.5rem 1.25rem; }

  .profile-header { gap: 1.25rem; }
  .profile-avatar { width: 76px; height: 76px; font-size: 2rem; }

  .modal { padding: 1.75rem 1.25rem; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; }

  .features-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }

  .section-header { flex-direction: column; align-items: flex-start; }
}
