/* ===== HOME (index.html) ===== */
.hero {
  padding: 80px 6% 120px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  position: relative;
}
.hero::before { content: ''; position: absolute; width: 300px; height: 300px; background: var(--yellow); border-radius: 50%; top: -50px; right: 30%; opacity: .25; z-index: 0; }
.hero::after  { content: ''; position: absolute; width: 200px; height: 200px; background: var(--sky);    border-radius: 50%; bottom: 40px; left: 35%; opacity: .2; z-index: 0; }
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-family: 'Jua', sans-serif; font-size: 60px; line-height: 1.15; margin-bottom: 24px; }
.hero h1 .accent { color: var(--pink-deep); }
.hero h1 .underline { background: linear-gradient(transparent 65%, var(--yellow) 65%); }
.hero p { font-size: 18px; color: var(--text-soft); margin-bottom: 36px; max-width: 480px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; z-index: 1; height: 500px; display: flex; align-items: center; justify-content: center; }
.hero-card { position: absolute; width: 200px; height: 260px; border-radius: 24px; display: flex; align-items: center; justify-content: center; font-size: 90px; box-shadow: 0 20px 40px rgba(0,0,0,.12); border: 4px solid white; }
.hero-card.c1 { background: linear-gradient(135deg, #FFD3DC, #FF6B9D); transform: rotate(-12deg) translateX(-100px); }
.hero-card.c2 { background: linear-gradient(135deg, #FFE9A8, #FFC93C); transform: rotate(4deg) translateY(-30px); z-index: 2; }
.hero-card.c3 { background: linear-gradient(135deg, #C5E8FF, #6EC5FF); transform: rotate(14deg) translateX(100px) translateY(20px); }

/* ===== 이치방쿠지 소개 (신규 섹션) ===== */
.ichiban-intro {
  padding: 80px 6% 60px;
  background: linear-gradient(180deg, var(--bg) 0%, #FFF1F5 100%);
}
.ichiban-card {
  max-width: 760px;
  margin: 0 auto;
  background: white;
  border-radius: 32px;
  padding: 52px 48px;
  text-align: center;
  border: 2.5px solid var(--bg-2);
  box-shadow: 0 12px 40px rgba(255, 107, 157, .08);
}
.ichiban-card .ichiban-eyebrow {
  display: inline-block;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: white;
  font-family: 'Jua';
  font-size: 14px;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.ichiban-card h2 {
  font-family: 'Jua';
  font-size: 40px;
  color: var(--text);
  margin-bottom: 28px;
  word-break: keep-all;
}
.ichiban-card p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-soft);
  margin-bottom: 18px;
  word-break: keep-all;
}
.ichiban-card p b { color: var(--pink-deep); }
.ichiban-card p.closing {
  margin-top: 28px;
  font-size: 18px;
  color: var(--text);
  padding-top: 24px;
  border-top: 1.5px dashed var(--bg-2);
}
@media (max-width: 720px) {
  .ichiban-intro { padding: 60px 6% 40px; }
  .ichiban-card { padding: 36px 26px; border-radius: 24px; }
  .ichiban-card h2 { font-size: 28px; }
  .ichiban-card p { font-size: 15.5px; }
  .ichiban-card p.closing { font-size: 16px; }
}

/* ===== 진행 단계 (4단계로 확장 + 가시성 강화) ===== */
.how { padding: 100px 6%; background: var(--bg-2); border-radius: 60px 60px 0 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 1240px; margin: 0 auto; }
.step {
  background: white;
  border-radius: 28px;
  padding: 44px 28px 36px;
  text-align: center;
  border: 3px solid transparent;
  transition: all .2s;
  position: relative;
}
.step:hover { border-color: var(--pink); transform: translateY(-6px); }
.step-num {
  width: 72px; height: 72px;
  background: var(--pink); color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Jua'; font-size: 32px;
  margin: 0 auto 22px;
  box-shadow: 0 5px 0 var(--pink-deep);
}
.step:nth-child(2) .step-num { background: var(--yellow); box-shadow: 0 5px 0 #e0a800; color: var(--text); }
.step:nth-child(3) .step-num { background: #6EC5FF; box-shadow: 0 5px 0 #4ba4dc; }
.step:nth-child(4) .step-num { background: #C8F2DE; box-shadow: 0 5px 0 #5ac49d; color: var(--text); }
.step-icon {
  display: inline-flex;
  width: 84px; height: 84px;
  align-items: center; justify-content: center;
  background: var(--bg-2);
  border-radius: 22px;
  margin-bottom: 18px;
}
.step-icon .kj-svg-icon { width: 56px; height: 56px; }
.step h3 {
  font-family: 'Jua';
  font-size: 22px;
  margin-bottom: 12px;
  word-break: keep-all;
  line-height: 1.35;
  color: var(--text);
}
.step p {
  color: var(--text-soft);
  font-size: 15.5px;
  word-break: keep-all;
  line-height: 1.7;
}
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 720px) {
  .how { padding: 70px 6% 60px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step { padding: 36px 22px 28px; }
  .step h3 { font-size: 20px; }
  .step p { font-size: 14.5px; }
}

.featured { padding: 100px 6%; }

/* ===== 왜 쿠지히트는 다를까요? — 검증 페이지로 안내하는 CTA 섹션 ===== */
.why-different {
  padding: 90px 6%;
  background: linear-gradient(135deg, #FFF8FB 0%, #FFEEF3 100%);
}
.why-card {
  max-width: 820px; margin: 0 auto;
  background: white;
  border-radius: 32px;
  padding: 56px 48px;
  text-align: center;
  border: 3px solid var(--bg-2);
  box-shadow: 0 16px 48px rgba(255, 107, 157, .1);
}
.why-card .why-eyebrow {
  display: inline-block;
  background: rgba(255, 107, 157, .12);
  color: var(--pink-deep);
  font-family: 'Jua';
  font-size: 14px;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.why-card h2 {
  font-family: 'Jua';
  font-size: 34px;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 26px;
  word-break: keep-all;
}
.why-card .why-line {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}
.why-card .why-line b { color: var(--pink-deep); font-weight: 800; }
.why-card .why-foot {
  font-family: 'Jua';
  font-size: 24px;
  color: var(--text);
  margin: 28px 0 32px;
}
.why-card .why-foot b {
  background: linear-gradient(135deg, var(--pink-deep), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.why-card .why-cta {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--pink-deep), var(--pink));
  color: white;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: 'Jua';
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 6px 0 #C2185B, 0 10px 20px rgba(255, 64, 129, .25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.why-card .why-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #C2185B, 0 12px 24px rgba(255, 64, 129, .3); }
.why-card .why-cta:active { transform: translateY(2px); box-shadow: 0 3px 0 #C2185B, 0 5px 12px rgba(255, 64, 129, .25); }

@media (max-width: 720px) {
  .why-different { padding: 60px 6%; }
  .why-card { padding: 40px 26px; border-radius: 24px; }
  .why-card h2 { font-size: 24px; }
  .why-card .why-line { font-size: 16px; }
  .why-card .why-foot { font-size: 19px; }
  .why-card .why-cta { padding: 14px 24px; font-size: 14.5px; }
}

/* trust — 가시성 강화: 본문 굵게, 핵심 키워드 핑크 highlight */
.trust { padding: 100px 6%; }
.trust-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-item { background: white; border-radius: 24px; padding: 40px 32px; border: 3px solid var(--bg-2); position: relative; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.trust-item:hover { transform: translateY(-4px); border-color: var(--pink); box-shadow: 0 12px 32px rgba(255,107,157,.14); }
.trust-item .num { position: absolute; top: -16px; left: 24px; background: var(--pink-deep); color: white; font-family: 'Jua'; font-size: 18px; padding: 5px 16px; border-radius: 999px; box-shadow: 0 4px 12px rgba(255,64,129,.25); }
.trust-item h4 { font-family: 'Jua'; font-size: 24px; margin-bottom: 14px; margin-top: 6px; word-break: keep-all; color: var(--text); line-height: 1.3; }
.trust-item h4 .hl {
  background: linear-gradient(transparent 60%, rgba(255,201,60,.55) 60%);
  padding: 0 2px;
}
.trust-item p { color: var(--text); font-size: 15.5px; word-break: keep-all; line-height: 1.7; font-weight: 500; }
.trust-item p b { color: var(--pink-deep); font-weight: 800; }
.trust-item ul { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1.5px dashed var(--bg-2); }
.trust-item li { font-size: 13.5px; padding-left: 24px; position: relative; color: var(--text); word-break: keep-all; font-weight: 600; }
.trust-item li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: white;
  font-weight: 800;
  background: var(--pink-deep);
  width: 17px; height: 17px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
}

/* free */
.free-section { padding: 100px 6%; background: linear-gradient(135deg, #FFFAEC 0%, #FFE8EE 100%); }
.free-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.free-card { background: white; padding: 28px 22px; border-radius: 24px; text-align: center; border: 3px dashed transparent; transition: all .2s; cursor: pointer; }
.free-card:hover { border-color: var(--yellow); transform: translateY(-4px); }
.free-icon { font-size: 48px; margin-bottom: 12px; display: block; }
.free-card h4 { font-family: 'Jua'; font-size: 18px; margin-bottom: 6px; }
.free-card p { font-size: 13px; color: var(--text-soft); margin-bottom: 14px; }
.free-ticket { display: inline-flex; align-items: center; gap: 6px; background: var(--yellow); color: var(--text); padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; }
/* 다크모드 — 노란 칩이 다크 배경에 너무 강함. 핑크 톤으로 변경 (브랜드 통일) */
body.dark-theme .free-ticket { background: linear-gradient(135deg, #FF85AB, #FF4081); color: white; }

/* cta — 서브텍스트 볼드 강조 (사용자 요청: 빨간 박스 텍스트 볼드 처리) */
.cta-band { margin: 80px 6%; background: var(--pink); border-radius: 40px; padding: 64px 48px; text-align: center; color: white; position: relative; overflow: hidden; }
.cta-band::before { content: '🎁'; position: absolute; font-size: 200px; opacity: .12; top: -30px; left: -20px; }
.cta-band::after  { content: '🎀'; position: absolute; font-size: 180px; opacity: .12; bottom: -40px; right: -20px; }
.cta-band h2 { font-family: 'Jua'; font-size: 44px; margin-bottom: 14px; }
.cta-band p {
  font-size: 18px;
  margin-bottom: 28px;
  opacity: 1;
  font-weight: 600;
  letter-spacing: -.01em;
}
.cta-band p b {
  color: #FFE4F0;
  font-weight: 800;
  background: linear-gradient(transparent 60%, rgba(255,255,255,.22) 60%);
  padding: 0 3px;
}
.cta-band .btn-primary { background: white; color: var(--pink-deep); box-shadow: 0 6px 0 rgba(0,0,0,.15); }

@media (max-width: 1100px) {
  .free-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 40px 6% 80px; }
  .hero h1 { font-size: 40px; }
  .hero-visual { height: 380px; }
  .cta-band { padding: 48px 28px; margin: 60px 4%; }
  .cta-band h2 { font-size: 32px; }
}
@media (max-width: 540px) {
  .free-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .free-card { padding: 20px 14px; }
}

/* ===== 다크모드 보정 — 하드코딩된 흰 배경/파스텔 그라데이션 위 텍스트가 비치지 않게 =====
   .ichiban-card / .why-card 는 box-shadow 가 핑크 톤이라 다크모드에서 카드 주변에 핑크 글로우 잔재.
   shadow 도 어둡게 + 배경 명시 override + 안쪽 텍스트 색도 명시 지정. */
body.dark-theme .ichiban-intro { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%) !important; }
body.dark-theme .ichiban-card {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,.35) !important;
}
body.dark-theme .ichiban-card h2 { color: var(--text); }
body.dark-theme .ichiban-card p { color: var(--text-soft); }
body.dark-theme .ichiban-card p.closing { color: var(--text); border-top-color: var(--line); }

/* .how 는 라이트모드에서 border-radius: 60px 60px 0 0 의 둥근 굴곡으로 위 섹션과 색 분리.
   다크모드에선 var(--bg-2) 와 body 배경의 색차가 미세해 굴곡만 어색하게 보임 → 투명 + 모서리 0 */
body.dark-theme .how { background: transparent; border-radius: 0; }
body.dark-theme .step { background: var(--surface); }
body.dark-theme .step-icon { background: var(--bg-2); }

body.dark-theme .why-different { background: linear-gradient(135deg, var(--bg-2) 0%, var(--surface) 100%) !important; }
body.dark-theme .why-card {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,.4) !important;
}
body.dark-theme .why-card h2 { color: var(--text); }
body.dark-theme .why-card .why-line { color: var(--text); }
body.dark-theme .why-card .why-foot { color: var(--text); }
body.dark-theme .why-card .why-eyebrow { background: rgba(255,107,157,.18); color: #ffb1cc; }

body.dark-theme .free-section { background: linear-gradient(135deg, var(--bg-2) 0%, var(--surface) 100%) !important; }
body.dark-theme .free-card { background: var(--surface); }
body.dark-theme .free-card h4 { color: var(--text); }

/* 오늘의 운 CTA 핑크 배너 — 라이트는 풀필 핑크, 다크는 톤다운된 짙은 핑크 */
body.dark-theme .cta-band { background: linear-gradient(135deg, #4A1A35 0%, #2A0F1F 100%); }
