/* Hero Section */
.hero {
  position: relative;
  min-height: 900px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      to right,
      rgba(24, 24, 27, 0.85),   
      rgba(0, 0, 0, 0.45) 40%,
      rgba(0, 0, 0, 0.15) 70%,
      rgba(0, 0, 0, 0) 100% 
    ),
    url("/assets/img/hero-bg.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero > * {
  position: relative;
  z-index: 1;
}

/* Hero Content */
.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  padding: var(--space-20) 0;
}

.hero__text {
  max-width: 600px;
}

/* Hero Badge */
.hero__badge {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  background: var(--color-primary-alpha-10);
  border: 1px solid var(--color-primary-alpha-20);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

/* Hero Title */
.hero__title {
  font-size: var(--font-size-6xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-white);
  margin-bottom: var(--space-6);
}

/* Hero Description */
.hero__description {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-relaxed);
  color: var(--color-gray-400);
  margin-bottom: var(--space-8);
}

/* Hero CTA */
.hero__cta {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

/* Hero Stats */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.stat {
  display: flex;
  flex-direction: row;
  text-align: left;
}

.stat__value {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-2);
  margin-right: var(--space-2);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__label {
  font-size: var(--font-size-sm);
  color: var(--color-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Hero */
@media (max-width: 1023px) {
  .hero {
    min-height: auto;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    padding: var(--space-12) 0;
  }

  .hero__text {
    max-width: 100%;
    text-align: center;
  }

  .hero__title {
    font-size: var(--font-size-4xl);
  }

  .hero__description {
    font-size: var(--font-size-lg);
  }

  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .hero__cta .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero__stats {
    justify-content: center;
  }

  .stat {
    text-align: center;
  }

  .hero__visual {
    order: -1;
  }

  .floating-card {
    display: none;
  }
}

@media (max-width: 639px) {
  .hero::before {
    background-image:
      linear-gradient(
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.6)
      ),
      url("/assets/img/hero-bg.webp");
  }

  .hero__title {
    font-size: var(--font-size-3xl);
  }

  .hero__description {
    font-size: var(--font-size-base);
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}
