.hero {
  background: var(--brand-dark);
  color: white;
  padding: 88px 20px 64px;
  text-align: center;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(circle at 20% 50%, #fff 1px, transparent 1px), radial-gradient(circle at 80% 30%, #fff 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
  font-weight: 500;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 18px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.8;
  margin-bottom: 36px;
  line-height: 1.65;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

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

/* Hero Search Card */
.hero-search-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 32px 36px;
  margin-bottom: 36px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  transition: border-color 0.3s ease;
}

.hero-search-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-search-form {
  width: 100%;
}

.hero-search-fields {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}

.hero-search-field {
  flex: 1;
  min-width: 0;
}

.hero-search-field label {
  display: block;
  font-size: var(--font-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.hero-search-field input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  text-align: left;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}

.hero-search-field input::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

.hero-search-field input:focus {
  border-color: var(--brand-primary);
  background: rgba(255, 255, 255, 0.12);
}

.hero-search-field select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.5)' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.hero-search-field select:focus {
  border-color: var(--brand-primary);
  background: rgba(255, 255, 255, 0.12);
}

.hero-search-field select option {
  background: #2d1f1a;
  color: white;
}

.hero-search-field-radius {
  flex: 0 1 auto;
  min-width: 130px;
  max-width: 160px;
}

.hero-search-field-btn {
  flex: 0 0 auto;
}

.hero-search-field-btn .btn {
  height: 100%;
  min-height: 48px;
}

/* Hero autocomplete shared styles */
.hero-search-field-city,
.hero-search-field-skill {
  position: relative;
}

.hero-search-field-city .autocomplete-wrapper,
.hero-search-field-skill .autocomplete-wrapper {
  position: relative;
}

.hero-search-field-city .autocomplete-dropdown,
.hero-search-field-skill .autocomplete-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  background: #2d1f1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  max-height: 250px;
  overflow-y: auto;
  margin-top: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-search-field-city .autocomplete-dropdown .autocomplete-item,
.hero-search-field-skill .autocomplete-dropdown .autocomplete-item {
  padding: 10px 16px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-base);
  transition: background 0.15s;
}

.hero-search-field-city .autocomplete-dropdown .autocomplete-item:hover,
.hero-search-field-skill .autocomplete-dropdown .autocomplete-item:hover {
  background: rgba(212, 96, 58, 0.2);
  color: white;
}

.hero-search-field-city .autocomplete-dropdown .autocomplete-item.empty-result,
.hero-search-field-skill .autocomplete-dropdown .autocomplete-item.empty-result {
  color: rgba(255, 255, 255, 0.4);
  cursor: default;
}

.hero-search-field-city .autocomplete-loader,
.hero-search-field-skill .autocomplete-loader {
  padding: 12px;
  text-align: center;
}

.hero-search-field-city .loader-spinner,
.hero-search-field-skill .loader-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.btn-block {
  width: 100%;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 16px;
  }

  .hero h1 {
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero-actions {
    margin-bottom: 32px;
    gap: var(--gap-lg);
  }

  .hero-search-card {
    padding: 20px;
    margin-bottom: 24px;
  }

  .hero-search-fields {
    flex-direction: column;
    gap: var(--gap-lg);
    align-items: stretch;
  }
}
@media (max-width: 480px) {
  .hero {
    padding: 32px 12px 28px;
  }

  .hero h1 {
    font-size: 1.6rem;
    margin-bottom: 8px;
  }

  .hero-subtitle {
    font-size: var(--font-base);
    margin-bottom: 20px;
  }

  .hero-actions {
    margin-bottom: 24px;
    gap: 10px;
  }

  .hero-search-card {
    padding: 16px;
    margin-bottom: 20px;
  }

  .hero-badge {
    margin-bottom: 20px;
    padding: 4px 14px;
    font-size: var(--font-xs);
  }
}
.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-chip {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(212, 96, 58, 0.08);
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

.section-action {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 28px;
  }

  .section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .section-header p {
    font-size: 0.92rem;
  }

  .section-chip {
    margin-bottom: 8px;
  }

  .section-action {
    margin-top: 28px;
  }
}
@media (max-width: 480px) {
  .section-header {
    margin-bottom: 24px;
  }

  .section-action {
    margin-top: 24px;
  }
}
.featured-section {
  padding: 80px 0;
  background: white;
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.empty-card {
  text-align: center;
  padding: 48px;
  background: #f9f9f9;
  border-radius: 12px;
  color: #888;
}

.empty-card a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 768px) {
  .featured-section {
    padding: 48px 0;
  }

  .profiles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .featured-section {
    padding: 32px 0;
  }

  .profiles-grid {
    gap: var(--gap-lg);
  }
}
.profile-card-wrapper {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.profile-card-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-primary, #d4603a);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.profile-card-wrapper:hover::before {
  opacity: 1;
}

.profile-card-wrapper:hover {
  border-color: var(--brand-primary, #d4603a);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.profile-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Type badge */
.fav-card-type {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

/* Card Top Section */
.card-top {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

/* Card Info */
.card-info {
  flex: 1;
  min-width: 0;
}

.card-name-row {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
}

.card-name-row h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #1f2937;
  font-weight: 700;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}

.profile-card-wrapper:hover .card-name-row h3 {
  color: var(--brand-primary, #d4603a);
}

.online-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.card-city {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-listings-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 6px 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #065f46;
  background: #d1fae5;
  padding: 3px 10px;
  border-radius: var(--radius-md);
  border: 1px solid #a7f3d0;
  line-height: 1.3;
}

/* Card Skills */
.card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  margin-bottom: 14px;
}

/* Card Footer */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding: 10px 20px 12px;
  border-top: 1px solid #f3f4f6;
}

.card-contact-icons {
  display: flex;
  gap: var(--gap-sm);
  align-items: center;
}

.card-contact-icon {
  font-size: 0.95rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  border: 1px solid #f3f4f6;
  transition: var(--transition-fast);
  cursor: default;
}

.card-contact-icon:hover {
  background: #f0fdf4;
  border-color: #bbf7d0;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .card-top {
    gap: 10px;
    margin-bottom: 8px;
  }

  .card-skills {
    margin-bottom: 10px;
  }
}
@media (max-width: 480px) {
  .profile-card {
    padding: 12px 12px 0;
  }

  .card-footer {
    padding: 8px 12px 12px;
  }

  .card-name-row h3 {
    font-size: 0.95rem;
  }

  .card-city {
    font-size: 0.78rem;
  }

  .card-top {
    gap: var(--gap-md);
    margin-bottom: 6px;
  }

  .card-skills {
    gap: 4px;
    margin-bottom: 8px;
  }
}
/* Avatar Component */
.avatar {
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #f0f0f0;
  width: 56px;
  height: 56px;
}

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

.avatar.avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  background: var(--brand-primary);
}

/* Size variants */
.avatar-xs {
  width: 24px;
  height: 24px;
}

.avatar-xs.avatar-placeholder {
  font-size: 0.65rem;
}

.avatar-sm {
  width: 32px;
  height: 32px;
}

.avatar-sm.avatar-placeholder {
  font-size: 0.8rem;
}

.avatar-md {
  width: 44px;
  height: 44px;
}

.avatar-md.avatar-placeholder {
  font-size: 1rem;
}

.avatar-lg {
  width: 56px;
  height: 56px;
}

.avatar-lg.avatar-placeholder {
  font-size: 1.3rem;
}

.avatar-xl {
  width: 64px;
  height: 64px;
}

.avatar-xl.avatar-placeholder {
  font-size: 1.5rem;
}

/* Skill Tag Component */
.st-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
  transition: var(--transition-fast);
  white-space: nowrap;
  background: #fdf0e8;
  color: #d4603a;
  border: 1px solid #f5e0d0;
}

.st-tag:hover {
  background: #f5e0d0;
}

a.st-tag:hover {
  color: #c05432;
}

/* Brand variant - solid brand color */
.st-tag.st-brand {
  background: var(--brand-primary);
  color: white;
  border: none;
}

.st-tag.st-brand:hover {
  background: #c05432;
}

a.st-tag.st-brand:hover {
  color: white;
}

/* Ghost variant - subtle, for admin/internal */
.st-tag.st-ghost {
  background: #e8f0fe;
  color: #1a73e8;
  border: none;
}

.st-tag.st-ghost:hover {
  background: #d2e3fc;
}

a.st-tag.st-ghost:hover {
  color: #1557b0;
}

/* Size: small */
.st-tag.st-sm {
  padding: 2px 8px;
  font-size: 0.68rem;
  border-radius: 14px;
}

/* Size: large */
.st-tag.st-lg {
  padding: 6px 16px;
  font-size: var(--font-sm);
  border-radius: 24px;
}

/* Responsive */
@media (max-width: 480px) {
  .st-tag {
    font-size: 0.72rem;
    padding: 3px 10px;
  }

  .st-tag.st-sm {
    font-size: 0.64rem;
    padding: 2px 6px;
  }
}
/* Badge Component */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-lg);
  font-size: var(--font-xs);
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.4;
}

/* Color variants */
.badge-green {
  background: #e8f5e9;
  color: #2e7d32;
}

.badge-red {
  background: #fce4e4;
  color: #c62828;
}

.badge-orange {
  background: #fff3e0;
  color: #e65100;
}

.badge-blue {
  background: #e8f0fe;
  color: #1a73e8;
}

.badge-gray {
  background: #f5f5f5;
  color: #666;
}

/* Size: small */
.badge-sm {
  padding: 2px 8px;
  font-size: 0.7rem;
  border-radius: var(--radius-md);
}

/* Dot indicator */
.badge-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: #9ca3af;
}

.badge-dot.online {
  background: #22c55e;
}

.badge-dot.large {
  width: 10px;
  height: 10px;
}

/* Responsive */
@media (max-width: 480px) {
  .badge {
    font-size: 0.7rem;
    padding: 2px 8px;
  }

  .badge-dot {
    width: 6px;
    height: 6px;
  }

  .badge-dot.large {
    width: 8px;
    height: 8px;
  }
}
.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-chip {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(212, 96, 58, 0.08);
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

.section-action {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 28px;
  }

  .section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .section-header p {
    font-size: 0.92rem;
  }

  .section-chip {
    margin-bottom: 8px;
  }

  .section-action {
    margin-top: 28px;
  }
}
@media (max-width: 480px) {
  .section-header {
    margin-bottom: 24px;
  }

  .section-action {
    margin-top: 24px;
  }
}
.skills-section {
  padding: 80px 0;
  background: #faf5f0;
}

.skills-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap-lg);
}

.skill-item {
  background: white;
  color: #4b5563;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--border-color);
  transition: border-color 0.2s ease, color 0.2s ease;
  font-weight: 500;
}

.skill-item:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

@media (max-width: 768px) {
  .skills-section {
    padding: 48px 0;
  }
}
@media (max-width: 480px) {
  .skills-section {
    padding: 32px 0;
  }

  .skill-item {
    padding: 8px 16px;
    font-size: var(--font-sm);
  }
}
.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-chip {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(212, 96, 58, 0.08);
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

.section-action {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 28px;
  }

  .section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .section-header p {
    font-size: 0.92rem;
  }

  .section-chip {
    margin-bottom: 8px;
  }

  .section-action {
    margin-top: 28px;
  }
}
@media (max-width: 480px) {
  .section-header {
    margin-bottom: 24px;
  }

  .section-action {
    margin-top: 24px;
  }
}
.jobs-section {
  padding: 80px 0;
  background: white;
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
}

@media (max-width: 768px) {
  .jobs-section {
    padding: 48px 0;
  }
}
@media (max-width: 480px) {
  .jobs-section {
    padding: 32px 0;
  }
}
.job-card-wrapper {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.job-card-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-primary, #d4603a);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.job-card-wrapper:hover::before {
  opacity: 1;
}

.job-card-wrapper:hover {
  border-color: var(--brand-primary, #d4603a);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.job-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Type + Title row */
.job-title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.jc-type-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-sm);
  margin-top: 1px;
}

.jc-type-icon.jc-offer {
  background: #ecfdf5;
}

.jc-type-icon.jc-request {
  background: #eff6ff;
}

.job-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.4;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.job-card-wrapper:hover .job-title {
  color: var(--brand-primary, #d4603a);
}

/* Price / Budget badge */
.job-price {
  font-size: 0.78rem;
  font-weight: 700;
  color: #065f46;
  background: #d1fae5;
  padding: 4px 12px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  margin-top: 2px;
  line-height: 1.3;
  border: 1px solid #a7f3d0;
}

/* Info rows */
.jc-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  margin-bottom: 6px;
}

.jc-meta-item {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--gray-50);
  padding: 3px 10px;
  border-radius: var(--radius-md);
  line-height: 1.4;
}

.jc-meta-item.jc-category {
  background: #fdf2f8;
  color: #9d174d;
  font-weight: 600;
}

/* Skills */
.job-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0 14px;
}

/* Card bottom */
.job-card-btm {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding: 10px 20px 12px;
  border-top: 1px solid #f3f4f6;
}

/* Author section */
.job-author {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex: 1;
}

.job-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.job-author-initial {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary, #d4603a);
  color: white;
  font-weight: 700;
  font-size: var(--font-xs);
}

.job-author-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.job-author:hover .job-author-name {
  color: var(--brand-primary, #d4603a);
}

/* Detail arrow */
.job-detail-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-primary, #d4603a);
  text-decoration: none;
  flex-shrink: 0;
  transition: gap 0.2s ease;
  white-space: nowrap;
}

.job-detail-arrow:hover {
  gap: var(--gap-md);
}

.jc-compact {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 20px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  color: inherit;
  position: relative;
  overflow: hidden;
}

.jc-compact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-primary, #d4603a);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.jc-compact:hover::before {
  opacity: 1;
}

.jc-compact:hover {
  border-color: var(--brand-primary, #d4603a);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.jc-compact-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.jc-type-badge {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  background: var(--gray-100);
  margin-top: 1px;
}

.jc-compact-header h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.jc-compact:hover .jc-compact-header h3 {
  color: var(--brand-primary, #d4603a);
}

.jc-compact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  margin-bottom: 8px;
}

.jc-compact-meta span {
  font-size: var(--font-xs);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--gray-50);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  line-height: 1.4;
}

.jc-compact-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.jc-compact-desc {
  margin: 0 0 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jc-compact-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
}

.jc-compact-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-primary, #d4603a);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.jc-compact:hover .jc-compact-link {
  gap: var(--gap-md);
}

.jc-compact-status {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: var(--radius-md);
  line-height: 1.3;
  white-space: nowrap;
}

.jc-compact-status.active {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.jc-compact-status.waiting_for_approval {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.jc-compact-status.approved {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.jc-compact-status.closed {
  background: var(--gray-100);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.jc-compact-status.expired {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.jc-compact-status.rejected {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.jc-compact-status.cancelled {
  background: var(--gray-100);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

@media (max-width: 640px) {
  /* List variant */
  .job-title-row {
    flex-wrap: wrap;
  }

  .job-price {
    margin-left: 0;
  }

  .job-card-btm {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .job-detail-arrow {
    justify-content: flex-end;
  }

  .job-card-link {
    padding: 16px 16px 0;
  }

  .job-card-btm {
    padding: 10px 16px 12px;
  }

  /* Compact variant */
  .jc-compact {
    padding: 16px;
  }

  .jc-compact-header h3 {
    font-size: 0.88rem;
  }
}
@media (max-width: 480px) {
  .job-card-link {
    padding: 12px 12px 0;
  }

  .job-card-btm {
    padding: 8px 12px 12px;
  }

  .jc-compact {
    padding: 12px;
  }

  .job-title {
    font-size: 0.95rem;
  }

  .jc-compact-header h3 {
    font-size: var(--font-sm);
  }

  .jc-meta-item {
    font-size: var(--font-xs);
    padding: 2px 8px;
  }

  .job-skills {
    gap: 4px;
    margin: 6px 0 10px;
  }

  .jc-compact-skills {
    gap: 3px;
    margin-bottom: 6px;
  }

  .jc-compact-footer {
    padding-top: 8px;
  }
}
.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-chip {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(212, 96, 58, 0.08);
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

.section-action {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 28px;
  }

  .section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .section-header p {
    font-size: 0.92rem;
  }

  .section-chip {
    margin-bottom: 8px;
  }

  .section-action {
    margin-top: 28px;
  }
}
@media (max-width: 480px) {
  .section-header {
    margin-bottom: 24px;
  }

  .section-action {
    margin-top: 24px;
  }
}
.projects-section {
  padding: 80px 0;
  background: #f9fafb;
}

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

.project-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-primary, #d4603a);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover {
  border-color: var(--brand-primary, #d4603a);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.project-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-card-image img {
  transform: scale(1.05);
}

.project-card-image-placeholder {
  font-size: 2.5rem;
  opacity: 0.5;
}

.project-card-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.project-card:hover .project-card-title {
  color: var(--brand-primary, #d4603a);
}

.project-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.project-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
  margin-top: auto;
}

.project-card-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.project-card-avatar-placeholder {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.project-card-author-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #4b5563;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .projects-section {
    padding: 48px 0;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-card-image {
    height: 180px;
  }
}
@media (max-width: 480px) {
  .projects-section {
    padding: 32px 0;
  }

  .project-card-image {
    height: 160px;
  }

  .project-card-body {
    padding: 12px 16px 16px;
  }
}
.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-chip {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(212, 96, 58, 0.08);
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

.section-action {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 28px;
  }

  .section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .section-header p {
    font-size: 0.92rem;
  }

  .section-chip {
    margin-bottom: 8px;
  }

  .section-action {
    margin-top: 28px;
  }
}
@media (max-width: 480px) {
  .section-header {
    margin-bottom: 24px;
  }

  .section-action {
    margin-top: 24px;
  }
}
.how-it-works {
  padding: 80px 0;
  background: #faf5f0;
}

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

.step-card {
  background: white;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid #e8e0d8;
  transition: border-color 0.2s ease;
  position: relative;
}

.step-card:hover {
  border-color: var(--brand-primary);
}

.step-number {
  position: absolute;
  top: 12px;
  left: 16px;
  width: 28px;
  height: 28px;
  background: #fdf0e8;
  color: var(--brand-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-sm);
  font-weight: 700;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.15rem;
  color: #333;
  margin-bottom: 10px;
}

.step-card p {
  color: #888;
  font-size: var(--font-base);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .how-it-works {
    padding: 48px 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-card {
    padding: 28px 20px;
  }
}
@media (max-width: 480px) {
  .how-it-works {
    padding: 32px 0;
  }

  .step-card {
    padding: 24px 16px;
  }

  .step-icon {
    margin-bottom: 12px;
    font-size: 2rem;
  }

  .step-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
  }
}
.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-chip {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(212, 96, 58, 0.08);
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

.section-action {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 28px;
  }

  .section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .section-header p {
    font-size: 0.92rem;
  }

  .section-chip {
    margin-bottom: 8px;
  }

  .section-action {
    margin-top: 28px;
  }
}
@media (max-width: 480px) {
  .section-header {
    margin-bottom: 24px;
  }

  .section-action {
    margin-top: 24px;
  }
}
.cta-section {
  padding: 80px 0;
  background: #fdf6f0;
}

.cta-card {
  background: var(--brand-dark);
  border-radius: 16px;
  padding: 64px 40px;
  text-align: center;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-card h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.cta-card p {
  font-size: var(--font-lg);
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-card .btn {
  background: var(--brand-primary);
  color: white;
  box-shadow: none;
}

.cta-card .btn:hover {
  background: #c05432;
  transform: none;
  box-shadow: none;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 48px 0;
  }

  .cta-card {
    padding: 32px 20px;
  }

  .cta-card h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .cta-card p {
    margin-bottom: 24px;
  }
}
@media (max-width: 480px) {
  .cta-section {
    padding: 32px 0;
  }

  .cta-card {
    padding: 28px 16px;
  }

  .cta-card h2 {
    font-size: 1.3rem;
    margin-bottom: 6px;
  }

  .cta-card p {
    font-size: var(--font-base);
    margin-bottom: 20px;
  }
}
.header {
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  z-index: 160;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  row-gap: 0;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.header-logo:hover {
  opacity: 0.85;
}

.header-logo:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

.header-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.header-site-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: var(--font-lg);
}

.header-nav {
  display: flex;
  gap: 24px;
}

.header-nav a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
}

.header-nav a:hover {
  color: var(--brand-primary);
}

/* ===== Nav Online Link ===== */
.nav-link-online {
  position: relative;
}

.nav-online-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  animation: pulse-green 2s infinite;
}

.nav-online-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-left: 6px;
  background: #22c55e;
  color: #fff;
  border-radius: var(--radius-lg);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

@keyframes pulse-green {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
/* ===== Unread Badge ===== */
.nav-conversations {
  position: relative;
}

.unread-badge {
  display: none;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: #ef4444;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  border-radius: var(--radius-lg);
  vertical-align: super;
  margin-left: 2px;
  animation: badgePopIn 0.3s ease;
}

.unread-badge.has-unread {
  display: inline-block;
}

@keyframes badgePopIn {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
/* ===== Fav / Admin Badges ===== */
.fav-badge {
  display: none;
  position: absolute;
  top: -6px;
  right: -10px;
  background: #e53935;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: var(--radius-md);
  padding: 0 4px;
  box-shadow: 0 2px 4px rgba(229, 57, 53, 0.3);
}

.fav-badge.has-fav {
  display: block;
  animation: pulse-badge 2s infinite;
}

.admin-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #e53935;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: var(--radius-md);
  padding: 0 4px;
  box-shadow: 0 2px 4px rgba(229, 57, 53, 0.3);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
/* ===== Header Search ===== */
.header-search {
  display: flex;
  align-items: center;
  margin: 0 1rem;
  flex: 1;
  max-width: 420px;
}

.header-search-form {
  display: flex;
  width: 100%;
}

.header-search-input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1.5px solid #e2e5ea;
  border-radius: 10px 0 0 10px;
  font-size: 0.95rem;
  background: #f4f5f7;
  transition: var(--transition-normal);
  min-width: 0;
  font-family: 'Inter', sans-serif;
}

.header-search-input::placeholder {
  color: #aab0bc;
  font-weight: 400;
}

.header-search-input:focus {
  border-color: var(--brand-primary);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 96, 58, 0.12);
}

.header-search-btn {
  padding: 0.6rem 1rem;
  background: var(--brand-primary);
  color: #fff;
  border: none;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  transition: var(--transition-fast);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.header-search-btn:hover {
  background: var(--brand-secondary);
}

/* ===== Nav Dropdown ===== */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  color: #666;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.dropdown-toggle:hover {
  color: var(--brand-primary);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 6px;
  min-width: 170px;
  z-index: 1000;
  white-space: nowrap;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu .nav-link {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: var(--font-sm);
  text-decoration: none;
  color: #444;
  transition: background 0.12s;
}

.dropdown-menu .nav-link:hover {
  background: #f0f2ff;
  color: var(--brand-primary);
}

.dropdown-menu .nav-link .fav-badge {
  display: none;
  position: static;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  min-width: 18px;
  height: 18px;
  font-size: 0.65rem;
  line-height: 18px;
  vertical-align: middle;
}

.dropdown-menu .nav-link .fav-badge.has-fav {
  display: inline-flex;
}

.dropdown-menu .nav-link .admin-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  min-width: 18px;
  height: 18px;
  font-size: 0.65rem;
  line-height: 18px;
  vertical-align: middle;
  animation: none;
}

.dropdown-menu .nav-link .unread-badge.has-unread {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  min-width: 18px;
  height: 18px;
  font-size: 0.65rem;
  line-height: 18px;
  vertical-align: middle;
}

.nav-admin {
  position: relative;
}

/* ===== Hamburger Menu Button ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background 0.2s;
  z-index: 210;
  position: relative;
}

.hamburger:hover {
  background: rgba(0, 0, 0, 0.05);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #666;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger span + span {
  margin-top: 5px;
}

/* Hamburger -> X animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Mobile Nav Drawer & Backdrop ===== */
.nav-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   Responsive: Tablet & Mobile
   ============================================ */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .header-container {
    row-gap: var(--gap-md);
  }

  .header-search {
    max-width: 100%;
    margin: 0.5rem 0;
    width: 100%;
    order: 3;
  }

  .header-search-input {
    font-size: 1rem;
    padding: 0.65rem 0.85rem;
  }

  .header-search-btn {
    font-size: 1rem;
    padding: 0.65rem 0.85rem;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: white;
    flex-direction: column;
    padding: 80px 24px 32px;
    gap: 4px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header-nav.mobile-open {
    right: 0;
  }

  .header-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    color: #444;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
  }

  .header-nav .nav-link:hover {
    background: #f0f2ff;
    color: var(--brand-primary);
  }

  .header-nav .nav-link:active {
    background: #e0e3ff;
  }

  /* Badges inside mobile nav links */
  .header-nav .nav-link .fav-badge {
    display: none;
    position: static;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    min-width: 22px;
    height: 22px;
    font-size: 0.7rem;
    line-height: 22px;
    vertical-align: middle;
  }

  .header-nav .nav-link .fav-badge.has-fav {
    display: inline-flex;
  }

  .header-nav .nav-link .admin-badge {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    min-width: 22px;
    height: 22px;
    font-size: 0.7rem;
    line-height: 22px;
    vertical-align: middle;
  }

  .header-nav .nav-link .unread-badge.has-unread {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    min-width: 22px;
    height: 22px;
    font-size: 0.7rem;
    line-height: 22px;
    vertical-align: middle;
  }

  /* Flatten dropdowns on mobile */
  .nav-dropdown {
    border-top: 1px solid #f0f0f0;
    margin-top: 6px;
    padding-top: 4px;
  }

  .nav-dropdown > .dropdown-toggle {
    padding: 10px 16px 6px;
    font-size: var(--font-xs);
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: default;
    pointer-events: none;
    border-radius: 0;
  }

  .nav-dropdown > .dropdown-menu {
    display: block !important;
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 0 0 16px !important;
    min-width: auto !important;
    background: transparent !important;
    white-space: normal !important;
  }

  .dropdown-menu .nav-link {
    padding: 10px 16px;
    font-size: var(--font-base);
  }
}
@media (max-width: 480px) {
  .header-container {
    padding: 10px 12px;
    gap: 4px;
  }

  .header-logo {
    font-size: 1rem;
    gap: 4px;
    max-width: 60%;
  }

  .header-logo img {
    height: 22px;
  }

  .header-site-name {
    max-width: 80px;
    font-size: 1rem;
  }

  .hamburger {
    width: 32px;
    height: 32px;
    padding: 5px;
  }

  .hamburger span {
    width: 18px;
  }

  .hamburger span + span {
    margin-top: 4px;
  }

  /* Hamburger -> X animation */
  .hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .header-search {
    margin: 0.3rem 0;
  }

  .header-search-input {
    padding: 0.5rem 0.75rem;
    font-size: var(--font-base);
  }

  .header-search-btn {
    padding: 0.5rem 0.75rem;
    font-size: var(--font-base);
  }

  .header-nav {
    width: 100vw;
    max-width: 100%;
    right: -100%;
    padding: 60px 12px 20px;
    gap: 2px;
  }

  .header-nav.mobile-open {
    right: 0;
  }

  .header-nav .nav-link {
    padding: 10px 12px;
    font-size: var(--font-base);
  }
}
.verify-banner {
  background: #fff3cd;
  border-bottom: 1px solid #ffc107;
  padding: 0.5rem 1rem;
}

.verify-banner-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.verify-banner-content span {
  font-size: var(--font-sm);
  color: #856404;
}

.verify-banner-content a {
  color: #856404;
  font-weight: 600;
  text-decoration: underline;
}

.verify-banner-close {
  background: none;
  border: none;
  color: #856404;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  line-height: 1;
  opacity: 0.6;
}

.verify-banner-close:hover {
  opacity: 1;
}

.footer {
  background: var(--gray-900);
  color: #e5e7eb;
  padding: 0;
  flex-shrink: 0;
  width: 100%;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: var(--font-base);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: #d1d5db;
  text-decoration: none;
  font-size: var(--font-base);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.footer-bottom p {
  margin: 0;
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

.footer-trust {
  display: flex;
  gap: var(--gap-lg);
}

.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-xs);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 0 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--gap-lg);
    text-align: center;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
