/* ============================================
   Millie Partners v4.0 — Main Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h-pc);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: var(--lh-normal);
  color: var(--text-900);
  background: var(--millie-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}


/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-15);
  line-height: 1;
  border: none;
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
  text-decoration: none;
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn__icon-left {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--millie-yellow);
  color: var(--millie-dark);
  padding: 14px 28px;
  box-shadow: var(--shadow-yellow);
}

.btn--primary:hover {
  background: var(--millie-yellow-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-yellow-lg);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--yellow {
  background: var(--millie-yellow);
  color: var(--millie-dark);
  padding: 16px 36px;
  font-size: var(--fs-17);
  box-shadow: var(--shadow-yellow);
}

.btn--yellow:hover {
  background: var(--millie-yellow-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-yellow-lg);
}

.btn--outline-cream {
  background: transparent;
  color: var(--text-on-dark);
  border: 1.5px solid rgba(255, 248, 225, 0.4);
  padding: 16px 36px;
  font-size: var(--fs-17);
}

.btn--outline-cream:hover {
  background: rgba(255, 248, 225, 0.1);
  border-color: rgba(255, 248, 225, 0.7);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 20px;
  font-size: var(--fs-14);
  border-radius: var(--r-md);
}

.btn--lg {
  padding: 18px 40px;
  font-size: var(--fs-17);
  border-radius: var(--r-xl);
}


/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  height: var(--header-h-pc);
  background: rgba(255, 253, 245, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26, 15, 0, 0.06);
  transition: background var(--t-base), box-shadow var(--t-base);
}

.header.is-scrolled {
  background: rgba(255, 253, 245, 0.96);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--container-px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
}

.header__logo-millie {
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  font-size: var(--fs-22);
  color: var(--millie-dark);
  letter-spacing: var(--ls-tight);
}

.header__logo-partners {
  font-family: var(--font-number);
  font-weight: var(--fw-medium);
  font-size: var(--fs-12);
  color: var(--millie-orange);
  letter-spacing: var(--ls-wider);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav-link {
  font-size: var(--fs-15);
  font-weight: var(--fw-medium);
  color: var(--text-700);
  transition: color var(--t-fast);
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--millie-yellow);
  transition: width var(--t-base);
}

.header__nav-link:hover {
  color: var(--millie-dark);
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__cta {
  text-decoration: none;
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 0;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--millie-dark);
  border-radius: 2px;
  transition: all var(--t-base);
}

.header__mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--millie-cream);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  padding: 20px var(--container-px) 28px;
  flex-direction: column;
  gap: 4px;
}

.header__mobile-nav.is-open {
  display: flex;
}

.header__mobile-link {
  display: block;
  padding: 14px 16px;
  font-size: var(--fs-16);
  font-weight: var(--fw-medium);
  color: var(--text-700);
  border-radius: var(--r-md);
  transition: background var(--t-fast), color var(--t-fast);
}

.header__mobile-link:hover {
  background: var(--millie-warm-gray);
  color: var(--millie-dark);
}

.header__mobile-cta {
  margin-top: 12px;
  text-align: center;
  text-decoration: none;
}


/* ============================================
   S01 — HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--sec-hero-pt);
  padding-bottom: var(--sec-hero-pb);
}

.hero__mosaic {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  opacity: 0.4;
}

.hero__mosaic-track {
  display: flex;
  gap: 10px;
  flex: 1;
  align-items: stretch;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.hero__mosaic-track--1 {
  animation: mosaic-scroll-left 12s linear infinite;
}

.hero__mosaic-track--2 {
  animation: mosaic-scroll-right 15s linear infinite;
}

.hero__mosaic-track--3 {
  animation: mosaic-scroll-left 13s linear infinite;
}

@keyframes mosaic-scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes mosaic-scroll-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.hero__tile {
  flex: 0 0 auto;
  height: 100%;
  aspect-ratio: 20 / 29;
  background: var(--millie-cream-warm);
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(26, 15, 0, 0.08);
}

.hero__tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}



.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 253, 245, 0.3) 0%,
    rgba(255, 253, 245, 0.7) 30%,
    rgba(255, 253, 245, 0.92) 60%,
    rgba(255, 253, 245, 1) 100%
  );
}

.hero__content {
  position: relative;
  z-index: var(--z-above);
  text-align: center;
  padding: 0 var(--container-px);
  max-width: 680px;
}

.hero__label {
  font-family: var(--font-number);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-13);
  letter-spacing: var(--ls-wider);
  color: var(--millie-orange);
  margin-bottom: 20px;
  opacity: 0;
  animation: hero-fade-up 0.8s var(--ease-out) 0.2s forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-56);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--millie-dark);
  margin-bottom: 24px;
  opacity: 0;
  animation: hero-fade-up 0.8s var(--ease-out) 0.4s forwards;
}

.hero__title strong {
  color: var(--millie-dark);
  position: relative;
}

.hero__title strong::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: -4px;
  right: -4px;
  height: 14px;
  background: var(--millie-yellow-20);
  border-radius: 4px;
  z-index: -1;
}

.hero__sub {
  font-size: var(--fs-18);
  color: var(--text-700);
  line-height: var(--lh-relaxed);
  margin-bottom: 36px;
  opacity: 0;
  animation: hero-fade-up 0.8s var(--ease-out) 0.6s forwards;
}

.hero__sub-accent {
  font-weight: var(--fw-bold);
  color: var(--millie-orange);
}

.hero__cta {
  opacity: 0;
  animation: hero-fade-up 0.8s var(--ease-out) 0.8s forwards;
  text-decoration: none;
}

.hero__trust {
  margin-top: 20px;
  font-size: var(--fs-13);
  color: var(--text-400);
  letter-spacing: var(--ls-wide);
  opacity: 0;
  animation: hero-fade-up 0.8s var(--ease-out) 1s forwards;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-above);
}

.hero__scroll-hint span {
  display: block;
  width: 2px;
  height: 32px;
  background: var(--millie-dark);
  border-radius: 2px;
  opacity: 0.2;
  animation: scroll-hint 2s ease-in-out infinite;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll-hint {
  0%, 100% { opacity: 0.1; transform: scaleY(0.5); transform-origin: top; }
  50%      { opacity: 0.3; transform: scaleY(1); }
}


/* ============================================
   S02 — SHOWCASE
   ============================================ */
.showcase {
  padding-top: var(--sec-showcase-pt);
  padding-bottom: var(--sec-showcase-pb);
  background: var(--millie-cream);
}

.showcase__header {
  text-align: center;
  margin-bottom: 48px;
}

.showcase__tag {
  display: inline-block;
  font-family: var(--font-number);
  font-size: var(--fs-13);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  color: var(--millie-orange);
  background: rgba(245, 130, 42, 0.08);
  padding: 6px 16px;
  border-radius: var(--r-full);
  margin-bottom: 16px;
}

.showcase__title {
  font-family: var(--font-display);
  font-size: var(--fs-36);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  color: var(--millie-dark);
  margin-bottom: 12px;
}

.showcase__title strong {
  color: var(--millie-dark);
}

.showcase__desc {
  font-size: var(--fs-16);
  color: var(--text-500);
  max-width: 480px;
  margin: 0 auto;
}

.showcase__tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.showcase__tab {
  font-size: var(--fs-14);
  font-weight: var(--fw-medium);
  color: var(--text-500);
  padding: 10px 20px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--gray-200);
  background: transparent;
  transition: all var(--t-base);
}

.showcase__tab:hover {
  color: var(--millie-dark);
  border-color: var(--gray-300);
}

.showcase__tab.is-active {
  background: var(--millie-dark);
  color: var(--text-on-dark);
  border-color: var(--millie-dark);
}

.showcase__grid {
  position: relative;
  min-height: 320px;
}

.showcase__panel {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  justify-items: center;
}

.showcase__panel.is-active {
  display: grid;
  animation: panel-slide-in 0.4s var(--ease-out);
}

@keyframes panel-slide-in {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

.showcase__book {
  width: 100%;
  max-width: 200px;
}

.showcase__book-cover {
  aspect-ratio: 3 / 4.2;
  background: var(--book-bg, var(--millie-dark));
  border-radius: var(--r-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.showcase__book-cover--has-img {
  padding: 0;
}

.showcase__book-cover--has-img .showcase__cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase__book-cover--has-img .showcase__book-title,
.showcase__book-cover--has-img .showcase__book-author {
  display: none;
}

.showcase__book-cover--has-img.showcase__book-cover--audio .showcase__audio-icon {
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  border-radius: var(--r-full);
  padding: 6px;
  width: 36px;
  height: 36px;
  color: #fff;
}

.showcase__book-cover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(0, 0, 0, 0.15);
}

.showcase__book-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.3) 100%);
}

.showcase__book:hover .showcase__book-cover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.showcase__book-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: var(--fs-16);
  font-weight: var(--fw-bold);
  color: #fff;
  line-height: var(--lh-snug);
}

.showcase__book-author {
  position: relative;
  z-index: 1;
  font-size: var(--fs-12);
  color: rgba(255, 255, 255, 0.7);
}

.showcase__book-cover--audio {
  justify-content: flex-end;
}

.showcase__audio-icon {
  position: absolute;
  top: 20px;
  right: 16px;
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.5);
  z-index: 1;
}

.showcase__more {
  text-align: center;
  margin-top: 36px;
  font-size: var(--fs-15);
  color: var(--text-500);
}

.showcase__more strong {
  color: var(--millie-orange);
  font-weight: var(--fw-bold);
}


/* ============================================
   S02-B — MARKET GROWTH CHART
   ============================================ */
.market-growth {
  padding: 48px 0 0;
  background: var(--millie-cream);
}

.market-growth__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 800px;
  margin: 0 auto;
}

.market-growth__text {
  flex: 0 0 auto;
}

.market-growth__title {
  font-family: var(--font-display);
  font-size: var(--fs-24);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  color: var(--millie-dark);
  margin-bottom: 8px;
}

.market-growth__title strong {
  color: var(--millie-orange);
}

.market-growth__desc {
  font-size: var(--fs-14);
  color: var(--text-500);
  line-height: var(--lh-relaxed);
}

.market-growth__chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex: 1;
  height: 160px;
}

.market-growth__bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: var(--bar-height, 50%);
  background: var(--millie-warm-gray-2);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  position: relative;
  transition: height 0.6s var(--ease-out);
}

.market-growth__bar--highlight {
  background: var(--millie-yellow);
}

.market-growth__bar-value {
  position: absolute;
  top: -24px;
  font-family: var(--font-number);
  font-size: var(--fs-12);
  font-weight: var(--fw-bold);
  color: var(--millie-dark);
  white-space: nowrap;
}

.market-growth__bar--highlight .market-growth__bar-value {
  color: var(--millie-orange);
}

.market-growth__bar-label {
  position: absolute;
  bottom: -22px;
  font-family: var(--font-number);
  font-size: var(--fs-11);
  color: var(--text-400);
}


/* ============================================
   S03 — STATS BAR
   ============================================ */
.stats {
  background: var(--grad-stats);
  padding: var(--sec-stats-py) 0;
}

.stats__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.stats__number {
  font-family: var(--font-number);
  font-size: var(--fs-40);
  font-weight: var(--fw-extrabold);
  color: var(--millie-dark);
  letter-spacing: var(--ls-tight);
  line-height: 1;
}

.stats__label {
  font-size: var(--fs-14);
  font-weight: var(--fw-medium);
  color: var(--millie-dark-soft);
  letter-spacing: var(--ls-wide);
}

.stats__divider {
  width: 1px;
  height: 48px;
  background: rgba(26, 15, 0, 0.12);
}


/* ============================================
   S04 — PERSONA
   ============================================ */
.persona {
  padding-top: var(--sec-persona-pt);
  padding-bottom: var(--sec-persona-pb);
  background: var(--millie-warm-gray);
}

.persona__header {
  text-align: center;
  margin-bottom: 56px;
}

.persona__title {
  font-family: var(--font-display);
  font-size: var(--fs-36);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  color: var(--millie-dark);
  margin-bottom: 12px;
}

.persona__desc {
  font-size: var(--fs-16);
  color: var(--text-500);
  max-width: 480px;
  margin: 0 auto;
}

/* persona__grid replaced by Swiper carousel */
.persona-swiper {
  position: relative;
  padding-bottom: 16px;
}

.persona-swiper .swiper-slide {
  height: auto;
}

.persona-swiper .persona__card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.persona-swiper .persona__card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.persona-swiper .persona__card-desc {
  flex: 1;
}

.persona-swiper__prev,
.persona-swiper__next {
  color: var(--millie-dark);
  background: rgba(255, 253, 245, 0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.persona-swiper__prev::after,
.persona-swiper__next::after {
  font-size: 16px;
  font-weight: 700;
}

.persona__card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.persona__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(26, 15, 0, 0.15);
}

.persona__card-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.persona__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.persona__card:hover .persona__card-img img {
  transform: scale(1.05);
}

.persona__card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.persona__card-img-icon {
  width: 48px;
  height: 48px;
  color: var(--gray-300);
}

.persona__card-body {
  padding: 24px;
}

.persona__card-channel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-12);
  font-weight: var(--fw-semibold);
  color: var(--millie-dark);
  letter-spacing: var(--ls-wide);
  margin-bottom: 10px;
  background: var(--millie-cream-warm);
  padding: 4px 12px;
  border-radius: var(--r-full);
  border: 1px solid var(--gray-200);
}

.persona__card-icon {
  width: 14px;
  height: 14px;
}

.persona__card-title {
  font-family: var(--font-display);
  font-size: var(--fs-20);
  font-weight: var(--fw-bold);
  color: var(--millie-dark);
  margin-bottom: 8px;
}

.persona__card-desc {
  font-size: var(--fs-14);
  color: var(--text-500);
  line-height: var(--lh-relaxed);
  margin-bottom: 16px;
}

.persona__card-example {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--millie-cream-warm);
  border-radius: var(--r-md);
}

.persona__card-example-label {
  font-size: var(--fs-12);
  color: var(--text-500);
}

.persona__card-example-value {
  font-family: var(--font-number);
  font-size: var(--fs-16);
  font-weight: var(--fw-bold);
  color: var(--millie-orange);
}

/* [A-08] 파트너스 장점 섹션 */
.persona__benefits {
  margin-top: 56px;
  text-align: center;
}

.persona__benefits-list {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}

.persona__benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 16px 24px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.persona__benefit-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--millie-yellow);
  color: var(--millie-dark);
  font-family: var(--font-number);
  font-size: var(--fs-14);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}

.persona__benefit-text {
  font-size: var(--fs-15);
  font-weight: var(--fw-semibold);
  color: var(--millie-dark);
  white-space: nowrap;
}

.persona__benefit-cta {
  text-decoration: none;
}


/* ============================================
   S05 — CALCULATOR
   ============================================ */
.calculator {
  padding-top: var(--sec-calc-pt);
  padding-bottom: var(--sec-calc-pb);
  background: var(--millie-cream);
}

.calculator__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.calculator__tag {
  display: inline-block;
  font-family: var(--font-number);
  font-size: var(--fs-13);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  color: var(--millie-orange);
  background: rgba(245, 130, 42, 0.08);
  padding: 6px 16px;
  border-radius: var(--r-full);
  margin-bottom: 16px;
}

.calculator__title {
  font-family: var(--font-display);
  font-size: var(--fs-36);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  color: var(--millie-dark);
  margin-bottom: 16px;
}

.calculator__desc {
  font-size: var(--fs-16);
  color: var(--text-500);
  line-height: var(--lh-relaxed);
  margin-bottom: 32px;
}

.calculator__formula {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calculator__formula-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

.calculator__formula-label {
  font-size: var(--fs-14);
  color: var(--text-500);
}

.calculator__formula-value {
  font-family: var(--font-number);
  font-size: var(--fs-15);
  font-weight: var(--fw-bold);
  color: var(--millie-dark);
}

.calculator__panel {
  background: #fff;
  border-radius: var(--r-2xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}


.calculator__slider-wrap {
  margin-bottom: 28px;
}

.calculator__slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.calculator__slider-label {
  font-size: var(--fs-14);
  color: var(--text-500);
}

.calculator__slider-value {
  font-family: var(--font-number);
  font-size: var(--fs-18);
  font-weight: var(--fw-bold);
  color: var(--millie-dark);
}

.calculator__slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--gray-100);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.calculator__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--millie-yellow);
  border: 3px solid #fff;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform var(--t-fast);
}

.calculator__slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calculator__slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--millie-yellow);
  border: 3px solid #fff;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.calculator__slider-range {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: var(--fs-12);
  color: var(--text-400);
}

.calculator__result {
  background: var(--millie-cream-warm);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.calculator__result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calculator__result-label {
  font-size: var(--fs-14);
  color: var(--text-500);
}

.calculator__result-monthly {
  font-family: var(--font-number);
  font-size: var(--fs-32);
  font-weight: var(--fw-extrabold);
  color: var(--millie-orange);
  line-height: 1;
}

.calculator__result-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 16px 0;
}

.calculator__result-yearly {
  font-family: var(--font-number);
  font-size: var(--fs-20);
  font-weight: var(--fw-bold);
  color: var(--millie-dark);
}

.calculator__cta {
  width: 100%;
  text-decoration: none;
}


/* ============================================
   S06 — BLOG PREVIEW
   ============================================ */
.blog-preview {
  padding-top: var(--sec-blog-pt);
  padding-bottom: var(--sec-blog-pb);
  background: var(--millie-warm-gray);
}

.blog-preview__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.blog-preview__title {
  font-family: var(--font-display);
  font-size: var(--fs-36);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  color: var(--millie-dark);
}

.blog-preview__all-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-15);
  font-weight: var(--fw-semibold);
  color: var(--millie-orange);
  transition: gap var(--t-base);
}

.blog-preview__all-link:hover {
  gap: 8px;
}

.blog-preview__all-link i {
  width: 18px;
  height: 18px;
}

/* --- 수평 스크롤 카드 레이아웃 --- */
.blog-preview__scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.blog-preview__scroll::-webkit-scrollbar {
  display: none;
}

.blog-preview__card {
  flex: 0 0 300px;
  background: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.blog-preview__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-preview__card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.blog-preview__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.blog-preview__card:hover .blog-preview__card-img img {
  transform: scale(1.04);
}

/* 그라데이션 썸네일 */
.blog-preview__card-img[data-cat] img { display: none; }

.blog-preview__card-img[data-cat="guide"]     { background: linear-gradient(145deg, #FFD54F 0%, #FFCB00 40%, #F5A623 100%); }
.blog-preview__card-img[data-cat="youtube"]   { background: linear-gradient(145deg, #FF6B6B 0%, #FF4444 40%, #E02D2D 100%); }
.blog-preview__card-img[data-cat="interview"] { background: linear-gradient(145deg, #818CF8 0%, #6366F1 40%, #4F46E5 100%); }
.blog-preview__card-img[data-cat="tips"]      { background: linear-gradient(145deg, #FFB74D 0%, #F5822A 40%, #E06B10 100%); }
.blog-preview__card-img[data-cat="sidejob"]   { background: linear-gradient(145deg, #4ADE80 0%, #22C55E 40%, #16A34A 100%); }

.blog-preview__card-img[data-cat] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.blog-preview__card-img[data-cat]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 20%, rgba(255,255,255,0.25) 0%, transparent 65%);
  pointer-events: none;
}

.blog-preview__badge {
  font-size: var(--fs-12);
  font-weight: var(--fw-semibold);
  padding: 4px 12px;
  border-radius: var(--r-full);
  color: #fff;
}

.blog-preview__badge--guide { background: var(--badge-guide); color: var(--millie-dark); }
.blog-preview__badge--youtube { background: var(--badge-youtube); }
.blog-preview__badge--interview { background: var(--badge-interview); }
.blog-preview__badge--tips { background: var(--badge-tips); }
.blog-preview__badge--sidejob { background: var(--badge-side-job); }

.blog-preview__card-img[data-cat] .blog-preview__badge {
  position: static;
  font-size: var(--fs-13);
  padding: 6px 16px;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 1;
}

.blog-preview__thumb-icon {
  width: 52px;
  height: 52px;
  color: rgba(255, 255, 255, 0.92);
  stroke-width: 1.5;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18));
  z-index: 1;
}

.blog-preview__card-body {
  padding: 20px;
}

.blog-preview__card-title {
  font-family: var(--font-display);
  font-size: var(--fs-16);
  font-weight: var(--fw-bold);
  color: var(--millie-dark);
  line-height: var(--lh-snug);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-preview__card-excerpt {
  font-size: var(--fs-14);
  color: var(--text-500);
  line-height: var(--lh-relaxed);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-preview__card-meta {
  display: flex;
  gap: 10px;
  font-size: var(--fs-12);
  color: var(--text-400);
}


/* ============================================
   S07 — TESTIMONIALS
   ============================================ */
.testimonials {
  padding-top: var(--sec-testimonial-pt);
  padding-bottom: var(--sec-testimonial-pb);
  background: var(--millie-cream);
}

.testimonials__header {
  text-align: center;
  margin-bottom: 32px;
}

.testimonials__title {
  font-family: var(--font-display);
  font-size: var(--fs-36);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  color: var(--millie-dark);
}

/* [A-09] 30일 무료체험 강조 블록 */
.testimonials__highlight {
  text-align: center;
  background: var(--millie-cream-warm);
  border: 1.5px solid var(--millie-yellow-20);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials__highlight p {
  font-size: var(--fs-16);
  color: var(--millie-dark);
  line-height: var(--lh-normal);
  margin-bottom: 6px;
}

.testimonials__highlight strong {
  color: var(--millie-orange);
}

.testimonials__highlight-sub {
  font-size: var(--fs-13);
  color: var(--text-500);
  letter-spacing: var(--ls-wide);
}

/* Testimonials: 3-column infinite vertical scroll */
.testimonials__rolling-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-height: 600px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.testimonials__rolling-col {
  overflow: hidden;
}

.testimonials__rolling-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.testimonials__rolling-col--1 .testimonials__rolling-track {
  animation: rolling-up 15s linear infinite;
}

.testimonials__rolling-col--2 .testimonials__rolling-track {
  animation: rolling-up 19s linear infinite;
}

.testimonials__rolling-col--3 .testimonials__rolling-track {
  animation: rolling-up 17s linear infinite;
}

@keyframes rolling-up {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.testimonials__rolling-wrap:hover .testimonials__rolling-track {
  animation-play-state: paused;
}

.testimonials__card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 20px rgba(26, 15, 0, 0.08);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.testimonials__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26, 15, 0, 0.12);
}

.testimonials__card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.testimonials__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gray-100);
}

.testimonials__avatar--placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--millie-warm-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonials__avatar--placeholder i {
  width: 20px;
  height: 20px;
  color: var(--gray-400);
}

.testimonials__card-info {
  flex: 1;
}

.testimonials__name {
  display: block;
  font-size: var(--fs-15);
  font-weight: var(--fw-semibold);
  color: var(--millie-dark);
}

.testimonials__channel {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-12);
  color: var(--text-400);
}

.testimonials__channel i {
  width: 12px;
  height: 12px;
}

.testimonials__earning {
  display: block;
  font-family: var(--font-number);
  font-size: var(--fs-20);
  font-weight: var(--fw-bold);
  color: var(--millie-orange);
  margin-bottom: 12px;
}

.testimonials__quote {
  font-size: 15px;
  color: var(--text-700);
  line-height: var(--lh-relaxed);
  margin-bottom: 16px;
  position: relative;
  padding-left: 16px;
  border-left: 3px solid var(--millie-yellow-20);
}

.testimonials__card-bottom {
  display: flex;
  justify-content: flex-end;
}

.testimonials__duration {
  font-size: var(--fs-12);
  color: var(--text-400);
  letter-spacing: var(--ls-wide);
}


/* ============================================
   S08 — PROCESS
   ============================================ */
.process {
  padding-top: var(--sec-process-pt);
  padding-bottom: var(--sec-process-pb);
  background: var(--millie-warm-gray);
}

.process__header {
  text-align: center;
  margin-bottom: 56px;
}

.process__title {
  font-family: var(--font-display);
  font-size: var(--fs-36);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  color: var(--millie-dark);
}

.process__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 1 200px;
  background: var(--process-step-bg, #fff);
  border-radius: var(--r-xl);
  padding: 28px 20px 24px;
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.process__step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.process__step:nth-child(1) { --process-step-bg: var(--millie-cream-warm); }
.process__step:nth-child(3) { --process-step-bg: var(--millie-warm-gray); }
.process__step:nth-child(5) { --process-step-bg: #fff; }
.process__step:nth-child(7) { --process-step-bg: var(--millie-yellow-10); }

.process__step-number {
  font-family: var(--font-number);
  font-size: var(--fs-13);
  font-weight: var(--fw-bold);
  color: var(--millie-orange);
  letter-spacing: var(--ls-wider);
  margin-bottom: 12px;
}

.process__step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.process__step-icon i {
  width: 28px;
  height: 28px;
  color: var(--millie-dark);
}

.process__step-title {
  font-size: var(--fs-18);
  font-weight: var(--fw-semibold);
  color: var(--millie-dark);
  margin-bottom: 6px;
}

.process__step-desc {
  font-size: var(--fs-15);
  color: var(--text-500);
  line-height: var(--lh-normal);
}

.process__connector {
  display: flex;
  align-items: center;
  padding-top: 44px;
}

.process__connector i {
  width: 20px;
  height: 20px;
  color: var(--gray-300);
}


/* ============================================
   S09 — FAQ
   ============================================ */
.faq {
  padding-top: var(--sec-faq-pt);
  padding-bottom: var(--sec-faq-pb);
  background: var(--millie-cream);
}

.faq__header {
  text-align: center;
  margin-bottom: 40px;
}

.faq__title {
  font-family: var(--font-display);
  font-size: var(--fs-36);
  font-weight: var(--fw-bold);
  color: var(--millie-dark);
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--gray-100);
}

.faq__item[open] .faq__icon {
  transform: rotate(180deg);
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-size: var(--fs-16);
  font-weight: var(--fw-semibold);
  color: var(--millie-dark);
  transition: color var(--t-fast);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question:hover {
  color: var(--millie-orange);
}

.faq__icon {
  width: 20px;
  height: 20px;
  color: var(--text-400);
  flex-shrink: 0;
  transition: transform var(--t-base);
}

.faq__answer {
  padding: 0 0 20px;
}

.faq__answer p {
  font-size: var(--fs-15);
  color: var(--text-500);
  line-height: var(--lh-relaxed);
}


/* ============================================
   S10 — DARK CTA
   ============================================ */
.dark-cta {
  position: relative;
  padding: var(--sec-darkcta-py) 0;
  background: var(--grad-dark);
  overflow: hidden;
}

.dark-cta__bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    radial-gradient(circle at 20% 50%, var(--millie-yellow) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, var(--millie-orange) 0%, transparent 50%);
}

.dark-cta__content {
  position: relative;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.dark-cta__label {
  font-family: var(--font-number);
  font-size: var(--fs-13);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  color: var(--millie-yellow);
  margin-bottom: 20px;
}

.dark-cta__title {
  font-family: var(--font-display);
  font-size: var(--fs-40);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  color: var(--text-on-dark);
  margin-bottom: 16px;
}

.dark-cta__title strong {
  color: var(--millie-yellow);
}

.dark-cta__desc {
  font-size: var(--fs-17);
  color: rgba(255, 248, 225, 0.7);
  line-height: var(--lh-relaxed);
  margin-bottom: 36px;
}

.dark-cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.dark-cta__trust {
  margin-top: 24px;
  font-size: var(--fs-13);
  color: rgba(255, 248, 225, 0.4);
  letter-spacing: var(--ls-wide);
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--millie-dark);
  padding: 60px 0 32px;
  color: var(--text-on-dark);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 248, 225, 0.08);
  margin-bottom: 24px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: var(--fs-18);
  font-weight: var(--fw-bold);
  color: var(--millie-yellow);
  display: block;
  margin-bottom: 8px;
}

.footer__brand-desc {
  font-size: var(--fs-14);
  color: rgba(255, 248, 225, 0.5);
}

.footer__links {
  display: flex;
  gap: 60px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col-title {
  font-size: var(--fs-13);
  font-weight: var(--fw-semibold);
  color: rgba(255, 248, 225, 0.7);
  letter-spacing: var(--ls-wide);
  margin-bottom: 4px;
}

.footer__link {
  font-size: var(--fs-14);
  color: rgba(255, 248, 225, 0.4);
  transition: color var(--t-fast);
}

.footer__link:hover {
  color: var(--millie-yellow);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-size: var(--fs-12);
  color: rgba(255, 248, 225, 0.3);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  font-size: var(--fs-12);
  color: rgba(255, 248, 225, 0.3);
  transition: color var(--t-fast);
}

.footer__legal a:hover {
  color: rgba(255, 248, 225, 0.7);
}


/* ============================================
   MOBILE CTA BAR
   ============================================ */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-floating);
  background: rgba(255, 253, 245, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--gray-200);
  padding: 12px var(--container-px);
  transform: translateY(100%);
  transition: transform var(--t-base);
  display: none;
}

.mobile-cta-bar.is-visible {
  transform: translateY(0);
}

.mobile-cta-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 480px;
  margin: 0 auto;
}

.mobile-cta-bar__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-cta-bar__highlight {
  font-family: var(--font-number);
  font-size: var(--fs-17);
  font-weight: var(--fw-bold);
  color: var(--millie-orange);
}

.mobile-cta-bar__sub {
  font-size: var(--fs-12);
  color: var(--text-400);
}

.mobile-cta-bar__btn {
  text-decoration: none;
  flex-shrink: 0;
}




/* ============================================
   EXIT MODAL
   ============================================ */
.exit-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.exit-modal.is-open {
  display: flex;
}

.exit-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 15, 0, 0.6);
  backdrop-filter: blur(4px);
}

.exit-modal__content {
  position: relative;
  background: #fff;
  border-radius: var(--r-2xl);
  padding: 48px 36px 36px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-2xl);
  animation: modal-enter 0.3s var(--ease-out);
}

@keyframes modal-enter {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.exit-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-400);
  transition: background var(--t-fast), color var(--t-fast);
}

.exit-modal__close:hover {
  background: var(--gray-50);
  color: var(--millie-dark);
}

.exit-modal__close i {
  width: 20px;
  height: 20px;
}

.exit-modal__emoji-text {
  font-family: var(--font-display);
  font-size: var(--fs-28);
  font-weight: var(--fw-bold);
  color: var(--millie-orange);
  margin-bottom: 12px;
}

.exit-modal__title {
  font-family: var(--font-display);
  font-size: var(--fs-22);
  font-weight: var(--fw-bold);
  color: var(--millie-dark);
  line-height: var(--lh-snug);
  margin-bottom: 12px;
}

.exit-modal__desc {
  font-size: var(--fs-15);
  color: var(--text-500);
  line-height: var(--lh-relaxed);
  margin-bottom: 28px;
}

.exit-modal__cta {
  width: 100%;
  margin-bottom: 12px;
  text-decoration: none;
}

.exit-modal__dismiss {
  font-size: var(--fs-14);
  color: var(--text-400);
  padding: 8px;
  transition: color var(--t-fast);
}

.exit-modal__dismiss:hover {
  color: var(--text-700);
}


/* ============================================
   SCROLL REVEAL ANIMATION (CSS-only)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
