@font-face {
  font-family: 'Pretendard';
  src: url('../../fonts/PretendardVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face { font-family: 'NEXON Lv1 Gothic'; src: url('../../fonts/NEXONLv1GothicLight.ttf') format('truetype'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'NEXON Lv1 Gothic'; src: url('../../fonts/NEXONLv1Gothic.ttf') format('truetype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'NEXON Lv1 Gothic'; src: url('../../fonts/NEXONLv1GothicBold.ttf') format('truetype'); font-weight: 700; font-style: normal; }
@font-face {
  font-family: 'Outfit';
  src: url('../../fonts/Outfit-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Outfit';
  src: url('../../fonts/Outfit-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Pretendard, Arial, sans-serif; }
.section { width: 100%; }
.container { width: 100%; max-width: 500px; margin-inline: auto; }
.hero {
  color: #fff;
  background-color: #000000;
  background-image: url("../../images/Hidodonovel/section1-bg.png");
  background-position: center center;
  background-size: 1200px 784px;
  background-repeat: no-repeat;
}
.hero__inner {
  height: 784px;
  position: relative;
  padding: 44px 20px 70px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}
.hero__logo { position: relative; z-index: 3; }
.hero__logo img { display: block; width: 116px; height: auto; margin: 0 auto; }
.hero__heading { position: relative; z-index: 3; margin-top: 30px; }
.hero__heading h1 { font-family: 'NEXON Lv1 Gothic', sans-serif; font-weight: 700; margin: 0; font-size: 30px; line-height: 1.3; letter-spacing: -.04em; }
.hero__heading h1 span { color: #73ffce; }
.hero__heading p { color: #e2e2e2; font-size: 16px; line-height: 1.3; margin: 7px 0 0; }
.schedule { position: relative; z-index: 3; display: inline-grid; grid-template-columns: auto auto; gap: 6px 10px; padding: 14px 23px; border: 1px solid #ffffff6b; border-radius: 12px; margin-top: 18px; font-size: 16px; letter-spacing: -.03em; text-align: right; white-space: nowrap; }
.schedule strong { color: #73ffce; }
.hero__ebs { position: absolute; top: 330px; right: 32px; width: 81px; height: auto; z-index: 2; }
.hero__art { position: absolute; top: 337px; left: 50%; width: 375px; transform: translateX(-50%); z-index: 2; pointer-events: none; }
.hero__art img { display: block; width: 100%; height: auto; }
.cta { z-index: 4; display: flex; justify-content: center; align-items: center; position: absolute; left: 20px; right: 20px; bottom: 53px; min-height: 54px; border-radius: 999px; background: #73ffce; color: #000; font-size: 20px; font-weight: 700; text-decoration: none; }
/* Section 2: Figma node 1225:10132 */
.stats { background: #0f402f; color: #fff; }
.stats__inner { padding: 54px 20px; text-align: center; }
.stats__heading { display: flex; flex-direction: column; align-items: center; gap: 13px; padding-bottom: 15px; }
.stats__badge { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #73ffce; color: #73ffce; border-radius: 999px; padding: 6px 19px; font-size: 13px; font-weight: 500; line-height: 1.3; letter-spacing: -.39px; }
.stats__heading h2 { margin: 0; font-family: 'NEXON Lv1 Gothic', sans-serif; font-size: 25px; font-weight: 700; line-height: normal; letter-spacing: -.5px; }
.stats__heading > p { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -.48px; }
.stats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 17px; row-gap: 20px; }
.stats__card { min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; background: #1f6049; border-radius: 12px; padding: 24px 0; line-height: 1.3; }
.stats__value { color: #73ffce; font-size: 25px; font-weight: 700; letter-spacing: -.75px; }
.stats__card h3 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -.45px; white-space: nowrap; }
.stats__card p { margin: 0; font-size: 12px; font-weight: 400; letter-spacing: -.36px; white-space: nowrap; }
.stats__footnote { margin: 13px 0 0; font-size: 12px; line-height: 1.3; letter-spacing: -.36px; }
@media (max-width: 359px) { .stats__card h3 { font-size: 13px; } .stats__card p { font-size: 11px; } .stats__heading > p { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* 히어로 이미지는 모든 화면에서 375px 고정, EBS 위치만 반응형 조절 */
@media (min-width: 376px) {
  .hero__ebs { right: max(32px, calc((100% - 375px) / 2 + 32px)); }
}



/* Section 3 — Figma 1225:10164 */
.series { background: #f8f8f8; color: #2a1b3d; }
.series__inner { padding: 54px 20px; }
.series__heading { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 13px; padding-bottom: 15px; }
.series__badge { border: 1px solid #2a1b3d; border-radius: 999px; padding: 6px 19px; font-size: 13px; line-height: 1.3; letter-spacing: -.39px; }
.series__heading h2 { font-family: 'NEXON Lv1 Gothic', sans-serif; font-size: 25px; font-weight: 700; letter-spacing: -.5px; line-height: 1.2; margin: 0; }
.series__heading p { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -.48px; text-align: center; }
.series__list { display: flex; flex-direction: column; gap: 13px; }
.series-card { width: 100%; min-width: 0; border-radius: 22px; background: #fff; overflow: hidden; }
.series-card__visual { position: relative; width: 100%; height: var(--series-visual-height); background-image: url('../../images/Hidodonovel/series-01-bg.png'); background-size: cover; background-position: center; overflow: hidden; }
.series-card--02 .series-card__visual { background-image: url('../../images/Hidodonovel/series-02-bg.png'); }
.series-card--03 .series-card__visual { background-image: url('../../images/Hidodonovel/series-03-bg.png'); }
.series-card--04 .series-card__visual { background-image: url('../../images/Hidodonovel/series-04-bg.png'); }
.series-card--05 .series-card__visual { background-image: url('../../images/Hidodonovel/series-05-bg.png'); }
.series-card__books { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; height: 100%; object-fit: contain; }
.series-card__level { position: absolute; left: 50%; transform: translateX(-50%); bottom: 12px; border: 1px solid currentColor; border-radius: 5px; padding: 4px 10px; color: #fff; white-space: nowrap; font-size: 12px; font-weight: 500; line-height: 1.3; }
.series-card__content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 11px; padding: 24px 18px; }
.series-card__content h3 { font-family: Outfit, 'NEXON Lv1 Gothic', sans-serif; font-weight: 600; font-size: 23px; line-height: 1.25; margin: 0; overflow-wrap: anywhere; }
.series-card__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.series-card__tags span { background: var(--series-tag); padding: 6px 14px; border-radius: 999px; font-size: 12px; letter-spacing: -.36px; white-space: nowrap; }
.series-card__summary { display: flex; flex-direction: column; gap: 3px; align-items: center; }
.series-card__highlight { color: var(--series-accent); font-weight: 700; font-size: 15px; line-height: 1.37; letter-spacing: -.45px; margin: 0; }
.series-card__extra { font-size: 13px; font-weight: 700; line-height: 1.37; letter-spacing: -.39px; margin: 0; }
/* 1번 및 3번 카드: 첫 번째 추가 설명에만 별 이미지 표시 */
.series-card:nth-child(1) .series-card__extra::before,
.series-card:nth-child(3) .series-card__extra::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 5px;
  background: url("../../images/Hidodonovel/icon_star.png") center / contain no-repeat;
  vertical-align: -3px;
}

/* 같은 카드에서 두 번째 이후 추가 설명에는 별을 표시하지 않음 */
.series-card:nth-child(1) .series-card__extra ~ .series-card__extra::before,
.series-card:nth-child(3) .series-card__extra ~ .series-card__extra::before {
  content: none;
  display: none;
}

.series-card__features { width: 100%; list-style: none; padding: 16px 10px; margin: 0; background: #f9f9f9; border-radius: 12px; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.series-card__features li { font-size: 13px; line-height: 1.37; letter-spacing: -.39px; display: flex; align-items: flex-start; justify-content: center; gap: 7px; }
.series-card__features li::before { content: '✓'; font-weight: 700; flex: 0 0 auto; }
@media (max-width: 359px) { .series-card__content h3 { font-size: 20px; } .series-card__highlight { font-size: 13px; } .series-card__tags span { padding: 6px 10px; } }

/* Section 4 — QR multimedia learning / Figma 1225:10368 */
.qr-section { background: #eee; color: #2a1b3d; }
.qr-section__inner { padding: 54px 0 38px; display: flex; flex-direction: column; align-items: center; gap: 13px; }
.qr-section__heading { width: 100%; text-align: center; display: flex; flex-direction: column; gap: 12px; }
/* Section 4: title badge */
.qr-section__heading { align-items: center; }
.qr-section__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100% - 40px);
  padding: 6px 19px;
  border: 1px solid #2a1b3d;
  border-radius: 999px;
  color: #2a1b3d;
  font-family: 'Pretendard', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.39px;
  text-align: center;
}
.qr-section__heading h2 { margin: 0; font-family: 'NEXON Lv1 Gothic', sans-serif; font-size: 24px; font-weight: 700; line-height: 28px; letter-spacing: -.48px; }
.qr-section__heading p { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.37; letter-spacing: -.45px; }
.qr-section__visual { width: min(327px, calc(100% - 48px)); }
.qr-section__visual img { display: block; width: 100%; height: auto; }
@media (max-width: 359px) {
  .qr-section__heading h2 { font-size: 21px; }
  .qr-section__heading p { font-size: 13px; padding-inline: 10px; }
}

/* Section 5 — Member reviews / Figma 1225:10387 */
.reviews {
  background: linear-gradient(180deg, #198a80 1.2%, #29534e 40.556%);
  color: #fff;
}
.reviews__inner {
  padding: 54px 20px;
}
.reviews__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 13px;
  padding-bottom: 28px;
}
.reviews__badge {
  border: 1px solid #73ffce;
  border-radius: 999px;
  padding: 6px 19px;
  color: #73ffce;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: -.39px;
}
.reviews__heading h2 {
  margin: 0;
  font-family: 'NEXON Lv1 Gothic', sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.5px;
}
.reviews__heading p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.48px;
}
.reviews__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.review-card { position: relative; padding-bottom: 11px; }
.review-card__body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  padding: 20px 10px;
  background: #fff;
  border-radius: 16px;
  color: #212121;
}
.review-card__cover { width: 77px; height: auto; flex: 0 0 77px; object-fit: contain;}
.review-card__content { flex: 0 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 8px; align-self: center;}
.review-card__quote { margin: 0; font-size: 14px; line-height: 1.37; letter-spacing: -.42px; overflow-wrap: anywhere; }
.review-card__meta { display: flex; flex-direction: column; gap: 2px; }
.review-card__meta h3 { margin: 0; font-family: Outfit, 'NEXON Lv1 Gothic', sans-serif; font-size: 16px; font-weight: 500; line-height: 1.37; letter-spacing: -.3px; color: #00a8c1; overflow-wrap: anywhere; }
.review-card__meta time { font-size: 15px; line-height: 1.37; letter-spacing: -.45px; }
.review-card::after {
  content: '';
  position: absolute;
  right: 29px;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 11px 15px 0 0;
  border-color: #fff transparent transparent transparent;
}
.review-card:nth-child(even)::after { left: 44px; right: auto; transform: scaleX(-1); }
@media (max-width: 359px) {
  .reviews__heading h2 { font-size: 22px; }
  .review-card__body { padding: 18px 14px; gap: 12px; }
  .review-card__cover { width: 65px; flex-basis: 65px; }
  .review-card__quote { font-size: 12px; }
  .review-card__meta h3 { font-size: 14px; }
}


/* Section 6 — Wadiz funding / Figma 1225:10444 */
.funding { background: #31c3c3; color: #2a1b3d; }
.funding__inner { display: flex; flex-direction: column; align-items: center; gap: 13px; padding: 54px 20px; }
.funding__heading { display: flex; flex-direction: column; align-items: center; gap: 13px; padding-bottom: 15px; text-align: center; width: 100%; }
.funding__badge { padding: 6px 19px; border-radius: 999px; background: #2a1b3d; color: #fff; font-size: 13px; font-weight: 500; line-height: 1.3; letter-spacing: -.39px; }
.funding__logo { display: block; width: 128px; height: 34px; object-fit: contain; }
.funding__heading h2 { margin: 0; font-family: 'NEXON Lv1 Gothic', sans-serif; font-weight: 700; font-size: 25px; line-height: 1.16; letter-spacing: -.5px; }
.funding__steps { width: min(255px, 100%); list-style: none; margin: 0; padding: 0 0 10px; display: flex; flex-direction: column; gap: 6px; }
.funding__step { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 31px; padding: 5px 6px; border-radius: 6px; background: #9ef6f6; color: #005d5d; font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -.48px; white-space: nowrap; }
.funding__step a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    height: 100%;

    color: inherit;
    text-decoration: none;
}

.funding__step a:visited,
.funding__step a:hover,
.funding__step a:active {
    color: inherit;
    text-decoration: none;
}
.funding__arrow { display: inline-block; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); flex: 0 0 auto; }
.funding__step--last { gap: 10px; background: #2a1b3d; color: #31c3c3; font-weight: 700; }
.funding__step--last img { display: block; width: 8px; height: 8px; object-fit: contain; }
.funding__cta { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; border-radius: 999px; background: #fff; box-shadow: 0 3px 0 #2a1b3d; color: #2a1b3d; text-decoration: none; font-size: 20px; font-weight: 700; letter-spacing: -.4px; }
.funding__info { width: calc(100% - 10px); border-radius: 17px; background: #2cb0b0; color: #fff; padding: 18px 5px; text-align: center; }
.funding__info h3 { margin: 0 0 13px; font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: -.48px; }
.funding__info ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.funding__info li { font-size: 12px; font-weight: 500; line-height: 1.3; letter-spacing: -.36px; overflow-wrap: anywhere; }
.funding__info li::before { content: '・'; }
.funding__info li strong { font-weight: 700; }
@media (max-width: 359px) {
  .funding__heading h2 { font-size: 22px; }
  .funding__step { font-size: 13px; }
  .funding__info li { font-size: 11px; }
}


/* Section 7 — Footer / Figma 1225:10486 */
.site-footer {
  width: 100%;
  background: #171717;
}
.site-footer__inner {
  max-width: 500px;
  margin-inline: auto;
  padding: 24px 16px 64px;
  box-sizing: border-box;
  text-align: center;
}
.site-footer__inner p {
  margin: 0;
  color: #595959;
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.42px;
}


/* PC: 375px 모바일 콘텐츠를 200% 크기로 표시 (750px) */
@media (min-width: 1024px) {
  /* 바깥 섹션은 전체 화면 폭을 유지하고 내부 콘텐츠만 확대 */
  .section > .container,
  .site-footer__inner {
    width: 375px;
    max-width: none;
    zoom: 1.5;
  }

  /* 히어로 배경은 2배 크기, 섹션 높이는 확대된 내부 높이에 맞춤 */
  .hero {
    background-size: 2400px 1568px;
  }

  /* 원본의 375px 히어로 기준으로 EBS 로고 위치 유지 */
  .hero__ebs {
    right: 32px;
  }
}
