/* ===== Tokens ===== */
:root {
  --color-cream: #f7f5c7;
  --color-cream-light: #fcf9c9;
  --color-navy: #19203a;
  --color-navy-2: #1e2d52;
  --color-yellow: #f8f18a;
  --color-yellow-light: #faf5ac;
  --color-dark-text: #1f2937;
  --color-blue: #043fd3;
  --color-grey-500: #3a3a3c;
  --color-grey-50: #e8e8e9;
  --color-muted: #cdcdcd;

  --font-display: "Paperlogy", sans-serif;
  --font-body: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;

  --page-max-width: 392px;

  --shadow-2: 0 1px 1px rgba(0, 0, 0, 0.16), 0 0 0.5px rgba(0, 0, 0, 0.12);
  --shadow-16: 0 8px 16px rgba(0, 0, 0, 0.16), 0 0 8px rgba(0, 0, 0, 0.12);
  --shadow-soft: 0 0 8px rgba(0, 0, 0, 0.02);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-cream);
  color: var(--color-dark-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

.page {
  width: var(--page-max-width);
  margin: 0 auto;
  background: var(--color-cream);
  overflow: hidden;
  position: relative;
  transform-origin: top left;
}

/* ===== Shared components ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  cursor: pointer;
  border: none;
  color: var(--color-dark-text);
}

.btn--pill {
  background: var(--color-yellow);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 16px;
  box-shadow: var(--shadow-2);
}

.btn--full {
  width: 100%;
  background: var(--color-yellow-light);
  border-radius: 50px;
  font-size: 16px;
  padding: 14px 24px;
  margin-top: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  margin: 0;
}

.section-title--light {
  color: #fff;
}

.section-title--dark {
  color: var(--color-dark-text);
}

.hl-yellow {
  color: var(--color-yellow);
}

.hl-blue {
  color: var(--color-blue);
}

.muted {
  color: var(--color-muted);
  font-size: 0.85em;
}

/* ===== 00 Hero ===== */

.hero {
  position: relative;
  z-index: 2;
  width: 392px;
  height: 727px;
  background: var(--color-navy);
  border-radius: 0 0 48.756px 48.756px;
  padding: 73px 32px;
  overflow: hidden;
  box-shadow: var(--shadow-16);
}

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 21px;
}

.hero__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7.163px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 33.427px;
  line-height: 1.3;
  color: #fff;
  margin: 0;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15.281px;
  line-height: 1.3;
  color: var(--color-muted);
  margin: 0;
}

.hero__star {
  position: absolute;
  overflow: hidden;
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}

.hero__star img {
  position: absolute;
  width: 194.42%;
  height: 310.8%;
  left: -47.74%;
  top: -106%;
  max-width: none;
}

.hero__star--a {
  left: -33.23px;
  top: 434.02px;
  width: 311.699px;
  height: 346.511px;
}

.hero__star--b {
  left: 92px;
  top: 150px;
  width: 311.699px;
  height: 346.511px;
}

.hero__phone {
  position: absolute;
  pointer-events: none;
}

.hero__phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__phone--15 {
  z-index: 2;
  left: 19.12px;
  top: 281.85px;
  width: 489.602px;
  height: 367.074px;
  transform: rotate(173.16deg) scaleY(-1);
}

.hero__phone--16 {
  z-index: 4;
  left: -96px;
  top: 341px;
  width: 485px;
  height: 364px;
}

/* ===== 01 Before / After ===== */

.ba-section-wrapper {
  position: relative;
  z-index: 1;
  margin-top: -42px;
  background: var(--color-cream);
}

.ba-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 643px;
  background: linear-gradient(
    180deg,
    rgb(30, 45, 82) 0%,
    rgb(30, 45, 82) 32%,
    rgb(113, 121, 126) 66%,
    rgb(247, 245, 199) 100%
  );
  pointer-events: none;
}

.before-after {
  position: relative;
  z-index: 1;
  width: 325.74px;
  margin: 0 auto;
  padding-top: 105px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.ba-grid {
  position: relative;
  width: 325.74px;
  height: 487px;
}

.ba-note {
  position: absolute;
  padding: 14px 32px;
  border-radius: 18.835px;
  background: linear-gradient(175deg, rgb(233, 234, 238) 47%, rgb(198, 203, 222) 91%);
  box-shadow: var(--shadow-2);
  white-space: nowrap;
}

.ba-note p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 16.5px;
  line-height: 1.3;
  text-align: center;
  color: #000;
}

.ba-note strong {
  font-weight: 500;
}

.ba-note--1 {
  left: 140.1px;
  top: 50.43px;
  transform: translate(-50%, -50%) rotate(-6.56deg);
}

.ba-note--2 {
  left: 187.02px;
  top: 125.58px;
  transform: translate(-50%, -50%) rotate(3.17deg);
}

.ba-note--3 {
  left: 145.87px;
  top: 200.47px;
  transform: translate(-50%, -50%) rotate(-2.99deg);
}

.ba-note--4 {
  left: 181.39px;
  top: 276.11px;
  transform: translate(-50%, -50%) rotate(3.52deg);
}

.ba-character {
  position: absolute;
  left: 88px;
  top: 300px;
  width: 151.44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ba-character__photo {
  position: relative;
  width: 140px;
  height: 138px;
  overflow: hidden;
}

.ba-character__photo img {
  position: absolute;
  width: 193.62%;
  height: 107.25%;
  left: -42.23%;
  top: 0;
  max-width: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 50px;
  white-space: nowrap;
}

.badge--before {
  background: var(--color-navy-2);
  color: #fff;
  font-size: 18px;
  width: 130px;
  height: 41px;
}

.badge--after {
  background: var(--color-yellow-light);
  color: var(--color-navy-2);
  font-size: 24px;
  width: 162px;
  height: 51px;
  box-shadow: var(--shadow-2);
}

.ba-after {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.ba-after__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 189px;
}

.ba-after__photo {
  position: relative;
  width: 189px;
  aspect-ratio: 338 / 366;
  overflow: hidden;
}

.ba-after__photo img {
  position: absolute;
  width: 305.62%;
  height: 153.95%;
  left: -104.44%;
  top: -24.11%;
  max-width: none;
}

.testimonial-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
}

.testimonial-card {
  background: linear-gradient(175deg, rgb(255, 254, 241) 47%, rgb(255, 253, 233) 91%);
  border-radius: 30px;
  padding: 21px 5px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.testimonial-card p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  color: #000;
}

/* ===== 02 Procrastination ===== */

.procrastination {
  position: relative;
  padding: 73px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 37px;
}

.procrastination__inner {
  width: 354.945px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  text-align: center;
}

.section-title--dark {
  font-size: 30px;
}

.procrastination__image {
  position: relative;
  width: 331px;
  height: 224px;
  overflow: hidden;
}

.procrastination__image img {
  position: absolute;
  width: 115.34%;
  height: 165.55%;
  left: -11.12%;
  top: -56.55%;
  max-width: none;
}

.procrastination__copy {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19.502px;
  line-height: 1.3;
  color: var(--color-dark-text);
  margin: 0;
}

.procrastination__copy strong {
  font-weight: 600;
}

.proc-bubble-area {
  position: relative;
  width: 392px;
  height: 238px;
}

.proc-quokka-head {
  position: absolute;
  left: 233px;
  top: 69px;
  width: 159px;
  height: 169px;
  overflow: hidden;
  z-index: 1;
}

.proc-quokka-head img {
  position: absolute;
  left: 0;
  top: 0;
  width: 106.1%;
  height: 99.82%;
  object-fit: cover;
}

.proc-bubble-row {
  position: absolute;
  left: 0;
  top: 0;
  width: 392px;
  height: 117px;
  z-index: 2;
}

.proc-bubble-shape {
  position: absolute;
  left: 42px;
  top: 0;
  width: 308.139px;
  height: 117.34px;
}

.proc-bubble-text {
  position: absolute;
  left: 195.88px;
  top: 24px;
  width: 283.761px;
  transform: translateX(-50%);
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19.502px;
  line-height: 1.3;
  color: var(--color-dark-text);
  text-align: center;
}

/* ===== Dark gradient wrapper (03~07) ===== */

.dark-gradient {
  position: relative;
  background: linear-gradient(
    180deg,
    rgb(25, 32, 58) 0%,
    rgb(25, 32, 58) 44%,
    rgb(79, 84, 92) 100%
  );
  padding-top: 52px;
}

.star-effect {
  position: absolute;
  left: 11px;
  top: -94.53px;
  width: 366px;
  height: 368.523px;
  pointer-events: none;
  z-index: 0;
}

.star-effect img {
  width: 100%;
  height: 100%;
}

/* ===== 03 Promo Banner ===== */

.promo-banner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.promo-banner .section-title--light {
  width: 354.945px;
  font-size: 23.403px;
}

.promo-banner__logo {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.promo-banner__eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  margin: 0;
}

.promo-banner__logo-img {
  width: 137.49px;
  height: 55.58px;
}

.promo-phones {
  position: relative;
  width: 100%;
  height: 395.4px;
  margin-top: 3px;
}

.promo-phone {
  position: absolute;
}

.promo-phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-phone--16 {
  left: -76px;
  top: 10px;
  width: 424.698px;
  height: 318.438px;
  z-index: 2;
}

.promo-phone--15 {
  left: 6.14px;
  top: 27.89px;
  width: 490.128px;
  height: 367.468px;
  transform: rotate(173.16deg) scaleY(-1);
  z-index: 1;
}

/* ===== 04 Chat ===== */

.chat-section {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chat-section .section-title--light {
  width: 354.945px;
  font-size: 31.204px;
}

.chat-thread {
  margin-top: 61px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.chat-bubble {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15.602px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  padding: 15.6px;
}

.chat-bubble p {
  margin: 0;
}

.chat-bubble--user {
  align-self: flex-end;
  margin-right: 30.8px;
  background: var(--color-yellow);
  color: var(--color-dark-text);
  border-radius: 27.303px 31.204px 0 27.303px;
  width: 204.776px;
  box-sizing: border-box;
}

.chat-row {
  margin-top: 32px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-left: 25.18px;
}

.chat-avatar {
  width: 50.706px;
  height: 50.706px;
  border-radius: 50%;
  background: var(--color-grey-500);
  flex-shrink: 0;
  overflow: hidden;
  background-image: url("../assets/image6.png");
  background-size: 300% 300%;
  background-position: 0% 50%;
}

.chat-bubble--counselor {
  background: var(--color-grey-500);
  color: var(--color-grey-50);
  border-radius: 31.204px 31.204px 31.204px 0;
  width: 276.935px;
}

.chat-section__copy {
  margin-top: 40px;
  width: 323px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19.502px;
  line-height: 1.3;
  color: #fff;
  text-align: center;
}

.chat-section__copy strong {
  font-weight: 600;
}

/* ===== 05 Event ===== */

.event-section {
  position: relative;
  z-index: 1;
  margin-top: 92.8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  text-align: center;
}

.event-section__top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-section__eyebrow-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.event-section__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  color: #fff;
  margin: 0;
}

.event-section .section-title--light {
  font-size: 42px;
  line-height: 1.1;
}

.event-section__bottom {
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-section__character {
  position: relative;
  width: 184px;
  height: 162px;
  overflow: hidden;
}

.event-section__character img {
  position: absolute;
  width: 100.03%;
  height: 203.7%;
  left: -0.01%;
  top: -26.54%;
  max-width: none;
}

.coupon-card {
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(163.34deg, rgb(255, 254, 241) 46.797%, rgb(255, 253, 233) 90.827%);
  border-radius: 16px;
  padding: 21px 25px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
}

.coupon-card__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 131px;
}

.coupon-card__top .btn--full {
  width: 131px;
  box-sizing: border-box;
  padding: 10px 26px;
  margin-top: 0;
}

.coupon-card__headline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: -0.96px;
  white-space: nowrap;
  margin: 0;
  color: var(--color-dark-text);
}

.coupon-card__headline .lg {
  font-weight: 700;
  font-size: 16px;
}

.coupon-card__detail {
  width: 230px;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
  font-size: 12px;
  letter-spacing: -0.72px;
  color: var(--color-dark-text);
}

.detail-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.detail-label {
  flex-shrink: 0;
  white-space: nowrap;
}

.detail-value {
  flex: 1;
}

.detail-row--period {
  line-height: 1.2;
}

.coupon-card__detail li:not(.detail-row--period) {
  line-height: 1.6;
}

.coupon-card__detail .muted {
  display: block;
  color: var(--color-dark-text);
  font-size: 10px;
  line-height: 1.2;
}

/* ===== 06 Event Guide ===== */

.event-guide {
  position: relative;
  z-index: 1;
  margin-top: 58.72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 65px;
}

.event-guide__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 240px;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 26px;
  box-sizing: border-box;
  background: var(--color-yellow-light);
  color: var(--color-dark-text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  border-radius: 5px;
  box-shadow: var(--shadow-2);
}

.event-guide__text {
  margin: 13px 0 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.3;
  color: #fff;
  text-align: center;
}

.event-guide__step--01 .event-guide__text {
  width: 156px;
}

.event-guide__step--02 .event-guide__text {
  width: 187px;
}

.event-guide__shot {
  position: relative;
  margin-top: 14px;
  width: 240px;
  border-radius: 5px;
  overflow: hidden;
}

.event-guide__step--01 .event-guide__shot {
  aspect-ratio: 240 / 294;
}

.event-guide__step--02 .event-guide__shot {
  aspect-ratio: 240 / 259;
}

.event-guide__shot img {
  position: absolute;
  max-width: none;
  display: block;
}

.event-guide__step--01 .event-guide__shot img {
  width: 100%;
  height: 176.87%;
  left: 0;
  top: -46.26%;
}

.event-guide__step--02 .event-guide__shot img {
  width: 100%;
  height: 200.77%;
  left: 0;
  top: -52.9%;
}

/* ===== 07 Final CTA ===== */

.final-cta {
  position: relative;
  z-index: 1;
  margin-top: 133px;
  padding: 0 24px 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.final-cta__copy {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.3;
  color: #fff;
  text-align: center;
  margin: 0;
}

/* ===== Responsive tweaks ===== */

@media (min-width: 480px) {
  body {
    background: var(--color-cream);
  }
}

@media (max-width: 360px) {
  .hero__title {
    font-size: 26px;
  }

  .event-section .section-title--light {
    font-size: 32px;
  }
}
