@font-face {
  font-family: "Noto Sans KR";
  src: url("./font/new/NotoSansKR-Thin.ttf") format("truetype");
  font-style: normal;
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("./font/new/NotoSansKR-ExtraLight.ttf") format("truetype");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("./font/new/NotoSansKR-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("./font/new/NotoSansKR-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("./font/new/NotoSansKR-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("./font/new/NotoSansKR-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("./font/new/NotoSansKR-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("./font/new/NotoSansKR-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("./font/new/NotoSansKR-Black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans KR", system-ui, sans-serif;
}

.hero-kicker {
  width: fit-content;
  letter-spacing: 0.02em;
}

.hero-mobile-image {
  display: none;
}

.hero-bg {
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(253, 224, 71, 0.5), transparent 38%),
    radial-gradient(circle at 85% 15%, rgba(250, 204, 21, 0.45), transparent 34%),
    linear-gradient(135deg, #fffdf2 0%, #fff8d6 52%, #ffe9a8 100%);
  overflow: hidden;
}

.glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}

.shadow-card {
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.shadow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.14);
}

.hero-typing {
  min-height: 3.4em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 0 rgba(148, 84, 13, 0.18),
    0 8px 18px rgba(15, 23, 42, 0.2);
}

.hero-typing-line {
  min-height: 1.15em;
}

.hero-typing-line.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.95em;
  margin-left: 0.08em;
  background: currentColor;
  vertical-align: -0.05em;
  animation: hero-caret 0.8s steps(1, end) infinite;
}

.hero-hashtags span {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6), 0 3px 10px rgba(15, 23, 42, 0.16);
}

@media (min-width: 1024px) {
  .hero-hashtags span {
    font-size: 16px;
    padding: 8px 14px;
  }
}

.hero-copy p {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45), 0 4px 12px rgba(15, 23, 42, 0.12);
}

.hero-copy .hero-cta-row a {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35), 0 3px 8px rgba(15, 23, 42, 0.12);
}

#hero-typing-line-2 {
  color: #b45309;
  -webkit-text-stroke: 0.3px rgba(120, 53, 15, 0.45);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55),
    0 2px 0 rgba(120, 53, 15, 0.2),
    0 8px 16px rgba(15, 23, 42, 0.2);
}

@keyframes hero-caret {
  50% {
    opacity: 0;
  }
}

.feature-thumb,
.route-thumb {
  height: 220px;
  border-radius: 14px;
  margin-bottom: 14px;
  background-size: cover;
  background-position: center;
}

.zigzag-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.zigzag-image-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.criterion-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.criterion-image-panel,
.criterion-text-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.criterion-image-panel {
  padding: 0;
}

.criterion-text-panel {
  padding: 0;
}

/* 운영 체계(직영·2OUT) 섹션: 본문 좌측 정렬 */
.trust-zigzag .criterion-text {
  text-align: left;
  align-items: flex-start;
}

.trust-kicker {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b45309;
}

.criterion-number {
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1;
  font-weight: 900;
  color: #f59e0b;
  text-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

.zigzag-image {
  width: 100%;
  height: 320px;
  object-fit: contain;
  display: block;
  transform: scale(1);
  transition: transform 0.35s ease;
}

.zigzag-card:hover .zigzag-image {
  transform: scale(1.04);
}

.review-card__image {
  height: 210px;
  border-radius: 14px;
  margin-bottom: 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff7d6 0%, #ffefb2 100%);
  border: 1px dashed #f59e0b;
  overflow: hidden;
}

.review-card__image::after {
  content: "이미지 준비중";
  font-size: 16px;
  font-weight: 800;
  color: #92400e;
  letter-spacing: 0.02em;
}

.review-card__image-1 {
  background-image: none;
}

.review-card__image-2 {
  background-image: none;
}

.review-card__image-3 {
  background-image: none;
}

.feature-thumb-1 {
  background-image:
    linear-gradient(135deg, rgba(15, 23, 42, 0.2), rgba(245, 158, 11, 0.35)),
    url("../hero-bg.png");
}

.feature-thumb-2 {
  background-image:
    linear-gradient(135deg, rgba(15, 23, 42, 0.28), rgba(250, 204, 21, 0.3)),
    url("../hero-bg-m.png");
}

.feature-thumb-3 {
  background-image:
    linear-gradient(135deg, rgba(15, 23, 42, 0.24), rgba(245, 158, 11, 0.38)),
    url("../hero-bg3.png");
}

.route-thumb-1 {
  background-image:
    linear-gradient(135deg, rgba(15, 23, 42, 0.34), rgba(15, 23, 42, 0.05)),
    url("../hero-bg.png");
}

.route-thumb-2 {
  background-image:
    linear-gradient(135deg, rgba(15, 23, 42, 0.4), rgba(245, 158, 11, 0.14)),
    url("../hero-bg-m.png");
}

.route-thumb-3 {
  background-image:
    linear-gradient(135deg, rgba(15, 23, 42, 0.34), rgba(250, 204, 21, 0.16)),
    url("../hero-bg3.png");
}

@media (min-width: 1024px) {
  .hero-bg > .mx-auto {
    position: relative;
    z-index: 1;
  }

  .hero-bg::after {
    content: "";
    position: absolute;
    top: 0;
    right: -4px;
    width: calc(50vw + 12px);
    height: 100%;
    background-image:
      linear-gradient(
        to right,
        rgba(255, 248, 214, 0.86) 0%,
        rgba(255, 248, 214, 0.56) 7%,
        rgba(255, 248, 214, 0.24) 14%,
        rgba(255, 248, 214, 0.08) 21%,
        rgba(255, 248, 214, 0) 30%
      ),
      url("./hero-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
  }

  .hero-bg .hero-copy {
    width: calc(50vw - 56px);
    max-width: none;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding-right: 56px;
    overflow: hidden;
    margin-left: -36px;
  }

  .hero-bg .hero-copy .hero-metrics {
    width: 100%;
    max-width: 520px;
  }

  .hero-kicker {
    align-self: flex-start;
  }
}

.realtime-feed-viewport {
  height: 340px;
  overflow: hidden;
  border-radius: 14px;
  background: #fffaf0;
  border: 1px solid #fcd34d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.realtime-feed-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.realtime-feed-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 68px;
  padding: 12px 14px;
  border-bottom: 1px solid #fde68a;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.realtime-feed-item:last-child {
  border-bottom: 0;
}

.realtime-feed-item__meta {
  font-size: 13px;
  font-weight: 800;
  color: #b45309;
}

.realtime-feed-item__text {
  font-size: 16px;
  color: #1f2937;
  font-weight: 700;
}

.realtime-head {
  justify-content: center;
  text-align: center;
}

.realtime-head .realtime-live-badge {
  margin-left: 10px;
}

.realtime-live-badge {
  box-shadow: 0 0 0 1px rgba(251, 113, 133, 0.2) inset;
}

.realtime-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f43f5e;
  box-shadow: 0 0 0 rgba(244, 63, 94, 0.45);
  animation: realtime-dot 1.2s ease-out infinite;
}

@keyframes realtime-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.45);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(244, 63, 94, 0);
  }
}

@keyframes course-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.check-item {
  position: relative;
  padding: 10px 12px 10px 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #fde68a;
}

.check-item::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #92400e;
  background: #fde68a;
}

.focus-line {
  border-radius: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #fde68a;
  animation: focus-pulse 2.8s ease-in-out infinite;
}

.focus-line-1 {
  color: #b91c1c;
  background: rgba(254, 226, 226, 0.82);
  border-color: #fca5a5;
  animation-delay: 0s;
}

.focus-line-2 {
  color: #1d4ed8;
  background: rgba(219, 234, 254, 0.82);
  border-color: #93c5fd;
  animation-delay: 0.35s;
}

.focus-line-3 {
  color: #047857;
  background: rgba(209, 250, 229, 0.82);
  border-color: #6ee7b7;
  animation-delay: 0.7s;
}

.focus-line-4 {
  color: #6d28d9;
  background: rgba(237, 233, 254, 0.82);
  border-color: #c4b5fd;
  animation-delay: 1.05s;
}

@keyframes focus-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(245, 158, 11, 0);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.18);
  }
}

.course-card {
  border-radius: 22px;
  padding: 22px 20px;
  border: 1px solid #fde68a;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.09);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.course-card-1 {
  background: linear-gradient(140deg, #fffdf2 0%, #ffefb8 100%);
}

.course-card-2 {
  background: linear-gradient(140deg, #fff7e8 0%, #ffe1b5 100%);
}

.course-card-3 {
  background: linear-gradient(140deg, #fff6f0 0%, #ffd4c3 100%);
}

.course-card-4 {
  background: linear-gradient(140deg, #f8fbff 0%, #dbeafe 100%);
}

.course-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.course-emoji {
  display: inline-block;
  font-size: 104px;
  line-height: 1;
  filter: drop-shadow(0 4px 0 rgba(15, 23, 42, 0.22))
    drop-shadow(0 10px 12px rgba(15, 23, 42, 0.2));
  transform-origin: center;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.course-card:hover .course-emoji {
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 6px 0 rgba(15, 23, 42, 0.24))
    drop-shadow(0 14px 16px rgba(15, 23, 42, 0.24));
}

.course-step {
  font-size: 24px;
  font-weight: 800;
  color: #b45309;
  letter-spacing: 0.08em;
}

.course-title {
  margin-top: 12px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
  color: #0f172a;
}

.course-desc {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: #334155;
  font-weight: 600;
}

.price-card-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}

.price-card-image {
  width: 100%;
  max-width: 220px;
  height: 150px;
  object-fit: contain;
  display: block;
}

.quick-sidebar {
  position: fixed;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #fde68a;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
}

.quick-sidebar__title {
  margin: 0;
  font-size: 11px;
  font-weight: 900;
  color: #b45309;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-sidebar__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.quick-sidebar__item:hover {
  transform: translateY(-2px);
}

.quick-sidebar__icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.quick-sidebar__top {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.quick-sidebar__top:hover {
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    text-align: center;
    padding-bottom: 0;
  }

  #apply .mx-auto,
  #apply .rounded-3xl,
  #apply form,
  #apply form > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  #apply input,
  #apply select,
  #apply textarea,
  #apply button {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  main section:not(.hero-bg) h2,
  main section:not(.hero-bg) h3,
  main section:not(.hero-bg) p,
  main section:not(.hero-bg) li,
  main section:not(.hero-bg) summary {
    word-break: keep-all;
    line-break: loose;
    text-wrap: pretty;
  }

  main section:not(.hero-bg) p,
  main section:not(.hero-bg) li,
  main section:not(.hero-bg) summary {
    max-width: 32ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
  }

  .hero-typing {
    min-height: 3.7em;
  }

  .hero-copy {
    width: 100%;
    min-height: auto;
  }

  .hero-kicker {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-hashtags {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .hero-hashtags span {
    font-size: 12px;
    padding: 6px 10px;
    white-space: nowrap;
  }

  .hero-mobile-image {
    display: block;
    width: 100%;
    height: 280px;
    margin-top: 14px;
    border-radius: 20px;
    background-image: url("./hero-bg.png");
    background-size: cover;
    background-position: center center;
    border: 1px solid rgba(253, 224, 71, 0.7);
  }

  .hero-cta-row {
    justify-content: center;
  }

  .review-nav {
    width: 100%;
    justify-content: center;
  }

  .feature-thumb,
  .route-thumb {
    height: 190px;
  }

  .review-card__image {
    height: 190px;
  }

  .zigzag-image {
    height: 240px;
  }

  .criterion-text {
    margin-top: 12px;
  }

  .check-item {
    text-align: left;
  }

  .focus-line {
    font-size: 15px;
  }

  .course-card {
    text-align: center;
  }

  .course-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .course-title {
    font-size: 24px;
  }

  .course-desc {
    font-size: 15px;
  }

  .course-emoji {
    font-size: 92px;
    animation: course-float 1.9s ease-in-out infinite;
  }

  .course-step {
    width: 100%;
    text-align: left;
    font-size: 24px;
  }

  .course-card-2 .course-emoji {
    animation-delay: 0.25s;
  }

  .course-card-3 .course-emoji {
    animation-delay: 0.5s;
  }

  .course-card-4 .course-emoji {
    animation-delay: 0.75s;
  }

  .price-card-image {
    max-width: 200px;
    height: 138px;
  }

  .quick-sidebar {
    left: auto;
    right: 10px;
    top: auto;
    bottom: 14px;
    transform: none;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .quick-sidebar__title {
    display: none;
  }

  .quick-sidebar__item,
  .quick-sidebar__top {
    flex: 0 0 auto;
    height: 72px;
    border-radius: 12px;
  }

  .quick-sidebar__item {
    display: none;
  }

  .quick-sidebar__item:hover {
    transform: none;
  }

  .quick-sidebar__icon {
    width: 64px;
    height: 64px;
  }

  .quick-sidebar__top {
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .realtime-feed-viewport {
    height: 320px;
  }

  .realtime-feed-item__text {
    font-size: 15px;
  }
}
