/* =====================================================
   service-pdf-design.css — /services/pdf-design
   Design language: Stripe/Shopify — ice canvas,
   split sections, 3-col cards, wide spacing
   네임스페이스: pd-*
   ===================================================== */

/* ── 토큰 ──────────────────────────────────────── */
:root {
  --pd-canvas:      #ffffff;
  --pd-surface:     #f6f9fc;
  --pd-border:      #e3e8ee;
  --pd-accent:      #533afd;
  --pd-accent2:     #4434d4;
  --pd-ink:         #0d253d;
  --pd-ink2:        #273951;
  --pd-muted:       #64748d;
  --pd-green:       #16a34a;
  --pd-green-bg:    #dcfce7;
  --pd-amber:       #d97706;
  --pd-amber-bg:    #fef3c7;
  --pd-radius:      8px;
  --pd-radius-lg:   12px;
  --pd-shadow:      0 1px 3px rgba(0,55,112,.08);
  --pd-shadow-md:   0 8px 24px rgba(0,55,112,.08), 0 2px 6px rgba(0,55,112,.04);
}

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

/* ── 공통 컨테이너 ─────────────────────────────── */
.pd-wrap    { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.pd-wrap-sm { max-width:  720px; margin: 0 auto; padding: 0 32px; }
.pd-wrap-md { max-width:  960px; margin: 0 auto; padding: 0 32px; }

/* ── 공통 타이포 ───────────────────────────────── */
.pd-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--pd-accent); margin-bottom: 14px;
}
.pd-h2 {
  font-size: clamp(26px, 3.2vw, 40px); font-weight: 800;
  color: var(--pd-ink); line-height: 1.18;
  letter-spacing: -.03em; margin: 0 0 16px;
}
.pd-h2 em { font-style: normal; color: var(--pd-accent); }
.pd-lead {
  font-size: 16px; color: var(--pd-ink2); line-height: 1.8; margin: 0;
}

/* ── HERO ──────────────────────────────────────── */
.pd-hero {
  background: var(--pd-canvas);
  border-bottom: 1px solid var(--pd-border);
  padding: 128px 32px 80px;
}
.pd-hero-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.pd-hero-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--pd-accent); margin-bottom: 20px;
}
.pd-hero-h1 {
  font-size: clamp(30px, 4vw, 48px); font-weight: 800;
  color: var(--pd-ink); line-height: 1.1;
  letter-spacing: -.04em; margin: 0 0 20px;
}
.pd-hero-h1 em { font-style: normal; color: var(--pd-accent); }
.pd-hero-sub {
  font-size: 16px; color: var(--pd-ink2); line-height: 1.8; margin: 0 0 32px;
}
/* 도전/해결/포함 블록 */
.pd-hero-blocks {
  display: flex; flex-direction: column; gap: 0;
  margin: 24px 0 0; border-left: 2px solid var(--pd-border);
}
.pd-hero-block {
  padding: 18px 0 18px 20px; border-bottom: 1px solid var(--pd-border);
}
.pd-hero-block:last-child { border-bottom: none; }
.pd-hero-block-label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pd-muted); margin-bottom: 6px;
}
.pd-hero-block-text {
  font-size: 14px; color: var(--pd-ink2); line-height: 1.7;
}
.pd-hero-block-text strong { color: var(--pd-accent); font-weight: 600; }
/* 체크리스트 */
.pd-hero-checklist {
  list-style: none; padding: 0; margin: 6px 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5px 16px;
}
.pd-hero-checklist li {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--pd-ink2);
}
.pd-hero-checklist li::before {
  content: ''; width: 14px; height: 14px; border-radius: 50%;
  background: var(--pd-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 9px; background-repeat: no-repeat; background-position: center; flex-shrink: 0;
}
/* 오른쪽 인용 카드 */
.pd-hero-quote-card {
  background: linear-gradient(145deg, #0f0a2a 0%, #1a1040 60%, #0d1d3a 100%);
  border-radius: var(--pd-radius-lg); padding: 32px 32px 28px;
  color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--pd-shadow-md);
}
.pd-hero-quote-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 20%, rgba(83,58,253,.22) 0%, transparent 70%),
              radial-gradient(ellipse 50% 50% at 10% 90%, rgba(234,34,97,.12) 0%, transparent 60%);
  pointer-events: none;
}
.pd-qc-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; position: relative; z-index: 1; }
.pd-qc-logo-badge {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--pd-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #fff; font-weight: 900;
}
.pd-qc-logo-name { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.9); }
.pd-qc-quote {
  font-size: 15px; color: rgba(255,255,255,.88); line-height: 1.75;
  position: relative; z-index: 1; margin: 0 0 20px; font-style: italic;
}
.pd-qc-quote::before {
  content: '"'; font-size: 48px; color: rgba(255,255,255,.15);
  position: absolute; top: -18px; left: -6px;
  font-family: Georgia, serif; line-height: 1;
}
.pd-qc-author { font-size: 12px; color: rgba(255,255,255,.55); position: relative; z-index: 1; }
.pd-qc-author strong { color: rgba(255,255,255,.8); }
.pd-qc-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,.12);
  border-radius: 10px; overflow: hidden; margin-top: 22px; position: relative; z-index: 1;
}
.pd-qc-stat { background: rgba(255,255,255,.06); padding: 14px 12px; text-align: center; }
.pd-qc-stat-num { font-size: 20px; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 4px; }
.pd-qc-stat-label { font-size: 11px; color: rgba(255,255,255,.5); line-height: 1.4; }

/* ── FORMATS — Stripe 3열 카드 ─────────────────── */
.pd-formats {
  background: var(--pd-surface);
  border-bottom: 1px solid var(--pd-border);
  padding: 88px 0;
}
.pd-formats-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 40px; flex-wrap: wrap; gap: 16px;
}
.pd-ch-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.pd-ch-card {
  border: 1.5px solid var(--pd-border); border-radius: var(--pd-radius-lg);
  background: var(--pd-surface); overflow: hidden; transition: all .2s;
  display: flex; flex-direction: column;
}
.pd-ch-card:hover { border-color: var(--pd-accent); box-shadow: var(--pd-shadow-md); transform: translateY(-3px); }
/* 카드 상단 목업 */
.pd-ch-mockup {
  padding: 20px 20px 0; border-radius: var(--pd-radius-lg) var(--pd-radius-lg) 0 0;
  min-height: 140px; display: flex; flex-direction: column; justify-content: flex-end;
}
.pd-ch-mockup-inner {
  background: var(--pd-surface); border-radius: 10px 10px 0 0;
  border: 1px solid var(--pd-border); border-bottom: none; padding: 14px 16px 10px;
}
.pd-ch-mockup-bar {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--pd-border);
}
.pd-ch-mockup-dots span {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 3px;
}
.pd-ch-mockup-url {
  font-size: 10px; color: var(--pd-muted);
  background: var(--pd-canvas); border-radius: 5px; padding: 3px 10px; flex: 1;
}
.pd-ch-rows { display: flex; flex-direction: column; gap: 6px; }
.pd-ch-row { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--pd-ink2); }
.pd-ch-row-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.pd-ch-row-val { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--pd-ink); }
.pd-ch-row-badge {
  margin-left: auto; font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 9999px;
}
.pd-ch-row-badge.green  { background: var(--pd-green-bg); color: var(--pd-green); }
.pd-ch-row-badge.blue   { background: #dbeafe; color: #1d4ed8; }
.pd-ch-row-badge.amber  { background: var(--pd-amber-bg); color: var(--pd-amber); }
.pd-ch-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.pd-ch-title { font-size: 16px; font-weight: 800; color: var(--pd-ink); letter-spacing: -.02em; margin: 0 0 8px; }
.pd-ch-desc { font-size: 13px; color: var(--pd-ink2); line-height: 1.75; margin: 0 0 14px; flex: 1; }
.pd-ch-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 5px; }
.pd-ch-list li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--pd-ink2); }
.pd-ch-list li::before {
  content: ''; width: 13px; height: 13px; border-radius: 50%;
  background: var(--pd-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 8px; background-repeat: no-repeat; background-position: center; flex-shrink: 0;
}
.pd-ch-footer {
  padding: 12px 22px; border-top: 1px solid var(--pd-border);
  background: var(--pd-canvas); font-size: 11px; color: var(--pd-muted);
  border-radius: 0 0 var(--pd-radius-lg) var(--pd-radius-lg);
}

/* ── WHY SECTION — Split 좌우 ─────────────────── */
.pd-why {
  background: var(--pd-canvas);
  border-top: 1px solid var(--pd-border);
  border-bottom: 1px solid var(--pd-border);
  padding: 88px 0;
}
.pd-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.pd-split-rev { direction: rtl; }
.pd-split-rev > * { direction: ltr; }
.pd-split-txt {}
.pd-step-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pd-accent); background: #eeebff;
  border-radius: 9999px; padding: 5px 14px; margin-bottom: 16px;
}
.pd-split-h3 {
  font-size: clamp(20px, 2.5vw, 28px); font-weight: 800;
  color: var(--pd-ink); letter-spacing: -.03em; line-height: 1.2; margin: 0 0 12px;
}
.pd-split-desc { font-size: 14px; color: var(--pd-ink2); line-height: 1.8; margin: 0 0 20px; }
.pd-split-checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pd-split-checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--pd-ink2); line-height: 1.55;
}
.pd-split-checklist li::before {
  content: ''; width: 15px; height: 15px; border-radius: 50%;
  background: var(--pd-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 9px; background-repeat: no-repeat; background-position: center; flex-shrink: 0; margin-top: 2px;
}
/* 오른쪽 비주얼 */
.pd-split-vis { border-radius: var(--pd-radius-lg); padding: 28px; position: relative; overflow: hidden; }
.pd-mockup-window {
  background: var(--pd-surface); border-radius: 10px;
  border: 1px solid var(--pd-border); box-shadow: var(--pd-shadow-md); overflow: hidden;
}
.pd-mockup-titlebar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: var(--pd-canvas); border-bottom: 1px solid var(--pd-border);
}
.pd-mockup-titlebar span { font-size: 10px; color: var(--pd-muted); }
.pd-mockup-dot { width: 8px; height: 8px; border-radius: 50%; }
.pd-mockup-body { padding: 16px; }
.pd-mockup-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; border-radius: 7px; font-size: 12px; margin-bottom: 6px;
}
.pd-mockup-row:last-child { margin-bottom: 0; }
.pd-mockup-row-label { color: var(--pd-ink2); }
.pd-mockup-row-val   { font-weight: 700; color: var(--pd-ink); }
.pd-mockup-row-badge {
  font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 9999px;
}
.pd-mockup-row-badge.green { background: var(--pd-green-bg); color: var(--pd-green); }
.pd-mockup-row-badge.blue  { background: #dbeafe; color: #1d4ed8; }
.pd-mockup-row-badge.amber { background: var(--pd-amber-bg); color: var(--pd-amber); }
.pd-mockup-row-badge.red   { background: #fee2e2; color: #dc2626; }
.pd-mockup-divider { height: 1px; background: var(--pd-border); margin: 10px 0; }

/* ── INCLUDES — 2열 feature cards ──────────────── */
.pd-includes {
  background: var(--pd-surface); padding: 88px 0;
  border-bottom: 1px solid var(--pd-border);
}
.pd-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 52px; }
.pd-feat-card {
  border: 1.5px solid var(--pd-border); border-radius: var(--pd-radius-lg);
  padding: 28px 28px 26px; background: var(--pd-surface); transition: all .2s;
}
.pd-feat-card:hover { border-color: #a5b4fc; box-shadow: var(--pd-shadow-md); }
.pd-feat-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 16px; }
.pd-feat-title { font-size: 15px; font-weight: 800; color: var(--pd-ink); letter-spacing: -.02em; margin: 0 0 8px; }
.pd-feat-desc { font-size: 13px; color: var(--pd-ink2); line-height: 1.75; margin: 0; }

/* ── PROCESS — 4단계 타임라인 ──────────────────── */
.pd-process {
  background: var(--pd-canvas);
  border-top: 1px solid var(--pd-border);
  border-bottom: 1px solid var(--pd-border);
  padding: 88px 0;
}
.pd-process-steps { display: flex; flex-direction: column; gap: 56px; margin-top: 56px; }

/* ── CTA ───────────────────────────────────────── */
.pd-cta {
  background: var(--pd-surface); padding: 80px 0; text-align: center;
}
.pd-cta-inner { max-width: 600px; margin: 0 auto; }
.pd-cta-h2 {
  font-size: clamp(24px, 3.5vw, 38px); font-weight: 800;
  color: var(--pd-ink); letter-spacing: -.03em; line-height: 1.2; margin: 16px 0;
}
.pd-cta-desc { font-size: 15px; color: var(--pd-ink2); line-height: 1.8; margin: 0 0 32px; }
.pd-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pd-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: var(--pd-accent); color: #fff;
  border-radius: 8px; font-size: 15px; font-weight: 700; text-decoration: none; transition: all .18s;
  box-shadow: 0 2px 12px rgba(83,58,253,.35);
}
.pd-btn-primary:hover { background: var(--pd-accent2); transform: translateY(-1px); }
.pd-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: var(--pd-surface); color: var(--pd-accent);
  border: 1.5px solid #c4b5fd; border-radius: 8px; font-size: 15px; font-weight: 600;
  text-decoration: none; transition: all .18s;
}
.pd-btn-ghost:hover { border-color: var(--pd-accent); background: #f5f3ff; }

/* ── 반응형 ────────────────────────────────────── */
@media (max-width: 960px) {
  .pd-hero-inner  { grid-template-columns: 1fr; gap: 40px; }
  .pd-ch-grid     { grid-template-columns: repeat(2, 1fr); }
  .pd-split       { grid-template-columns: 1fr; gap: 32px; }
  .pd-split-rev   { direction: ltr; }
  .pd-grid-2      { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pd-hero        { padding: 72px 20px 56px; }
  .pd-wrap, .pd-wrap-sm, .pd-wrap-md { padding: 0 20px; }
  .pd-ch-grid     { grid-template-columns: 1fr; }
  .pd-hero-checklist { grid-template-columns: 1fr; }
  .pd-qc-stats    { grid-template-columns: 1fr; }
}
