/* Homepage banner — Pakistan first 360 HR Platform (restored intro) */

:root {
  --hc-brand: #472586;
  --hc-brand-deep: #351c66;
  --hc-brand-light: #6b4a9e;
  --hc-brand-glow: rgba(71, 37, 134, 0.22);
  --hc-surface: #faf8fc;
  --hc-surface-elevated: #f3effa;
  --hc-text: #1a1228;
  --hc-text-muted: #5c5470;
}

.hc-home-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(92vh, 920px);
  display: flex;
  align-items: center;
  color: var(--hc-text);
  background:
    radial-gradient(ellipse 70% 55% at 80% 20%, rgba(107, 74, 158, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 50% at 15% 75%, rgba(71, 37, 134, 0.06), transparent 50%),
    linear-gradient(180deg, #fdfcff 0%, var(--hc-surface) 100%);
}

.hc-home-banner__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hc-bg-bubbles {
  position: absolute;
  inset: 0;
}

.hc-bg-bubble {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(159, 138, 191, 0.55) 0%, rgba(107, 74, 158, 0.35) 45%, rgba(71, 37, 134, 0.2) 100%);
  box-shadow: 0 0 12px rgba(71, 37, 134, 0.12);
  opacity: 0.35;
  animation: hc-bubble-float var(--dur) ease-in-out infinite;
  animation-delay: var(--d);
}

@keyframes hc-bubble-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(12px, -18px) scale(1.08); }
  50% { transform: translate(-8px, -32px) scale(0.95); }
  75% { transform: translate(-14px, -12px) scale(1.05); }
}

.hc-home-banner__inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding: 130px 0 90px;
  position: relative;
  z-index: 1;
}

.hc-intro-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hc-intro-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hc-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--hc-brand) 0%, var(--hc-brand-light) 100%);
  box-shadow: 0 0 24px var(--hc-brand-glow);
}

.hc-ai-badge i {
  color: #fde68a;
  animation: hc-ai-pulse 2s ease-in-out infinite;
}

@keyframes hc-ai-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.hc-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--hc-text);
}

.hc-title-gradient {
  background: linear-gradient(135deg, var(--hc-brand-deep) 0%, var(--hc-brand) 45%, var(--hc-brand-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hc-lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--hc-text-muted);
  max-width: 36rem;
  margin: 0;
}

.hc-lead strong {
  color: var(--hc-brand);
}

.hc-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hc-pill {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(71, 37, 134, 0.14);
  background: #fff;
  color: var(--hc-brand);
  box-shadow: 0 2px 12px rgba(71, 37, 134, 0.06);
}

.hc-pill--spotlight {
  color: #fff;
  background: linear-gradient(135deg, #4338ca, #7c3aed);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.hc-suite-note {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--hc-text-muted);
}

.hc-suite-note a {
  color: var(--hc-brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hc-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.hc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 0.875rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hc-btn--primary {
  background: linear-gradient(135deg, var(--hc-brand-deep), var(--hc-brand-light));
  color: #fff;
  box-shadow: 0 12px 32px rgba(71, 37, 134, 0.25);
}

.hc-btn--ghost {
  border: 1px solid rgba(71, 37, 134, 0.25);
  color: var(--hc-brand);
  background: #fff;
}

.hc-btn:hover {
  transform: translateY(-2px);
}

.hc-service-desk {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.hc-service-desk__glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 37, 134, 0.18), transparent 68%);
  animation: hc-desk-glow 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hc-desk-glow {
  0%, 100% { transform: scale(0.92); opacity: 0.65; }
  50% { transform: scale(1.06); opacity: 1; }
}

.hc-service-desk__track {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hc-service-desk__ring {
  position: absolute;
  inset: 0;
  animation: hc-desk-orbit 42s linear infinite;
}

.hc-service-desk__ring::before {
  content: '';
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px dashed rgba(71, 37, 134, 0.22);
}

@keyframes hc-desk-orbit {
  to { transform: rotate(360deg); }
}

.hc-service-desk__sat {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5.5rem;
  height: 5.5rem;
  margin: -2.75rem 0 0 -2.75rem;
  transform: rotate(calc(var(--i) * 60deg)) translateY(-168px);
  text-decoration: none;
  pointer-events: auto;
  z-index: 2;
}

.hc-service-desk__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  height: 100%;
  padding: 0.5rem 0.4rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(71, 37, 134, 0.14);
  box-shadow: 0 10px 28px rgba(71, 37, 134, 0.12);
  color: var(--hc-brand);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  animation: hc-desk-counter 42s linear infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@keyframes hc-desk-counter {
  to { transform: rotate(-360deg); }
}

.hc-service-desk__card img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.hc-service-desk__sat:hover .hc-service-desk__card {
  transform: scale(1.08);
  box-shadow: 0 14px 36px rgba(71, 37, 134, 0.2);
}

.hc-service-desk__sat--spotlight .hc-service-desk__card {
  background: linear-gradient(145deg, #eef2ff 0%, #f5f3ff 100%);
  border: 2px solid #7c3aed;
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.28);
  color: #5b21b6;
  font-weight: 800;
}

.hc-service-desk__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42%;
  height: 42%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--hc-surface-elevated) 100%);
  border: 1px solid rgba(71, 37, 134, 0.12);
  box-shadow: 0 0 0 6px rgba(71, 37, 134, 0.04), 0 20px 48px rgba(71, 37, 134, 0.14);
}

.hc-service-desk__hub img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(71, 37, 134, 0.2));
}

.hc-banner-scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  color: var(--hc-text-muted);
  font-size: 10px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateX(-50%);
}

.hc-banner-scroll span {
  display: block;
  width: 1px;
  height: 28px;
  margin: 0 auto 8px;
  background: linear-gradient(var(--hc-brand-light), transparent);
  animation: hc-banner-cue 1.8s ease infinite;
}

@keyframes hc-banner-cue {
  0%, 100% { transform: scaleY(0.6); opacity: 0.45; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 480px) {
  .hc-home-banner__inner { padding: 110px 0 70px; }
  .hc-service-desk__sat {
    width: 4.75rem;
    height: 4.75rem;
    margin: -2.375rem 0 0 -2.375rem;
    transform: rotate(calc(var(--i) * 60deg)) translateY(-132px);
  }
  .hc-service-desk__card { font-size: 0.55rem; }
  .hc-service-desk__card img { width: 1.85rem; height: 1.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hc-service-desk__ring,
  .hc-service-desk__card,
  .hc-service-desk__glow,
  .hc-bg-bubble,
  .hc-ai-badge i {
    animation: none;
  }
}
