/* =========================================================================
   잇타두(ITTD) 랜딩 — 공용 스타일
   - 폰트: Pretendard Variable (index.html 에서 jsdelivr CDN 으로 로드)
   - 브레이크포인트 (원본 Figma Sites 와 동일)
       모바일  : 0 ~ 799px   (기본값, 아래 규칙)
       태블릿  : 800 ~ 1259px (@media (min-width: 800px))
       데스크톱: 1260px ~     (@media (min-width: 1260px))
   - 영어 페이지 전용 값은 body.lang-en 으로 덮어쓴다 (파일 하단).
   ========================================================================= */

:root {
  --bg: #101013;
  --surface: #232428;
  --card-soft: rgba(112, 115, 124, 0.2);
  --text: #f7f7f8;
  --text-white: #fff;
  --text-sub: #b7b7b7;
  --text-muted: #b0b0b0;
  --text-dim: #9c9c9c;
  --text-step-title: #ebebeb;
  --lang-off: #636363;
  --accent: #8a6eff;
  --grad: linear-gradient(90deg, #a162ff 0%, #796aff 50%, #5171ff 100%);
  --ease-out: cubic-bezier(0, 0, 0.58, 1); /* framer-motion "easeOut" */

  /* 페이지 전체 최소 높이 (푸터가 이 높이의 맨 아래에 붙는다) */
  --page-h: 4723px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  overflow-x: hidden;
}
h1, h2, h3, p, ul { margin: 0; padding: 0; font-size: inherit; font-weight: inherit; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: none; }

/* 반응형 줄바꿈 헬퍼 ------------------------------------------------------ */
.br-m, .br-tm { display: inline; }         /* 모바일에서만 / 모바일+태블릿에서만 */
.br-d, .br-dt { display: none; }           /* 데스크톱에서만 / 태블릿+데스크톱에서만 */
.hide-m { display: none; }                 /* 모바일에서 숨김 */
@media (min-width: 800px) {
  .br-m { display: none; }
  .br-dt { display: inline; }
  .hide-m { display: inline; }
}
@media (min-width: 1260px) {
  .br-tm { display: none; }
  .br-d { display: inline; }
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* 페이지 레이아웃 ---------------------------------------------------------- */
.page {
  min-height: max(100dvh, var(--page-h));
  display: flex;
  flex-direction: column;
  overflow: clip;
}

/* 헤더 -------------------------------------------------------------------- */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  background: rgba(16, 16, 19, 0.8);
}
.site-header__inner {
  width: 100%;
  max-width: 1260px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { display: flex; align-items: center; height: 100%; }
.logo__wordmark { display: none; }
.logo__symbol { width: 55.48px; height: 27.16px; }

.lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}
.lang__item { color: var(--lang-off); }
.lang__item.is-current { color: var(--text-white); }
.lang__divider { width: 1px; height: 16px; background: var(--lang-off); }

/* 메인 컨테이너 ------------------------------------------------------------ */
.main {
  width: 380px;
  margin: 0 auto;
  padding: 94px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
}

/* 버튼 -------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 24px;
  border-radius: 1000px;
  background: var(--grad);
  color: var(--text-white);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

/* 1. 히어로 ---------------------------------------------------------------- */
.hero { display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero__text { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.hero__eyebrow { font-size: 18px; line-height: 1.4; color: var(--text-sub); white-space: nowrap; }
.hero__title { font-size: 32px; font-weight: 700; line-height: 1.4; color: var(--text-white); white-space: nowrap; }
.hero__title span { display: block; }
.hero .btn { margin-top: 34px; }
.hero__image { flex-shrink: 0; width: 592.94px; height: 301.86px; margin-top: 44px; overflow: clip; }
.hero__image img { width: 100%; height: 100%; object-fit: cover; }

/* 2. 고민 + 가치 ------------------------------------------------------------ */
.section-title { font-size: 24px; font-weight: 700; line-height: 1.4; color: var(--text); text-align: center; }

.worries-group { display: flex; flex-direction: column; align-items: center; gap: 120px; width: 100%; }
.worries { display: flex; flex-direction: column; align-items: center; gap: 38px; width: 100%; }
.worries__list { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 500px; }
.worry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 30px 16px;
  border-radius: 18px;
  background: var(--card-soft);
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-sub);
}
.worry-card p { white-space: nowrap; }
.worry-card__icon { width: 22.72px; height: 20px; }

.value { flex-shrink: 0; width: 599px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.value__title { font-size: 24px; font-weight: 700; line-height: 1.4; color: var(--text); width: 100%; }
.value__title span { display: block; }
.value__desc { font-size: 14px; line-height: 1.4; color: var(--text-muted); width: 100%; }

/* 3. 사용 단계 ------------------------------------------------------------- */
.steps { display: flex; flex-direction: column; align-items: center; gap: 38px; width: 306.84px; }
.steps__list { display: flex; flex-direction: column; gap: 80px; width: 100%; }
.step { display: flex; flex-direction: column-reverse; align-items: center; gap: 16px; width: 100%; }
.step__text { display: flex; flex-direction: column; gap: 14px; width: 100%; text-align: center; }
.step__label { font-size: 12px; font-weight: 700; line-height: 1.4; color: var(--accent); }
.step__title { font-size: 20px; font-weight: 700; line-height: 1.4; color: var(--text-step-title); }
.step__desc { font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.step__image { flex-shrink: 0; width: 100%; aspect-ratio: 1060 / 760; }
.step__image img { width: 100%; height: 100%; object-fit: cover; }

/* 4. 프리미엄 혜택 ---------------------------------------------------------- */
.benefits { display: flex; flex-direction: column; align-items: center; gap: 38px; width: 100%; }
.benefits__list { display: grid; grid-template-columns: 1fr; gap: 10px; align-content: start; width: 100%; max-width: 500px; min-height: 600px; }
.benefit-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  background: var(--surface);
}
.benefit-card--last { gap: 10px; }
.benefit-card__text { flex: 1 0 0; min-width: 1px; display: flex; flex-direction: column; gap: 12px; }
.benefit-card__title { font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--text); }
.benefit-card__desc { font-size: 14px; line-height: 1.4; color: var(--text-dim); }
.benefit-card__icon { flex-shrink: 0; width: 26px; height: 26px; }

/* 5. 하단 CTA -------------------------------------------------------------- */
.cta { display: flex; flex-direction: column; align-items: center; gap: 36px; width: 100%; }
.cta__title { font-size: 24px; font-weight: 700; line-height: 1.4; color: var(--text); text-align: center; width: 100%; }
.cta__title span { display: block; }

/* 푸터 -------------------------------------------------------------------- */
.site-footer {
  margin-top: auto;
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 28px 80px;
  background: var(--surface);
  display: flex;
  justify-content: center;
}
.site-footer__inner { width: 100%; max-width: 1140px; display: flex; flex-direction: column; gap: 24px; }
.site-footer__info { display: flex; flex-direction: column; gap: 14px; }
.site-footer__company { font-size: 14px; font-weight: 600; line-height: 24px; color: var(--text); }
.site-footer__details { font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--text-muted); white-space: pre-wrap; }
.site-footer__copyright { font-size: 10px; font-weight: 500; line-height: 1.5; color: var(--text-muted); }
.site-footer__links { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; line-height: 1.6; color: var(--text-muted); white-space: nowrap; }
.site-footer__divider { width: 1px; height: 12px; background: var(--text-muted); }

/* =========================================================================
   태블릿 (800px ~ 1259px)
   ========================================================================= */
@media (min-width: 800px) {
  :root { --page-h: 4130px; }

  .site-header { height: 80px; padding: 0 26px; }
  .logo { height: 50px; align-items: flex-start; padding-top: 10px; }
  .logo__wordmark { display: block; width: 260px; height: auto; }
  .logo__symbol { display: none; }
  .lang { gap: 16px; font-size: 20px; }

  .main { width: 100%; max-width: 1100px; padding: 140px 28px 0; gap: 128px; }

  .btn { height: 64px; padding: 0 30px; font-size: 22px; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
  .btn--hover:hover { transform: scale(1.05); }

  .hero__eyebrow { font-size: 26px; }
  .hero__title { display: flex; gap: 14px; font-size: 44px; line-height: 1.5; }
  .hero .btn { margin-top: 46px; }
  .hero__image { width: 752px; height: 382.84px; margin-top: 40px; }

  .section-title { font-size: 30px; }
  .worries-group { gap: 60px; }
  .worries { gap: 60px; }
  .worries__list { flex-direction: row; gap: 10px; max-width: none; }
  .worry-card { flex: 1 0 0; min-width: 1px; gap: 20px; padding: 40px 16px; border-radius: 24px; }

  .value { gap: 26px; }
  .value__title { font-size: 30px; }
  .value__desc { font-size: 16px; }

  .steps { gap: 60px; width: 100%; }
  .steps__list { gap: 60px; }
  .step { flex-direction: row; align-items: flex-start; gap: 40px; height: 300px; }
  .step--1 { gap: 30px; }
  .step__text { flex: 1 0 0; min-width: 1px; gap: 16px; text-align: left; }
  .step__title { font-size: 22px; }
  .step__desc { font-size: 16px; line-height: 1.4; }
  .step__image { width: 418.42px; height: 300px; aspect-ratio: auto; }

  .benefits { gap: 60px; }
  .benefits__list { grid-template-columns: 1fr 1fr; max-width: none; min-height: 422px; }
  .benefit-card { padding: 30px 26px; border-radius: 24px; }
  .benefit-card__title { font-size: 16px; }
  .benefit-card__icon { width: 40px; height: 40px; }

  .cta { gap: 46px; }
  .cta__title { font-size: 30px; }

  .site-footer__info { width: 447px; }
}

/* =========================================================================
   데스크톱 (1260px ~)
   ========================================================================= */
@media (min-width: 1260px) {
  :root { --page-h: 5620px; }

  .site-header {
    left: 50%;
    right: auto;
    width: 1260px;
    height: 100px;
    padding: 0 40px;
    transform: translateX(-50%);
    align-items: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .site-header__inner { height: 80px; }

  .main { padding: 180px 0 0; gap: 220px; }

  .btn { height: 80px; padding: 0 40px; font-size: 28px; }
  .btn--hover-tablet:hover { transform: none; } /* 원본: 데스크톱 하단 버튼은 hover 효과 없음 */

  .hero__text { gap: 16px; }
  .hero__eyebrow { font-size: 32px; }
  .hero__title { font-size: 66px; }
  .hero__image { width: 1100px; height: 560px; margin-top: 60px; }

  .section-title { font-size: 42px; }
  .worries-group { gap: 120px; }
  .worries { gap: 90px; }
  .worries__list { gap: 20px; }
  .worry-card { gap: 24px; padding: 40px 20px; font-size: 22px; }
  .worry-card__icon { width: 32.28px; height: 28.42px; }

  .value { gap: 30px; }
  .value__title { font-size: 42px; }
  .value__desc { font-size: 28px; }

  .steps { gap: 100px; }
  .steps__list { gap: 100px; }
  .step { height: 380px; }
  .step__text { gap: 20px; }
  .step__label { font-size: 18px; }
  .step__title { font-size: 32px; }
  .step__desc { font-size: 20px; line-height: 1.5; }
  .step__image { width: 530px; height: 380px; }

  .benefits { gap: 100px; }
  .benefits__list { gap: 20px; min-height: 481px; }
  .benefit-card { padding: 30px; }
  .benefit-card__title { font-size: 19px; }
  .benefit-card__desc { font-size: 16px; line-height: 1.5; }
  .benefit-card__icon { width: 50px; height: 50px; }

  .cta { gap: 60px; }
  .cta__title { font-size: 42px; }

  .site-footer__company { font-size: 15px; }
  .site-footer__details { font-size: 15px; }
  .site-footer__info { min-height: 185px; }
  .site-footer__copyright { font-size: 12px; }
}

/* =========================================================================
   영어 페이지(body.lang-en) 전용 값 — 원본 /eng 디자인이 한국어와 조금 다르다
   ========================================================================= */
.lang-en { --page-h: 4858px; }
.lang-en .main { width: 360px; }
.lang-en .steps { width: 100%; }
.lang-en .steps__list { gap: 60px; }
.lang-en .step--1 { gap: 40px; }
.lang-en .step__image { height: 244px; aspect-ratio: auto; }
.lang-en .step__image img { border-radius: 16px; }
.lang-en .benefits__list { max-width: none; min-height: 660px; }
.lang-en .benefit-card { gap: 6px; }
.lang-en .site-footer { padding: 40px 20px 80px; }
.lang-en .site-footer__inner { min-height: 275px; }
.lang-en .site-footer__copyright { font-size: 11px; }
.lang-en .cta__title { line-height: 0; }
.lang-en .cta__title span { display: inline; line-height: 1.4; }

@media (min-width: 800px) {
  .lang-en { --page-h: 4111px; }
  .lang-en .site-header { position: absolute; } /* 원본 /eng 태블릿: 헤더 고정 안 됨 */
  .lang-en .main { width: 800px; max-width: none; padding-top: 165.87px; }
  .lang-en .hero__title { gap: 0; }
  .lang-en .worries__list { gap: 20px; }
  .lang-en .worry-card { gap: 10px; padding: 30px 16px; border-radius: 18px; }
  .lang-en .value { width: 100%; }
  .lang-en .step { gap: 16px; }
  .lang-en .step--1 { gap: 40px; }
  .lang-en .step__image { height: 300px; }
  .lang-en .step__image img { border-radius: 0; }
  .lang-en .step__desc { line-height: 1.5; }
  .lang-en .benefits { gap: 38px; }
  .lang-en .benefits__list { min-height: 425px; }
  .lang-en .benefit-card { gap: 0; }
  .lang-en .benefit-card__title { font-size: 15px; }
  .lang-en .benefit-card__desc { line-height: 1.5; }
  .lang-en .benefit-card__icon { width: 30px; height: 30px; }
  .lang-en .cta { gap: 36px; }
  .lang-en .site-footer__inner { min-height: 0; }
  .lang-en .site-footer__info { width: 100%; }
}

@media (min-width: 1260px) {
  .lang-en { --page-h: 5620px; }
  .lang-en .site-header { position: fixed; }
  .lang-en .main { width: 100%; max-width: 1100px; padding-top: 180px; }
  .lang-en .worries__list { gap: 20px; }
  .lang-en .worry-card { gap: 24px; padding: 40px 20px; border-radius: 24px; }
  .lang-en .steps__list { gap: 100px; }
  .lang-en .step { gap: 40px; }
  .lang-en .step__image { height: 380px; }
  .lang-en .benefits { gap: 100px; }
  .lang-en .benefits__list { min-height: 481px; }
  .lang-en .benefit-card { gap: 20px; }
  .lang-en .benefit-card--last { gap: 10px; }
  .lang-en .benefit-card__title { font-size: 19px; }
  .lang-en .benefit-card__icon { width: 50px; height: 50px; }
  .lang-en .cta { gap: 60px; }
  .lang-en .cta .btn { min-width: 287px; }
  .lang-en .site-footer__copyright { font-size: 12px; }
}

/* =========================================================================
   애니메이션 (원본: framer-motion, 태블릿·데스크톱에서만 동작)
   - [data-reveal]  : 화면에 들어올 때 아래→위로 50px 페이드인 (0.8s, 1회)
   - .hero__image   : 페이지 로드 시 동일한 페이드인
   ========================================================================= */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: none; }
}
@media (min-width: 800px) and (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    transition-delay: var(--reveal-delay, 0s);
  }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
  .js .hero__image img { animation: fade-up 0.8s var(--ease-out) both; }
}
