/* ===== APNAWORKER — MAIN STYLESHEET ===== */
/* Global Variables & Reset */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --accent: #06b6d4;
  --accent2: #8b5cf6;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --bg: #0f172a;
  --bg2: #1e293b;
  --bg3: #0a0f1e;
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.08);
  --glass-blur: blur(20px);

  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-faint: #475569;

  --gradient: linear-gradient(135deg, var(--primary), var(--accent));
  --gradient2: linear-gradient(135deg, var(--primary), var(--accent2));
  --gradient-bg: linear-gradient(135deg, var(--primary), var(--accent));

  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 30px rgba(37,99,235,0.3);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);

  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Mode Variables */
body:not(.dark-mode) {
  --bg: #f8fafc;
  --bg2: #f1f5f9;
  --bg3: #e2e8f0;
  --card-bg: rgba(255,255,255,0.8);
  --card-border: rgba(0,0,0,0.08);
  --text: #0f172a;
  --text-muted: #475569;
  --text-faint: #94a3b8;
  --shadow: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
}

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: 'Poppins', sans-serif; border: none; background: none; }
input, textarea, select { font-family: 'Poppins', sans-serif; }

/* === UTILITY === */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg {
  background: var(--gradient);
  color: white;
}

/* === GLASS CARD === */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: var(--transition);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37,99,235,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,99,235,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 1.5px solid var(--primary-light);
}
.btn-outline:hover {
  background: rgba(37,99,235,0.1);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 12px; }

/* === SECTIONS === */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background: rgba(37,99,235,0.15);
  color: var(--primary-light);
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: 100px;
  padding: 4px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}

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

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

#heroCanvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(37,99,235,0.15) 0%, transparent 70%),
              linear-gradient(to bottom, rgba(15,23,42,0.3) 0%, rgba(15,23,42,0.9) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.3);
  color: #93c5fd;
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease both;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  color: white;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

/* SEARCH BAR */
.search-container {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 8px;
  border-radius: 16px;
  margin: 0 auto 40px;
  max-width: 700px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  padding: 8px 16px;
}

.search-icon { color: var(--primary-light); font-size: 1rem; }

.search-input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  width: 100%;
}
.search-input::placeholder { color: var(--text-muted); }

.search-divider {
  width: 1px;
  height: 40px;
  background: var(--card-border);
}

.search-btn { margin: 0; border-radius: 10px; padding: 12px 24px; }

/* HERO STATS */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  animation: fadeInUp 0.8s ease 0.8s both;
  flex-wrap: wrap;
  gap: 8px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}
.stat-number { font-size: 1.8rem; font-weight: 800; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }
.stat-divider { width: 1px; height: 50px; background: var(--card-border); }

/* SCROLL INDICATOR */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  z-index: 2;
  animation: fadeInUp 1s ease 1.2s both;
}
.scroll-mouse {
  width: 24px; height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 4px; height: 8px;
  background: var(--primary-light);
  border-radius: 4px;
  animation: scrollWheel 2s ease infinite;
}
@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* === CATEGORIES SECTION === */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.category-card {
  background: var(--card-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}
.category-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37,99,235,0.5);
  box-shadow: var(--shadow-glow);
}
.category-card:hover::before { opacity: 0.08; }

.category-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  display: block;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.category-card:hover .category-icon { transform: scale(1.15); }
.category-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  position: relative;
  z-index: 1;
}
.category-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

/* === HOW IT WORKS === */
.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.step-card {
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  padding: 40px 24px;
  text-align: center;
  transition: var(--transition);
}
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow); }
.step-number { font-size: 3rem; font-weight: 900; opacity: 0.3; margin-bottom: 8px; }
.step-icon {
  width: 60px; height: 60px;
  background: rgba(37,99,235,0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-light);
  margin: 0 auto 16px;
}
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: 0.875rem; }
.step-arrow { color: var(--text-faint); font-size: 1.2rem; padding: 0 8px; }

/* === WORKER CARDS === */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gradient);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}

.workers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.worker-card {
  background: var(--card-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  transform-style: preserve-3d;
  position: relative;
}
.worker-card:hover {
  transform: translateY(-10px) rotateX(2deg);
  border-color: rgba(37,99,235,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--shadow-glow);
}

.worker-card-header {
  padding: 24px 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.worker-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  position: relative;
}
.verified-badge {
  position: absolute;
  bottom: -2px; right: -2px;
  width: 20px; height: 20px;
  background: var(--success);
  border: 2px solid var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: white;
}
.worker-meta { flex: 1; }
.worker-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.worker-skill {
  font-size: 0.8rem;
  color: var(--primary-light);
  background: rgba(37,99,235,0.1);
  padding: 2px 10px;
  border-radius: 100px;
  display: inline-block;
}
.worker-location { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.worker-location i { color: var(--danger); margin-right: 4px; }

.worker-card-body {
  padding: 16px 24px;
}
.worker-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.stars { color: var(--warning); font-size: 0.85rem; }
.rating-val { font-weight: 600; font-size: 0.9rem; }
.rating-count { color: var(--text-muted); font-size: 0.8rem; }

.worker-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.worker-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  padding: 3px 10px;
  border-radius: 100px;
}

.worker-card-footer {
  padding: 16px 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--card-border);
}
.worker-price { font-size: 1.1rem; font-weight: 700; }
.worker-price small { font-size: 0.7rem; color: var(--text-muted); font-weight: 400; }
.worker-jobs { font-size: 0.78rem; color: var(--text-muted); }

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  padding: 28px;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-6px); }
.testimonial-stars { color: var(--warning); margin-bottom: 14px; }
.testimonial-text { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1rem;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }

/* === CTA SECTION === */
.cta-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-content {
  padding: 60px 40px;
  text-align: center;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(37,99,235,0.3);
}
.cta-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.cta-subtitle { color: var(--text-muted); margin-bottom: 36px; font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === FOOTER === */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--card-border);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 280px;
}
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-link:hover { background: var(--gradient); border-color: transparent; color: white; transform: translateY(-3px); }

.footer-links h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 20px; color: var(--text); }
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-muted); font-size: 0.875rem; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-light); }

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-developer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.dev-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(37,99,235,0.4);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  flex-shrink: 0;
}

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

.dev-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.dev-name {
  font-weight: 600;
  color: var(--text);
}

.dev-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.dev-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.dev-links a {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.dev-links a:hover { color: white; }

.footer-copy { color: var(--text-muted); }

/* === PAGE HEADER === */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, transparent 100%);
  border-bottom: 1px solid var(--card-border);
  text-align: center;
}
.page-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 8px; }
.page-subtitle { color: var(--text-muted); }

/* === WORKERS PAGE LAYOUT === */
.workers-page {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 80px;
  align-items: start;
}
.filter-sidebar { padding: 28px; position: sticky; top: 90px; }
.filter-title { font-size: 1rem; font-weight: 700; margin-bottom: 24px; display: flex; align-items: center; gap: 8px; }
.filter-section { margin-bottom: 24px; }
.filter-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; display: block; }
.checkbox-group { display: flex; flex-direction: column; gap: 10px; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; cursor: pointer; color: var(--text-muted); }
.checkbox-label input[type="checkbox"] { accent-color: var(--primary); }
.rating-filter { display: flex; flex-direction: column; gap: 8px; }
.rating-filter input[type="range"] { accent-color: var(--primary); width: 100%; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range .form-input { width: 80px; }

.results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.results-count { color: var(--text-muted); font-size: 0.875rem; }
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  transition: var(--transition);
}
.view-btn.active { background: var(--gradient); color: white; border-color: transparent; }

/* === FORM STYLES === */
.form-group { margin-bottom: 20px; }
.form-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 8px; }
.form-error { font-size: 0.78rem; color: var(--danger); display: block; margin-top: 4px; }
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 14px 12px 42px;
  color: var(--text);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-input:focus {
  border-color: var(--primary);
  background: rgba(37,99,235,0.05);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-input::placeholder { color: var(--text-muted); }
.form-select { padding-left: 42px; cursor: pointer; }
.form-textarea { padding-left: 14px; resize: vertical; min-height: 100px; }
.toggle-password {
  position: absolute;
  right: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.toggle-password:hover { color: var(--primary-light); }
.form-row { display: flex; align-items: center; justify-content: space-between; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.forgot-link { font-size: 0.82rem; color: var(--primary-light); }

/* === AUTH PAGES === */
.auth-page { background: var(--bg3); }
#authCanvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.auth-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 100px 24px 40px;
}
.auth-card {
  width: 100%;
  max-width: 480px;
  padding: 48px 40px;
}
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-icon-wrap {
  width: 60px; height: 60px;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}
.auth-header h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 6px; }
.auth-header p { color: var(--text-muted); font-size: 0.9rem; }
.social-auth { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.social-btn {
  width: 100%;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text);
  transition: var(--transition);
  border: 1px solid var(--card-border);
}
.social-btn:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.auth-divider {
  text-align: center;
  position: relative;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--card-border);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }
.auth-footer-text { text-align: center; color: var(--text-muted); font-size: 0.875rem; margin-top: 24px; }

/* PASSWORD STRENGTH */
.password-strength { margin-top: 8px; display: flex; align-items: center; gap: 10px; }
.strength-bar { flex: 1; height: 4px; background: var(--card-border); border-radius: 4px; overflow: hidden; }
.strength-fill { height: 100%; width: 0; border-radius: 4px; transition: var(--transition); }
#strengthText { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }

/* ROLE SELECTOR */
.role-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.role-option {
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
}
.role-option i { font-size: 1.6rem; color: var(--text-muted); margin-bottom: 8px; display: block; transition: var(--transition); }
.role-option span { font-size: 0.9rem; font-weight: 600; display: block; margin-bottom: 4px; }
.role-option small { font-size: 0.75rem; color: var(--text-muted); }
.role-option.active {
  border-color: var(--primary);
  background: rgba(37,99,235,0.1);
}
.role-option.active i { color: var(--primary-light); }
.role-option:hover { border-color: var(--primary-light); }

/* === BOOKING PAGE === */
.booking-page { padding: 40px 0 80px; }
.booking-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 8px;
}
.booking-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.step-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.booking-step.active .step-circle {
  background: var(--gradient);
  border-color: transparent;
  color: white;
  box-shadow: 0 0 20px rgba(37,99,235,0.5);
}
.booking-step.done .step-circle {
  background: var(--success);
  border-color: transparent;
  color: white;
}
.booking-step span { font-size: 0.75rem; color: var(--text-muted); }
.booking-step.active span { color: var(--primary-light); font-weight: 600; }
.step-line { width: 60px; height: 2px; background: var(--card-border); margin: 0 8px; margin-bottom: 20px; }

.booking-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.booking-step-panel { padding: 36px; display: none; }
.booking-step-panel.active { display: block; }
.step-panel-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 28px; display: flex; align-items: center; gap: 10px; }

.service-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin-bottom: 24px; }
.service-option-btn {
  padding: 20px 10px;
  text-align: center;
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
  background: var(--card-bg);
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
}
.service-option-btn i { font-size: 1.6rem; display: block; margin-bottom: 8px; color: var(--text-muted); }
.service-option-btn span { font-size: 0.78rem; font-weight: 500; }
.service-option-btn.active, .service-option-btn:hover {
  border-color: var(--primary);
  background: rgba(37,99,235,0.1);
}
.service-option-btn.active i { color: var(--primary-light); }

.time-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.time-slot {
  padding: 10px 6px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--card-border);
  border-radius: 8px;
  transition: var(--transition);
  color: var(--text-muted);
}
.time-slot:hover, .time-slot.active {
  border-color: var(--primary);
  background: rgba(37,99,235,0.1);
  color: var(--primary-light);
}
.step-nav { display: flex; gap: 12px; margin-top: 24px; }

/* Booking Sidebar */
.booking-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 90px; }
.selected-worker { padding: 20px; }
.selected-worker h4 { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 16px; }
.mini-worker-card { display: flex; align-items: center; gap: 12px; }
.mini-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}
.price-breakdown { padding: 20px; }
.price-breakdown h4 { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 16px; }
.price-row { display: flex; justify-content: space-between; font-size: 0.875rem; margin-bottom: 10px; }
.price-total { font-weight: 700; font-size: 1rem; }
.price-divider { height: 1px; background: var(--card-border); margin: 12px 0; }
.price-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 10px; }

/* Booking Summary */
.booking-summary { background: rgba(255,255,255,0.03); border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--card-border); font-size: 0.875rem; }
.summary-row:last-child { border: none; }
.summary-label { color: var(--text-muted); }
.summary-value { font-weight: 500; }

/* Success Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.success-modal {
  max-width: 440px;
  width: 100%;
  padding: 48px 40px;
  text-align: center;
}
.success-animation { margin-bottom: 24px; }
.checkmark-circle {
  width: 80px; height: 80px;
  background: rgba(16,185,129,0.15);
  border: 2px solid var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  animation: scaleIn 0.5s ease both;
}
.checkmark-icon { font-size: 2rem; color: var(--success); }
@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.success-modal h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; }
.success-modal p { color: var(--text-muted); margin-bottom: 16px; }
.booking-id {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Modal for Worker Profile */
.modal-card {
  max-width: 640px;
  width: 100%;
  padding: 40px;
  max-height: 90vh;
  overflow-y: auto;
}

/* === DASHBOARD PAGE === */
.dashboard-page {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
  padding-top: 75px;
}
.dashboard-sidebar {
  padding: 28px;
  border-radius: 0;
  border-right: 1px solid var(--card-border);
  border-top: none;
  border-left: none;
  border-bottom: none;
  position: sticky;
  top: 75px;
  height: calc(100vh - 75px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  backdrop-filter: var(--glass-blur);
  background: var(--card-bg);
}
.dash-user-info { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--card-border); }
.dash-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
  flex-shrink: 0;
}
.dash-user-info strong { display: block; font-size: 0.95rem; }
.dash-user-info span { font-size: 0.78rem; color: var(--text-muted); }
.dash-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
}
.dash-nav-item:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.dash-nav-item.active { background: rgba(37,99,235,0.12); color: var(--primary-light); }

.dashboard-main { padding: 40px 48px 80px; }
.dash-section { display: none; }
.dash-section.active { display: block; }
.dash-section-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 28px; }
.dash-subsection-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; margin-top: 32px; }

.dash-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.dash-stat-card { padding: 20px; display: flex; align-items: center; gap: 16px; }
.dash-stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.dash-stat-value { display: block; font-size: 1.6rem; font-weight: 800; }
.dash-stat-label { font-size: 0.78rem; color: var(--text-muted); }

/* Bookings Table */
.bookings-table { overflow: hidden; }
.table-header { display: grid; grid-template-columns: 2fr 1.5fr 1fr 1fr 1fr; padding: 14px 20px; background: rgba(255,255,255,0.03); font-size: 0.78rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.table-row { display: grid; grid-template-columns: 2fr 1.5fr 1fr 1fr 1fr; padding: 16px 20px; border-top: 1px solid var(--card-border); font-size: 0.875rem; align-items: center; transition: var(--transition); }
.table-row:hover { background: rgba(255,255,255,0.03); }

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
}
.status-badge.completed { background: rgba(16,185,129,0.15); color: var(--success); }
.status-badge.pending { background: rgba(245,158,11,0.15); color: var(--warning); }
.status-badge.active { background: rgba(37,99,235,0.15); color: var(--primary-light); }
.status-badge.cancelled { background: rgba(239,68,68,0.15); color: var(--danger); }

/* Profile Form */
.profile-form { padding: 32px; max-width: 560px; }

/* Booking tabs */
.booking-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }

/* === ICON BUTTON === */
.icon-btn {
  width: 40px; height: 40px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.icon-btn:hover { background: rgba(37,99,235,0.1); color: var(--primary-light); border-color: var(--primary); }

/* === BADGE === */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.badge-verified { background: rgba(16,185,129,0.15); color: var(--success); }

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0.4); }
  50% { box-shadow: 0 0 0 10px rgba(37,99,235,0); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating particles for CTA */
.cta-bg-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }