/* ============================================================
   Luweb — 메인 사이트 스타일
   Design system: deep space black + electric violet/cyan gradient
   ============================================================ */

:root {
  --bg: #07080c;
  --bg-soft: #0d0f16;
  --bg-card: #12141d;
  --line: #21242f;
  --line-soft: #191c25;

  --fg: #f2f3f7;
  --fg-mute: #9aa0b0;
  --fg-dim: #676d7d;

  --brand: #7c5cff;
  --brand-2: #22d3ee;
  --brand-3: #ff5c8a;
  --grad: linear-gradient(115deg, #7c5cff 0%, #22d3ee 55%, #5eead4 100%);
  --grad-warm: linear-gradient(115deg, #ff5c8a 0%, #7c5cff 100%);

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --nav-h: 72px;
  --pad: clamp(20px, 5vw, 64px);
  --maxw: 1240px;

  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
    'Apple SD Gothic Neo', 'Noto Sans KR', system-ui, 'Segoe UI', Roboto, sans-serif;
  --mono: 'SF Mono', ui-monospace, 'JetBrains Mono', Menlo, Consolas, monospace;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

::selection { background: var(--brand); color: #fff; }

/* 스크롤바 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #262a36; border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #3a3f50; }

/* ---------- 공통 레이아웃 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(72px, 12vw, 150px); position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.12; }

.h-sec { font-size: clamp(30px, 5.2vw, 54px); }
.lead { color: var(--fg-mute); font-size: clamp(15px, 1.6vw, 18px); max-width: 58ch; margin: 18px 0 0; }

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

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.35s;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad);
  color: #0a0b10;
  font-weight: 700;
  box-shadow: 0 10px 34px -12px rgba(124, 92, 255, 0.85);
}
.btn-primary:hover { box-shadow: 0 16px 44px -12px rgba(34, 211, 238, 0.75); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--fg);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: #33384a; transform: translateY(-2px); }

.btn-sm { padding: 9px 17px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ============================================================
   헤더
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(7, 8, 12, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line-soft);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.05em; }
.logo-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--grad);
  display: grid; place-items: center;
  color: #06070b; font-size: 15px; font-weight: 900;
  box-shadow: 0 6px 20px -6px rgba(124, 92, 255, 0.9);
}

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 14.5px;
  color: var(--fg-mute);
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.05); }

.nav-cta { display: flex; gap: 10px; align-items: center; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  place-items: center;
  margin-left: auto;
}
.burger span {
  display: block; width: 17px; height: 1.7px; background: var(--fg); border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.burger span + span { margin-top: 4.5px; }
.burger.is-open span:nth-child(1) { transform: translateY(6.2px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.2px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 99;
  background: rgba(7, 8, 12, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 14px var(--pad) 30px;
  display: grid;
  gap: 2px;
  transform: translateY(-14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.35s var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a {
  padding: 14px 4px;
  font-size: 19px;
  font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center;
  color: var(--fg-mute);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 16px; }

/* ============================================================
   히어로
   ============================================================ */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(60px, 11vw, 130px));
  padding-bottom: clamp(60px, 10vw, 110px);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: float 18s ease-in-out infinite;
}
.orb-1 { width: 46vw; height: 46vw; background: #7c5cff; top: -14vw; left: -8vw; }
.orb-2 { width: 38vw; height: 38vw; background: #22d3ee; top: 6vw; right: -10vw; animation-delay: -6s; opacity: 0.34; }
.orb-3 { width: 30vw; height: 30vw; background: #ff5c8a; bottom: -12vw; left: 34vw; animation-delay: -11s; opacity: 0.25; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(4vw, 3vw) scale(1.08); }
  66%      { transform: translate(-3vw, 2vw) scale(0.94); }
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 25%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 25%, #000 20%, transparent 78%);
}

.hero .wrap { position: relative; z-index: 1; text-align: center; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 8px 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(12px);
  font-size: 13px; color: var(--fg-mute);
  margin-bottom: 30px;
}
.badge b { color: var(--fg); font-weight: 600; }
.badge .pill {
  background: var(--grad); color: #07080c;
  font-size: 11px; font-weight: 800; letter-spacing: 0.02em;
  padding: 3px 9px; border-radius: 99px;
}

.hero h1 {
  font-size: clamp(38px, 8.4vw, 92px);
  letter-spacing: -0.05em;
  line-height: 1.02;
}
.hero h1 .line { display: block; }
.hero p.lead { margin-inline: auto; text-align: center; font-size: clamp(15px, 1.9vw, 19px); }

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

.hero-stats {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: clamp(24px, 6vw, 72px);
  margin-top: clamp(48px, 8vw, 84px);
  padding-top: 34px;
  border-top: 1px solid var(--line-soft);
}
.hero-stats div { text-align: center; }
.hero-stats b { display: block; font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.04em; }
.hero-stats span { font-size: 13px; color: var(--fg-dim); }

/* ============================================================
   템플릿 갤러리
   ============================================================ */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(34px, 5vw, 56px); }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px; border-radius: 99px;
  border: 1px solid var(--line);
  background: transparent; color: var(--fg-mute);
  font-size: 13.5px; font-weight: 500;
  transition: all 0.25s;
}
.chip:hover { color: var(--fg); border-color: #35394a; }
.chip.is-active { background: var(--fg); color: #07080c; border-color: var(--fg); font-weight: 600; }

.tpl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(20px, 2.6vw, 30px);
}

.tpl-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-card), #0b0d14);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), border-color 0.35s, box-shadow 0.5s;
}
.tpl-card:hover { transform: translateY(-7px); border-color: #3a3f55; box-shadow: var(--shadow); }
.tpl-card.is-hidden { display: none; }

/* 라이브 미니 프리뷰 (실제 템플릿을 축소해서 렌더) */
.tpl-preview {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #0a0b10;
  border-bottom: 1px solid var(--line);
}
.tpl-preview iframe {
  position: absolute; top: 0; left: 0;
  width: 1440px; height: 990px;
  /* 전역 iframe{max-width:100%} 를 반드시 해제해야 한다.
     폭이 잘리면 iframe 내부 뷰포트가 좁아져 모바일 레이아웃으로 렌더된다. */
  max-width: none;
  border: 0;
  transform-origin: 0 0;
  pointer-events: none;      /* 카드 안에서는 조작 불가 → 데모 뷰어에서만 체험 */
  filter: saturate(1.05);
}
.tpl-preview::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 8, 12, 0.75) 100%);
  pointer-events: none;
}

.tpl-preview .hover-cta {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  background: rgba(7, 8, 12, 0.66);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.tpl-card:hover .hover-cta { opacity: 1; }
.hover-cta .btn { transform: translateY(10px); transition: transform 0.45s var(--ease); }
.tpl-card:hover .hover-cta .btn { transform: none; }

.tpl-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; gap: 14px; }
.tpl-title { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.tpl-title h3 { font-size: 21px; letter-spacing: -0.04em; }
.tpl-title .price { font-size: 15px; font-weight: 700; white-space: nowrap; }
.tpl-title .price s { color: var(--fg-dim); font-weight: 400; font-size: 13px; margin-right: 6px; }

.tpl-desc { color: var(--fg-mute); font-size: 14.5px; margin: 0; flex: 1; }

.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 11.5px; font-weight: 500;
  padding: 4px 10px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-soft);
  color: var(--fg-mute);
}

.tpl-actions { display: flex; gap: 9px; }
.tpl-actions .btn { flex: 1; }

.accent-bar { height: 3px; width: 100%; }

/* ============================================================
   기능 소개
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feat {
  background: var(--bg);
  padding: clamp(26px, 3.4vw, 40px);
  transition: background 0.35s;
}
.feat:hover { background: var(--bg-soft); }
.feat .ico {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(124, 92, 255, 0.13);
  border: 1px solid rgba(124, 92, 255, 0.3);
  margin-bottom: 20px; font-size: 21px;
}
.feat h3 { font-size: 17.5px; margin-bottom: 9px; }
.feat p { color: var(--fg-mute); font-size: 14.5px; margin: 0; }

/* ============================================================
   가격
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: start; }
.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 36px);
  background: var(--bg-card);
  position: relative;
  display: flex; flex-direction: column; gap: 18px;
}
.plan.is-featured {
  border-color: transparent;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 70px -40px rgba(124, 92, 255, 0.9);
}
.plan .flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #07080c;
  font-size: 11.5px; font-weight: 800; padding: 4px 13px; border-radius: 99px;
  white-space: nowrap;
}
.plan h3 { font-size: 17px; color: var(--fg-mute); font-weight: 600; letter-spacing: 0; }
.plan .amount { font-size: clamp(32px, 4.4vw, 42px); font-weight: 800; letter-spacing: -0.05em; }
.plan .amount small { font-size: 14px; font-weight: 500; color: var(--fg-dim); letter-spacing: 0; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; color: var(--fg-mute); align-items: flex-start; }
.plan li::before { content: '✓'; color: var(--brand-2); font-weight: 800; flex-shrink: 0; }
.plan li.off { color: var(--fg-dim); text-decoration: line-through; }
.plan li.off::before { content: '×'; color: var(--fg-dim); }

/* ============================================================
   요금표 (구축 대행 단가)
   ============================================================ */
.fee-card {
  max-width: 780px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-card), #0b0d14);
  overflow: hidden;
}
.fee-row {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line-soft);
}
.fee-name { flex: 1; min-width: 200px; }
.fee-name b { display: flex; align-items: center; gap: 9px; font-size: 17.5px; letter-spacing: -.03em; }
.fee-name span { display: block; color: var(--fg-mute); font-size: 14px; margin-top: 5px; }
.fee-name em {
  font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 99px;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line); color: var(--fg-mute);
}
.fee-amt { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; letter-spacing: -.05em; white-space: nowrap; }
.fee-amt small { font-size: 13px; font-weight: 500; color: var(--fg-dim); letter-spacing: 0; margin-left: 6px; }

.fee-total {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: clamp(18px, 2.6vw, 24px) clamp(20px, 3vw, 32px);
  background: radial-gradient(ellipse 90% 200% at 50% 0%, rgba(124, 92, 255, .22), transparent 70%);
}
.fee-total span { color: var(--fg-mute); font-size: 14.5px; }
.fee-total b { font-size: clamp(26px, 3.8vw, 36px); font-weight: 800; letter-spacing: -.05em; }

.fee-cols {
  max-width: 780px; margin: 26px auto 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px;
}
.fee-col {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; background: rgba(255, 255, 255, .022);
}
.fee-col h4 { font-size: 13.5px; letter-spacing: .04em; color: var(--fg-mute); margin-bottom: 14px; font-weight: 600; }
.fee-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fee-col li { display: flex; gap: 9px; font-size: 14px; color: var(--fg-mute); align-items: flex-start; line-height: 1.55; }
.fee-col li::before { content: '✓'; color: var(--brand-2); font-weight: 800; flex-shrink: 0; }
.fee-col.is-out li::before { content: '–'; color: var(--fg-dim); }
.fee-col.is-out li { color: var(--fg-dim); }

.fee-note { max-width: 780px; margin: 20px auto 0; font-size: 13px; color: var(--fg-dim); text-align: center; }

/* ============================================================
   문의 채널 (카카오톡 · 이메일)
   ============================================================ */
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; max-width: 900px; margin: 34px auto 0; }
.channel {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: transform .4s var(--ease), border-color .3s, background .3s;
  text-align: left;
}
.channel:hover { transform: translateY(-4px); border-color: #3a3f55; background: #171a24; }
.channel .ci { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; flex: none; }
.channel .ci svg { width: 24px; height: 24px; }
.channel b { display: block; font-size: 16px; letter-spacing: -.03em; }
.channel span { display: block; font-size: 13.5px; color: var(--fg-mute); margin-top: 3px; }
.channel .go { margin-left: auto; color: var(--fg-dim); font-size: 18px; transition: transform .35s var(--ease), color .3s; }
.channel:hover .go { transform: translateX(4px); color: var(--brand-2); }

.ci-kakao { background: #FEE500; color: #191600; }
.ci-chat { background: rgba(94, 234, 212, .14); border: 1px solid rgba(94, 234, 212, .3); color: var(--brand-3); }
.ci-mail { background: rgba(124, 92, 255, .15); border: 1px solid rgba(124, 92, 255, .32); color: #b9a6ff; }

/* 카카오톡 버튼 */
.btn-kakao { background: #FEE500; color: #191600; font-weight: 700; }
.btn-kakao:hover { background: #ffe94d; transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(254, 229, 0, .8); }
.btn-kakao svg { width: 17px; height: 17px; }

/* 우측 하단 고정 카톡 버튼 */
.fab {
  position: fixed; z-index: 90;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 20px 0 17px;
  border-radius: 999px;
  background: #FEE500; color: #191600;
  font-size: 15px; font-weight: 700;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .18);
  transform: translateY(90px); opacity: 0;
  transition: transform .5s var(--ease), opacity .4s, box-shadow .3s;
}
.fab.is-in { transform: none; opacity: 1; }
.fab:hover { box-shadow: 0 18px 44px -10px rgba(254, 229, 0, .6), 0 0 0 1px rgba(0, 0, 0, .18); }
.fab svg { width: 21px; height: 21px; flex: none; }
@media (max-width: 560px) {
  .fab { height: 50px; padding: 0 17px 0 15px; font-size: 14px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq details[open] { border-color: #3a3f55; }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 19px 22px;
  font-weight: 600; font-size: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 21px; color: var(--fg-dim); font-weight: 400;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--brand-2); }
.faq .ans { padding: 0 22px 21px; color: var(--fg-mute); font-size: 14.8px; }
.faq .ans p { margin: 0 0 10px; }
.faq .ans p:last-child { margin-bottom: 0; }

/* ============================================================
   CTA + 푸터
   ============================================================ */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 7vw, 82px) clamp(24px, 5vw, 60px);
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse 80% 130% at 50% 0%, rgba(124, 92, 255, 0.28), transparent 65%), var(--bg-card);
}
.cta-band h2 { font-size: clamp(27px, 4.6vw, 46px); }
.cta-band .hero-actions { margin-top: 30px; }

footer { border-top: 1px solid var(--line-soft); padding-block: 54px 40px; margin-top: clamp(60px, 9vw, 110px); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px 30px; }
.foot-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-dim); margin-bottom: 16px; font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--fg-mute); font-size: 14.5px; transition: color 0.2s; }
.foot-grid a:hover { color: var(--fg); }
.foot-about p { color: var(--fg-mute); font-size: 14.5px; max-width: 34ch; margin: 14px 0 0; }
.foot-bottom {
  margin-top: 46px; padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--fg-dim); font-size: 13px;
}

/* ============================================================
   스크롤 인 애니메이션
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   반응형
   ============================================================ */
@media (max-width: 940px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: grid; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 20px 34px; }
  .tpl-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .sec-head { align-items: flex-start; }
}

/* iOS 홈 인디케이터 / 노치 대응 */
@supports (padding: max(0px)) {
  .wrap { padding-left: max(var(--pad), env(safe-area-inset-left)); padding-right: max(var(--pad), env(safe-area-inset-right)); }
}
