
/* ==========================================
   ACADEMIC HELP - HERO SECTION
   ========================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  height: auto;
  min-height: min(780px, calc(100svh - 78px));
  padding: 100px 28px 35px;
  background: #0F1B3D;
  color: #FFFFFF;
  text-align: left;
  overflow: hidden;
}

/* Remove legacy header overlay */
.hero::before {
  display: none;
  content: none;
}

.hero__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1184px;
  margin: 0 auto;
}

.hero__content {
  max-width: 820px;
}

/* EYEBROW */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: #D7DEEE;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #FF3D8B;
}

/* MAIN TITLE */
.hero .hero__title {
  margin: 0;
  color: #FFFFFF;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(42px, 5.8vw, 82px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -3px;
  text-transform: none;
}

.hero__title span {
  display: block;
  margin-top: 8px;
  color: #FF3D8B;
  font-weight: 700;
  letter-spacing: -3px;
}

/* DESCRIPTION */
.hero__description {
  max-width: 620px;
  margin: 30px 0 0;
  color: #C5CEE1;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 400;
  line-height: 1.85;
}

/* BUTTONS */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 54px;
  padding: 15px 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition:
    background-color .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.hero__button--primary {
  background: #FF3D8B;
  color: #0F1B3D;
}

.hero__button--primary:hover {
  background: #FF66A3;
  color: #0F1B3D;
  transform: translateY(-2px);
}

.hero__button--secondary {
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: #FFFFFF;
}

.hero__button--secondary:hover {
  border-color: #FFFFFF;
  background: rgba(255,255,255,.08);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.hero__button:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 4px;
}

/* AVAILABILITY */
.hero__availability {
  margin-top: 24px;
  color: #AAB7D2;
  font-size: 13px;
  line-height: 1.6;
}

/* BOTTOM FEATURES */
.hero__bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 90px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.15);
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #E4E9F4;
  font-size: 14px;
  font-weight: 500;
}

.hero__feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,61,139,.45);
  border-radius: 12px;
  color: #FF3D8B;
  font-size: 12px;
  font-weight: 800;
}

/* TABLET */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 95px 28px 35px;
  }

  .hero .hero__title,
  .hero__title span {
    letter-spacing: -2px;
  }

  .hero__bottom {
    margin-top: 75px;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .hero {
    min-height: auto;
    padding: 78px 20px 28px;
  }

  .hero__eyebrow {
    margin-bottom: 24px;
    font-size: 10px;
    letter-spacing: 1.4px;
  }

  .hero .hero__title {
    font-size: clamp(32px, 8.2vw, 44px);
    line-height: 1.15;
    letter-spacing: -1.4px;
    overflow-wrap: break-word;
  }

  .hero__title span {
    margin-top: 8px;
    letter-spacing: -1.6px;
  }

  .hero__description {
    margin-top: 25px;
    font-size: 15px;
    line-height: 1.8;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 30px;
  }

  .hero__button {
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
  }

  .hero__availability {
    margin-top: 20px;
    font-size: 12px;
  }

  .hero__bottom {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 58px;
    padding-top: 24px;
  }

  .hero__feature {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__button {
    transition: none;
  }

  .hero__button:hover {
    transform: none;
  }
}


/* ==========================================
   HERO ENTRANCE ANIMATIONS
   ========================================== */

/* Only animate when JavaScript initializes */
.hero.hero--animate .hero__eyebrow,
.hero.hero--animate .hero__title,
.hero.hero--animate .hero__description,
.hero.hero--animate .hero__actions,
.hero.hero--animate .hero__availability,
.hero.hero--animate .hero__bottom {
  opacity: 0;
  transform: translateY(26px);
}

.hero.hero--animate.hero--visible .hero__eyebrow,
.hero.hero--animate.hero--visible .hero__title,
.hero.hero--animate.hero--visible .hero__description,
.hero.hero--animate.hero--visible .hero__actions,
.hero.hero--animate.hero--visible .hero__availability,
.hero.hero--animate.hero--visible .hero__bottom {
  animation: heroReveal .8s cubic-bezier(.22, 1, .36, 1) both;
}

.hero.hero--visible .hero__eyebrow {
  animation-delay: 0s !important;
}

.hero.hero--visible .hero__title {
  animation-delay: .12s !important;
}

.hero.hero--visible .hero__description {
  animation-delay: .30s !important;
}

.hero.hero--visible .hero__actions {
  animation-delay: .45s !important;
}

.hero.hero--visible .hero__availability {
  animation-delay: .55s !important;
}

.hero.hero--visible .hero__bottom {
  animation-delay: .65s !important;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero.hero--animate .hero__eyebrow,
  .hero.hero--animate .hero__title,
  .hero.hero--animate .hero__description,
  .hero.hero--animate .hero__actions,
  .hero.hero--animate .hero__availability,
  .hero.hero--animate .hero__bottom {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}
