@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ═══════════════════════════════════════════════════════════════
   HERO — CINEMATIC PREMIUM
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  font-family: var(--font-body);
  overflow: hidden;
  background-color: var(--hero-bg);
}

.hero-slider,
.swiper-wrapper,
.swiper-slide {
  width: 100%;
}

.slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 160px 0 120px;
  min-height: 70vh;
}

/* ─── Floating Decorative Shapes ─── */
.hero-floating-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

.hero-shape-1 {
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 159, 28, 0.15) 0%, transparent 70%);
  animation: hero-shape-float 20s ease-in-out infinite;
}

.hero-shape-2 {
  bottom: -15%;
  left: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 109, 212, 0.1) 0%, transparent 70%);
  animation: hero-shape-float 25s ease-in-out infinite reverse;
}

.hero-shape-3 {
  top: 40%;
  left: 60%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 159, 28, 0.08) 0%, transparent 70%);
  animation: hero-shape-float 15s ease-in-out infinite 5s;
}

.hero-shape-4 {
  top: 15%;
  left: 30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(26, 109, 212, 0.06) 0%, transparent 70%);
  animation: hero-shape-float 18s ease-in-out infinite 8s;
}

@keyframes hero-shape-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -40px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(30px, -10px) scale(1.05); }
}

/* ─── Premium Overlay ─── */
.overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3, 10, 22, 0.97) 0%,
      rgba(3, 10, 22, 0.85) 45%,
      rgba(3, 10, 22, 0.3) 100%
    );
  z-index: 1;
}

.overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 159, 28, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 159, 28, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 60% 100% at 30% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 100% at 30% 50%, black 30%, transparent 70%);
}

/* ─── Grain Texture ─── */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ─── Layout Container ─── */
.hero .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px !important;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 780px;
  margin-top: 20px;
}

/* ─── Badge Premium ─── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 159, 28, 0.25);
  color: var(--accent-gold);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  background: rgba(255, 159, 28, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 30px;
  background: conic-gradient(from 0deg, transparent, rgba(255, 159, 28, 0.3), transparent, rgba(255, 159, 28, 0.3), transparent);
  z-index: -1;
  animation: hero-badge-border 6s linear infinite;
}

@keyframes hero-badge-border {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-badge i {
  color: var(--accent-gold);
  font-size: 0.8rem;
  animation: badge-pulse 2.5s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

/* ─── Title ─── */
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
  position: relative;
}

.hero-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  margin-top: 22px;
  background: linear-gradient(90deg, var(--accent-gold-dark), var(--accent-gold), transparent);
  border-radius: 2px;
  animation: hero-underline 4s ease-in-out infinite;
}

@keyframes hero-underline {
  0%, 100% { width: 100px; opacity: 1; }
  50% { width: 240px; opacity: 0.7; }
}

.hero-title .accent-orange {
  background: linear-gradient(135deg, #ffe099 0%, var(--accent-gold) 40%, var(--accent-gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  text-shadow: none;
  filter: drop-shadow(0 0 40px rgba(255, 159, 28, 0.2));
}

/* ─── Description ─── */
.hero-text {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 38px;
  max-width: 620px;
  font-weight: 400;
  position: relative;
  padding-left: 20px;
  border-left: 2px solid rgba(255, 159, 28, 0.15);
}

/* ─── Buttons ─── */
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 15px 34px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-title);
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-buttons .btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.3);
}

.hero-buttons .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: btn-shimmer 4s ease-in-out infinite;
}

@keyframes btn-shimmer {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

.hero-buttons .btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(255, 107, 0, 0.45);
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-hover) 100%);
}

.hero-buttons .btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.08);
}

/* ─── Scroll Indicator ─── */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
}

.scroll-mouse {
  display: block;
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  position: relative;
}

.scroll-dot {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(16px); opacity: 0; }
}

/* ─── Controls ─── */
.hero-controls {
  position: absolute;
  bottom: 50px;
  left: 0;
  width: 100%;
  z-index: 10;
}

.control-flex {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.control-capsule {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(3, 10, 22, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 18px;
  border-radius: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.control-capsule:hover {
  background: rgba(3, 10, 22, 0.5);
  border-color: rgba(255, 255, 255, 0.12);
}

.swiper-pagination {
  position: static !important;
  text-align: center !important;
  width: auto !important;
  display: flex;
  align-items: center;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  margin: 0 6px !important;
  transition: all 0.4s ease;
}

.swiper-pagination-bullet-active {
  background: var(--accent-gold);
  width: 28px;
  border-radius: 8px;
  opacity: 1;
  box-shadow: 0 0 12px rgba(255, 159, 28, 0.6);
}

.custom-nav {
  pointer-events: auto;
  position: static !important;
  margin-top: 0 !important;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff !important;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.custom-nav::after {
  display: none !important;
}

.custom-nav i {
  font-size: 0.95rem;
  transition: transform 0.3s ease;
}

.custom-nav:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #fff !important;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.35);
}

.custom-nav:active i {
  transform: scale(0.9);
}

/* ─── Slide Animations ─── */
.swiper-slide .hero-badge {
  opacity: 0;
  transform: translateY(-25px);
  filter: blur(6px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.23, 1, 0.32, 1), filter 0.7s ease;
}

.swiper-slide .hero-title {
  opacity: 0;
  transform: translateX(-70px);
  filter: blur(12px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.23, 1, 0.32, 1), filter 1s ease;
}

.swiper-slide .hero-text {
  opacity: 0;
  transform: translateY(35px);
  filter: blur(6px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), filter 0.8s ease;
}

.swiper-slide .hero-buttons {
  opacity: 0;
  transform: translateY(30px) scale(0.85);
  filter: blur(5px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.23, 1, 0.32, 1), filter 0.7s ease;
}

.swiper-slide:not(.swiper-slide-active) .hero-buttons { transition-delay: 0s; }
.swiper-slide:not(.swiper-slide-active) .hero-text   { transition-delay: 0.05s; }
.swiper-slide:not(.swiper-slide-active) .hero-title   { transition-delay: 0.1s; }
.swiper-slide:not(.swiper-slide-active) .hero-badge   { transition-delay: 0.15s; }

.swiper-slide-active .hero-badge,
.swiper-slide-active .hero-title,
.swiper-slide-active .hero-text,
.swiper-slide-active .hero-buttons {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
  filter: blur(0);
}

.swiper-slide-active .hero-badge { transition-delay: 0.15s; }
.swiper-slide-active .hero-title { transition-delay: 0.4s; }
.swiper-slide-active .hero-text  { transition-delay: 0.7s; }
.swiper-slide-active .hero-buttons { transition-delay: 0.95s; }

/* ─── Responsive ─── */
@media (min-width: 1400px) {
  .slide {
    min-height: 65vh;
    padding: 180px 0 140px;
  }
}

@media (max-width: 991px) {
  .slide {
    padding: 130px 0 90px;
    min-height: 60vh;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-title::after {
    margin-top: 14px;
  }
  .hero-text {
    padding-left: 14px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero .container {
    padding: 0 20px !important;
  }
  .slide {
    padding: 100px 0 50px;
    min-height: 55vh;
    align-items: flex-end;
  }
  .hero-badge {
    margin-bottom: 14px;
    padding: 6px 14px;
    font-size: 0.6rem;
    letter-spacing: 2px;
  }
  .hero-title {
    font-size: 1.7rem;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
  }
  .hero-title::after {
    width: 50px;
    height: 3px;
    margin-top: 12px;
  }
  .hero-text {
    margin: 0 0 20px 0;
    padding-left: 12px;
    font-size: 0.9rem;
    border-left-width: 2px;
    line-height: 1.6;
  }
  .hero-content {
    margin-top: 0;
    text-align: left;
    max-width: 100%;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.85rem;
  }
  .hero-controls {
    bottom: 20px;
  }
  .control-flex {
    justify-content: center;
  }
  .control-capsule {
    padding: 4px 10px;
    gap: 10px;
  }
  .custom-nav {
    width: 30px;
    height: 30px;
  }
  .custom-nav i {
    font-size: 0.75rem;
  }
  .overlay {
    background: linear-gradient(180deg, rgba(3, 10, 22, 0.88) 0%, rgba(3, 10, 22, 0.98) 100%);
  }
  .hero-scroll-indicator {
    display: none;
  }
  .hero-buttons .btn-primary {
    background: linear-gradient(135deg, #ff9a2e 0%, #ff6a00 100%);
    box-shadow: 0 4px 20px rgba(255, 125, 0, 0.4);
  }
  .hero-buttons .btn-outline {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
  }
}

@media (max-width: 480px) {
  .slide {
    padding: 80px 0 40px;
    min-height: 50vh;
  }
  .hero-title {
    font-size: 1.4rem;
  }
  .hero-text {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }
}