/* ============================================================
   HERO.CSS — Hero Section, Particles, CTA
   ============================================================ */

/* ══════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-hero);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
}

@media (min-width: 768px) {
  .hero {
    min-height: 85vh;
  }
}

/* Hero background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Radial glow blobs */
.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(108, 60, 228, 0.25) 0%, transparent 70%);
  filter: blur(40px);
  animation: drift 15s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 50%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(0, 212, 170, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  animation: drift 18s ease-in-out infinite reverse;
}

/* Star particles */
.stars-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--dur, 3s) ease-in-out var(--delay, 0s) infinite;
  opacity: 0.4;
}

/* Ngũ Hành floating symbols */
.particles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  font-size: clamp(16px, 2.5vw, 28px);
  opacity: 0;
  animation: floatUp var(--dur, 12s) linear var(--delay, 0s) infinite;
  bottom: -50px;
  filter: blur(0.5px);
  user-select: none;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--sp-5);
  max-width: 860px;
  width: 100%;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px 16px;
  background: rgba(108, 60, 228, 0.15);
  border: 1px solid rgba(108, 60, 228, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-light);
  margin-bottom: var(--sp-5);
  backdrop-filter: blur(8px);
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}

.hero-title {
  font-size: clamp(var(--fs-2xl), 6vw, var(--fs-5xl));
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--sp-5);
  text-shadow: 0 2px 20px rgba(108, 60, 228, 0.15);
}

.hero-title .highlight {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(var(--fs-base), 2vw, var(--fs-md));
  color: var(--text-secondary);
  margin-bottom: var(--sp-8);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}

.hero-cta .btn-xl {
  font-size: clamp(var(--fs-sm), 1.5vw, var(--fs-base));
}

/* Social proof strip */
.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 500;
}

.proof-item strong {
  color: var(--text-primary);
  font-weight: 700;
}

.proof-sep {
  color: var(--border-focus);
  font-size: 18px;
  line-height: 1;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(240, 240, 245, 0.4);
  font-size: var(--fs-xs);
  z-index: 2;
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(240, 240, 245, 0.25);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-mouse::before {
  content: '';
  width: 3px;
  height: 6px;
  background: rgba(240, 240, 245, 0.5);
  border-radius: 2px;
  animation: fadeInDown 1.2s ease infinite;
}

/* ══════════════════════════════════════════
   STEPPER STICKY BAR
   ══════════════════════════════════════════ */
.stepper-bar {
  position: sticky;
  top: var(--navbar-h);
  z-index: calc(var(--z-sticky) - 1);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease;
}

.stepper-bar.elevated {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.stepper-bar .container {
  padding-top: var(--sp-1);
  padding-bottom: var(--sp-1);
}