/* ═══════════════════════════════════════════
   슈퍼인턴 크리에이터 랜딩페이지 — Design System
   ═══════════════════════════════════════════ */

/* 히어로 전용: Sandoll 격동고딕. 산돌구름 스크립트를 쓰거나, woff2 파일을 /fonts/에 두고 아래 주석 해제 후 경로 맞추세요. */
/* @font-face {
  font-family: 'Sandoll GyeokdongGothic';
  src: url('/fonts/SandollGyeokdongGothic.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
} */

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

:root {
  /* Colors — Minimal & Pastel */
  --bg: #FFFFFF;
  --text: #1A1A1A;
  --primary-light: #B8D4F0;
  --primary-mid: #A8C8E8;
  --primary-dark: #7BA7D0;
  --accent: #A8C8E8;
  --blue: #A8C8E8;
  --card-bg: #FFFFFF;
  --border: #EBEBEB;
  --sub-text: #888888;
  --green: #B5E8D5;
  --grad-start: #B8D4F0;
  --grad-end: #C4B5E3;

  /* Pastel Accents */
  --mint: #B5E8D5;
  --lavender: #C4B5E3;
  --pastel-blue: #B8D4F0;
  --pastel-pink: #F0C4D4;

  /* Typography */
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-hero: 'Sandoll GyeokdongGothic', 'Sandoll 격동고딕', var(--font);

  /* Spacing */
  --section-py: 100px;
  --container: 1100px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, .04);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, .06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .08);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, .10);
}

/* ── SVG Icon Utilities ── */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  color: currentColor;
}

.icon--xs {
  width: 16px;
  height: 16px;
}

.icon--sm {
  width: 20px;
  height: 20px;
}

.icon--md {
  width: 24px;
  height: 24px;
}

.icon--lg {
  width: 32px;
  height: 32px;
}

.icon--xl {
  width: 40px;
  height: 40px;
}

.icon--title {
  width: 28px;
  height: 28px;
  color: var(--primary-mid);
  margin-right: 4px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

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

/* ── Scroll Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s cubic-bezier(.22, 1, .36, 1),
    transform .6s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--delay, 0s);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section defaults ── */
.section {
  padding: var(--section-py) 0;
}

.section__title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section__sub {
  font-size: 18px;
  color: var(--sub-text);
  text-align: center;
  margin-bottom: 48px;
}

.section__sub--sm {
  font-size: 14px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: 17px;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all .25s ease;
  padding: 16px 40px;
  gap: 8px;
}

.btn--primary {
  background: var(--pastel-blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(184, 212, 240, .35);
  border-radius: var(--r-md);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 212, 240, .45);
}

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

.btn--outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--full {
  width: 100%;
}

/* ══════════════════════════════
   NAV
   ══════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}

.nav--scrolled {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 72px;
  box-sizing: border-box;
}

/* 네비 = .container와 동일 좌우 24px → 히어로와 왼쪽/경계 정렬 */

/* 로고–버튼 사이 간격: 스페이서로 확실히 적용 (gap은 space-between과 함께 동작이 들쭉날쭉할 수 있음) */
.nav__spacer {
  flex: 1;
  min-width: 600px;
}

.nav__logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 0;
  margin: 0;
  line-height: 0;
  box-sizing: border-box;
}

.nav__logo-img {
  display: block;
  height: 72px;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: contain;
  vertical-align: top;
}

/* 어두운 배경: 흰색 로고 / 밝은 배경: 검은색 로고 — 크기 동일(72px) */
.nav__logo-img--dark {
  display: none;
  height: 72px;
  width: auto;
  object-fit: contain;
}
.nav__logo-img--light {
  display: block;
}
body:has(.hero.hero--dark) .nav .nav__logo-img--dark {
  display: block;
}
body:has(.hero.hero--dark) .nav .nav__logo-img--light {
  display: none;
}
body:has(.hero.hero--dark) .nav--scrolled .nav__logo-img--dark {
  display: none;
}
body:has(.hero.hero--dark) .nav--scrolled .nav__logo-img--light {
  display: block;
}

.nav__link {
  font-size: 15px;
  color: var(--sub-text);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .3s ease;
}

.nav__link:hover::after {
  width: 100%;
}

/* 네비 CTA: 버튼 형태로 시각적 균형 */
.nav__link--cta {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 500;
  white-space: nowrap;
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--sub-text);
}

/* ══════════════════════════════
   HERO
   ══════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(184, 212, 240, .10);
  border: 1px solid rgba(184, 212, 240, .30);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 40px;
  color: var(--primary-dark);
}

.hero__badge .icon {
  color: var(--primary-dark);
}

.hero__title {
  font-size: clamp(40px, 7vw, 60px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--text);
}

.hero__sub {
  font-size: clamp(16px, 2.5vw, 19px);
  color: var(--sub-text);
  line-height: 1.8;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}

.hero__cta {
  margin-bottom: 56px;
  font-size: 17px;
  padding: 18px 48px;
  border-radius: var(--r-md);
  letter-spacing: -0.01em;
}

.hero__stats {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.hero__stat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--sub-text);
  background: rgba(184, 212, 240, .08);
  border: 1px solid rgba(184, 212, 240, .18);
  padding: 10px 20px;
  border-radius: 100px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.hero__stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
}

.hero__stat strong {
  color: var(--text);
  font-weight: 700;
}

.hero__stat-icon {
  font-size: 18px;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
}

/* Floating Geometric Decorations */
.hero__floating {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  animation: shapeFloat 8s ease-in-out infinite;
}

/* Circle — Pastel Blue (large) */
.hero__shape--1 {
  width: 64px;
  height: 64px;
  background: var(--pastel-blue);
  opacity: .18;
  top: 12%;
  left: 5%;
  animation-delay: 0s;
  animation-duration: 9s;
}

/* Circle — Lavender (medium) */
.hero__shape--2 {
  width: 40px;
  height: 40px;
  background: var(--lavender);
  opacity: .22;
  top: 20%;
  right: 8%;
  animation-delay: 1.5s;
  animation-duration: 7s;
}

/* Rounded Square — Mint */
.hero__shape--3 {
  width: 48px;
  height: 48px;
  background: var(--mint);
  opacity: .18;
  bottom: 25%;
  left: 8%;
  border-radius: 12px;
  animation-delay: 3s;
  animation-duration: 10s;
}

/* Small dot — Lavender */
.hero__shape--4 {
  width: 14px;
  height: 14px;
  background: var(--lavender);
  opacity: .30;
  top: 35%;
  left: 15%;
  animation-delay: 2s;
  animation-duration: 6s;
}

/* Small dot — Pastel Blue */
.hero__shape--5 {
  width: 10px;
  height: 10px;
  background: var(--pastel-blue);
  opacity: .35;
  bottom: 35%;
  right: 12%;
  animation-delay: 4s;
  animation-duration: 8s;
}

/* Medium circle — Mint */
.hero__shape--6 {
  width: 28px;
  height: 28px;
  background: var(--mint);
  opacity: .20;
  top: 55%;
  right: 5%;
  animation-delay: 5s;
  animation-duration: 9s;
}

/* Rounded rect — Pastel Pink */
.hero__shape--7 {
  width: 36px;
  height: 20px;
  background: var(--pastel-pink);
  opacity: .15;
  bottom: 18%;
  right: 18%;
  border-radius: 10px;
  animation-delay: 1s;
  animation-duration: 11s;
}

/* Tiny dot — Mint */
.hero__shape--8 {
  width: 8px;
  height: 8px;
  background: var(--mint);
  opacity: .35;
  top: 15%;
  right: 22%;
  animation-delay: 3.5s;
  animation-duration: 7s;
}

@keyframes shapeFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-14px) rotate(3deg);
  }

  66% {
    transform: translateY(8px) rotate(-2deg);
  }
}

/* ══════════════════════════════
   HERO -- DARK (Reels phone + copy)
   ══════════════════════════════ */
.hero.hero--dark {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #2d1b69 0%, #1a0d3a 40%, #0d0618 100%);
  text-align: left;
}

/* 전체 Hero 배경 비디오 (목업 밖) */
.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(99, 102, 241, .2) 0%, transparent 50%),
    linear-gradient(120deg, rgba(13, 6, 24, .6) 0%, rgba(26, 13, 58, .4) 50%, rgba(13, 6, 24, .7) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
}

.hero--dark .hero__content {
  max-width: 560px;
  text-align: right;
}

.hero--dark .hero__badge {
  margin-bottom: 18px;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .24);
  color: #fff;
}

/* 메인 헤드라인: 두 줄 고정, 줄바꿈 자연스럽게 */
.hero--dark .hero__title {
  font-size: clamp(2rem, 4vw + 1rem, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0;
  line-height: 1.2;
}

.hero--dark .hero__title-line {
  display: block;
  white-space: nowrap;
}

.hero--dark .hero__title-line + .hero__title-line {
  margin-top: 0.65em;
}

@media (min-width: 640px) {
  .hero--dark .hero__title {
    font-size: clamp(2.25rem, 5vw, 3rem);
  }
}

/* 서브 헤드라인 */
.hero--dark .hero__desc {
  margin-top: 1.25rem;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #d1d5db;
  max-width: 28rem;
  margin-left: auto;
  margin-right: 0;
}

@media (min-width: 640px) {
  .hero--dark .hero__desc {
    font-size: 1.125rem;
  }
}

/* CTA 버튼: 보라 #6D53C4, hover #5a44a3, scale */
.hero--dark .hero__cta {
  display: inline-block;
  margin-top: 2rem;
  background: #6D53C4;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color .3s, transform .3s;
}

.hero--dark .hero__cta:hover {
  background: #5a44a3;
  transform: scale(1.05);
}

/* ══════════════════════════════
   HERO SECTION (Nexus)
   ══════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(99, 102, 241, .2) 0%, transparent 50%),
    linear-gradient(120deg, #2d1b69 0%, #1a0d3a 40%, #0d0618 100%);
  color: #e4e4e7;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
    padding: 48px 12px 40px;
  }
  .hero-section .hero {
    max-width: 100%;
    padding: 0 12px;
  }
}

.hero-section #container,
.hero-section #stats {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-section .hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  padding: 0;
  background: transparent;
  min-height: auto;
}

.hero-section__chip {
  order: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 100px;
  font-size: 1.3125rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-section .hero h1 {
  order: 1;
  font-family: var(--font-hero);
  font-size: clamp(2.625rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 1.5rem;
}

.hero-section .hero h1 .hero__line {
  display: block;
}

.hero-section .hero h1 .hero__line--2 {
  margin-top: 0.2em;
}

.hero-section .hero h2 {
  order: 2;
  font-family: var(--font-hero);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 400;
  line-height: 1.7;
  color: #a1a1aa;
  margin: 0 0 3rem;
}

.hero-section .hero .hero-section__cta {
  order: 3;
}

.hero-section__cta {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: #6D53C4;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.25s, transform 0.25s;
}

.hero-section__cta:hover {
  background: #5a44a3;
  transform: scale(1.04);
  color: #fff;
}

.hero--dark .hero__cta:active {
  transform: scale(0.95);
}

/* Nav over dark hero: 흰색 텍스트 + 살짝 보이는 배경으로 가시성 확보 */
body:has(.hero.hero--dark) .nav {
  background: rgba(0, 0, 0, .15);
  border-bottom-color: rgba(255, 255, 255, .08);
}

body:has(.hero.hero--dark) .nav .nav__logo,
body:has(.hero.hero--dark) .nav .nav__link {
  color: rgba(255, 255, 255, .98);
}

body:has(.hero.hero--dark) .nav .nav__link:hover {
  color: #fff;
}

body:has(.hero.hero--dark) .nav .nav__link--cta {
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .08);
}

body:has(.hero.hero--dark) .nav .nav__link--cta:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .7);
}

body:has(.hero.hero--dark) .nav--scrolled .nav__logo,
body:has(.hero.hero--dark) .nav--scrolled .nav__link {
  color: var(--text);
}

body:has(.hero.hero--dark) .nav--scrolled .nav__link--cta {
  border-color: var(--border);
  background: rgba(0, 0, 0, .04);
}

body:has(.hero.hero--dark) .nav--scrolled .nav__link--cta:hover {
  background: rgba(0, 0, 0, .06);
  border-color: var(--sub-text);
}

/* Hero dark: responsive */
@media (max-width: 640px) {
  .hero--dark .hero__title-line {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .hero__inner {
    align-items: center;
  }

  .hero--dark .hero__content {
    text-align: center;
  }

  .hero--dark .hero__desc {
    margin-right: auto;
  }

  .hero--dark .hero__cta {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ══════════════════════════════
   PAIN SECTION (was SERVICE)
   ══════════════════════════════ */
.pain {
  background: linear-gradient(180deg, #3B5BDB 0%, #4C6EF5 50%, #5C7CFA 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.pain__title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 48px;
}

.pain__title--second {
  margin-top: 64px;
  margin-bottom: 40px;
}

/* ── Pain Bubbles ── */
.pain__bubbles {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 520px;
  margin: 0 auto;
}

.pain__bubble {
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 20px;
  padding: 24px 28px;
  text-align: left;
  transition: transform .3s ease, background .3s ease;
}

.pain__bubble:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .22);
}

.pain__bubble--right {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
}

.pain__bubble--left {
  align-self: flex-start;
  border-bottom-left-radius: 6px;
}

.pain__bubble-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.pain__bubble-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
  line-height: 1.6;
}

/* ── ChatGPT Mockup ── */
.pain__chatgpt {
  max-width: 680px;
  margin: 0 auto;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}

.mock-chat {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: #212121;
  min-height: 380px;
  font-size: 13px;
  text-align: left;
  color: #d1d1d1;
}

/* Sidebar */
.mock-chat__sidebar {
  background: #171717;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid rgba(255, 255, 255, .06);
}

.mock-chat__sidebar-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-chat__sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: #aaa;
  cursor: default;
}

.mock-chat__sidebar-item:first-child {
  color: #fff;
}

.mock-chat__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #555;
  flex-shrink: 0;
}

.mock-chat__sidebar-label {
  font-size: 11px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 0 10px;
}

.mock-chat__sidebar-chats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mock-chat__sidebar-chat {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: #999;
  cursor: default;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-chat__sidebar-chat:first-of-type {
  background: rgba(255, 255, 255, .06);
  color: #ddd;
}

/* Main Area */
.mock-chat__main {
  display: flex;
  flex-direction: column;
}

.mock-chat__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.mock-chat__model {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}

.mock-chat__share {
  font-size: 12px;
  color: #888;
}

/* Messages */
.mock-chat__messages {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.mock-chat__msg {
  display: flex;
  gap: 10px;
}

.mock-chat__msg--user {
  justify-content: flex-end;
}

.mock-chat__msg-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  line-height: 1.6;
  font-size: 13px;
}

.mock-chat__msg-bubble--user {
  background: #2f2f2f;
  color: #eee;
  border-bottom-right-radius: 4px;
}

.mock-chat__msg-bubble--ai {
  background: transparent;
  color: #d1d1d1;
  padding: 0;
}

.mock-chat__msg-bubble--ai p {
  margin-bottom: 8px;
}

.mock-chat__ai-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #10a37f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Progress animation */
.mock-chat__progress {
  margin-top: 12px;
  font-size: 12px;
  color: #888;
}

.mock-chat__progress span {
  display: inline-block;
}

.mock-chat__progress-bar {
  width: 160px;
  height: 4px;
  background: #333;
  border-radius: 2px;
  margin: 8px 0 4px;
  overflow: hidden;
}

.mock-chat__progress-fill {
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, #10a37f, #1a7f5a);
  border-radius: 2px;
  animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {

  0%,
  100% {
    opacity: .6;
  }

  50% {
    opacity: 1;
  }
}

.mock-chat__progress-time {
  font-size: 11px;
  color: #666;
}

/* ══════════════════════════════
   BENEFITS
   ══════════════════════════════ */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.benefit-card {
  background: var(--card-bg);
  border-radius: var(--r-lg);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.benefit-card--highlight {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

/* 프로세스 스텝 카드 */
.benefits__grid--process {
  counter-reset: step;
}

.benefit-card--step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.benefit-card--step .benefit-card__step-num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-mid);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.benefit-card--step .benefit-card__tag {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 16px;
}

.benefit-card--step .benefit-card__desc {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 0;
}

.benefit-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.benefit-card__icon {
  display: block;
  margin-bottom: 16px;
  color: var(--primary-mid);
}

.benefit-card__platform {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.benefit-card__desc {
  font-size: 14px;
  color: var(--sub-text);
  line-height: 1.6;
  margin-bottom: 20px;
}

.benefit-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.benefit-card__amount {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.benefit-card__unit {
  font-size: 16px;
  font-weight: 600;
  color: var(--sub-text);
}

.benefits__note {
  text-align: center;
  font-size: 15px;
  color: var(--sub-text);
}

.benefits__note--legal {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
  line-height: 1.7;
  color: var(--sub-text);
}

/* ══════════════════════════════
   3D TILT CARDS (CONDITIONS)
   ══════════════════════════════ */
.tilt-card {
  perspective: 1000px;
  margin-bottom: 32px;
}

.tilt-card:last-child {
  margin-bottom: 0;
}

.tilt-card__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--card-bg);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.03, .98, .52, .99), box-shadow .4s ease;
  will-change: transform;
}

.tilt-card__inner:hover {
  box-shadow: var(--shadow-lg);
}

/* ── Text Column ── */
.tilt-card__text {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateZ(50px);
  transform-style: preserve-3d;
}

.tilt-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  width: fit-content;
  margin-bottom: 20px;
}

.tilt-card__badge--blue {
  background: rgba(184, 212, 240, .18);
  color: var(--primary-dark);
}

.tilt-card__badge--mint {
  background: rgba(181, 232, 213, .18);
  color: #5aae8c;
}

.tilt-card__badge--lavender {
  background: rgba(196, 181, 227, .18);
  color: #8b6fbf;
}

.tilt-card__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
}

.tilt-card__desc {
  font-size: 15px;
  color: var(--sub-text);
  line-height: 1.7;
  margin-bottom: 24px;
}

.tilt-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.tilt-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.tilt-card__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tilt-card__check--blue {
  background: rgba(184, 212, 240, .15);
  color: var(--primary-dark);
}

.tilt-card__check--mint {
  background: rgba(181, 232, 213, .15);
  color: #5aae8c;
}

.tilt-card__check--lavender {
  background: rgba(196, 181, 227, .15);
  color: #8b6fbf;
}

.tilt-card__reward {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.tilt-card__reward-amount {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.tilt-card__reward-unit {
  font-size: 16px;
  font-weight: 500;
  color: var(--sub-text);
}

/* ── Visual / Mockup Column ── */
.tilt-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  transform: translateZ(20px);
  transform-style: preserve-3d;
}

/* 인스타그램 릴스 실제 임베드 */
.tilt-card__visual--embed {
  padding: 16px;
}

.tilt-card__embed-wrap {
  width: 100%;
  max-width: 320px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000;
}

.tilt-card__embed--insta {
  display: block;
  width: 100%;
  min-width: 280px;
  height: 480px;
  border: 0;
}

.tilt-card__embed-wrap--img .tilt-card__ex-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.tilt-card__embed-wrap--img-stack {
  display: flex;
  flex-direction: column;
  gap: var(--r-lg, 12px);
}
.tilt-card__embed-wrap--img-stack .tilt-card__ex-img {
  flex: 0 0 auto;
}

.tilt-card__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.tilt-card__note--warn {
  color: var(--accent-amber, #b45309);
}

.tilt-card__note--warn .icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.tilt-card__mockup {
  width: 100%;
  max-width: 280px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .4s ease;
}

.tilt-card__inner:hover .tilt-card__mockup {
  transform: translateY(-4px);
}

/* ── Instagram Mockup ── */
.tilt-card__mockup--insta {
  background: #FAFAFA;
  border: 1px solid var(--border);
}

.mock-insta__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.mock-insta__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pastel-blue), var(--lavender));
}

.mock-insta__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.mock-insta__img {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(184, 212, 240, .12), rgba(196, 181, 227, .08));
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-insta__caption {
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}

/* ── Everytime Mockup ── */
.tilt-card__mockup--every {
  background: #FAFAFA;
  border: 1px solid var(--border);
}

.mock-every__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.mock-every__board {
  font-size: 14px;
  font-weight: 600;
  color: #c62917;
}

.mock-every__user {
  font-size: 12px;
  color: var(--sub-text);
}

.mock-every__title {
  padding: 14px 16px 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.mock-every__body {
  padding: 0 16px 14px;
  font-size: 13px;
  color: var(--sub-text);
  line-height: 1.6;
}

.mock-every__meta {
  display: flex;
  gap: 16px;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--sub-text);
}

/* ── Blog Mockup ── */
.tilt-card__mockup--blog {
  background: #FAFAFA;
  border: 1px solid var(--border);
}

.mock-blog__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.mock-blog__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--pastel-blue));
}

.mock-blog__name {
  font-size: 13px;
  font-weight: 600;
  color: #03c75a;
  display: block;
}

.mock-blog__date {
  font-size: 11px;
  color: var(--sub-text);
  display: block;
}

.mock-blog__title {
  padding: 14px 16px 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.mock-blog__preview {
  padding: 0 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-blog__line {
  height: 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .06);
}

.mock-blog__img {
  margin: 0 16px 14px;
  aspect-ratio: 16/9;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, rgba(181, 232, 213, .12), rgba(184, 212, 240, .08));
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ══════════════════════════════
   CONTENT GUIDE
   ══════════════════════════════ */
.guide__boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.guide__box {
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--card-bg);
}

.guide__box--required {
  border-color: var(--accent);
  border-width: 2px;
}

.guide__box-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.guide__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guide__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
}

.guide__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
}

.guide__icon--check {
  background: rgba(141, 158, 255, .12);
  color: var(--primary-mid);
}

.guide__icon--idea {
  background: rgba(141, 158, 255, .08);
  color: var(--primary-light);
}

.guide__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.guide__example-btn {
  display: inline-flex;
}

.guide__copy-btn {
  white-space: nowrap;
}

/* ══════════════════════════════
   FEEDBACK PREVIEW
   ══════════════════════════════ */
.feedback-preview {
  background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
  overflow: clip;
}

.feedback-preview.section {
  padding: 64px 0;
}

.feedback-preview .section__sub {
  margin-bottom: 10px;
}

.feedback-preview__stage {
  height: 80vh;
  margin-top: 2px;
}

.feedback-preview__sticky {
  position: sticky;
  top: 4vh;
  height: 44vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  pointer-events: auto;
}

.feedback-preview__track {
  position: relative;
  width: min(1400px, calc(100vw - 32px));
  height: min(62vh, 520px);
  pointer-events: none;
}

.feedback-preview__img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 40px rgba(12, 20, 40, 0.18);
  transform: translate(-50%, -50%);
  object-fit: cover;
  will-change: transform, opacity;
  transition: transform 0.1s linear, opacity 0.1s linear;
}

.feedback-preview__actions {
  display: flex;
  justify-content: center;
}

/* ══════════════════════════════
   MODAL
   ══════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.modal-overlay--open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--card-bg);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 520px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  transform: translateY(20px) scale(.96);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}

.modal-overlay--open .modal {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg);
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.modal__close:hover {
  background: var(--border);
}

.modal__title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

.modal__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.modal__tab {
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: none;
  font-family: var(--font);
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
}

.modal__tab--active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.modal__panel {
  display: none;
}

.modal__panel--active {
  display: block;
}

/* Example Posts inside modal */
.example-post {
  background: var(--bg);
  border-radius: var(--r-md);
  overflow: hidden;
}

.example-post__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
}

.example-post__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.example-post__name {
  font-weight: 600;
  font-size: 14px;
}

.example-post__board {
  margin-left: auto;
  font-size: 12px;
  color: var(--sub-text);
  background: var(--card-bg);
  padding: 2px 8px;
  border-radius: 4px;
}

.example-post__image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
}

.example-post__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sub-text);
  font-size: 15px;
  text-align: center;
  line-height: 1.5;
}

.example-post__caption {
  padding: 16px;
  font-size: 14px;
  line-height: 1.7;
}

.example-post__tags {
  color: var(--blue);
  font-size: 13px;
}

.example-post__text-content {
  padding: 16px;
  font-size: 14px;
  line-height: 1.8;
}

/* ══════════════════════════════
   FLOW
   ══════════════════════════════ */
.flow__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.flow__step {
  background: var(--card-bg);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  flex: 1;
  max-width: 200px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.flow__step:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.flow__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.flow__label {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.flow__detail {
  font-size: 14px;
  color: var(--sub-text);
  line-height: 1.5;
  margin-bottom: 12px;
}

.flow__time {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  background: var(--bg);
  border-radius: 100px;
}

.flow__arrow {
  font-size: 24px;
  color: var(--border);
  margin-top: 48px;
  flex-shrink: 0;
}

/* ══════════════════════════════
   FAQ / ACCORDION
   ══════════════════════════════ */
.accordion {
  max-width: 600px;
  margin: 0 auto;
}

.accordion__item {
  border-bottom: 1px solid var(--border);
}

.accordion__item:last-child {
  border-bottom: none;
}

.accordion__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  gap: 16px;
  transition: color .2s;
}

.accordion__header:hover {
  color: var(--accent);
}

.accordion__icon {
  font-size: 22px;
  font-weight: 300;
  transition: transform .3s ease;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.accordion__item--open .accordion__icon {
  transform: rotate(45deg);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.22, 1, .36, 1), padding .4s;
}

.accordion__item--open .accordion__body {
  max-height: 200px;
}

.accordion__body p {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--sub-text);
  line-height: 1.7;
}

/* ══════════════════════════════
   APPLY FORM
   ══════════════════════════════ */
.apply {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.form {
  max-width: 520px;
  margin: 0 auto;
}

.form__group {
  border: none;
  margin-bottom: 32px;
}

.form__legend {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.form__field {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form__required {
  color: var(--accent);
}

.form__sublabel {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 16px;
}

.form__input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color .3s, box-shadow .3s;
}

.form__input::placeholder {
  color: #bbb;
}

.form__input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(81, 107, 255, .15);
}

.form__input--error {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(47, 65, 187, .12) !important;
}

.form__error {
  display: block;
  font-size: 13px;
  color: var(--accent);
  margin-top: 6px;
  min-height: 18px;
}

.form__hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.5;
}

/* Custom Checkboxes */
.form__checkboxes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form__checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  cursor: pointer;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color .2s, background .2s;
}

.form__checkbox-label:hover {
  border-color: var(--blue);
}

.form__checkbox {
  display: none;
}

.form__checkbox-custom {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--border);
  position: relative;
  flex-shrink: 0;
  transition: all .2s;
}

.form__checkbox:checked+.form__checkbox-custom {
  background: var(--blue);
  border-color: var(--blue);
}

.form__checkbox:checked+.form__checkbox-custom::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  animation: checkBounce .3s cubic-bezier(.68, -.55, .27, 1.55);
}

.form__checkbox:checked~span {
  font-weight: 600;
}

.form__checkbox-label:has(.form__checkbox:checked) {
  border-color: var(--blue);
  background: rgba(81, 107, 255, .04);
}

@keyframes checkBounce {
  0% {
    transform: translate(-50%, -50%) scale(0);
  }

  60% {
    transform: translate(-50%, -50%) scale(1.3);
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Submit Button States: 미완료 vs 완료 구분 */
.form__submit {
  margin-top: 12px;
  font-size: 18px;
  padding: 18px;
  position: relative;
  transition: background .25s, color .25s, box-shadow .25s, border-color .25s;
}

/* 미완료: 모든 정보 입력 전 — 회색으로 비활성 느낌 */
.form__submit:disabled,
.form__submit.form__submit--incomplete {
  background: #e5e7eb !important;
  color: #9ca3af !important;
  box-shadow: none !important;
  cursor: not-allowed;
  border: 1px solid #d1d5db;
}

.form__submit:disabled:hover,
.form__submit.form__submit--incomplete:hover {
  transform: none !important;
  background: #e5e7eb !important;
  color: #9ca3af !important;
}

/* 완료: 모든 정보 입력 후 — 퍼플 CTA로 클릭 유도 */
.form__submit.form__submit--ready:not(:disabled) {
  background: #6D53C4 !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(109, 83, 196, .35) !important;
  border-color: transparent;
  cursor: pointer;
}

.form__submit.form__submit--ready:not(:disabled):hover {
  background: #5a44a3 !important;
  box-shadow: 0 6px 20px rgba(109, 83, 196, .45) !important;
}

.form__submit--url-invalid,
.form__submit--url-invalid:hover,
.form__submit--url-invalid:active {
  transform: none !important;
  cursor: not-allowed;
}

.form__submit-success {
  color: #fff;
  font-weight: 600;
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ══════════════════════════════
   FOOTER
   ══════════════════════════════ */
.footer {
  padding: 40px 0;
  text-align: center;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer__text {
  font-size: 14px;
  color: var(--sub-text);
}

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

.footer__links a {
  font-size: 14px;
  color: var(--sub-text);
  transition: color .2s;
}

.footer__links a:hover {
  color: var(--text);
}

/* ── 하단 고정 CTA 바 (글래스모피즘) ── */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
}

.sticky-cta-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-cta-bar__countdown {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.sticky-cta-bar__countdown-label {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* pill 형태 카운트다운 박스 (라벨 위·숫자 아래, 콜론 구분) */
.sticky-cta-bar__countdown-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px 20px;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
}

.sticky-cta-bar__units {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sticky-cta-bar__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 32px;
}

.sticky-cta-bar__unit-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--sub-text);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sticky-cta-bar__unit-value {
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  letter-spacing: -0.02em;
  font-family: ui-monospace, 'SF Mono', monospace;
}

.sticky-cta-bar__colon {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin: 0 2px;
  font-variant-numeric: tabular-nums;
}

.sticky-cta-bar__expired {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.sticky-cta-bar__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #9699FF;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background .2s, transform .15s;
}

.sticky-cta-bar__btn:hover {
  background: #7d80e6;
}

.sticky-cta-bar__btn:active {
  transform: scale(0.98);
}

/* ══════════════════════════════
   RESPONSIVE
   ══════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --section-py: 72px;
  }

  .sticky-cta-bar {
    padding: 10px 12px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .sticky-cta-bar__inner {
    gap: 12px;
  }

  .sticky-cta-bar__countdown-label {
    font-size: 12px;
  }

  .sticky-cta-bar__countdown-box {
    min-height: 46px;
    padding: 6px 14px;
  }

  .sticky-cta-bar__unit-label {
    font-size: 9px;
  }

  .sticky-cta-bar__unit-value {
    font-size: 15px;
  }

  .sticky-cta-bar__colon {
    font-size: 15px;
  }

  .sticky-cta-bar__btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .section__title {
    font-size: 28px;
  }

  .section__sub {
    font-size: 16px;
    margin-bottom: 36px;
  }

  /* Pain Section */
  .pain__title {
    font-size: 28px;
  }

  .pain__bubble {
    padding: 20px 22px;
  }

  .mock-chat {
    grid-template-columns: 1fr;
  }

  .mock-chat__sidebar {
    display: none;
  }

  /* Tilt Cards */
  .tilt-card__inner {
    grid-template-columns: 1fr;
  }

  .tilt-card__text,
  .tilt-card__visual {
    transform: none !important;
  }

  .tilt-card__visual {
    padding: 24px;
  }

  .tilt-card__mockup {
    max-width: 260px;
    margin: 0 auto;
  }

  .tilt-card__embed-wrap {
    max-width: 100%;
    margin: 0 auto;
  }

  .tilt-card__embed--insta {
    min-width: 0;
    height: 420px;
  }

  /* Benefits */
  .benefits__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Guide */
  .guide__boxes {
    grid-template-columns: 1fr;
  }

  /* Flow */
  .flow__steps {
    flex-direction: column;
    align-items: center;
  }

  .flow__step {
    max-width: 100%;
    width: 100%;
  }

  .flow__arrow {
    transform: rotate(90deg);
    margin: 0;
  }

  /* Hero */
  .hero__stats {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero__shape {
    display: none;
  }
}

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

  .btn {
    padding: 14px 28px;
    font-size: 16px;
  }

  .tilt-card__text {
    padding: 28px 20px;
  }

  .tilt-card__title {
    font-size: 20px;
  }
}

/* ═══════════════════════════════════════════
   FILE UPLOAD
   ═══════════════════════════════════════════ */

.file-upload {
  position: relative;
}

.file-upload__dropzone {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  background: var(--bg-light);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.file-upload__dropzone:hover {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 5%, transparent);
}

.file-upload__dropzone.dragover {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  border-style: solid;
}

.file-upload__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.file-upload__primary {
  color: var(--primary);
  font-weight: 600;
  font-size: 16px;
}

.file-upload__secondary {
  color: var(--text-muted);
  font-size: 14px;
}

.file-upload__preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-light);
}

.file-upload__preview .icon {
  color: var(--primary);
  flex-shrink: 0;
}

.file-upload__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.file-upload__filename {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-upload__filesize {
  font-size: 14px;
  color: var(--text-muted);
}

.file-upload__remove {
  padding: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.file-upload__remove:hover {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

.file-upload__remove .icon {
  color: inherit;
}

.form__label-hint {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 8px;
}

.form__info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border-radius: 12px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.form__info .icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.form__legal-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  font-size: 15px;
}

.form__legal-row {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 12px 0;
}

.form__legal-row .form__checkbox-custom {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}

.form__legal-row .form__checkbox:checked + .form__checkbox-custom {
  background: var(--primary, #6D53C4);
  border-color: var(--primary, #6D53C4);
}

.form__legal-text {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.form__legal-link {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: var(--primary);
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s;
}

.form__legal-link:hover {
  color: var(--primary-hover, #5a44a3);
}

@media (max-width: 640px) {
  .file-upload__dropzone {
    padding: 32px 16px;
  }

  .file-upload__primary {
    font-size: 15px;
  }

  .file-upload__secondary {
    font-size: 13px;
  }
}

/* ═══════════════════════════════════════════
   RESULT PAGE
   ═══════════════════════════════════════════ */

.result-section {
  min-height: 100vh;
  padding: 120px 0 80px;
  background: var(--bg);
}

.nav__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn--sm {
  padding: 10px 18px;
  font-size: 14px;
}

/* Loading State */
.result-loading {
  text-align: center;
  padding: 80px 20px;
}

.spinner-large {
  width: 64px;
  height: 64px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 32px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.result-loading h2 {
  font-size: 28px;
  color: var(--text);
  margin-bottom: 12px;
}

.result-loading p {
  color: var(--text-muted);
  font-size: 16px;
}

/* Error State */
.result-error {
  text-align: center;
  padding: 80px 20px;
}

.result-error .icon--xxl {
  width: 80px;
  height: 80px;
  color: var(--red);
  margin: 0 auto 24px;
}

.result-error h2 {
  font-size: 28px;
  color: var(--text);
  margin-bottom: 12px;
}

.result-error p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 32px;
}

/* Result Content */
.result-content {
  max-width: 900px;
  margin: 0 auto;
}

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

.result-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.result-subtitle {
  color: var(--text-muted);
  font-size: 16px;
}

.result-body {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.result-footer {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Markdown Styles */
.markdown-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.markdown-body h1 {
  font-size: 32px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
  color: var(--text);
}

.markdown-body h1:first-child {
  margin-top: 0;
}

.markdown-body h2 {
  font-size: 28px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--text);
}

.markdown-body h3 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--text);
}

.markdown-body h4 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--text);
}

.markdown-body p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.markdown-body ul,
.markdown-body ol {
  margin-bottom: 16px;
  padding-left: 28px;
}

.markdown-body li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.markdown-body strong {
  font-weight: 600;
  color: var(--text);
}

.markdown-body em {
  font-style: italic;
  color: var(--text-muted);
}

.markdown-body code {
  background: var(--bg-light);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: var(--primary);
}

.markdown-body pre {
  background: var(--bg-light);
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
}

.markdown-body pre code {
  background: none;
  padding: 0;
  color: var(--text);
}

.markdown-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 15px;
}

.markdown-body th,
.markdown-body td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}

.markdown-body th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--text);
}

.markdown-body tr:nth-child(even) {
  background: color-mix(in srgb, var(--bg-light) 50%, transparent);
}

.markdown-body blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 20px;
  margin: 20px 0;
  color: var(--text-muted);
  font-style: italic;
}

.markdown-body hr {
  border: none;
  border-top: 2px solid var(--border);
  margin: 32px 0;
}

.markdown-body a {
  color: var(--primary);
  text-decoration: underline;
}

.markdown-body a:hover {
  color: var(--primary-dark);
}


.result-copy-btn {
  background: #9699FF;
  border-color: #9699FF;
}

.result-copy-btn:hover {
  background: #9699FF;
  border-color: #9699FF;
}

.result-guide-modal {
  max-width: 560px;
}

.result-guide-modal__body {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.result-guide-modal__body p {
  color: var(--sub-text);
  line-height: 1.75;
}

.result-guide-confirm {
  margin-top: 18px;
  width: 100%;
}

.legal-modal {
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  overflow: hidden;
}

.legal-modal__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--sub-text);
  -webkit-overflow-scrolling: touch;
}

.legal-modal__body h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 1em 0 0.4em;
}

.legal-modal__body h4:first-child {
  margin-top: 0;
}

.legal-modal__body p {
  margin: 0.5em 0;
}

.legal-modal__body a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-modal__body .legal-modal__table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 13px;
}

.legal-modal__body .legal-modal__table th,
.legal-modal__body .legal-modal__table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.legal-modal__body .legal-modal__table th {
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  font-weight: 600;
  color: var(--text);
}

.legal-modal__body .legal-modal__table td {
  color: var(--sub-text);
}

.legal-modal__confirm {
  width: 100%;
  flex-shrink: 0;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 32px;
  bottom: max(32px, env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text);
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
  z-index: 99999;
  font-weight: 500;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
  .toast {
    bottom: max(24px, env(safe-area-inset-bottom, 0px));
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    transform: translateY(100px);
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .feedback-preview.section {
    padding: 48px 0;
  }

  .feedback-preview__stage {
    height: auto;
    margin-top: 2px;
  }

  .feedback-preview__sticky {
    position: static;
    height: auto;
    pointer-events: auto;
  }

  .feedback-preview__track {
    position: static;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .feedback-preview__img {
    position: static;
    width: 100%;
    max-width: none;
    transform: none !important;
    opacity: 1 !important;
  }
}

.toast.show,
#guideToast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .toast.show,
  #guideToast.show {
    transform: translateY(0);
  }
}

.toast .icon {
  color: var(--green);
  flex-shrink: 0;
}

/* Print Styles (PDF로 저장 시 인쇄 대화상자에서만 적용) */
@media print {
  @page {
    margin: 2.5cm 0;
    size: auto;
  }

  .nav,
  .result-footer,
  .toast,
  .modal-overlay {
    display: none !important;
  }

  .result-section {
    padding: 0;
  }

  .result-body {
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .markdown-body {
    font-size: 12pt;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .result-body {
    padding: 32px 24px;
  }

  .result-title {
    font-size: 28px;
  }

  .markdown-body h1 {
    font-size: 26px;
  }

  .markdown-body h2 {
    font-size: 22px;
  }

  .markdown-body h3 {
    font-size: 18px;
  }

  .nav__actions {
    flex-direction: column;
    gap: 8px;
  }

  .result-footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .result-body {
    padding: 24px 20px;
  }

  .result-title {
    font-size: 24px;
    flex-direction: column;
    gap: 8px;
  }

  .markdown-body {
    font-size: 15px;
  }

  .markdown-body table {
    font-size: 13px;
  }

  .markdown-body th,
  .markdown-body td {
    padding: 8px 12px;
  }
}