/* ===== Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  font-weight: 400;
  color: #5C3A21;
  background: #EFE7DA;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.page {
  max-width: 800px;
  margin: 0 auto;
  background: #FFF9F2;
  overflow: hidden;
  padding-bottom: 90px; /* room for sticky CTA */
  box-shadow: 0 0 40px rgba(0,0,0,0.06);
}

/* ===== Shared ===== */
.section-title {
  font-weight: 900;
  font-size: 26px;
  color: #333;
  text-align: center;
  margin-bottom: 22px;
  line-height: 1.35;
}
.accent-yellow { color: #FEE500; text-shadow: 2px 2px 0 rgba(0,0,0,0.15); }
.accent-red { color: #FF5252; }
.chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.chip--orange { background: #FF9D00; color: #fff; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url('images/hero-bg.webp') center/cover no-repeat;
  transform: scale(1.02);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30,15,5,0.7) 0%, rgba(30,15,5,0.3) 50%, rgba(30,15,5,0.1) 100%);
}
.hero__inner {
  position: relative;
  padding: 48px 24px;
  max-width: 580px;
  width: 100%;
}
.hero__title {
  margin-top: 14px;
  font-weight: 900;
  font-size: 52px;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
.hero__sub {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 500;
  color: #FFF9F2;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.hero__red {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 14px;
  background: #FF5252;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(255,82,82,0.3);
}

.hero__badge {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 24px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: url('images/gold-badge-bg.png') no-repeat;
  background-position: center;
  background-size: 118% 118%;
  color: #3A1D02;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2), inset 0 2px 4px rgba(255,255,255,0.4);
  animation: badgeFloat 3s ease-in-out infinite;
  overflow: hidden;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(-50%) translateY(0); }
  50% { transform: translateY(-50%) translateY(-8px); }
}
.hero__badge-label {
  font-size: 12px;
  font-weight: 700;
  color: #5C3D24;
  margin-top: 12px; /* reduced to 12px per request */
  text-transform: uppercase;
}
.hero__badge-amount {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  margin: 3px 0;
  color: #1A0D02;
}
.hero__badge-foot {
  font-size: 12px;
  font-weight: 700;
  color: #5C3D24;
}

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 28px 16px;
  background: #FFF9F2;
}
.feature { text-align: center; }
.feature__icon {
  width: 64px; height: 64px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid; place-items: center;
}
.feature__icon svg { width: 30px; height: 30px; }
.feature__icon--yellow { background: #FFF3B0; color: #E8A93B; }
.feature__icon--orange { background: #FFE1C4; color: #FF9D00; }
.feature__icon--red    { background: #FFD6D6; color: #FF5252; }
.feature__icon--pink   { background: #FFD9E4; color: #E8508D; }
.feature__title { font-weight: 900; font-size: 14px; color: #333; }
.feature__desc { font-size: 12px; color: #7A5A3F; margin-top: 4px; line-height: 1.4; }

/* ===== Income banner ===== */
.income {
  position: relative;
  margin: 8px 16px 24px;
  padding: 22px 20px;
  background: linear-gradient(135deg, #FF5252, #FF7A7A);
  border-radius: 16px;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 10px 24px -10px rgba(255,82,82,0.6);
}
.income__top { font-size: 15px; font-weight: 700; opacity: 0.95; }
.income__main { font-weight: 900; font-size: 26px; margin-top: 6px; }
.income__num { color: #FEE500; font-size: 30px; text-shadow: 1px 1px 0 rgba(0,0,0,0.15); }
.income__note { margin-top: 10px; font-size: 11px; opacity: 0.85; }
.income__cash {
  position: absolute;
  right: -20px; bottom: -10px;
  width: 180px;
  transform: rotate(-8deg);
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.2));
  pointer-events: none;
  opacity: 0.95;
}

/* ===== Why us ===== */
.why { padding: 32px 20px; }
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.why__card {
  background: #fff;
  border: 2px solid #FFE1C4;
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.why__card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -12px rgba(255,157,0,0.4); }
.why__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: grid; place-items: center;
  color: #fff;
}
.why__icon svg { width: 26px; height: 26px; }
.why__icon--green  { background: #34C759; }
.why__icon--yellow { background: #FEBE10; }
.why__icon--orange { background: #FF9D00; }
.why__icon--red    { background: #FF5252; }
.why__title { font-weight: 900; font-size: 15px; color: #333; }
.why__desc { font-size: 13px; color: #7A5A3F; margin-top: 4px; }

/* ===== Works ===== */
.works { padding: 40px 20px; background: #FFF3E4; }
.works__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 4px;
}
.work {
  background: #fff;
  border-radius: 20px;
  padding: 14px;
  text-align: center;
  box-shadow: 0 8px 20px -12px rgba(92,58,33,0.15);
  border: 1px solid #FFEADA;
  display: flex;
  flex-direction: column;
}
.work img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 14px;
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.06); */
}
.work span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #5C3A21;
}
.work:first-child {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  text-align: left;
  padding: 20px;
  background: linear-gradient(135deg, #fff, #FFF9F2);
  border: 2px solid #FFE1C4;
}
.work:first-child img {
  width: 50%;
  height: 180px;
  aspect-ratio: auto;
}
.work:first-child span {
  margin-top: 0;
  font-size: 18px;
  font-weight: 900;
  color: #FF5252;
}
.works__foot { text-align: center; margin-top: 24px; font-size: 14px; color: #5C3A21; }
.works__foot b { color: #FF5252; }

/* ===== Process ===== */
.process { padding: 32px 20px; }
.process__list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 10px;
  counter-reset: step;
}
.process__list li {
  display: flex; align-items: center; gap: 14px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  border-left: 5px solid #FEE500;
  box-shadow: 0 4px 12px -8px rgba(0,0,0,0.15);
  position: relative;
}
.process__list li::after {
  content: '';
  position: absolute;
  left: 40px; bottom: -10px;
  width: 2px; height: 10px;
  background: #FFCFA0;
}
.process__list li:last-child::after { display: none; }
.process__icon {
  flex: 0 0 48px;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}
.process__icon svg {
  width: 22px;
  height: 22px;
}
.process__icon--1 { background: linear-gradient(135deg, #FFE500, #FF9D00); color: #3A1D02; }
.process__icon--2 { background: linear-gradient(135deg, #FF9D00, #FF5252); }
.process__icon--3 { background: linear-gradient(135deg, #FF5252, #E8508D); }
.process__icon--4 { background: linear-gradient(135deg, #AF69EE, #8E44AD); }
.process__icon--5 { background: linear-gradient(135deg, #2ECC71, #27AE60); }
.process__list li:hover .process__icon {
  transform: scale(1.1);
}
.process__title { font-weight: 900; color: #333; font-size: 15px; }
.process__desc { font-size: 13px; color: #7A5A3F; margin-top: 2px; }

/* ===== Proof ===== */
.proof { padding: 32px 20px; background: #FFF3E4; }
.proof__sub { text-align: center; color: #7A5A3F; font-size: 13px; margin-top: -14px; margin-bottom: 18px; }
.proof__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.proof__card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px -10px rgba(0,0,0,0.2);
  display: flex; flex-direction: column;
}
.proof__imgwrap {
  position: relative;
  cursor: zoom-in;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f5f5f5;
}
.proof__imgwrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.proof__imgwrap:hover img { transform: scale(1.05); }
.proof__tag {
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(255,82,82,0.95);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.proof__zoom {
  position: absolute;
  bottom: 8px; right: 8px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  display: grid; place-items: center;
  font-size: 16px;
  font-weight: 700;
}
.proof__body { padding: 12px; }
.proof__user { font-size: 12px; color: #7A5A3F; }
.proof__user em { font-style: normal; opacity: 0.75; }
.proof__amount { margin-top: 4px; font-weight: 900; color: #FF5252; font-size: 14px; }
.proof__quote {
  margin-top: 8px;
  font-size: 12px;
  color: #333;
  line-height: 1.5;
  background: #FFF9F2;
  padding: 8px 10px;
  border-radius: 8px;
}

/* ===== Testimonials ===== */
.testi { padding: 32px 20px; }
.testi__list { display: flex; flex-direction: column; gap: 12px; }
.testi__card {
  display: flex; gap: 14px;
  background: #FFF3E4;
  border-radius: 18px;
  padding: 16px 18px;
  align-items: flex-start;
}
.testi__avatar {
  flex: 0 0 48px;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
}
.testi__avatar svg { width: 30px; height: 30px; }
.testi__avatar--1 { background: #FF9D00; }
.testi__avatar--2 { background: #34C759; }
.testi__avatar--3 { background: #FF5252; }
.testi__text { font-size: 14px; color: #333; line-height: 1.55; }
.testi__name { margin-top: 6px; font-size: 12px; color: #7A5A3F; font-weight: 700; }
.testi__name span { font-weight: 400; opacity: 0.8; }

/* ===== CTA ===== */
.cta {
  margin: 12px 16px 32px;
  border-radius: 20px;
  background: linear-gradient(135deg, #FF5252, #E63838);
  color: #fff;
  padding: 24px 20px;
  overflow: hidden;
  position: relative;
}
.cta__inner {
  display: flex; gap: 12px; align-items: center;
}
.cta__sub { font-size: 14px; font-weight: 700; opacity: 0.95; }
.cta__main { margin-top: 6px; font-weight: 900; font-size: 20px; line-height: 1.3; }
.cta__main span { color: #FEE500; text-shadow: 1px 1px 0 rgba(0,0,0,0.15); }
.cta__text { flex: 1; min-width: 0; }
.cta__imgwrap {
  position: relative;
  flex: 0 0 120px;
}
.cta__imgwrap img { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; }
.cta__free {
  position: absolute;
  top: -6px; right: -6px;
  background: #FEE500;
  color: #E63838;
  font-weight: 900;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 8px;
  transform: rotate(12deg);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.cta__btn {
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding: 18px 20px;
  background: #FEE500;
  color: #3A1D02;
  border-radius: 14px;
  font-weight: 900;
  font-size: 16px;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.cta__btn:active { transform: scale(0.98); }
.cta__btn-talk {
  background: #3A1D02; color: #FEE500;
  padding: 3px 8px; border-radius: 6px;
  font-size: 12px; font-weight: 900;
}
.cta__btn-arrow { font-weight: 900; }
@keyframes pulse {
  0%,100% { transform: scale(1); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
  50%     { transform: scale(1.03); box-shadow: 0 12px 28px rgba(254,229,0,0.5); }
}
.cta__foot { text-align: center; margin-top: 12px; font-size: 12px; opacity: 0.9; }

.foot { text-align: center; padding: 20px; font-size: 12px; color: #A08872; }

/* ===== Sticky Kakao CTA ===== */
.sticky-cta {
  position: fixed;
  left: 12px; right: 12px; bottom: 24px;
  max-width: 776px;
  margin: 0 auto;
  padding: 16px 18px;
  background: #FEE500;
  color: #3A1D02;
  border-radius: 14px;
  font-weight: 900;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
  z-index: 50;
}
.sticky-cta__talk {
  background: #3A1D02; color: #FEE500;
  padding: 3px 8px; border-radius: 6px;
  font-size: 12px; font-weight: 900;
}

/* ===== Modal ===== */
.modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.88);
  display: none;
  align-items: center; justify-content: center;
  z-index: 100;
  padding: 20px;
  animation: fadeIn .2s ease;
}
.modal.open { display: flex; }
.modal__img { max-width: 100%; max-height: 90vh; border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.modal__close {
  position: absolute;
  top: 16px; right: 20px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 32px;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== Mobile responsive ===== */
@media (max-width: 640px) {
  .hero { min-height: 460px; }
  .hero__title { font-size: 38px; line-height: 1.15; }
  .hero__sub { font-size: 15px; margin-top: 12px; }
  .hero__badge {
    width: 110px; height: 110px;
    top: -66px; right: 16px;
    transform: none;
    animation: badgeFloatMobile 3s ease-in-out infinite;
  }
  @keyframes badgeFloatMobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }
  .hero__badge-label { margin-top: 12px; font-size: 12px; }
  .hero__badge-amount { font-size: 22px; margin: 1px 0; }
  .hero__badge-foot { font-size: 12px; }
  .hero__inner { padding: 32px 18px 36px; padding-right: 124px; }
  .section-title { font-size: 22px; }
  .features { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .feature__icon { width: 56px; height: 56px; }
  .income__main { font-size: 22px; }
  .income__num { font-size: 26px; }
  .income__cash { width: 130px; right: -14px; }
  .cta__imgwrap { flex: 0 0 96px; }
  .cta__imgwrap img { width: 96px; height: 96px; }
  .cta__main { font-size: 18px; }
  .cta__btn { font-size: 14px; padding: 16px 14px; }
  .work:first-child {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 16px;
  }
  .work:first-child img {
    width: 100%;
    height: 150px;
  }
  .work:first-child span {
    font-size: 15px;
    margin-top: 8px;
  }
}

@media (min-width: 800px) {
  /* hide sticky on wider screens — keep only mobile per spec */
  .sticky-cta { display: none; }
}