#hero {
  min-height: 70vh;
  padding: 7rem 5vw 4rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/background.jpg') center / cover no-repeat;
  opacity: 0.04;
  z-index: 0;
}

#tsparticles {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.15;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  z-index: 2;
  position: relative;
}

.hero-text h1 {
  font-size: 3.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.15rem;
  color: #e0e0e0;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-text .subhead {
  font-size: 1.15rem;
  color: #cfcfcf;
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.pill-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.cta.large {
  background: #fff;
  color: #000;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cta.large:hover {
  background: #f0f0f0;
  transform: scale(1.03);
}

.hero-image {
  position: relative;
  z-index: 2;
  background: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

.hero-image img {
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 36px rgba(0, 0, 0, 0.5));
  background: none;
  z-index: 2;
}

.image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.04), transparent 70%);
  border-radius: 20px;
  z-index: 0;
  filter: blur(20px);
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2.3rem;
  }

  .hero-image img {
    max-width: 90%;
  }
}

@keyframes shimmer {
  0% { opacity: 0; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(0%) scale(1.02); }
  100% { opacity: 0; transform: translateX(50%) scale(1); }
}

.hero-pill {
  position: relative;
  overflow: hidden;
}

.hero-pill::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 120%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  animation: shimmer 2.5s infinite;
  pointer-events: none;
} 

.hero-image-container {
  position: relative;
  display: inline-block;
  max-width: 600px;
  width: 100%;
  z-index: 2;
}

.hero-image-container .glow-behind {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 60%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero-image-container .hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}