/* ============================================
   HERO.CSS - NDIStress Hero Section
   Professional full-screen hero with gradient
   overlay, rating badge, feature strip
   ============================================ */

/* ----------------------------------------
   Hero Container
   ---------------------------------------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  margin-top: var(--header-h);
}

/* ----------------------------------------
   Background Image + Ken Burns
   ---------------------------------------- */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../images/hero/hero-office.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #1a0a2e;
  animation: kenBurns 20s ease-in-out infinite alternate;
}

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

/* ----------------------------------------
   Gradient Overlay (purple→transparent)
   ---------------------------------------- */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(45, 27, 78, 0.85) 0%,
    rgba(45, 27, 78, 0.6) 50%,
    rgba(45, 27, 78, 0.75) 100%
  );
}

/* ----------------------------------------
   Hero Content
   ---------------------------------------- */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 80px 30px 60px;
}

/* ----------------------------------------
   Hero Title
   ---------------------------------------- */
.hero__title {
  font-family: var(--font-heading);
  font-size: var(--hero-size);
  font-weight: var(--hero-weight);
  line-height: var(--hero-lh);
  letter-spacing: var(--hero-ls);
  color: var(--color-white);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

/* ----------------------------------------
   Subtitle & Tagline
   ---------------------------------------- */
.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--body-lg-size);
  line-height: var(--body-lg-lh);
  color: rgba(255, 255, 255, 0.8);
  max-width: 650px;
}

.hero__tagline {
  font-family: var(--font-heading);
  font-size: 22px;
  font-style: italic;
  color: var(--color-accent);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
}

/* ----------------------------------------
   Hero Buttons
   ---------------------------------------- */
.hero__buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ----------------------------------------
   Rating Badge
   ---------------------------------------- */
.hero__rating {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 12px 24px;
}

.hero__rating-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1;
}

.hero__rating-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.hero__stars {
  display: flex;
  gap: 2px;
}

.hero__stars svg {
  width: 14px;
  height: 14px;
  fill: var(--color-accent);
}

.hero__rating-text {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ----------------------------------------
   Feature Strip at Bottom
   Colorful cards with icon circles
   ---------------------------------------- */
.hero__features {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 960px;
  margin: auto auto 0;
  background: var(--color-white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.hero__feature-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  font-family: var(--font-body);
  color: var(--color-dark);
  transition: all 0.35s ease;
  position: relative;
}

/* Vertical separator between items */
.hero__feature-item + .hero__feature-item {
  border-left: 1px solid rgba(0, 0, 0, 0.06);
}

.hero__feature-item:hover {
  background: var(--color-cream);
}

/* Icon circle wrapper - each color variant */
.hero__feature-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.hero__feature-item:hover .hero__feature-icon-wrap {
  transform: scale(1.08);
}

.hero__feature-icon-wrap svg {
  width: 22px;
  height: 22px;
}

/* Purple variant */
.hero__feature-item--purple .hero__feature-icon-wrap {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

/* Orange variant */
.hero__feature-item--orange .hero__feature-icon-wrap {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

/* Teal variant */
.hero__feature-item--teal .hero__feature-icon-wrap {
  background: #E0F2F1;
  color: #2E7D6F;
}

/* Text block */
.hero__feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__feature-text strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
}

.hero__feature-text span {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-dark);
  opacity: 0.5;
}
