/* =========================
   INDEX PAGE
   ========================= */

:root {
  --index-border: rgba(255,255,255,0.08);
  --index-border-strong: rgba(255,255,255,0.14);
  --index-text-soft: rgba(235,241,255,0.78);
  --index-text-muted: rgba(208,219,245,0.56);
  --index-blue: #2d5bff;
  --index-title-soft: #f2f5fb;
  --index-title-muted: rgba(235,241,255,0.78);
  --index-count-soft: #f3f6ff;
  --index-heading-gradient: linear-gradient(135deg, #ffffff 0%, #e5ecff 42%, #9db6ff 100%);
  --index-heading-gradient-soft: linear-gradient(135deg, #ffffff 0%, #edf2ff 48%, #b4c7ff 100%);
  --index-dark-bg: linear-gradient(180deg, rgba(7,10,18,0.92) 0%, rgba(10,14,24,0.96) 100%);
  --index-dark-glow:
    radial-gradient(circle at 20% 25%, rgba(90,120,255,0.10), transparent 28%),
    radial-gradient(circle at 80% 75%, rgba(255,255,255,0.05), transparent 24%);
}

html {
  scroll-behavior: smooth;
}

/* =========================
   HERO
   ========================= */

.index-page .hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  text-align: center;
  overflow: hidden;
}

.index-page .video-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.index-page .bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.index-page .video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.index-page .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: min(1100px, calc(100% - 40px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.index-page .hero-top {
  margin-bottom: 0;
}

.index-page .hero-bottom {
  position: static;
  transform: none;
  width: min(90vw, 760px);
  margin: 0 auto;
}

.index-page .hero-tagline {
  margin: 0 0 8px;
  font-size: 0.95rem;
  opacity: 0.82;
  letter-spacing: 0.06em;
  color: rgba(236,242,255,0.88);
}

.index-page .hero h1 {
  margin: 0;
  font-size: clamp(2.9rem, 8.6vw, 5.1rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.08em;
  background: linear-gradient(
    120deg,
    #ffffff 0%,
    #f2f2f2 25%,
    #ffffff 50%,
    #3f3f3f 65%,
    #ffffff 80%,
    #ffffff 100%
  );
  background-size: 200% 200%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textWaveOneWay 8s linear forwards;
}

.index-page .sub-headline {
  margin: 4px 0 0;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.12em;
  background: linear-gradient(
    120deg,
    #ffffff 0%,
    #f2f2f2 25%,
    #ffffff 50%,
    #3f3f3f 65%,
    #ffffff 80%,
    #ffffff 100%
  );
  background-size: 200% 200%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textWaveOneWay 8s linear forwards;
}

.index-page .hero-main {
  max-width: 700px;
  margin: 18px auto 0;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(240,245,255,0.9);
}

.index-page .hero-programs {
  margin-top: 14px;
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.9;
  color: rgba(220,230,252,0.78);
}

@keyframes textWaveOneWay {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* =========================
   HERO CTA
   ========================= */

.index-page .hero-cta {
  display: flex;
  justify-content: center;
  margin-top: 26px;
  opacity: 1;
  transform: none;
}

.index-page .hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.index-page .hero-btn.primary {
  background: rgba(20, 24, 38, 0.72);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.index-page .hero-btn.primary:hover {
  background: rgba(28, 34, 52, 0.84);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.24);
}

/* =========================
   PARTNERS
   ========================= */

.index-page .partners {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 3;
  margin-top: 0;
  background: transparent !important;
}

.index-page .partner-title {
  display: block;
  width: 100%;
  margin: 0 auto 0;
  text-align: center;
  font-size: 1rem;
  color: #666;
  text-transform: uppercase;
}

.index-page .logo-track {
  position: relative;
  width: 88%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 22px 0 12px;
  overflow: hidden;
  background: transparent !important;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,1) 7%,
    rgba(0,0,0,1) 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,1) 7%,
    rgba(0,0,0,1) 93%,
    transparent 100%
  );
}

.index-page .logo-track::before,
.index-page .logo-track::after {
  display: none !important;
  content: none !important;
  background: transparent !important;
}

.index-page .track-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: logoScroll 30s linear infinite;
  background: transparent !important;
}

.index-page .track-inner img {
  width: 88px;
  flex-shrink: 0;
  filter: brightness(0) invert(1) contrast(200%);
  opacity: 0.68;
  transition: opacity 0.4s ease;
}

.index-page .track-inner img:hover {
  opacity: 1;
}

@keyframes logoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================
   INDEX FLOW
   ========================= */

.index-page .index-flow {
  position: relative;
  background: var(--index-dark-bg);
  overflow: hidden;
  padding: 0;
}

.index-page .index-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--index-dark-glow);
  pointer-events: none;
}

.index-page .index-flow > section {
  position: relative;
  z-index: 2;
  background: transparent !important;
  margin-top: 0 !important;
}

.index-page .index-flow > section + section::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 120px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0) 0%,
    rgba(182,198,245,0.18) 18%,
    rgba(196,212,255,0.42) 50%,
    rgba(182,198,245,0.18) 82%,
    rgba(255,255,255,0) 100%
  );
  pointer-events: none;
}

.index-page section + section {
  margin-top: 0 !important;
}

.index-page .index-message,
.index-page .stats-section,
.index-page .programs,
.index-page .more-programs,
.index-page .ending-message {
  padding-left: 15%;
  padding-right: 15%;
}

.index-page .index-message {
  padding-top: 124px;
  padding-bottom: 124px;
}

.index-page .stats-section {
  padding-top: 116px;
  padding-bottom: 104px;
}

.index-page .programs {
  padding-top: 116px;
  padding-bottom: 116px;
  text-align: center;
}

.index-page .more-programs {
  padding-top: 116px;
  padding-bottom: 120px;
  text-align: center;
}

/* =========================
   INDEX MESSAGE
   ========================= */

.index-page .index-message .section-inner {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.index-page .index-message .section-inner.narrow {
  max-width: 980px;
  text-align: center;
}

.index-page .index-message-label {
  display: inline-block;
  margin-bottom: 22px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(226,235,255,0.74);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.index-page .index-message h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.03em;
  word-break: keep-all;
  background: var(--index-heading-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.index-page .index-message h2 .point {
  background: linear-gradient(135deg, #ffffff 0%, #dce7ff 52%, #8aa9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.index-page .index-message-desc {
  width: min(100%, 760px);
  margin: 26px auto 0;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--index-text-soft);
  word-break: keep-all;
}

/* =========================
   STATS
   ========================= */

.index-page .stats-title {
  margin: 0 0 40px;
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.03em;
  text-align: center;
  text-transform: none;
  word-break: keep-all;
  background: var(--index-heading-gradient-soft);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.index-page .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--index-border);
  border-bottom: 1px solid var(--index-border);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  flex: 0 0 auto;
}

.index-page .stat-item {
  padding: 80px 20px;
  text-align: center;
  border-right: 1px solid var(--index-border);
}

.index-page .stat-item:last-child {
  border-right: none;
}

.index-page .count {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--index-count-soft);
}

.index-page .stat-item p:last-child,
.index-page .stat-item .small,
.index-page .small {
  color: var(--index-text-soft);
  line-height: 1.7;
  font-size: 0.95rem;
}

.index-page .stats-note {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: -0.01em;
  color: rgba(223,232,252,0.72);
  word-break: keep-all;
}

.index-page .stats-note br {
  display: block;
}

/* =========================
   SIGNATURE PROGRAMS
   ========================= */

.index-page .program-title {
  margin: 0;
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.03em;
  text-align: center;
  word-break: keep-all;
  background: var(--index-heading-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.index-page .program-title span {
  color: inherit;
}

.index-page .program-guide {
  max-width: 760px;
  margin: 18px auto 10px;
  font-size: 0.98rem;
  line-height: 1.78;
  letter-spacing: -0.01em;
  color: rgba(235,241,255,0.70);
  text-align: center;
  word-break: keep-all;
}

.index-page .program-subtitle {
  max-width: 760px;
  margin: 20px auto 36px;
  font-size: 1.04rem;
  line-height: 1.82;
  letter-spacing: -0.01em;
  color: var(--index-title-muted);
  text-align: center;
  word-break: keep-all;
}

.index-page .program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
  align-items: stretch;
}

.index-page .program-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.07);
  color: #fff;
  text-decoration: none;
  background: rgba(8, 10, 18, 0.72);
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
  opacity: 1;
  transform: none;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.35s ease,
    opacity 0.65s ease;
}

.index-page .program-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  filter: saturate(0.96) contrast(1.02) brightness(0.94);
}

.index-page .program-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6,10,20,0.08) 0%,
    rgba(6,10,20,0.14) 34%,
    rgba(4,7,14,0.78) 100%
  );
}

.index-page .program-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
}

.index-page .program-info h3 {
  margin-bottom: 5px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: rgba(247,250,255,0.98);
}

.index-page .program-info p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(223,232,252,0.74);
}

.index-page .program-card:hover {
  transform: translateY(-3px);
  border-color: rgba(94, 132, 255, 0.34);
  box-shadow: 0 16px 34px rgba(0,0,0,0.22);
}

.index-page .program-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.index-page .program-card.family-card img {
  object-position: 90% center;
}

/* =========================
   MORE PROGRAMS
   ========================= */

.index-page .more-title {
  margin: 0;
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.03em;
  text-align: center;
  word-break: keep-all;
  text-transform: none;
  background: var(--index-heading-gradient-soft);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.index-page .more-title span {
  color: inherit;
}

.index-page .more-subtitle {
  max-width: 760px;
  margin: 20px auto 38px;
  text-align: center;
  font-size: 1.04rem;
  line-height: 1.82;
  letter-spacing: -0.01em;
  color: var(--index-title-muted);
  word-break: keep-all;
}

.index-page .more-scroll {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 8px;
  padding-bottom: 8px;
  overflow: visible;
  text-align: left;
  align-items: stretch;
}

.index-page .more-card {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  color: #fff;
  position: relative;
  background: rgba(8, 10, 18, 0.72);
  opacity: 1;
  transform: none;
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.65s ease;
}

.index-page .more-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.index-page .more-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.10) 0%,
    rgba(0,0,0,0.18) 40%,
    rgba(0,0,0,0.68) 100%
  );
}

.index-page .more-info {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
}

.index-page .more-info h3,
.index-page .more-info h4 {
  margin-bottom: 4px;
  font-size: 0.96rem;
  color: rgba(247,250,255,0.98);
}

.index-page .more-info p {
  font-size: 0.8rem;
  color: rgba(223,232,252,0.78);
}

.index-page .more-card:hover {
  transform: translateY(-4px);
  border-color: var(--index-blue);
  box-shadow: 0 16px 34px rgba(0,0,0,0.22);
}

/* 카드별 이미지 위치 보정 */
.index-page .more-card.fantastic img { object-position: center center; }
.index-page .more-card.ballroon img { object-position: center 38%; }
.index-page .more-card.bubble img { object-position: center 42%; }
.index-page .more-card.magiclight img { object-position: center 34%; }
.index-page .more-card.hotel img { object-position: center center; }
.index-page .more-card.tablehopping img { object-position: center 30%; }

/* =========================
   MORE PROGRAMS BADGES
   ========================= */

.index-page .more-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 28px);
}

.index-page .more-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
}

/* =========================
   ENDING MESSAGE
   ========================= */

.index-page .ending-message {
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 116px;
  padding-bottom: 132px;
}

.index-page .ending-message .section-inner {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.index-page .ending-message .section-inner.narrow {
  max-width: 900px;
  text-align: center;
}

.index-page .ending-message h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -0.03em;
  word-break: keep-all;
  background: linear-gradient(135deg, #ffffff 0%, #e7efff 48%, #9fb8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.index-page .ending-message-cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.index-page .ending-message-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-decoration: none;
  background: rgba(20, 24, 38, 0.72);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.index-page .ending-message-btn:hover {
  transform: translateY(-2px);
  background: rgba(28, 34, 52, 0.84);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 14px 30px rgba(0,0,0,0.24);
}

/* =========================
   REVEAL ANIMATION
   ========================= */

.index-page .reveal {
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
  will-change: opacity, transform;
}

.index-page .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.index-page .index-message.reveal .section-inner {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.index-page .index-message.reveal.active .section-inner {
  opacity: 1;
  transform: translateY(0);
}

.index-page .index-message.reveal h2 {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.9s ease 0.08s,
    transform 0.9s ease 0.08s;
}

.index-page .index-message.reveal .index-message-desc {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.9s ease 0.18s,
    transform 0.9s ease 0.18s;
}

.index-page .index-message.reveal.active h2,
.index-page .index-message.reveal.active .index-message-desc {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   INDEX SCROLL SNAP
   ========================= */

body.index-page {
  scroll-snap-type: y mandatory;
}

.index-page .index-message,
.index-page .stats-section,
.index-page .programs,
.index-page .more-programs,
.index-page .ending-message {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.index-page .index-message {
  min-height: 84vh;
  display: flex;
  align-items: center;
}

.index-page .stats-section {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.index-page .programs {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.index-page .more-programs {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =========================
   BADGE COLOR UNIFIED
   ========================= */

.index-page .program-badge.corporate,
.index-page .more-badge.corporate {
  background: linear-gradient(180deg, rgba(36, 36, 64, 0.92) 0%, rgba(19, 19, 36, 0.92) 100%);
  border: 1px solid rgba(155, 173, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 8px 20px rgba(8, 10, 24, 0.32);
  color: #f5f7ff;
}

.index-page .program-badge.education,
.index-page .more-badge.education {
  background: rgba(66, 115, 132, 0.82);
  border-color: rgba(164, 220, 240, 0.34);
  box-shadow: 0 6px 18px rgba(66, 115, 132, 0.18);
  color: #eefaff;
}

.index-page .program-badge.kids,
.index-page .more-badge.kids {
  background: rgba(236, 122, 146, 0.88);
  border-color: rgba(255, 205, 218, 0.42);
  box-shadow: 0 6px 18px rgba(236, 122, 146, 0.18);
  color: #fff7fb;
}

.index-page .program-badge.family,
.index-page .more-badge.family {
  background: rgba(224, 133, 48, 0.86);
  border-color: rgba(255, 214, 138, 0.40);
  box-shadow: 0 6px 18px rgba(224, 133, 48, 0.18);
  color: #fff7f0;
}

.index-page .program-badge.theme,
.index-page .more-badge.theme {
  background: rgba(89, 116, 173, 0.84);
  border-color: rgba(180, 205, 255, 0.36);
  box-shadow: 0 6px 18px rgba(89, 116, 173, 0.20);
  color: #eef4ff;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1280px) {
  .index-page .index-message,
  .index-page .stats-section,
  .index-page .programs,
  .index-page .more-programs,
  .index-page .ending-message {
    padding-left: 10%;
    padding-right: 10%;
  }

  .index-page .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .index-page .program-card img {
    height: 380px;
  }

  .index-page .more-scroll {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .index-page .ending-message {
    padding-top: 104px;
    padding-bottom: 118px;
  }

  .index-page .ending-message h2 {
    font-size: clamp(1.95rem, 4.2vw, 3.05rem);
  }
}

@media (max-width: 1024px) {
  body.index-page {
    scroll-snap-type: none;
  }

  .index-page .index-message,
  .index-page .stats-section,
  .index-page .programs,
  .index-page .more-programs,
  .index-page .ending-message {
    min-height: auto;
    padding-left: 8%;
    padding-right: 8%;
  }

  .index-page .index-message {
    padding-top: 90px;
    padding-bottom: 78px;
  }

  .index-page .stats-section,
  .index-page .programs {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .index-page .more-programs,
  .index-page .ending-message {
    padding-top: 92px;
    padding-bottom: 102px;
  }

  .index-page .index-message h2,
  .index-page .stats-title,
  .index-page .program-title,
  .index-page .more-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    line-height: 1.34;
  }

  .index-page .stats-title {
    margin-bottom: 34px;
  }

  .index-page .index-message-desc {
    font-size: 1rem;
    line-height: 1.85;
  }

  .index-page .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .index-page .stat-item:nth-child(2) {
    border-right: none;
  }

  .index-page .stat-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--index-border);
  }

  .index-page .program-subtitle,
  .index-page .more-subtitle {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.76;
  }

  .index-page .more-scroll {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .index-page .more-card img {
    height: 230px;
  }

  .index-page .stats-note {
    max-width: 560px;
    margin-top: 24px;
    font-size: 0.94rem;
    line-height: 1.75;
  }

  .index-page .ending-message .section-inner {
    max-width: 860px;
  }

  .index-page .ending-message .section-inner.narrow {
    max-width: 760px;
  }

  .index-page .ending-message h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    line-height: 1.34;
  }

  .index-page .index-flow > section + section::before {
    top: -52px;
    height: 104px;
  }
}

@media (max-width: 768px) {
  body.index-page {
    scroll-snap-type: none;
  }

  .index-page .hero {
    min-height: 100svh;
  }

  .index-page .hero-content {
    width: calc(100% - 32px);
  }

  .index-page .hero h1 {
    letter-spacing: 0.08em;
  }

  .index-page .sub-headline {
    font-size: clamp(1.3rem, 6vw, 2rem);
  }

  .index-page .hero-cta {
    margin-top: 22px;
  }

  .index-page .hero-btn {
    min-width: 148px;
    padding: 10px 16px;
    font-size: 0.88rem;
  }

  .index-page .partners {
    bottom: 14px;
  }

  .index-page .logo-track {
    padding: 18px 0 10px;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0,0,0,1) 5%,
      rgba(0,0,0,1) 95%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0,0,0,1) 5%,
      rgba(0,0,0,1) 95%,
      transparent 100%
    );
  }

  .index-page .partner-title {
    font-size: 0.78rem;
    line-height: 1.5;
    margin-bottom: 8px;
    padding: 0 20px;
  }

  .index-page .track-inner {
    gap: 36px;
    animation: logoScroll 24s linear infinite;
  }

  .index-page .track-inner img {
    width: 72px;
    opacity: 0.7;
  }

  .index-page .index-message,
  .index-page .stats-section,
  .index-page .programs,
  .index-page .more-programs,
  .index-page .ending-message {
    min-height: 92svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 5%;
    padding-right: 5%;
  }

  .index-page .index-message {
    padding-top: 112px;
    padding-bottom: 100px;
  }

  .index-page .stats-section,
  .index-page .programs,
  .index-page .more-programs,
  .index-page .ending-message {
    padding-top: 118px;
    padding-bottom: 118px;
  }

  .index-page .index-message .section-inner {
    width: 100%;
  }

  .index-page .index-message-label {
    margin-bottom: 18px;
    padding: 7px 13px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .index-page .index-message h2,
  .index-page .stats-title,
  .index-page .program-title,
  .index-page .more-title {
    font-size: 1.9rem;
    line-height: 1.42;
    letter-spacing: -0.025em;
  }

  .index-page .stats-title {
    margin-bottom: 28px;
  }

  .index-page .index-message-desc {
    margin-top: 18px;
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .index-page .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow: visible;
    border-left: none;
    border-right: none;
  }

  .index-page .stat-item {
    min-width: 0;
    padding: 44px 16px;
    border-right: 1px solid var(--index-border);
    border-bottom: 1px solid var(--index-border);
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }

  .index-page .stat-item:nth-child(2n) {
    border-right: none;
  }

  .index-page .stat-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .index-page .count {
    font-size: 1.9rem;
    margin-bottom: 8px;
  }

  .index-page .stat-item p:last-child,
  .index-page .stat-item .small,
  .index-page .small {
    font-size: 0.88rem;
    line-height: 1.6;
    word-break: keep-all;
  }

  .index-page .stats-note {
    max-width: 320px;
    margin-top: 20px;
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(223,232,252,0.68);
  }

  .index-page .program-guide {
    margin: 14px auto 8px;
    font-size: 0.94rem;
    line-height: 1.72;
  }

  .index-page .program-subtitle,
  .index-page .more-subtitle {
    margin: 16px auto 28px;
    font-size: 0.97rem;
    line-height: 1.72;
  }

  /* 모바일 stats는 2x2 유지 */
  .index-page .program-grid {
    grid-template-columns: 1fr;
  }

  .index-page .program-grid {
    gap: 16px;
  }

  .index-page .program-card {
    border-radius: 18px;
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity 0.65s ease,
      transform 0.65s ease,
      border-color 0.35s ease,
      box-shadow 0.35s ease,
      filter 0.35s ease;
  }

  .index-page .program-card img {
    height: 230px;
  }

  .index-page .program-info {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .index-page .program-info h3 {
    font-size: 0.94rem;
    margin-bottom: 4px;
  }

  .index-page .program-info p {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .index-page .program-badge {
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    font-size: 0.62rem;
  }

  .index-page .more-scroll {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .index-page .more-card {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity 0.65s ease,
      transform 0.65s ease,
      border-color 0.35s ease,
      box-shadow 0.35s ease;
  }

  .index-page .more-card img {
    height: 220px;
  }

  .index-page .more-badges {
    top: 12px;
    left: 12px;
    gap: 5px;
    max-width: calc(100% - 24px);
  }

  .index-page .more-badge {
    min-height: 26px;
    padding: 5px 9px;
    font-size: 0.64rem;
  }

  .index-page .ending-message .section-inner,
  .index-page .ending-message .section-inner.narrow {
    max-width: 100%;
  }

  .index-page .ending-message h2 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    line-height: 1.4;
    letter-spacing: -0.025em;
  }

  .index-page .ending-message-cta {
    margin-top: 24px;
  }

  .index-page .ending-message-btn {
    min-width: 156px;
    padding: 11px 18px;
    font-size: 0.88rem;
  }

  .index-page .index-flow > section + section::before {
    top: -36px;
    height: 72px;
    opacity: 0.5;
  }

  .index-page .stats-section.reveal,
  .index-page .programs.reveal,
  .index-page .more-programs.reveal,
  .index-page .ending-message.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease, transform 0.75s ease;
    will-change: opacity, transform;
  }

  .index-page .stats-section.reveal.active,
  .index-page .programs.reveal.active,
  .index-page .more-programs.reveal.active,
  .index-page .ending-message.reveal.active {
    opacity: 1;
    transform: translateY(0);
  }

  .index-page .reveal.active .stat-item,
  .index-page .reveal.active .program-card,
  .index-page .reveal.active .more-card {
    opacity: 1;
    transform: translateY(0);
  }

  .index-page .reveal.active .stat-item:nth-child(1),
  .index-page .reveal.active .program-card:nth-child(1),
  .index-page .reveal.active .more-card:nth-child(1) {
    transition-delay: 0.05s;
  }

  .index-page .reveal.active .stat-item:nth-child(2),
  .index-page .reveal.active .program-card:nth-child(2),
  .index-page .reveal.active .more-card:nth-child(2) {
    transition-delay: 0.12s;
  }

  .index-page .reveal.active .stat-item:nth-child(3),
  .index-page .reveal.active .program-card:nth-child(3),
  .index-page .reveal.active .more-card:nth-child(3) {
    transition-delay: 0.19s;
  }

  .index-page .reveal.active .stat-item:nth-child(4),
  .index-page .reveal.active .program-card:nth-child(4),
  .index-page .reveal.active .more-card:nth-child(4) {
    transition-delay: 0.26s;
  }
}

@media (max-width: 480px) {
  .index-page .hero-content {
    width: calc(100% - 24px);
  }

  .index-page .partners {
    bottom: 12px;
  }

  .index-page .hero-main {
    font-size: 0.95rem;
  }

  .index-page .hero-programs {
    font-size: 0.88rem;
  }

  .index-page .track-inner {
    gap: 24px;
  }

  .index-page .track-inner img {
    width: 60px;
  }

  .index-page .index-message,
  .index-page .stats-section,
  .index-page .programs,
  .index-page .more-programs,
  .index-page .ending-message {
    min-height: 88svh;
    padding-left: 18px;
    padding-right: 18px;
  }

  .index-page .index-message {
    padding-top: 96px;
    padding-bottom: 86px;
  }

  .index-page .stats-section,
  .index-page .programs,
  .index-page .more-programs,
  .index-page .ending-message {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .index-page .index-message h2,
  .index-page .stats-title,
  .index-page .program-title,
  .index-page .more-title {
    font-size: 1.65rem;
    line-height: 1.32;
  }

  .index-page .stats-title {
    margin-bottom: 24px;
  }

  .index-page .index-message-desc {
    font-size: 0.92rem;
  }

  .index-page .stat-item {
    padding: 36px 12px;
  }

  .index-page .count {
    font-size: 1.65rem;
  }

  .index-page .stat-item p:last-child,
  .index-page .stat-item .small,
  .index-page .small {
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .index-page .stats-note {
    max-width: 280px;
    margin-top: 18px;
    font-size: 0.82rem;
    line-height: 1.65;
  }

  .index-page .program-guide {
    margin: 12px auto 8px;
    font-size: 0.9rem;
    line-height: 1.68;
  }

  .index-page .program-subtitle,
  .index-page .more-subtitle {
    margin: 14px auto 24px;
    font-size: 0.92rem;
    line-height: 1.68;
  }

  .index-page .program-card {
    border-radius: 16px;
  }

  .index-page .program-card img {
    height: 210px;
  }

  .index-page .program-info h3 {
    font-size: 0.9rem;
  }

  .index-page .program-info p {
    font-size: 0.74rem;
  }

  .index-page .program-badge {
    top: 10px;
    left: 10px;
    min-width: 48px;
    padding: 4px 8px;
    font-size: 0.6rem;
  }

  .index-page .more-card img {
    height: 200px;
  }

  .index-page .more-badges {
    top: 10px;
    left: 10px;
    gap: 4px;
    max-width: calc(100% - 20px);
  }

  .index-page .more-badge {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 0.6rem;
  }

  .index-page .ending-message h2 {
    font-size: 1.42rem;
    line-height: 1.45;
    letter-spacing: -0.02em;
  }

  .index-page .ending-message-cta {
    margin-top: 22px;
  }

  .index-page .ending-message-btn {
    min-width: 148px;
    padding: 10px 16px;
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .index-page .reveal,
  .index-page .reveal.active,
  .index-page .index-message.reveal .section-inner,
  .index-page .index-message.reveal.active .section-inner,
  .index-page .index-message.reveal h2,
  .index-page .index-message.reveal .index-message-desc,
  .index-page .index-message.reveal.active h2,
  .index-page .index-message.reveal.active .index-message-desc,
  .index-page .stats-section.reveal,
  .index-page .programs.reveal,
  .index-page .more-programs.reveal,
  .index-page .ending-message.reveal,
  .index-page .stat-item,
  .index-page .program-card,
  .index-page .more-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .index-page .track-inner {
    animation: none !important;
  }
}