  
/* home.css */
    :root {
  --primary: #111827;
  --primary-soft: #1f2937;
  --accent: #16a34a;
  --accent-dark: #15803d;
  --accent-soft: #dcfce7;
  --secondary: #f97316;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --line: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
  --shadow-sm: 0 8px 20px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 18px 45px rgba(17, 24, 39, 0.10);
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
  --transition: 0.25s ease;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input, select { font-family: inherit; }

.container {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
}

.btn {
  border: none;
  cursor: pointer;
  border-radius: 14px;
  font-weight: 700;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  min-height: 46px;
  flex-shrink: 0;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-outline {
  background: white;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 12px 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  padding: 12px 18px;
  box-shadow: var(--shadow-sm);
}

.hero {
  padding: 34px 0 10px;
}

.hero-shell {
  background: linear-gradient(135deg, #0f172a 0%, #111827 55%, #1f2937 100%);
  border-radius: 34px;
  overflow: hidden;
  color: white;
  position: relative;
  box-shadow: var(--shadow-md);
}

.hero-shell::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,0.25), transparent 65%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
  padding: 48px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 1.02;
  margin-bottom: 16px;
  max-width: 720px;
}

.hero h1 span {
  color: #86efac;
}

.hero p {
  max-width: 650px;
  color: rgba(255,255,255,0.84);
  font-size: 1.04rem;
  margin-bottom: 24px;
}

.hero-search {
  background: white;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}

.search-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  align-items: center;
}

.search-label strong {
  color: var(--text);
  font-size: 1rem;
}

.search-label span {
  color: var(--muted);
  font-size: 0.9rem;
}

.search-row {
  display: grid;
  grid-template-columns: 1.3fr 0.95fr auto;
  gap: 12px;
  align-items: center;
}

.field {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
}

.field i {
  color: #9ca3af;
}

.field input,
.field select {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 0.97rem;
}

.search-btn {
  min-height: 58px;
  padding: 0 22px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--secondary), #ea580c);
  color: white;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(249,115,22,0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.search-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.search-tags a,
.search-tags button {
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: var(--text);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.hero-side {
  display: grid;
  gap: 16px;
}

.hero-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.hero-card h3 {
  font-size: 1.02rem;
  margin-bottom: 12px;
}

.hero-list {
  display: grid;
  gap: 12px;
}

.hero-list-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 18px;
  text-decoration: none;
}

.hero-list-item img {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.2);
}

.hero-list-item strong {
  display: block;
  font-size: 0.96rem;
}

.hero-list-item span {
  display: block;
  color: rgba(255,255,255,0.76);
  font-size: 0.86rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-metric {
  background: white;
  color: var(--text);
  border-radius: 20px;
  padding: 18px;
}

.hero-metric strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.hero-metric span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-app-box {
  margin-top: 20px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
}

.hero-app-box strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.hero-app-box p {
  margin-bottom: 14px;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.8);
}

.popular-strip {
  padding-top: 22px;
}

.popular-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  padding: 18px 22px;
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.popular-shell strong {
  color: var(--muted);
  font-size: 0.92rem;
}

.popular-shell a {
  padding: 10px 16px;
  background: var(--surface-soft);
  border-radius: 999px;
  font-weight: 700;
  color: var(--text);
  transition: var(--transition);
  text-decoration: none;
}

.popular-shell a:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

section {
  padding-top: 74px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf3;
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 2vw, 2.45rem);
  line-height: 1.12;
  margin-bottom: 8px;
}

.section-copy {
  color: var(--muted);
  max-width: 700px;
}

.section-link {
  color: var(--accent-dark);
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.category-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-decoration: none;
}

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

.category-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: var(--accent-dark);
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.category-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.category-card p {
  color: var(--muted);
  margin-bottom: 14px;
  font-size: 0.94rem;
}

.category-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.marketplace-shell {
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  padding: 28px;
}

.marketplace-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
}

.filter-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-pill {
  border: 1px solid var(--line);
  background: white;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.filter-pill.active {
  background: #ecfdf3;
  color: var(--accent-dark);
  border-color: #bbf7d0;
}

.sort-box {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
}

.sort-box select {
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 42px;
  padding: 0 12px;
  background: white;
}

.gig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gig-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-decoration: none;
}

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

.gig-cover {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #f3f4f6;
}

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

.gig-body {
  padding: 16px;
}

.gig-top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.gig-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: cover;
}

.gig-user strong {
  display: block;
  font-size: 0.95rem;
}

.gig-user span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.gig-title {
  font-weight: 700;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.4;
  min-height: 54px;
  margin-bottom: 14px;
}

.gig-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.gig-rating .star {
  color: #f59e0b;
  font-weight: 800;
}

.gig-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  gap: 12px;
}

.gig-badge {
  background: #f9fafb;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 0.76rem;
  font-weight: 700;
}

.gig-price {
  text-align: right;
}

.gig-price span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  margin-bottom: 2px;
}

.gig-price strong {
  font-size: 1rem;
  color: var(--text);
}

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

.why-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.why-card i {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #ecfdf3;
  color: var(--accent-dark);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.why-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.why-card p {
  color: var(--muted);
}

.cta-banner {
  margin-top: 74px;
  margin-bottom: 74px;
}

.cta-shell {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: white;
  border-radius: 30px;
  padding: 38px;
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 18px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.cta-shell h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 10px;
}

.cta-shell p {
  color: rgba(255,255,255,0.88);
  max-width: 700px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-actions .btn-outline {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.24);
  color: white;
}

.cta-actions .btn-primary {
  background: white;
  color: var(--accent-dark);
}

.cta-note {
  margin-top: 12px;
  color: rgba(255,255,255,0.84);
  font-size: 0.92rem;
}

@media (max-width: 1120px) {
  .hero-content,
  .cta-shell {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .gig-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .search-row,
  .marketplace-toolbar,
  .section-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-content {
    padding: 28px;
  }
}

@media (max-width: 680px) {
  .hero-metrics,
  .category-grid,
  .gig-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .search-row,
  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .search-btn,
  .btn {
    width: 100%;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-shell,
  .marketplace-shell,
  .cta-shell {
    border-radius: 24px;
  }

  .popular-shell {
    padding: 16px;
  }

  .popular-shell strong {
    width: 100%;
  }
}



@media (max-width: 940px) {
    .topbar,
    .header {
        display: block !important;
    }

    .header {
        display: flex !important;
    }
}
