/* ============================================
   Raslans Marketing — Hero Slider
   ============================================ */
.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--color-gray-900);
}
.hero__slider { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  overflow: hidden;
}
.hero__slide.active {
  opacity: 1; visibility: visible; z-index: 3;
  animation: slideEnter 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero__slide.leaving {
  opacity: 1; visibility: visible; z-index: 2;
  animation: slideLeave 1.2s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}
.hero__slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero__slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,18,25,0.88) 0%, rgba(15,18,25,0.75) 40%, rgba(15,18,25,0.6) 100%);
  z-index: 1;
}
.hero__slide-glow { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__slide:nth-child(1) .hero__slide-glow {
  background: radial-gradient(ellipse at 20% 80%, rgba(0,102,255,0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(0,212,255,0.1) 0%, transparent 50%);
}
.hero__slide:nth-child(2) .hero__slide-glow {
  background: radial-gradient(ellipse at 70% 80%, rgba(123,47,190,0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 20% 30%, rgba(0,102,255,0.1) 0%, transparent 50%);
}
.hero__slide:nth-child(3) .hero__slide-glow {
  background: radial-gradient(ellipse at 30% 70%, rgba(0,212,255,0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 40%, rgba(255,140,0,0.1) 0%, transparent 50%);
}
.hero__slide:nth-child(4) .hero__slide-glow {
  background: radial-gradient(ellipse at 50% 80%, rgba(255,140,0,0.12) 0%, transparent 50%),
              radial-gradient(ellipse at 30% 20%, rgba(123,47,190,0.1) 0%, transparent 50%);
}
.hero__content {
  position: relative; z-index: 10;
  max-width: var(--container-xl); margin-inline: auto;
  padding-inline: var(--space-6); width: 100%;
}
.hero__slide-content {
  position: relative; z-index: 3;
  display: flex; align-items: center;
  min-height: 92vh; padding: var(--space-20) 0;
}
.hero__text { max-width: 700px; }
.hero__hook {
  font-size: var(--text-5xl); font-weight: 900;
  color: var(--color-white); line-height: var(--leading-tight);
  margin-bottom: var(--space-5);
  opacity: 0; transform: translateY(40px);
}
.hero__slide.active .hero__hook {
  animation: heroContentStagger 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
.hero__hook .highlight {
  background: var(--gradient-hero);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero__subcopy {
  font-size: var(--text-xl); color: rgba(255,255,255,0.75);
  line-height: var(--leading-relaxed); margin-bottom: var(--space-8);
  max-width: 580px; opacity: 0; transform: translateY(30px);
}
.hero__slide.active .hero__subcopy {
  animation: heroContentStagger 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}
.hero__actions {
  display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
}
.hero__slide.active .hero__actions {
  animation: heroContentStagger 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}
@keyframes heroContentStagger {
  0%   { opacity: 0; transform: translateY(40px); filter: blur(4px); }
  60%  { filter: blur(1px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.hero__parallax-element { position: absolute; pointer-events: none; z-index: 2; opacity: 0; transition: opacity 1s var(--ease-out); }
.hero__slide.active .hero__parallax-element { opacity: 1; }
.hero__parallax-circle { width: 400px; height: 400px; border-radius: 50%; border: 1px solid rgba(0,212,255,0.1); top: 10%; left: -5%; }
.hero__parallax-grid {
  width: 300px; height: 300px;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px; bottom: 10%; left: 5%; transform: rotate(15deg);
}
.hero__progress {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 20;
  display: flex; gap: var(--space-2); padding: var(--space-6);
  max-width: var(--container-xl); margin-inline: auto;
}
.hero__progress-bar { flex: 1; height: 3px; background: rgba(255,255,255,0.15); border-radius: var(--radius-full); overflow: hidden; cursor: pointer; }
.hero__progress-fill { height: 100%; width: 0; background: var(--gradient-primary); border-radius: var(--radius-full); }
.hero__progress-bar.active .hero__progress-fill { width: 100%; transition: width 12s linear; }
.hero__progress-bar.completed .hero__progress-fill { width: 100%; transition: none; }
.hero__nav {
  position: absolute; bottom: var(--space-6); left: var(--space-6); z-index: 20;
  display: flex; gap: var(--space-2);
}
.hero__nav-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15); color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-lg); transition: all var(--duration-fast);
}
.hero__nav-btn:hover { background: rgba(255,255,255,0.2); }
.hero__scroll {
  position: absolute; bottom: var(--space-12); left: 50%; transform: translateX(-50%);
  z-index: 20; display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
  color: rgba(255,255,255,0.5); font-size: var(--text-xs); animation: float 2s ease-in-out infinite;
}
.hero__scroll-line { width: 1px; height: 30px; background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent); }
@media (max-width: 1024px) {
  .hero { min-height: 80vh; }
  .hero__hook { font-size: var(--text-4xl); }
  .hero__slide-content { min-height: 80vh; }
}
@media (max-width: 768px) {
  .hero { min-height: 70vh; }
  .hero__hook { font-size: var(--text-3xl); }
  .hero__subcopy { font-size: var(--text-base); }
  .hero__slide-content { min-height: 70vh; padding: var(--space-16) 0; }
  .hero__actions { gap: var(--space-3); }
  .hero__actions .btn { width: 100%; }
  .hero__nav, .hero__scroll, .hero__parallax-element { display: none; }
}
@media (max-width: 480px) { .hero__hook { font-size: var(--text-2xl); } }
