/* =====================================================
   transfer-guarantee.css v3 — 30일 이관 보장 페이지
   Stripe DS · Pretendard · Blurple #635BFF · Soft Shadows
   네임스페이스: tg-*
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; }

/* ──────────────────────────────────────────
   공통 유틸
   ────────────────────────────────────────── */
.tg-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-primary, #635BFF);
  margin-bottom: 14px;
}
.tg-eyebrow::before {
  content: '';
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--clr-primary, #635BFF);
}
.tg-section-title {
  font-size: clamp(28px, 3.8vw, 42px); font-weight: 800;
  letter-spacing: -.04em; color: var(--text, #0A2540);
  line-height: 1.2; margin-bottom: 16px;
}
.tg-section-sub {
  font-size: 16px; color: var(--muted, #425466); line-height: 1.8; margin: 0;
}
.tg-section-header {
  text-align: center; max-width: 620px; margin: 0 auto 72px;
}

/* ══════════════════════════════════════════
   HERO — 쿨그레이 배경 + Blurple 강조
   ══════════════════════════════════════════ */
.tg-hero {
  position: relative;
  background: var(--bg2, #F6F9FC);
  padding: 136px 40px 104px;
  text-align: center;
  overflow: hidden;
}

/* 배경 장식 */
.tg-hero-deco { position: absolute; inset: 0; pointer-events: none; }

.tg-hero-deco-ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(99,91,255,.09);
}
.tg-hero-deco-ring--1 {
  width: 600px; height: 600px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.tg-hero-deco-ring--2 {
  width: 900px; height: 900px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(99,91,255,.04);
}
.tg-hero-deco-ring--3 {
  width: 1200px; height: 1200px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(99,91,255,.025);
}
.tg-hero-deco-blob {
  position: absolute;
  top: -80px; right: -120px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,91,255,.07) 0%, transparent 65%);
  filter: blur(40px);
}
.tg-hero-deco-blob--2 {
  position: absolute;
  bottom: -60px; left: -100px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,.05) 0%, transparent 65%);
  filter: blur(48px);
}

/* 격자 패턴 오버레이 */
.tg-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(99,91,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,91,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.tg-hero-inner {
  position: relative; z-index: 2;
  max-width: 800px; margin: 0 auto;
}

/* Eyebrow pill */
.tg-hero-eyebrow-wrap {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(99,91,255,.08);
  border: 1px solid rgba(99,91,255,.18);
  border-radius: 99px; padding: 6px 18px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
  color: var(--clr-primary, #635BFF); text-transform: uppercase;
  margin-bottom: 32px;
}
.tg-hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--clr-primary, #635BFF);
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(99,91,255,.5);
  animation: tgHeroDotPulse 2.2s ease-in-out infinite;
}
@keyframes tgHeroDotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(99,91,255,.5); }
  60%  { box-shadow: 0 0 0 6px rgba(99,91,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(99,91,255,0); }
}

/* Hero 제목 */
.tg-hero-h1 {
  font-size: clamp(40px, 6vw, 72px); font-weight: 900;
  letter-spacing: -.05em; color: var(--text, #0A2540);
  line-height: 1.08; margin-bottom: 24px;
}
.tg-hero-em {
  font-style: normal; display: block;
  background: linear-gradient(128deg, var(--clr-primary, #635BFF) 0%, #9b8eff 55%, #5eead4 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tg-hero-sub {
  font-size: 18px; color: var(--muted, #425466); line-height: 1.8;
  margin-bottom: 44px; max-width: 580px; margin-left: auto; margin-right: auto;
}

/* 신뢰 지표 3개 */
.tg-hero-trust-row {
  display: flex; align-items: stretch; justify-content: center;
  gap: 0;
  background: #ffffff;
  border: 1px solid var(--border, #E3E8EF);
  border-radius: 18px;
  padding: 0;
  box-shadow:
    0 2px 8px rgba(10,37,64,.05),
    0 8px 32px rgba(10,37,64,.05);
  margin-bottom: 40px;
  max-width: 640px; margin-left: auto; margin-right: auto;
  overflow: hidden;
  flex-wrap: wrap;
}
.tg-trust-item {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 28px;
  flex: 1; min-width: 160px;
  transition: background .18s;
}
.tg-trust-item:hover { background: var(--bg2, #F6F9FC); }
.tg-trust-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--clr-primary-sub, #ebe9ff);
  color: var(--clr-primary, #635BFF);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tg-trust-val  { font-size: 14px; font-weight: 800; color: var(--text, #0A2540); line-height: 1.2; }
.tg-trust-lbl  { font-size: 11.5px; color: var(--muted, #425466); margin-top: 2px; }
.tg-trust-divider {
  width: 1px; align-self: stretch;
  background: var(--border, #E3E8EF); flex-shrink: 0;
}

/* CTA 버튼 */
.tg-hero-cta-row {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.tg-btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--clr-primary, #635BFF); color: #fff;
  font-size: 15px; font-weight: 700; padding: 15px 30px;
  border-radius: 9999px; text-decoration: none;
  box-shadow: 0 4px 20px rgba(99,91,255,.38), 0 1px 4px rgba(99,91,255,.2);
  transition: background .18s, box-shadow .18s, transform .14s;
}
.tg-btn-primary:hover {
  background: #5048e5;
  box-shadow: 0 8px 28px rgba(99,91,255,.46), 0 2px 8px rgba(99,91,255,.25);
  transform: translateY(-2px);
}
.tg-btn-arrow {
  display: inline-block; transition: transform .22s cubic-bezier(.34,1.56,.64,1);
}
.tg-btn-primary:hover .tg-btn-arrow,
.tg-cta-btn-primary:hover .tg-btn-arrow { transform: translateX(5px); }

.tg-btn-ghost-light {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text, #0A2540); font-size: 15px; font-weight: 600;
  padding: 15px 26px; border-radius: 9999px;
  border: 1.5px solid var(--border, #E3E8EF);
  text-decoration: none; background: #ffffff;
  transition: border-color .18s, box-shadow .18s, transform .14s;
}
.tg-btn-ghost-light:hover {
  border-color: var(--clr-primary-mid, #c7c4ff);
  box-shadow: 0 0 0 3px rgba(99,91,255,.1);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════
   핵심 원칙 3개 — 흰 배경 카드
   ══════════════════════════════════════════ */
.tg-principles-section {
  padding: 104px 40px;
  background: #ffffff;
}
.tg-principles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1160px; margin: 0 auto;
}
.tg-principle-card {
  background: var(--bg2, #F6F9FC);
  border: 1px solid var(--border, #E3E8EF);
  border-radius: 22px; padding: 34px 30px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.tg-principle-card::before {
  content: '';
  position: absolute; inset: 0; border-radius: 22px;
  background: linear-gradient(135deg, rgba(99,91,255,.04) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.tg-principle-card:hover {
  box-shadow: 0 12px 40px rgba(10,37,64,.1);
  transform: translateY(-5px);
  border-color: var(--clr-primary-mid, #c7c4ff);
}
.tg-principle-card:hover::before { opacity: 1; }

.tg-principle-icon {
  width: 56px; height: 56px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; position: relative; z-index: 1;
}
.tg-icon--blue   { background: #ebe9ff; color: var(--clr-primary, #635BFF); }
.tg-icon--green  { background: #d1fae5; color: #059669; }
.tg-icon--purple { background: #f3e8ff; color: #7c3aed; }
.tg-icon--orange { background: #fff7ed; color: #c2410c; }

/* 듀오톤 SVG */
.bcv2-svg-bg   { opacity: .35; }
.bcv2-svg-line { opacity: 1; }

.tg-principle-h3 {
  font-size: 17px; font-weight: 800; letter-spacing: -.03em;
  color: var(--text, #0A2540); margin-bottom: 12px;
  position: relative; z-index: 1;
}
.tg-principle-p {
  font-size: 14.5px; color: var(--muted, #425466); line-height: 1.78; margin: 0;
  position: relative; z-index: 1;
}

/* ══════════════════════════════════════════
   이관 핵심 자산 — 3열 카드 그리드
   ══════════════════════════════════════════ */
.tg-assets-section {
  padding: 104px 40px;
  background: var(--bg2, #F6F9FC);
}
.tg-assets-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  max-width: 1160px; margin: 0 auto;
}

.tg-asset-card {
  background: #ffffff;
  border: 1px solid var(--border, #E3E8EF);
  border-radius: 22px; padding: 32px 28px 26px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease, box-shadow .28s, border-color .28s;
  position: relative; overflow: hidden;
}
.tg-asset-card::after {
  content: attr(data-num);
  position: absolute; top: -10px; right: 16px;
  font-size: 72px; font-weight: 900; line-height: 1;
  color: rgba(10,37,64,.03); pointer-events: none;
  letter-spacing: -.06em;
}
.tg-asset-card.tg-visible { opacity: 1; transform: translateY(0); }
/* 순차 딜레이 */
.tg-asset-card:nth-child(1) { transition-delay: .05s; }
.tg-asset-card:nth-child(2) { transition-delay: .12s; }
.tg-asset-card:nth-child(3) { transition-delay: .19s; }
.tg-asset-card:nth-child(4) { transition-delay: .26s; }
.tg-asset-card:nth-child(5) { transition-delay: .33s; }
.tg-asset-card:nth-child(6) { transition-delay: .40s; }

.tg-asset-card:hover {
  box-shadow: 0 16px 48px rgba(10,37,64,.1);
  transform: translateY(-5px) !important;
  border-color: var(--clr-primary-mid, #c7c4ff);
}

.tg-asset-icon-wrap {
  width: 56px; height: 56px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.tg-asset-icon--violet { background: #ebe9ff; color: #635BFF; }
.tg-asset-icon--green  { background: #d1fae5; color: #059669; }
.tg-asset-icon--orange { background: #fff7ed; color: #c2410c; }
.tg-asset-icon--blue   { background: #dbeafe; color: #1d4ed8; }
.tg-asset-icon--indigo { background: #e0e7ff; color: #4338ca; }
.tg-asset-icon--teal   { background: #ccfbf1; color: #0d9488; }

.tg-asset-num {
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  color: var(--muted, #425466); margin-bottom: 6px; opacity: .55;
  text-transform: uppercase;
}
.tg-asset-title {
  font-size: 17px; font-weight: 800; letter-spacing: -.03em;
  color: var(--text, #0A2540); line-height: 1.35; margin-bottom: 10px;
}
.tg-asset-desc {
  font-size: 13.5px; color: var(--muted, #425466); line-height: 1.72;
  margin-bottom: 18px;
}
.tg-asset-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 7px;
  border-top: 1px solid var(--border, #E3E8EF); padding-top: 16px;
}
.tg-asset-list li {
  font-size: 12.5px; color: var(--muted, #425466);
  line-height: 1.55; padding-left: 16px; position: relative;
}
.tg-asset-list li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--clr-primary, #635BFF);
}

/* ══════════════════════════════════════════
   30일 이관 프로세스 — 수직 타임라인 (개선판)
   ══════════════════════════════════════════ */
.tg-timeline-section {
  padding: 104px 40px;
  background: #ffffff;
  position: relative;
}

/* 배경 노이즈 텍스처 느낌 (subtle) */
.tg-timeline-section::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 63px,
    rgba(99,91,255,.015) 63px, rgba(99,91,255,.015) 64px
  );
}

.tg-timeline {
  max-width: 900px; margin: 0 auto;
  position: relative; z-index: 1;
}

/* ── 타임라인 각 항목 ── */
.tg-tl-item {
  display: grid;
  grid-template-columns: 100px 56px 1fr;
  align-items: stretch;
  opacity: 0; transform: translateX(-12px);
  transition: opacity .55s ease, transform .55s ease;
}
.tg-tl-item.tg-visible { opacity: 1; transform: translateX(0); }
.tg-tl-item:nth-child(1) { transition-delay: .0s; }
.tg-tl-item:nth-child(2) { transition-delay: .12s; }
.tg-tl-item:nth-child(3) { transition-delay: .24s; }
.tg-tl-item:nth-child(4) { transition-delay: .36s; }

/* 왼쪽 날짜/단계 레이블 */
.tg-tl-left {
  display: flex; align-items: flex-start; justify-content: flex-end;
  padding-top: 18px; padding-right: 20px; padding-bottom: 24px;
}
.tg-tl-phase { text-align: right; }
.tg-tl-phase-label {
  display: block;
  font-size: 12px; font-weight: 800;
  color: var(--clr-primary, #635BFF);
  letter-spacing: .03em; white-space: nowrap;
  line-height: 1.2;
}
.tg-tl-phase-sublabel {
  display: block;
  font-size: 10px; font-weight: 500;
  color: var(--muted, #425466); margin-top: 3px;
  letter-spacing: .02em;
}

/* 가운데 커넥터 */
.tg-tl-connector {
  display: flex; flex-direction: column; align-items: center;
}

/* 스텝 인디케이터 점 */
.tg-tl-dot {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
  margin-top: 12px;
  transition: box-shadow .25s;
}
.tg-tl-dot--done {
  background: #d1fae5;
  border: 2.5px solid #10b981;
  color: #059669;
  box-shadow: 0 0 0 6px rgba(16,185,129,.08);
}
.tg-tl-dot--done:hover {
  box-shadow: 0 0 0 8px rgba(16,185,129,.12);
}
.tg-tl-dot--active {
  background: #ffffff;
  border: 2.5px solid var(--clr-primary, #635BFF);
  box-shadow: 0 0 0 6px rgba(99,91,255,.1), 0 4px 12px rgba(99,91,255,.25);
}
.tg-tl-dot--pending {
  background: var(--bg2, #F6F9FC);
  border: 2px solid #d1d9e0;
}
.tg-tl-dot--final {
  background: #fef3c7;
  border: 2.5px solid #f59e0b;
  color: #92400e;
  box-shadow: 0 0 0 6px rgba(245,158,11,.08);
}

/* 진행 중 펄스 애니메이션 */
.tg-tl-dot-pulse {
  display: block; width: 14px; height: 14px; border-radius: 50%;
  background: var(--clr-primary, #635BFF);
  animation: tgDotPulse 1.8s ease-in-out infinite;
}
@keyframes tgDotPulse {
  0%, 100% { transform: scale(1);   opacity: 1; box-shadow: 0 0 0 0 rgba(99,91,255,.5); }
  50%       { transform: scale(1.3); opacity: .85; box-shadow: 0 0 0 8px rgba(99,91,255,0); }
}

/* 세로 연결선 */
.tg-tl-line {
  flex: 1; width: 2px; min-height: 32px;
  background: var(--border, #E3E8EF);
  border-radius: 2px;
  position: relative; overflow: hidden;
}
.tg-tl-line--done {
  background: #10b981;
}
.tg-tl-line--active {
  background: var(--border, #E3E8EF);
}
/* 활성 라인 진행 애니메이션 */
.tg-tl-line--active::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 65%;
  background: linear-gradient(to bottom, var(--clr-primary, #635BFF), rgba(99,91,255,.2));
  border-radius: 2px;
}
.tg-tl-line--pending {
  background: var(--border, #E3E8EF); opacity: .5;
}

/* 오른쪽 카드 */
.tg-tl-card {
  margin-left: 20px; margin-bottom: 28px;
  background: #ffffff;
  border: 1px solid var(--border, #E3E8EF);
  border-radius: 18px; padding: 24px 26px 26px;
  transition: box-shadow .25s, border-color .25s;
  position: relative;
}
.tg-tl-card:hover {
  box-shadow: 0 10px 36px rgba(10,37,64,.08);
}
.tg-tl-card--done {
  border-left: 3px solid #10b981;
}
.tg-tl-card--active {
  border-left: 3px solid var(--clr-primary, #635BFF);
  background: linear-gradient(160deg, #faf9ff 0%, #ffffff 100%);
  box-shadow: 0 4px 20px rgba(99,91,255,.08);
}
.tg-tl-card--pending {
  opacity: .8;
}
.tg-tl-item--last .tg-tl-card { margin-bottom: 0; }

/* 카드 헤더 */
.tg-tl-card-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.tg-tl-step-badge {
  display: inline-flex; align-items: center;
  font-size: 10px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 99px;
}
.tg-tl-badge--blue   { background: #ebe9ff; color: var(--clr-primary, #635BFF); }
.tg-tl-badge--green  { background: #d1fae5; color: #065f46; }
.tg-tl-badge--purple { background: #f3e8ff; color: #6d28d9; }
.tg-tl-badge--amber  { background: #fef3c7; color: #92400e; }

.tg-tl-title {
  font-size: 18px; font-weight: 800; letter-spacing: -.03em;
  color: var(--text, #0A2540); margin: 0; line-height: 1.25;
}
.tg-tl-desc {
  font-size: 14px; color: var(--muted, #425466); line-height: 1.78;
  margin-bottom: 18px;
}

/* 체크리스트 */
.tg-tl-checklist {
  display: flex; flex-direction: column; gap: 9px; margin-bottom: 16px;
}
.tg-tl-check {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--text, #0A2540); line-height: 1.45;
}
.tg-tl-check-dot {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.tg-tl-check-dot--done {
  background: #d1fae5; border: 1.5px solid #10b981;
  position: relative;
}
.tg-tl-check-dot--done::after {
  content: '';
  width: 5px; height: 3px;
  border-left: 1.8px solid #059669; border-bottom: 1.8px solid #059669;
  transform: rotate(-45deg) translate(.5px, -.5px);
}
.tg-tl-check-dot--active {
  background: #ebe9ff;
  border: 1.5px solid var(--clr-primary, #635BFF);
  animation: tgDotPulse 2s ease-in-out infinite;
}
.tg-tl-check-dot--pending {
  background: var(--bg2, #F6F9FC);
  border: 1.5px solid var(--border, #E3E8EF);
}

/* 진행 바 */
.tg-tl-progress-wrap { margin-top: 4px; }
.tg-tl-progress-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 7px;
}
.tg-tl-progress-label { font-size: 11.5px; color: var(--muted, #425466); font-weight: 500; }
.tg-tl-progress-val   { font-size: 12px; font-weight: 800; color: var(--clr-primary, #635BFF); font-feature-settings: "tnum"; }
.tg-tl-progress-track {
  height: 7px; background: var(--bg2, #F6F9FC);
  border-radius: 99px; overflow: hidden;
  border: 1px solid var(--border, #E3E8EF);
}
.tg-tl-progress-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--clr-primary, #635BFF), #9b8eff);
  transition: width .8s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.tg-tl-progress-fill::after {
  content: '';
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: 50%;
  background: #ffffff; border: 2px solid var(--clr-primary, #635BFF);
  box-shadow: 0 0 0 3px rgba(99,91,255,.2);
}

/* 완료 배지 */
.tg-tl-done-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px;
  background: #f0fdf4; border: 1.5px solid #a7f3d0;
  border-radius: 99px; padding: 7px 16px;
  font-size: 12.5px; font-weight: 700; color: #065f46;
}

/* ══════════════════════════════════════════
   계약 조항 6개
   ══════════════════════════════════════════ */
.tg-contract-section {
  padding: 104px 40px;
  background: var(--bg2, #F6F9FC);
}
.tg-contract-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 1160px; margin: 0 auto;
}
.tg-contract-card {
  background: #ffffff;
  border: 1px solid var(--border, #E3E8EF);
  border-radius: 18px; padding: 28px 24px;
  opacity: 0; transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease, box-shadow .22s, border-color .22s;
  position: relative; overflow: hidden;
}
.tg-contract-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--clr-primary, #635BFF), #9b8eff);
  opacity: 0; transition: opacity .25s;
}
.tg-contract-card.tg-visible { opacity: 1; transform: translateY(0); }
.tg-contract-card:nth-child(1) { transition-delay: .04s; }
.tg-contract-card:nth-child(2) { transition-delay: .10s; }
.tg-contract-card:nth-child(3) { transition-delay: .16s; }
.tg-contract-card:nth-child(4) { transition-delay: .22s; }
.tg-contract-card:nth-child(5) { transition-delay: .28s; }
.tg-contract-card:nth-child(6) { transition-delay: .34s; }

.tg-contract-card:hover {
  box-shadow: 0 10px 36px rgba(10,37,64,.08);
  transform: translateY(-3px) !important;
  border-color: var(--clr-primary-mid, #c7c4ff);
}
.tg-contract-card:hover::before { opacity: 1; }

.tg-contract-num {
  display: inline-block; font-size: 10px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  background: #ebe9ff; color: var(--clr-primary, #635BFF);
  padding: 4px 12px; border-radius: 99px; margin-bottom: 14px;
}
.tg-contract-title {
  font-size: 15.5px; font-weight: 800; letter-spacing: -.02em;
  color: var(--text, #0A2540); margin-bottom: 10px;
}
.tg-contract-desc {
  font-size: 13.5px; color: var(--muted, #425466); line-height: 1.78; margin: 0;
}
.tg-contract-desc strong { color: var(--text, #0A2540); font-weight: 700; }

/* ══════════════════════════════════════════
   비교 테이블
   ══════════════════════════════════════════ */
.tg-compare-section {
  padding: 104px 40px;
  background: #ffffff;
}
.tg-compare-wrap { overflow-x: auto; max-width: 1160px; margin: 0 auto; }
.tg-compare-table {
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--border, #E3E8EF);
  border-radius: 18px; overflow: hidden;
  min-width: 620px;
}
.tg-compare-table th {
  padding: 18px 22px; font-size: 12px; font-weight: 700; text-align: left;
  border-bottom: 1px solid var(--border, #E3E8EF);
}
.tg-th-item { background: var(--bg2, #F6F9FC); color: var(--muted, #425466); width: 24%; }
.tg-th-bad  { background: #fff5f5; }
.tg-th-good { background: #f0fdf4; }
.tg-th-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; border-radius: 99px;
  font-size: 12px; font-weight: 800;
}
.tg-th-badge--bad  { background: #fee2e2; color: #b91c1c; }
.tg-th-badge--good { background: #d1fae5; color: #065f46; }
.tg-compare-table td {
  padding: 14px 22px; font-size: 13.5px; color: var(--muted, #425466);
  border-bottom: 1px solid var(--border, #E3E8EF);
  transition: background .15s;
}
.tg-compare-table tr:last-child td { border-bottom: none; }
.tg-compare-table tbody tr:hover td { background: #faf9ff; }
.tg-td-label { font-weight: 700; color: var(--text, #0A2540); }
.tg-badge-bad {
  display: inline-block; font-size: 12px; font-weight: 600;
  background: #fee2e2; color: #b91c1c; padding: 3px 12px; border-radius: 99px;
}
.tg-badge-good {
  display: inline-block; font-size: 12px; font-weight: 600;
  background: #d1fae5; color: #065f46; padding: 3px 12px; border-radius: 99px;
}

/* ══════════════════════════════════════════
   CTA 섹션 — 다크 + 수치 띠
   ══════════════════════════════════════════ */
.tg-cta-section {
  padding: 104px 40px;
  background: linear-gradient(145deg, #050e1f 0%, #0A2540 55%, #0f2d50 100%);
  position: relative; overflow: hidden;
}
.tg-cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99,91,255,.18) 0%, transparent 65%);
  pointer-events: none;
}
/* CTA 점 패턴 */
.tg-cta-section::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* 수치 띠 */
.tg-guarantee-strip {
  position: relative; z-index: 2;
  display: flex; align-items: stretch; justify-content: center;
  gap: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 0;
  max-width: 800px; margin: 0 auto 64px;
  overflow: hidden; flex-wrap: wrap;
}
.tg-strip-stat {
  flex: 1; min-width: 140px; text-align: center;
  padding: 32px 20px;
  transition: background .18s;
}
.tg-strip-stat:hover { background: rgba(255,255,255,.04); }
.tg-strip-stat-num {
  font-size: 32px; font-weight: 900; letter-spacing: -.05em;
  color: #ffffff; font-feature-settings: "tnum";
  line-height: 1;
}
.tg-strip-stat-lbl {
  font-size: 11.5px; color: rgba(255,255,255,.5);
  margin-top: 6px; letter-spacing: .02em;
}
.tg-strip-divider {
  width: 1px; align-self: stretch;
  background: rgba(255,255,255,.1); flex-shrink: 0;
}

/* CTA 본문 */
.tg-cta-inner {
  position: relative; z-index: 2;
  text-align: center; max-width: 600px; margin: 0 auto;
}
.tg-cta-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #a78bfa; margin-bottom: 20px;
  display: block;
}
.tg-cta-h2 {
  font-size: clamp(30px, 4vw, 48px); font-weight: 900;
  color: #ffffff; line-height: 1.18; margin-bottom: 18px;
  letter-spacing: -.04em;
}
.tg-cta-desc {
  font-size: 16px; color: rgba(255,255,255,.6); line-height: 1.78; margin-bottom: 36px;
}
.tg-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.tg-cta-btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--clr-primary, #635BFF); color: #fff;
  font-size: 15px; font-weight: 700; padding: 15px 30px;
  border-radius: 9999px; text-decoration: none;
  box-shadow: 0 4px 20px rgba(99,91,255,.45);
  transition: background .18s, box-shadow .18s, transform .14s;
}
.tg-cta-btn-primary:hover {
  background: #5048e5;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99,91,255,.55);
}
.tg-cta-btn-ghost {
  display: inline-flex; align-items: center;
  color: rgba(255,255,255,.8); font-size: 15px; font-weight: 600;
  padding: 15px 26px; border-radius: 9999px;
  border: 1.5px solid rgba(255,255,255,.22);
  text-decoration: none;
  transition: background .18s, border-color .18s, transform .14s;
}
.tg-cta-btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.4);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.site-footer { background: #050e1f; padding: 44px 24px; }
.footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-brand {
  font-size: 17px; font-weight: 900; color: #ffffff; letter-spacing: -.03em;
}
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a {
  font-size: 13px; color: rgba(255,255,255,.4);
  text-decoration: none; transition: color .18s;
}
.footer-links a:hover { color: rgba(255,255,255,.8); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.25); }

/* ══════════════════════════════════════════
   접근성
   ══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .tg-tl-dot-pulse,
  .tg-tl-check-dot--active,
  .tg-hero-dot { animation: none; }
  .tg-asset-card,
  .tg-tl-item,
  .tg-contract-card {
    opacity: 1 !important;
    transform: none !important;
    transition: box-shadow .25s !important;
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .tg-tl-item { grid-template-columns: 90px 52px 1fr; }
}

@media (max-width: 960px) {
  .tg-hero,
  .tg-principles-section,
  .tg-assets-section,
  .tg-timeline-section,
  .tg-contract-section,
  .tg-compare-section,
  .tg-cta-section { padding-left: 24px; padding-right: 24px; }

  .tg-hero         { padding-top: 104px; padding-bottom: 80px; }
  .tg-principles-grid { grid-template-columns: repeat(2, 1fr); }
  .tg-assets-grid  { grid-template-columns: repeat(2, 1fr); }
  .tg-contract-grid { grid-template-columns: repeat(2, 1fr); }

  .tg-hero-trust-row { max-width: 100%; }
  .tg-trust-item     { padding: 16px 22px; }

  .tg-tl-item        { grid-template-columns: 80px 50px 1fr; }
  .tg-tl-phase-label { font-size: 11px; }
  .tg-tl-left        { padding-right: 16px; }
}

@media (max-width: 640px) {
  .tg-hero  { padding: 88px 16px 64px; }
  .tg-hero-sub br { display: none; }

  .tg-principles-section,
  .tg-assets-section,
  .tg-timeline-section,
  .tg-contract-section,
  .tg-compare-section,
  .tg-cta-section { padding-left: 16px; padding-right: 16px; }

  .tg-principles-grid,
  .tg-assets-grid,
  .tg-contract-grid { grid-template-columns: 1fr; }

  /* trust row: 세로 스택 */
  .tg-hero-trust-row { flex-direction: column; border-radius: 14px; }
  .tg-trust-item     { padding: 14px 18px; min-width: 0; }
  .tg-trust-divider  { width: auto; height: 1px; align-self: auto; }

  /* 타임라인: 날짜 레이블 숨기고 2열 */
  .tg-tl-item { grid-template-columns: 46px 1fr; }
  .tg-tl-left { display: none; }
  .tg-tl-dot  { width: 34px; height: 34px; margin-top: 14px; }
  .tg-tl-card { margin-left: 14px; padding: 18px 16px 20px; }
  .tg-tl-title { font-size: 15.5px; }
  .tg-tl-desc  { font-size: 13px; }

  /* 수치 띠: 세로 스택 */
  .tg-guarantee-strip { flex-direction: column; border-radius: 16px; }
  .tg-strip-stat      { min-width: 0; padding: 20px 16px; }
  .tg-strip-divider   { display: none; }

  .tg-section-header { margin-bottom: 48px; }
}
