/* ============================================================
   HOME PAGE — home.css
   ============================================================ */

/* ----- Hero ----- */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 20s ease-out forwards;
  will-change: transform;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 60%, var(--black) 100%),
    linear-gradient(to right, rgba(0,0,0,0.6) 0%, transparent 50%, rgba(0,0,0,0.4) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero__content .section-tag {
  font-size: 0.875rem;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 20px 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(5, 140, 202, 0.2);
  justify-content: center;
}

.hero__title {
  font-size: clamp(3.5rem, 12vw, 8rem);
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  color: var(--gray-300);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Stats Bar */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-top: 60px;
}

.hero__stat {
  padding: 0 32px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat:last-child {
  border-right: none;
}

.hero__stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--white);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-top: 4px;
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(1.2); }
}

.hero__scroll-label {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray-500);
}

/* ----- About Preview ----- */
.about-preview {
  padding: 120px 0;
}

.about-preview__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .about-preview__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.about-preview__image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.about-preview__image-wrapper::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  border: 1px solid rgba(5, 140, 202, 0.15);
  z-index: 1;
  pointer-events: none;
}

.about-preview__image-wrapper img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.about-preview__image-wrapper:hover img {
  transform: scale(1.03);
}

.about-preview__text p {
  color: var(--gray-400);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.about-preview__text .btn {
  margin-top: 16px;
}

/* ----- Programs Strip ----- */
.programs-strip {
  position: relative;
  padding: 120px 0;
  background: var(--gray-950);
}

.programs-strip__noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
}

.programs-strip__header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.programs-strip__header .section-tag {
  justify-content: center;
}

.programs-strip__header .section-subtitle {
  margin: 0 auto;
}

.programs-strip__grid {
  display: grid;
  gap: 24px;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .programs-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .programs-strip__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Program Card */
.program-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 40px 32px;
  transition:
    transform var(--duration-base) var(--ease-out),
    border-color var(--duration-base) ease,
    box-shadow var(--duration-base) ease;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--duration-base) ease;
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 140, 202, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.program-card:hover::before {
  opacity: 1;
}

.program-card--featured {
  background: rgba(5, 140, 202, 0.04);
  border-color: rgba(5, 140, 202, 0.1);
}

.program-card__number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  margin-bottom: 20px;
}

.program-card__icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 20px;
}

.program-card__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.program-card__desc {
  font-size: 0.9375rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 20px;
}

.program-card__detail {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

.program-card__arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-base) var(--ease-out);
}

.program-card:hover .program-card__arrow {
  transform: translate(3px, -3px);
}

/* ----- Image Break ----- */
.image-break {
  padding: 40px 0;
}

.image-break__wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 21/9;
  clip-path: inset(8% 4% 8% 4%);
  transition: clip-path 1s var(--ease-out);
}

.image-break__wrapper.is-revealed {
  clip-path: inset(0 0 0 0);
}

@media (max-width: 767px) {
  .image-break__wrapper {
    aspect-ratio: 16/9;
  }
}

.image-break__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-break__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-break__quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  color: var(--white);
  text-transform: uppercase;
  text-align: center;
  max-width: 700px;
  padding: 0 24px;
  line-height: 1.15;
}

/* ----- Schedule Preview (Timeline) ----- */
.schedule-preview {
  padding: 120px 0;
}

.schedule-preview__header {
  text-align: center;
  margin-bottom: 64px;
}

.schedule-preview__header .section-tag {
  justify-content: center;
}

.schedule-preview__header .section-subtitle {
  margin: 0 auto;
}

.timeline {
  max-width: 700px;
  margin: 0 auto;
}

.timeline__item {
  display: grid;
  grid-template-columns: 80px 40px 1fr;
  align-items: start;
  gap: 0;
  padding-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

@media (min-width: 480px) {
  .timeline__item {
    grid-template-columns: 100px 40px 1fr;
  }
}

.timeline__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline__time {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent);
  text-align: right;
  padding-top: 4px;
  padding-right: 16px;
}

.timeline__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.timeline__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--black);
  transition: all var(--duration-base) ease;
  flex-shrink: 0;
  margin-top: 6px;
}

.timeline__item:hover .timeline__dot {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.timeline__line {
  width: 1px;
  flex: 1;
  min-height: 32px;
  background: linear-gradient(to bottom, var(--gray-700), transparent);
  margin-top: 8px;
}

.timeline__content {
  padding-left: 16px;
}

.timeline__day {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timeline__times {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ----- FAQ ----- */
.faq {
  padding: 120px 0;
  position: relative;
  background: var(--gray-950);
}

.faq__header {
  text-align: center;
  margin-bottom: 64px;
}

.faq__header .section-tag {
  justify-content: center;
}

.faq__header .section-subtitle {
  margin: 0 auto;
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition:
    border-color var(--duration-base) ease,
    box-shadow var(--duration-base) ease;
}

.faq__item:hover {
  border-color: rgba(5, 140, 202, 0.15);
}

.faq__item.is-open {
  border-color: rgba(5, 140, 202, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  transition: background var(--duration-fast) ease;
}

.faq__question:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq__question-text {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .faq__question-text {
    font-size: 1.5rem;
  }
}

.faq__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(5, 140, 202, 0.08);
  color: var(--accent);
  transition:
    transform var(--duration-base) var(--ease-out),
    background var(--duration-base) ease;
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  background: rgba(5, 140, 202, 0.15);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq__answer-inner {
  padding: 0 28px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 20px;
  margin-top: 0;
}

.faq__answer-inner p {
  font-size: 1rem;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 12px;
}

.faq__answer-inner p:last-child {
  margin-bottom: 0;
}

.faq__link {
  color: var(--accent);
  font-weight: 600;
  transition: color var(--duration-fast) ease;
}

.faq__link:hover {
  color: var(--accent-bright);
}

/* ----- CTA Section ----- */
.cta-section {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.cta-section__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.85)
  );
}

.cta-section__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-section__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white);
  margin-bottom: 20px;
}

.cta-section__subtitle {
  font-size: 1.125rem;
  color: var(--gray-300);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
