/* ===== HERO SECTION — Premium Redesign ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-darker);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.7) contrast(1.1);
  animation: heroZoom 25s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.3) 40%, rgba(10,10,10,0.6) 80%, rgba(10,10,10,0.95) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(212, 160, 48, 0.05) 0%, transparent 60%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding-top: 80px;
  padding-bottom: 120px;
}
.hero > .container { position: relative; z-index: 3; }

/* Premium Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 160, 48, 0.08);
  border: 1px solid rgba(212, 160, 48, 0.25);
  padding: 10px 24px;
  border-radius: 50px;
  margin-bottom: 35px;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  backdrop-filter: blur(10px);
}

.hero-badge svg {
  color: var(--color-primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.hero-badge span {
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 22px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  color: var(--color-primary);
  display: block;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
  max-width: 540px;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
  line-height: 1.8;
}

/* Premium Buttons */
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.hero-buttons .btn-primary {
  padding: 13px 30px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-dark);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(212, 160, 48, 0.4);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.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.3), transparent);
  transition: left 0.6s ease;
}

.hero-buttons .btn-primary:hover::before {
  left: 100%;
}

.hero-buttons .btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 45px rgba(212, 160, 48, 0.5);
}

.hero-buttons .btn-secondary {
  padding: 12px 29px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-buttons .btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(212, 160, 48, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(212, 160, 48, 0.15);
}

/* Hero Floating Elements — More Subtle */
.hero-float {
  position: absolute;
  z-index: 2;
  opacity: 0.06;
  animation: float 8s ease-in-out infinite;
}

.hero-float-1 {
  top: 15%;
  right: 8%;
  width: 250px;
  height: 250px;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  animation-delay: 0s;
}

.hero-float-2 {
  bottom: 25%;
  right: 15%;
  width: 180px;
  height: 180px;
  border: 1px solid var(--color-primary);
  transform: rotate(45deg);
  animation-delay: 3s;
}

.hero-float-3 {
  top: 35%;
  right: 3%;
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  border-radius: 50%;
  filter: blur(20px);
  animation-delay: 5s;
}

/* Hero Stats Bar — Glass Effect */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 4;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-top: 1px solid rgba(212, 160, 48, 0.08);
}

.hero-stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.hero-stat-item {
  padding: 35px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  transition: var(--transition);
}

.hero-stat-item:last-child {
  border-right: none;
}

.hero-stat-item:hover {
  background: rgba(212, 160, 48, 0.03);
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.hero-stat-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(3deg); }
}

/* Hero Responsive */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 140px 0 130px;
  }

  .hero-stats .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stat-item {
    padding: 25px 15px;
  }

  .hero-stat-number {
    font-size: 2.2rem;
  }

  .hero-float {
    display: none;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    padding: 12px 26px;
    font-size: 0.76rem;
  }
}
/* ===== HERO RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 100px 0 0; }
  .hero-content { padding-top: 20px; padding-bottom: 140px; }
}

@media (max-width: 576px) {
  .hero { padding: 90px 0 0; }
  .hero-content { padding-top: 10px; padding-bottom: 180px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-description { font-size: 0.98rem; margin-bottom: 24px; }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px 24px;
  }
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
  .hero-stat-number { font-size: 2rem; }
  .hero-stat-item { padding: 20px 12px; }
}

@media (max-width: 400px) {
  .hero-badge span { font-size: 0.7rem; letter-spacing: 1px; }
}

/* Fix animation fill-mode so elements stay visible after animation ends */
.hero-badge       { animation: fadeInUp 0.8s ease 0s    both; }
.hero h1          { animation: fadeInUp 0.8s ease 0.2s  both; }
.hero-description { animation: fadeInUp 0.8s ease 0.4s  both; }
.hero-buttons     { animation: fadeInUp 0.8s ease 0.6s  both; }

/* ─── HERO TRUST BAR ───────────────────────────────── */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.9s both;
}
.hero-trust-count {
  color: var(--color-primary);
  font-weight: 700;
}
.hero-trust-sep { opacity: 0.2; }

/* ─── HERO EYEBROW ─────────────────────────────────── */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 0.7s ease 0s both;
}
.hero-eyebrow-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  flex-shrink: 0;
}
html[dir="rtl"] .hero-eyebrow-line {
  background: linear-gradient(270deg, var(--color-primary), transparent);
}
.hero-eyebrow-text {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════
   HERO RESPONSIVE — Complete Mobile Fix
   ══════════════════════════════════════════════════════ */

/* Tablet 1024 */
@media (max-width: 1024px) {
  .hero h1 { font-size: clamp(2.6rem, 4.5vw, 3.8rem); }
  .hero-content { max-width: 100%; }
}

/* Mobile — convert hero to flex-column so stats flow naturally */
@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-bottom: 0;
  }
  .hero .container {
    flex: 1;
    display: flex;
    align-items: center;
  }
  .hero-content {
    padding-top: 120px;
    padding-bottom: 60px;
    max-width: 100%;
    text-align: center;
  }
  .hero-eyebrow { justify-content: center; }
  .hero-badge   { margin: 0 auto 20px; }
  .hero h1 { font-size: clamp(2rem, 7vw, 3rem); }
  .hero-description {
    font-size: 0.98rem;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
  }
  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
  }
  .hero-trust { justify-content: center; flex-wrap: wrap; margin-top: 20px; }

  /* Stats: pull out of absolute, make it a natural block at the bottom */
  .hero-stats {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
  }
  .hero-stats .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .hero-stat-item {
    padding: 20px 10px;
    border-right: 1px solid rgba(212,160,48,0.08);
    border-bottom: 1px solid rgba(212,160,48,0.08);
  }
  .hero-stat-item:nth-child(2n) { border-right: none; }
  .hero-stat-item:nth-child(3),
  .hero-stat-item:nth-child(4) { border-bottom: none; }
  .hero-stat-item::after { display: none; }
  .hero-stat-number { font-size: 2rem; }
  .hero-stat-label  { font-size: 0.75rem; }

  /* Floats — hide on mobile */
  .hero-float { display: none; }
  .hero-scroll-hint { display: none; }
}

/* Mobile Small 480 */
@media (max-width: 480px) {
  .hero-content { padding-top: 100px; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .hero-eyebrow-text { font-size: 0.62rem; letter-spacing: 1.5px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    text-align: center;
  }
  .hero-stat-number { font-size: 1.7rem; }
  .hero-badge span  { font-size: 0.68rem; letter-spacing: 0.5px; }
}

/* Extra small 360 */
@media (max-width: 360px) {
  .hero h1 { font-size: 1.65rem; }
  .hero-stat-number { font-size: 1.5rem; }
}

/* ── Animations — animation-fill-mode: both ensures visibility ── */
.hero-eyebrow    { animation: fadeInUp 0.7s ease 0.0s both; opacity: 0; }
.hero-badge      { animation: fadeInUp 0.7s ease 0.1s both; opacity: 0; }
.hero h1         { animation: fadeInUp 0.8s ease 0.2s both; opacity: 0; }
.hero-description{ animation: fadeInUp 0.8s ease 0.4s both; opacity: 0; }
.hero-buttons    { animation: fadeInUp 0.8s ease 0.6s both; opacity: 0; }
.hero-trust      { animation: fadeInUp 0.6s ease 0.8s both; opacity: 0; }

/* ── section-cta-link ── */
.section-cta-link {
  text-align: center;
  margin-top: 56px;
}
