/* ─── Front page — Campix-aligned layout ─── */

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.text-gold {
  color: var(--color-primary, #c8956c);
}

/* Hero — matches Campix html-export/css/main.css */
.workforce-hero-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0a0a0a, rgba(10, 10, 10, 0.7), transparent);
  pointer-events: none;
}

.hero-side-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, transparent, rgba(10, 10, 10, 0.8));
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-particles .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(200, 149, 108, 0.45);
  animation: camipxParticleFloat 6s ease-in-out infinite;
  opacity: 0;
}

@keyframes camipxParticleFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  15% {
    opacity: 0.85;
  }
  50% {
    transform: translateY(-28px) scale(1.1);
    opacity: 0.35;
  }
}

.hero-inner {
  position: relative;
  z-index: 10;
  min-height: 100svh;
  display: flex;
  align-items: center;
  width: 100%;
}

.workforce-hero-section .hero-container {
  max-width: 1280px;
  margin-inline: auto;
  padding: 5rem 1.25rem 0;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .workforce-hero-section .hero-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .workforce-hero-section .hero-container {
    padding: 0 2rem;
  }
}

.hero-text-block {
  max-width: 672px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 149, 108, 0.35);
  background: rgba(200, 149, 108, 0.08);
  color: var(--color-primary, #c8956c);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-main-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--color-text-primary, #fafafa);
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(250, 250, 250, 0.72);
  margin: 0 0 1.75rem;
  max-width: 36rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    gap: 1rem;
  }
}

.hero-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .hero-stats {
    gap: 2rem;
    margin-top: 4rem;
  }
}

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

.hero-stat-num {
  display: block;
  font-size: 1.5rem;
  color: var(--color-primary, #c8956c);
  font-weight: 800;
}

@media (min-width: 640px) {
  .hero-stat-num {
    font-size: 1.875rem;
  }
}

.hero-stat-label {
  color: rgba(245, 240, 232, 0.4);
  font-size: 13px;
}

.scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: none;
  animation: camipxScrollBounce 2s infinite;
}

@media (min-width: 640px) {
  .scroll-indicator {
    display: block;
    bottom: 2rem;
  }
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid rgba(200, 149, 108, 0.3);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
  box-sizing: border-box;
}

.scroll-dot {
  width: 6px;
  height: 12px;
  background-color: var(--color-primary, #c8956c);
  border-radius: 999px;
}

@keyframes camipxScrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* Section headers */
.workforce-section-header {
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary, #c8956c);
  margin-bottom: 0.5rem;
}

.section-main-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: var(--color-text-primary, #fafafa);
}

.section-dark .section-main-title {
  color: #fafafa;
}

.section-divider {
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-primary, #c8956c), transparent);
  margin: 0 auto 1rem;
}

.workforce-section-desc {
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.6;
}

.section-cta {
  margin-top: 2rem;
}

.section-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Featured products — عمودان على الجوال، 4 على الشاشات الواسعة */
.workforce-products-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .workforce-products-grid-4 {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .workforce-products-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Categories — dark band */
.workforce-section-block.section-dark {
  background: linear-gradient(180deg, #0d0d0d 0%, #121212 100%);
  border-block: 1px solid var(--color-border-primary, rgba(255, 255, 255, 0.06));
}

.workforce-section-block.section-dark .text-muted {
  color: rgba(250, 250, 250, 0.55) !important;
}

/* التصنيفات — 3 أعمدة على الجوال كما في التصميم */
.workforce-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.workforce-cat-grid .category-card {
  padding: 0.65rem 0.4rem;
}

.workforce-cat-grid .category-card .cat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.workforce-cat-grid .category-card h3 {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.2rem;
}

.workforce-cat-grid .category-card p {
  font-size: 0.65rem;
  margin: 0;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .workforce-cat-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }

  .workforce-cat-grid .category-card {
    padding: 1.25rem;
  }

  .workforce-cat-grid .category-card .cat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .workforce-cat-grid .category-card h3 {
    font-size: 1rem;
    margin: 0 0 0.35rem;
  }

  .workforce-cat-grid .category-card p {
    font-size: 0.875rem;
  }
}

/* Promo */
.promo-section {
  position: relative;
  overflow: hidden;
}

.promo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.88) 50%, rgba(10, 10, 10, 0.92) 100%);
}

.promo-content {
  position: relative;
  z-index: 1;
}

.promo-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .promo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.promo-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: var(--color-text-primary, #fafafa);
}

.promo-desc {
  color: rgba(250, 250, 250, 0.68);
  line-height: 1.7;
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.workforce-promo-features.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 520px) {
  .workforce-promo-features.features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.workforce-promo-feature-card.feature-card {
  background: rgba(26, 26, 26, 0.85);
  border: 1px solid rgba(200, 149, 108, 0.15);
  border-radius: var(--radius-lg, 12px);
  padding: 1.1rem 1.15rem;
}

.workforce-promo-feature-card .feature-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--color-text-primary, #fafafa);
}

.workforce-promo-feature-card .feature-desc {
  font-size: 0.875rem;
  margin: 0;
}

.workforce-svg-icon {
  color: var(--color-primary, #c8956c);
  margin-bottom: 0.5rem;
}

.workforce-svg-icon .workforce-feat-ico {
  display: block;
}

.workforce-feature-emoji {
  font-size: 1.5rem;
  line-height: 1;
}

.promo-image-block {
  position: relative;
}

.promo-image-wrapper {
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  border: 1px solid rgba(200, 149, 108, 0.2);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.promo-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.promo-floating-card {
  position: absolute;
  bottom: 1rem;
  inset-inline-start: 1rem;
  max-width: 200px;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid rgba(200, 149, 108, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.promo-discount {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary, #c8956c);
  line-height: 1.1;
}

.promo-floating-card p {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: rgba(250, 250, 250, 0.75);
}

/* CTA */
.workforce-cta-section {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-primary, #0a0a0a);
}

.cta-glow {
  position: absolute;
  width: 120%;
  height: 60%;
  left: -10%;
  bottom: -20%;
  background: radial-gradient(ellipse at center, rgba(200, 149, 108, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.cta-gradient-top {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 149, 108, 0.35), transparent);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.cta-desc {
  max-width: 36rem;
  margin: 0 auto 0.5rem;
  line-height: 1.65;
}

.cta-content .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Legacy helpers */
.workforce-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.workforce-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
