.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  width: calc(100% - 4rem);
  margin: 2rem;
  border-radius: 1rem;
}

.hero-section video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.45) saturate(0.9);
}

.hero-section .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 3rem 2rem;
  max-width: 87.5rem;
  margin: 0 auto;
  width: 100%;
}

.hero-container h1 {
  font-family: var(--font-heading);
  font-size: var(--fs-display-lg);
  font-weight: var(--fw-black);
  line-height: var(--lh-display-lg);
  letter-spacing: var(--ls-display-lg);
  color: var(--neutral-light);
  margin-bottom: 1rem;
  -webkit-text-stroke: 2px var(--neutral-light);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  max-width: 15ch;
}

.cursive-subtext {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: var(--fw-regular);
  line-height: var(--lh-base);
  color: var(--neutral-light);
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  font-style: italic;
  max-width: 50rem;
  padding-right: 1rem;
}

.hero-logo {
  max-width: 25rem;
  width: 100%;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 28rem;
}

.hero-btn-watch,
.hero-btn-learn {
  flex: 1;
  padding: 0.6rem 2rem;
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  line-height: var(--lh-base);
  border-radius: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-btn-watch {
  background: var(--primary-1);
  color: var(--neutral-light);
}

.hero-btn-watch:hover {
  transform: translateY(-4px);
}

.hero-btn-learn {
  background: var(--primary-2);
  color: var(--neutral-light);
}

.hero-btn-learn:hover {
  transform: translateY(-4px);
}

@media (max-width: 1024px) {
  .hero-section {
    min-height: 80vh;
    width: calc(100% - 3rem);
    margin: 1.5rem;
  }

  .hero-container {
    padding: 2.5rem 1.5rem;
  }

  .hero-container h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }
}

@media (max-width: 900px) {
  .hero-section {
    min-height: 50vh;
    width: calc(100% - 3rem);
    margin: 1.5rem;
  }

  .hero-container {
    padding: 2.5rem 1.5rem;
  }

  .hero-container h1 {
    font-size: clamp(2.25rem, 7vw, 3.5rem);
  }

  .cursive-subtext {
    font-size: 1.5rem;
  }

  .hero-btn-watch,
  .hero-btn-learn {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
    width: calc(100% - 3rem);
    margin: 1.5rem;
  }

  .hero-container {
    padding: 2.5rem 1.5rem;
  }

  .hero-container h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .cursive-subtext {
    font-size: clamp(0.875rem, 3.5vw, 1.15rem);
    margin-bottom: 1.5rem;
    line-height: var(--lh-base);
    padding-right: 0.5rem;
  }

  .hero-cta {
    max-width: 100%;
    gap: 1rem;
  }

  .hero-btn-watch,
  .hero-btn-learn {
    padding: 0.875rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 60vh;
    width: calc(100% - 2rem);
    margin: 1rem;
  }

  .hero-container {
    padding: 2rem 1rem;
  }

  .hero-container h1 {
    font-weight: var(--fw-extra-bold);
  }

  .cursive-subtext {
    font-size: clamp(0.8rem, 5vw, 1rem);
    line-height: var(--lh-base);
    padding-right: 0;
  }

  .hero-cta {
    gap: 0.875rem;
  }

  .hero-btn-watch,
  .hero-btn-learn {
    padding: 0.875rem 1.25rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 400px) {
  .hero-section {
    min-height: 60vh;
    width: calc(100% - 1rem);
    margin: 0.5rem;
  }

  .hero-container {
    padding: 1.25rem 0.75rem;
  }

  .hero-container h1 {
    font-size: 2rem;
    width: 20ch;
  }

  .cursive-subtext {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.4;
  }

  .hero-cta {
    gap: 0.5rem;
  }

  .hero-btn-watch,
  .hero-btn-learn {
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 375px) {
  .hero-container h1 {
    font-size: 2rem;
    width: 20ch;
  }

  .cursive-subtext {
    font-size: 0.6rem;
  }

  .hero-btn-watch,
  .hero-btn-learn {
    font-size: 0.7rem;
  }
}
