/* ===== Force light mode ===== */
:root { color-scheme: light; }

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

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --green: #10b981;
  --green-light: #ecfdf5;
  --orange: #f59e0b;
  --orange-light: #fffbeb;
  --red: #ef4444;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,.1), 0 8px 10px rgba(0,0,0,.04);
  --transition: .2s ease;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; }
input, select, textarea { font: inherit; }

/* ===== Scroll Animations ===== */
.section-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Header / Navbar ===== */
.navbar {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.5px;
}

.logo span { color: var(--gray-800); }

.nav-links { display: flex; align-items: center; gap: 8px; }

.nav-links a, .nav-links button {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
  background: none;
  border: none;
}

.nav-links a:hover, .nav-links button:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.nav-links .btn-primary {
  background: var(--primary);
  color: #fff;
}

.nav-links .btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}

.menu-toggle svg { width: 24px; height: 24px; stroke: var(--gray-700); }

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-links button { width: 100%; text-align: center; }
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 100px 24px 80px;
  max-width: 100%;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.75), rgba(37, 99, 235, 0.6)),
    url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920&q=80&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--gray-50));
}

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

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero h1 em {
  font-style: normal;
  color: #60a5fa;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  max-width: 520px;
  margin: 0 auto 32px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 24px;
}

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

.hero-stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
}

.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Hero Trust */
.hero-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-trust span {
  font-size: .85rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  transition: var(--transition);
}

.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

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

.btn-secondary { background: #fff; color: var(--gray-700); border: 1px solid var(--gray-300); }
.btn-secondary:hover { background: var(--gray-100); transform: translateY(-1px); }

.btn-sm { padding: 8px 16px; font-size: .85rem; border-radius: 8px; }

.btn-ghost { background: none; border: none; color: var(--gray-500); padding: 8px 12px; }
.btn-ghost:hover { color: var(--gray-800); background: var(--gray-100); }

.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { opacity: .9; }

/* Favorite Button */
.btn-fav {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s;
  padding: 4px;
  line-height: 1;
}

.btn-fav:hover { transform: scale(1.2); }
.btn-fav.active { animation: heartPulse 0.3s ease; }

@keyframes heartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* ===== Section Titles ===== */
.section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Feature Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
}

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

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.feature-card p {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== Category Grid ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.category-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

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

.category-card-icon { font-size: 1.8rem; }
.category-card-name { font-size: .9rem; font-weight: 600; color: var(--gray-800); }
.category-card-count { font-size: .75rem; color: var(--gray-400); }

/* ===== Avatar ===== */
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ===== Applicant Card ===== */
.applicant-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.applicant-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* ===== How-It-Works ===== */
.how-it-works {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
}

.how-it-works h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--gray-900);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

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

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.step h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--gray-500); }

/* ===== Job Card Category Icon ===== */
.job-card-cat-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ===== Search / Filter Bar ===== */
.search-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 0;
}

.search-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.search-bar input, .search-bar select {
  flex: 1;
  min-width: 150px;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--gray-50);
  transition: var(--transition);
}

.search-bar input:focus, .search-bar select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

/* ===== Job Cards ===== */
.jobs-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

.job-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 8px;
}

.job-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-green { background: var(--green-light); color: var(--green); }
.badge-orange { background: var(--orange-light); color: var(--orange); }
.badge-blue { background: var(--primary-light); color: var(--primary); }

.job-card-body { flex: 1; }
.job-card-body p { font-size: .9rem; color: var(--gray-500); margin-bottom: 16px; }

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .85rem;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.job-meta span { display: flex; align-items: center; gap: 4px; }

.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.job-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
}

.job-price small {
  font-size: .8rem;
  font-weight: 400;
  color: var(--gray-400);
}

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

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

.modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
}

.modal-header h2 { font-size: 1.2rem; font-weight: 700; }

.modal-close {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: var(--transition);
  font-size: 1.4rem;
}

.modal-close:hover { background: var(--gray-100); color: var(--gray-700); }

.modal-body { padding: 24px; }

/* ===== Forms ===== */
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--gray-50);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

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

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

/* ===== Profile / My Jobs ===== */
.page-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 0;
}

.page-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.page-header p { color: var(--gray-500); }

.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--gray-200);
  margin: 24px 0 0;
}

.tab {
  padding: 10px 20px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-500);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}

.tab:hover { color: var(--gray-700); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ===== Empty State ===== */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--gray-400);
}

.empty-state svg { width: 48px; height: 48px; margin-bottom: 16px; opacity: .5; }
.empty-state p { margin-bottom: 16px; }

/* ===== Toast ===== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--gray-900);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: .9rem;
  box-shadow: var(--shadow-lg);
  animation: slideIn .3s ease;
}

.toast.success { background: var(--green); }
.toast.error { background: var(--red); }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===== Detail View ===== */
.job-detail {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px;
}

.job-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-500);
  font-size: .9rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.job-detail-back:hover { color: var(--primary); }

.job-detail h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.job-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: .9rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}

.job-detail-meta span { display: flex; align-items: center; gap: 6px; }

.job-detail-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 32px;
}

.job-detail-sidebar {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.job-detail-sidebar .price {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.job-detail-sidebar .price small {
  font-size: .85rem;
  font-weight: 400;
  color: var(--gray-400);
}

.job-detail-sidebar .posted-by {
  font-size: .9rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}

/* ===== Footer (Full) ===== */
.footer-full {
  background: var(--gray-900);
  color: var(--gray-400);
  margin-top: 60px;
  padding: 48px 0 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.footer-logo span { color: #fff; }

.footer-desc {
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--gray-400);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: #fff;
}

.footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: .875rem;
  color: var(--gray-400);
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px;
  margin-top: 40px;
  border-top: 1px solid var(--gray-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: .8rem;
  color: var(--gray-500);
}

.footer-trust {
  display: flex;
  gap: 20px;
}

.footer-trust span {
  font-size: .8rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero { padding: 60px 24px 50px; }
  .hero-stats { gap: 24px; }
  .hero-stat-number { font-size: 1.3rem; }
  .jobs-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-trust { justify-content: center; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .footer-inner { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-trust { flex-direction: column; align-items: center; gap: 8px; }
}

/* ===== Pricing Cards (New Job Form) ===== */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pricing-card {
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover { border-color: var(--gray-300); transform: translateY(-2px); }
.pricing-card.selected { border-color: var(--primary); background: var(--primary-light); }

.pricing-card-name { font-size: .85rem; font-weight: 700; color: var(--gray-700); margin-bottom: 4px; }
.pricing-card-price { font-size: 1.5rem; font-weight: 800; color: var(--gray-900); margin-bottom: 4px; }
.pricing-card-price small { font-size: .8rem; font-weight: 400; color: var(--gray-400); }
.pricing-card-desc { font-size: .8rem; color: var(--gray-500); }

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .pricing-cards { grid-template-columns: 1fr; }
}

/* ===== Pricing Page ===== */
.pricing-page { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.pricing-hero {
  text-align: center;
  padding: 60px 24px 40px;
}
.pricing-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.pricing-hero p {
  font-size: 1.1rem;
  color: var(--gray-500);
}

/* Toggle */
.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}
.toggle-label {
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-400);
  transition: var(--transition);
}
.toggle-label.active { color: var(--gray-900); font-weight: 600; }
.toggle-badge {
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 6px;
}
.toggle-switch { position: relative; display: inline-block; width: 48px; height: 26px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0;
  background: var(--gray-300);
  border-radius: 26px;
  cursor: pointer;
  transition: .3s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: .3s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); }

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}

.pricing-card-full {
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: var(--transition);
}
.pricing-card-full:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.pricing-card-blue { border-color: var(--primary); }
.pricing-card-gold { border-color: #f59e0b; }

.pricing-card-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-card-gold .pricing-card-badge { background: #f59e0b; }

.pcf-name {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-500);
  margin-bottom: 4px;
}
.pricing-card-blue .pcf-name { color: var(--primary); }
.pricing-card-gold .pcf-name { color: #d97706; }

.pcf-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.pcf-amount { font-size: 2rem; font-weight: 800; color: var(--gray-900); }
.pcf-period { font-size: .85rem; color: var(--gray-400); }

.pcf-desc { font-size: .875rem; color: var(--gray-500); margin-bottom: 16px; }

.pcf-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.pcf-features li { display: flex; align-items: center; gap: 10px; font-size: .875rem; }
.pcf-features li.ok { color: var(--gray-700); }
.pcf-features li.no { color: var(--gray-400); }
.pcf-icon { font-size: .8rem; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ok .pcf-icon { background: var(--green-light); color: var(--green); }
.no .pcf-icon { background: var(--gray-100); color: var(--gray-400); }

/* FAQ */
.pricing-faq {
  padding: 48px 0;
  border-top: 1px solid var(--gray-200);
}
.pricing-faq h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--gray-900);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

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

.faq-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: var(--gray-900); }
.faq-item p { font-size: .875rem; color: var(--gray-500); line-height: 1.6; }

/* CTA */
.pricing-cta {
  text-align: center;
  padding: 60px 24px;
  background: var(--primary-light);
  border-radius: 20px;
  margin: 48px 0;
}
.pricing-cta h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 8px; color: var(--gray-900); }
.pricing-cta p { color: var(--gray-500); margin-bottom: 24px; }

@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-hero h1 { font-size: 1.75rem; }
}
