/* ================================
   링크특공대 SEO 진입 페이지
   Pro · Sensible · Responsive
================================ */

:root {
  --brand: #8c00d4;
  --brand-light: #b039ff;
  --brand-dark: #5a0099;
  --ink: #0f0f14;
  --ink-2: #2a2a2e;
  --ink-3: #555;
  --mute: #6a6a70;
  --line: #eceef2;
  --line-2: #f0f2f5;
  --bg: #ffffff;
  --bg-alt: #fafbfc;
  --accent-grad: linear-gradient(135deg, #8c00d4 0%, #b039ff 50%, #3d7fff 100%);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.04);
  --shadow-md: 0 6px 18px rgba(0,0,0,.06);
  --shadow-lg: 0 14px 34px rgba(140,0,212,.15);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* ==============================
   접근성 + Safe Area + Print
============================== */
:focus-visible {
  outline: 3px solid #8c00d4;
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-contrast: more) {
  body { color: #000; }
  a { text-decoration: underline; }
  .feat-card, .reason-card, .cat-item, .blog-card { border-width: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-cta-btn { animation: none !important; }
  .hero-bg::before, .hero-bg::after { animation: none !important; }
}
@supports (padding: env(safe-area-inset-left)) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
  }
}
@media print {
  .site-header, .menu-toggle, .main-nav, .hero-cta-btn, .cta-strip,
  .cta-final, .site-footer, .hero-bg {
    display: none !important;
  }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
  .sec { page-break-inside: avoid; padding: 20px 0; }
}
@media (max-width: 360px) {
  .brand { font-size: 18px; }
  .hero-title { font-size: 28px !important; letter-spacing: -.8px; }
  .hero-cta-btn { padding: 14px 22px; font-size: 14px; }
  .sec h2 { font-size: 22px !important; }
  .feat-card, .reason-card { padding: 20px 16px; }
}

body {
  margin: 0;
  font-family: "Pretendard","맑은 고딕","Malgun Gothic",-apple-system,BlinkMacSystemFont,sans-serif;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  font-size: 16px;
}
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.4px; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol, dl { margin: 0; padding: 0; }
li { list-style: none; }
strong { font-weight: 700; color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; top: -40px; left: 8px;
  background: var(--brand); color: #fff;
  padding: 8px 14px; border-radius: 6px;
  z-index: 1000; font-size: 13px;
  transition: top .15s;
}
.skip-link:focus { top: 8px; }

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

/* Gradient Text */
.grad-text {
  background: var(--accent-grad);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradShift 6s ease infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Fade in */
.fade { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.fade.in { opacity: 1; transform: none; }

/* ==============================
   헤더 + 네비게이션
============================== */
.site-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  z-index: 100;
  transition: box-shadow .2s;
}
.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding-left: max(24px, env(safe-area-inset-left, 24px));
  padding-right: max(24px, env(safe-area-inset-right, 24px));
}
.brand-link { display: inline-flex; align-items: center; }
.brand {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.8px;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.main-nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-3);
  padding: 10px 0;
  transition: color .15s;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 4px;
  width: 0; height: 2px;
  background: var(--brand);
  transition: width .2s;
}
.main-nav a:hover { color: var(--brand); }
.main-nav a:hover::after { width: 100%; }
.main-nav .nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 9px 16px !important;
  border-radius: 8px;
  transition: background .15s;
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: var(--brand); }

.main-nav .has-sub { position: relative; }
.main-nav .submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 0;
  min-width: 200px;
  box-shadow: 0 16px 36px rgba(0,0,0,.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s, transform .18s;
  display: flex !important;
  flex-direction: column;
  gap: 0;
  margin: 0;
}
.main-nav .has-sub:hover .submenu,
.main-nav .has-sub:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}
.main-nav .submenu a {
  display: block;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  white-space: nowrap;
}
.main-nav .submenu a::after { display: none; }
.main-nav .submenu a:hover { background: #faf5ff; color: var(--brand); }

/* 모바일 햄버거 */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px; height: 42px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==============================
   히어로
============================== */
.hero {
  position: relative;
  padding: 120px 0 110px;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  z-index: -1;
}
.hero-bg::before {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--brand-light), transparent 70%);
  top: -80px; left: -100px;
  animation: float1 16s ease-in-out infinite;
}
.hero-bg::after {
  width: 460px; height: 460px;
  background: radial-gradient(circle, #3d7fff, transparent 70%);
  bottom: -120px; right: -120px;
  animation: float2 20s ease-in-out infinite;
}
@keyframes float1 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(40px, 30px); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-40px, -30px); }
}

.hero-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  padding: 6px 14px;
  border: 1px solid rgba(140,0,212,.25);
  background: rgba(140,0,212,.05);
  border-radius: 999px;
  margin-bottom: 24px;
  letter-spacing: .2px;
}
.hero-title {
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.8px;
  margin-bottom: 22px;
  color: var(--ink);
}
.hero-lead {
  font-size: 18px;
  color: var(--ink-3);
  margin: 0 auto 44px;
  line-height: 1.6;
  max-width: 600px;
  font-weight: 500;
}

/* 메인 CTA - 돋보이게 */
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 42px;
  font-size: 17px;
  font-weight: 800;
  color: #fff !important;
  background: var(--accent-grad);
  background-size: 200% 200%;
  border-radius: 14px;
  box-shadow:
    0 8px 20px rgba(140, 0, 212, .35),
    0 2px 4px rgba(140, 0, 212, .25);
  transition: transform .2s ease, box-shadow .2s ease, background-position .6s ease;
  letter-spacing: -.3px;
  margin-bottom: 64px;
  position: relative;
  overflow: hidden;
  animation: ctaPulse 2.4s ease-in-out infinite;
}
.hero-cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.hero-cta-btn:hover {
  transform: translateY(-3px);
  background-position: 100% 100%;
  box-shadow:
    0 16px 36px rgba(140, 0, 212, .45),
    0 4px 8px rgba(140, 0, 212, .3);
}
.hero-cta-btn:hover::before { transform: translateX(100%); }
.hero-cta-btn:active { transform: translateY(-1px); }
.hero-cta-btn svg {
  width: 20px;
  height: 20px;
  transition: transform .2s ease;
}
.hero-cta-btn:hover svg { transform: translateX(4px); }

@keyframes ctaPulse {
  0%, 100% {
    box-shadow:
      0 8px 20px rgba(140, 0, 212, .35),
      0 2px 4px rgba(140, 0, 212, .25),
      0 0 0 0 rgba(140, 0, 212, .25);
  }
  50% {
    box-shadow:
      0 8px 20px rgba(140, 0, 212, .35),
      0 2px 4px rgba(140, 0, 212, .25),
      0 0 0 14px rgba(140, 0, 212, 0);
  }
}

/* CTA 버튼 */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  transition: transform .15s, box-shadow .2s, background .15s, color .15s;
  letter-spacing: -.2px;
  min-height: 52px;
  border: 1px solid transparent;
}
.cta-btn.primary {
  background: var(--ink);
  color: #fff !important;
}
.cta-btn.primary:hover {
  background: var(--brand);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.cta-btn.primary:active { transform: translateY(0); }
.cta-btn.primary.light {
  background: #fff;
  color: var(--ink) !important;
}
.cta-btn.primary.light:hover {
  background: var(--brand);
  color: #fff !important;
}
.cta-btn.ghost {
  background: transparent;
  color: var(--ink-2) !important;
  border-color: var(--line);
}
.cta-btn.ghost:hover {
  border-color: var(--ink);
  color: var(--ink) !important;
}
.cta-btn.lg {
  padding: 18px 42px;
  font-size: 16px;
  min-height: 58px;
}

/* 히어로 스탯 */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.hero-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.hero-stats strong {
  font-size: 26px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.8px;
  line-height: 1;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-stats span {
  font-size: 12px;
  font-weight: 600;
  color: var(--mute);
}

/* ==============================
   섹션 공통
============================== */
.sec {
  padding: 100px 0;
  position: relative;
}
.sec.alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sec-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.sec-kicker.light { color: rgba(255,255,255,.6); }
.sec h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -1px;
  line-height: 1.25;
}
.sec h2 + .sec-lead { margin-top: -8px; }
.sec h3 {
  font-size: 19px;
  color: var(--ink);
  margin: 32px 0 14px;
  letter-spacing: -.3px;
}
.sec p {
  font-size: 16px;
  color: var(--ink-3);
  max-width: 820px;
  line-height: 1.8;
}
.sec .inner { max-width: var(--max); }
.sec-lead {
  font-size: 17px;
  color: var(--ink-3);
  margin-bottom: 48px;
  line-height: 1.75;
  max-width: 720px;
}

/* ==============================
   3열 Reason 카드
============================== */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.reason-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px 30px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  overflow: hidden;
}
.reason-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(0,0,0,.08);
}
.reason-card:hover .card-bar { transform: scaleX(1); }
.reason-card .num {
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: 1.2px;
  margin-bottom: 14px;
  padding: 4px 10px;
  background: rgba(140,0,212,.08);
  border-radius: 6px;
}
.reason-card h3 {
  font-size: 19px;
  margin: 0 0 12px;
  line-height: 1.35;
}
.reason-card p {
  font-size: 14.5px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.75;
}
.card-bar {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

/* ==============================
   Steps
============================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  position: relative;
  counter-reset: step;
}
.steps li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform .2s, box-shadow .2s;
}
.steps li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(140,0,212,.3);
}
.steps h3 {
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--ink);
}
.steps p {
  font-size: 14.5px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.7;
}

/* ==============================
   Features
============================== */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.feat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(140,0,212,.3);
  box-shadow: 0 12px 28px rgba(140,0,212,.08);
}
.feat-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--brand);
  margin-bottom: 20px;
  transition: background .2s, border-color .2s, color .2s;
}
.feat-icon svg { width: 22px; height: 22px; }
.feat-card:hover .feat-icon {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.feat-card h3 {
  font-size: 17px;
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: -.3px;
}
.feat-card p {
  font-size: 14.5px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.7;
}

/* ==============================
   CTA 스트립
============================== */
.cta-strip {
  background: var(--ink);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(140,0,212,.35), transparent 60%);
  pointer-events: none;
}
.cta-strip .inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip-text h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #fff;
  letter-spacing: -.5px;
}
.cta-strip-text p {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  margin: 0;
}

/* ==============================
   카테고리 그리드
============================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.cat-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  color: var(--ink-2);
}
.cat-item:hover {
  transform: translateY(-3px);
  border-color: rgba(140,0,212,.3);
  box-shadow: 0 10px 24px rgba(140,0,212,.08);
}
.cat-item .cat-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--brand);
  transition: background .2s, border-color .2s, color .2s;
}
.cat-item .cat-icon svg { width: 20px; height: 20px; }
.cat-item:hover .cat-icon {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.cat-item strong {
  font-size: 15.5px;
  color: var(--ink);
  font-weight: 800;
}
.cat-item em {
  font-size: 12.5px;
  color: var(--mute);
  font-style: normal;
}

/* ==============================
   Check List
============================== */
.check-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.check-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 24px 20px 54px;
  position: relative;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 20px; top: 22px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-grad);
  background-image: var(--accent-grad), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}
.check-list strong {
  display: block;
  color: var(--ink);
  font-size: 15.5px;
  margin-bottom: 4px;
}
.check-list span {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.6;
}

/* ==============================
   FAQ
============================== */
.faq-accordion {
  max-width: 800px;
  margin: 12px 0 0;
}
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:first-child { border-top: 0; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 22px 44px 22px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  user-select: none;
  transition: color .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-item summary::before {
  content: "Q";
  display: inline-block;
  width: 22px; height: 22px;
  line-height: 22px;
  text-align: center;
  background: var(--accent-grad);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: 2px;
}
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid #8c00d4;
  border-bottom: 2px solid #8c00d4;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-answer {
  padding: 0 0 22px 32px;
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.8;
}
.faq-answer a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
}

/* ==============================
   블로그
============================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0;
  margin-top: 12px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.blog-card {
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .2s;
  position: relative;
}
.blog-card:hover { background: #fafbfc; }
.blog-card:hover h3 { color: var(--brand); }
.blog-card a {
  display: block;
  color: inherit;
  padding: 32px 28px 28px;
  height: 100%;
}
.blog-card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  position: relative;
  padding-left: 16px;
}
.blog-card .tag::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 2px;
  background: var(--brand);
}
.blog-card h3 {
  font-size: 19px;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -.4px;
  margin: 0 0 12px;
  font-weight: 800;
  transition: color .15s;
}
.blog-card p {
  font-size: 14.5px;
  color: var(--ink-3);
  margin: 0 0 18px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card .meta {
  display: block;
  font-size: 12.5px;
  color: var(--mute);
  font-weight: 600;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.blog-card .meta time { color: var(--ink-3); }

/* ==============================
   최종 CTA
============================== */
.cta-final {
  padding: 110px 0;
  background: var(--ink);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(140,0,212,.3) 0%, transparent 65%);
  pointer-events: none;
}
.cta-final .inner { position: relative; }
.cta-final h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  color: #fff;
  max-width: 720px;
  margin: 0 auto 16px;
  letter-spacing: -.8px;
  line-height: 1.3;
}
.cta-final p {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  max-width: 520px;
  margin: 0 auto 32px;
}
.cta-final .cta-btn.primary {
  background: #fff;
  color: var(--ink) !important;
}
.cta-final .cta-btn.primary:hover {
  background: var(--brand);
  color: #fff !important;
}

/* ==============================
   푸터
============================== */
.site-footer {
  background: var(--bg-alt);
  padding: 72px 0 32px;
  border-top: 1px solid var(--line);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}
.foot-col h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.foot-brand {
  font-size: 22px;
  font-weight: 900;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 12px;
}
.foot-desc {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 12px;
  line-height: 1.7;
}
.foot-mail {
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 600;
  margin: 0;
}

.foot-form { display: flex; flex-direction: column; gap: 10px; }
.foot-form input[type="email"] {
  padding: 12px 14px;
  border: 1px solid #d9dce1;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  background: #fff;
}
.foot-form input[type="email"]:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(140,0,212,.1);
}
.foot-form .cbx {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.5;
  cursor: pointer;
}
.foot-form .cbx input { margin-top: 3px; accent-color: var(--brand); }
.foot-form button {
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.foot-form button:hover { background: var(--brand); }

.foot-links li, .social li {
  padding: 6px 0;
  font-size: 14px;
}
.foot-links a, .social a {
  color: var(--ink-3);
  transition: color .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.foot-links a:hover, .social a:hover { color: var(--brand); }
.social a::before {
  content: "→";
  color: var(--brand);
  opacity: 0;
  transition: opacity .15s, transform .15s;
  transform: translateX(-4px);
}
.social a:hover::before { opacity: 1; transform: translateX(0); }

.foot-bottom {
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.foot-bottom small {
  font-size: 12.5px;
  color: var(--mute);
}
.foot-policy { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-policy a {
  font-size: 12.5px;
  color: var(--ink-3);
  transition: color .15s;
}
.foot-policy a:hover { color: var(--brand); }

/* ==============================
   반응형
============================== */
@media (max-width: 1024px) {
  .three-col { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 600px; margin-left: auto; margin-right: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  /* 모바일 가독성 */
  body {
    font-size: 15.5px;
    line-height: 1.72;
    padding-top: 64px; /* fixed 헤더 공간 확보 */
  }
  p { margin-bottom: 1.15em; }
  h1, h2, h3 { letter-spacing: -.3px; }

  /* 헤더를 fixed로 변경 (iOS Safari sticky 버그 우회) */
  .site-header {
    position: -webkit-fixed !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    /* GPU 가속 강제 (Safari 부드럽게) */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    will-change: auto;
  }
  .site-header.scrolled {
    box-shadow: 0 2px 12px rgba(0,0,0,.1) !important;
  }

  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 64px; left: 0; right: 0;
    bottom: 0;
    height: calc(100dvh - 64px);
    background: #fff;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .22s, transform .22s, visibility .22s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 24px 40px;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a {
    display: block;
    padding: 16px 4px;
    font-size: 15.5px;
    min-height: 48px;
  }
  .main-nav a::after { display: none; }
  .main-nav .submenu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 0 8px !important;
    margin: 0 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column;
  }
  .main-nav .submenu li {
    border-bottom: 0 !important;
    list-style: none;
  }
  .main-nav .submenu a {
    padding: 13px 18px !important;
    font-size: 15px !important;
    color: #2a2a2e !important;
    min-height: 44px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center;
    background: #fafbfc;
    border-radius: 6px;
    margin: 2px 0;
    opacity: 1 !important;
  }
  .main-nav .submenu a:hover {
    background: var(--brand-bg, #faf5ff);
    color: var(--brand) !important;
  }
  .main-nav .nav-cta {
    text-align: center;
    margin-top: 16px;
    padding: 14px !important;
    font-size: 15px !important;
  }

  .site-header .inner { height: 64px; }

  .hero { padding: 64px 0 56px; }
  .hero-title { font-size: 34px; letter-spacing: -1px; line-height: 1.22; }
  .hero-lead { font-size: 15.5px; margin-bottom: 32px; line-height: 1.6; }
  .hero-cta-btn { padding: 16px 30px; font-size: 15.5px; margin-bottom: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 18px 14px; }
  .hero-stats strong { font-size: 22px; }
  .hero-stats span { font-size: 12.5px; }

  .sec { padding: 56px 0; }
  .sec h2 { font-size: 23px; letter-spacing: -.4px; line-height: 1.35; }
  .sec-lead { font-size: 15px; margin-bottom: 30px; line-height: 1.65; }

  .three-col { grid-template-columns: 1fr; gap: 14px; }
  .reason-card { padding: 24px 20px; }
  .feat-card { padding: 22px 18px; }

  .cta-strip { padding: 40px 0; }
  .cta-strip .inner { flex-direction: column; text-align: center; gap: 18px; }
  .cta-strip-text h3 { font-size: 19px; }
  .cta-strip-text p { font-size: 14px; }

  .cta-final { padding: 64px 0; }
  .cta-final h2 { font-size: 22px; line-height: 1.35; }
  .cta-final p { font-size: 14.5px; }

  .foot-grid { grid-template-columns: 1fr; gap: 30px; margin-bottom: 32px; }
  .foot-bottom { flex-direction: column; text-align: center; gap: 12px; }

  .faq-item summary { font-size: 15px; padding: 18px 40px 18px 0; }
  .faq-answer { font-size: 14px; padding: 0 0 18px 24px; line-height: 1.65; }

  /* ABOUT 섹션 텍스트 크기 */
  .sec p { font-size: 15px; }
}

@media (max-width: 500px) {
  body { padding-top: 58px; }
  .inner { padding: 0 16px; }
  .site-header .inner { height: 58px; }
  .main-nav { top: 58px; height: calc(100dvh - 58px); padding: 16px 20px 32px; }
  .hero { padding: 48px 0 52px; }
  .hero-kicker { font-size: 11.5px; padding: 5px 11px; }
  .hero-title { font-size: 28px; letter-spacing: -.8px; line-height: 1.24; }
  .hero-lead { font-size: 14.5px; margin-bottom: 28px; }
  .hero-cta-btn { padding: 14px 24px; font-size: 14.5px; width: 100%; max-width: 320px; justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 12px; }
  .hero-stats strong { font-size: 20px; }
  .hero-stats span { font-size: 12px; }
  .cta-btn { padding: 13px 22px; font-size: 14px; min-height: 46px; }
  .cta-btn.lg { padding: 15px 28px; font-size: 14.5px; min-height: 50px; }
  .sec { padding: 48px 0; }
  .sec h2 { font-size: 21px; }
  .sec-lead { font-size: 14px; margin-bottom: 24px; }
  .sec p { font-size: 14.5px; }
  .blog-grid { gap: 14px; }
  .blog-card .blog-body { padding: 14px 16px 16px; }
  .blog-card h3 { font-size: 15.5px; }
  .foot-form input, .foot-form button { width: 100%; }
  .cta-strip-text h3 { font-size: 18px; }
  .cta-final h2 { font-size: 20px; }
  .reason-card h3, .feat-card h3 { font-size: 16px; }
  .reason-card p, .feat-card p { font-size: 14px; }

  /* 서브메뉴 백드롭 효과 */
  .main-nav .submenu { background: #fafbfc; border-radius: 8px; padding: 4px 0 6px; }
}

@media (max-width: 360px) {
  .hero-title { font-size: 25px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats strong { font-size: 18px; }
}

/* ==============================
   Scroll-to-top 버튼
============================== */
.scroll-top-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-grad);
  background-size: 200% 200%;
  color: #fff;
  border: 0;
  box-shadow: 0 8px 24px rgba(140,0,212,.3);
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(.85);
  transition: opacity .25s, transform .25s, visibility .25s, box-shadow .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: gradShift 6s ease infinite;
}
.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.scroll-top-btn:hover {
  box-shadow: 0 12px 32px rgba(140,0,212,.45);
  transform: translateY(-2px) scale(1.05);
}
.scroll-top-btn:active {
  transform: translateY(0) scale(.95);
}
.scroll-top-btn svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 500px) {
  .scroll-top-btn {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
  .scroll-top-btn svg {
    width: 20px;
    height: 20px;
  }
}
/* safe-area-inset 대응 */
@supports (padding: env(safe-area-inset-bottom)) {
  .scroll-top-btn {
    bottom: calc(20px + env(safe-area-inset-bottom));
  }
  @media (max-width: 500px) {
    .scroll-top-btn {
      bottom: calc(14px + env(safe-area-inset-bottom));
    }
  }
}
