/* ========================================================================
   Easy Scan PRO — Page-specific Styles (v0.5)
   ------------------------------------------------------------------------
   공통 스타일은 ../shared/{vars,base,components}.css 에서 상속.
   본 파일은 카탈로그 002 전용 레이아웃만 정의.
   v0.5: 02 Core Values + 03 Business Value 폐기 → 02 Why Us 신규 (.why-*)
   섹션 번호 재번호링 (04~08 → 03~07)
   ======================================================================== */

/* ===== HERO ===== */
.hero {
  padding: 0;
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.hero-copy { padding: 80px 60px 80px 80px; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  font-family: "Inter", "Pretendard Variable", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero-meta .brand { color: var(--accent); font-weight: 700; }
.hero-meta .sep { width: 20px; height: 1px; background: var(--rule); }

/* BRAND TITLE (페이지 전용) */
.brand-title { margin-bottom: 28px; }
.brand-name {
  font-family: "Pretendard Variable", sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1.1;
}
.brand-subtitle {
  margin-top: 6px;
  font-family: "Pretendard Variable", sans-serif;
  font-weight: 500;
  font-size: clamp(13px, 1.1vw, 14px);
  letter-spacing: -0.005em;
  color: var(--ink-3);
  line-height: 1.5;
}

/* HERO 메인 메시지 */
.hero h1 {
  font-family: "Pretendard Variable", sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--accent); font-weight: 700; }

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 520px;
  margin-bottom: 56px;
  text-wrap: pretty;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
  max-width: 600px;
}
.hero-stat-num {
  font-family: "Inter", "Pretendard Variable", sans-serif;
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-stat-num sup {
  font-size: 13px;
  font-weight: 500;
  color: var(--steel);
  margin-left: 3px;
  top: -0.9em;
  letter-spacing: 0.02em;
}
.hero-stat-word {
  font-family: "Pretendard Variable", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.025em;
  color: var(--accent);
  line-height: 1.15;
}
.hero-stat-label {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  line-height: 1.55;
}

.hero-image {
  position: relative;
  height: 100%;
  min-height: 90vh;
  background: var(--bg-alt);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.hero-image img {
  width: 100%;
  height: auto;
  max-height: 92%;
  object-fit: contain;
  object-position: center;
}
.hero-image-caption {
  position: absolute;
  bottom: 28px;
  right: 28px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  padding: 9px 16px;
  z-index: 3;
  border: 1px solid var(--rule);
}

/* ===== OVERVIEW (01) ===== */
.overview { background: var(--bg); border-bottom: 1px solid var(--rule); }
.overview-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.overview-statement {
  font-family: "Pretendard Variable", sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.overview-body p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 18px;
  text-wrap: pretty;
}
.overview-body p:last-child { margin-bottom: 0; }

/* ===== WHY US (02) — .biz-* 패턴 개명 · 기존 02 Core Values 폐기 · 기존 03 Business Value 폐기 ===== */
.whyus { background: var(--bg-alt); border-bottom: 1px solid var(--rule); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.why-card {
  padding: 52px 40px 44px;
  background: var(--bg);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  min-height: 440px;
  transition: background 0.25s ease;
}
.why-card:hover { background: #F6F7F9; }
.why-num {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--steel);
  margin-bottom: 32px;
  font-variant-numeric: tabular-nums;
}
.why-en {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.why-title {
  font-family: "Pretendard Variable", sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.28;
  margin-bottom: 20px;
  text-wrap: balance;
}
.why-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 28px;
  text-wrap: pretty;
}
.why-link {
  font-family: "Inter", "Pretendard Variable", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  margin-top: auto;
}
.why-link .arrow { color: var(--accent); margin: 0 6px; }

/* ===== SYSTEM COMPOSITION (03) ===== */
.system { background: var(--bg); border-bottom: 1px solid var(--rule); }
.system-diagram-wrap {
  margin: 40px 0 0;
  padding: 44px;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
}
.system-diagram-svg { width: 100%; height: auto; display: block; }

.system-legend {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.sys-legend-item { display: flex; flex-direction: column; gap: 3px; }
.sys-num {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
  margin-bottom: 2px;
}
.sys-name {
  font-family: "Pretendard Variable", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.sys-sub { font-size: 12px; color: var(--ink-3); line-height: 1.5; }

.system-note {
  margin-top: 28px;
  padding: 24px 28px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: start;
}
.system-note-label {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 3px;
}
.system-note p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
  text-wrap: pretty;
}
.system-note strong { color: var(--ink); font-weight: 700; }

/* ===== TOUR (04 Operation UI) ===== */
.tour { background: var(--bg-dark); color: #E7EBF1; }
.tour .eyebrow { color: #8A96A8; }
.tour .eyebrow .num { color: rgba(255, 255, 255, 0.35); }
.tour .eyebrow .bar { background: #8A96A8; }
.tour h2.section-title { color: #F4F6FA; }
.tour .section-kicker { color: rgba(231, 235, 241, 0.72); }
.tour-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 28px; }
.tour-item {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.tour-item.wide { grid-column: span 3; }
.tour-item.mid  { grid-column: span 2; }
.tour-item img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.95;
  transition: opacity 0.35s ease;
  background: #F7F7F5;
}
.tour-item:hover img { opacity: 1; }
.tour-caption { padding: 16px 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.tour-caption .idx {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #8A96A8;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.tour-caption .name { font-size: 13px; color: #E7EBF1; font-weight: 500; line-height: 1.5; }

/* ===== LOGIC (05 Operation Logic 2 트랙) ===== */
.logic { background: var(--bg); border-bottom: 1px solid var(--rule); }
.flow-track {
  margin-top: 40px;
  padding: 36px 32px;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
}
.flow-track + .flow-track { margin-top: 24px; }
.flow-track-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.flow-track-tag {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFF;
  background: var(--accent);
  padding: 6px 12px;
  border-radius: 2px;
}
.flow-track-tag.operator { background: var(--steel); }
.flow-track-title {
  font-family: "Pretendard Variable", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.flow-track-sub {
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 500;
  margin-left: auto;
  text-align: right;
}
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.flow-node {
  padding: 22px 18px;
  background: var(--bg);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.flow-num {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.flow-en {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: -0.005em;
  margin-bottom: 2px;
}
.flow-kr {
  font-family: "Pretendard Variable", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-wrap: balance;
}
.flow-desc {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-2);
  font-weight: 400;
  margin-top: auto;
  text-wrap: pretty;
}

/* ===== MANAGER (06 Operator Tools) ===== */
.manager { background: var(--bg-alt); border-bottom: 1px solid var(--rule); }
.manager-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 28px; }
.manager-card { background: var(--bg); border: 1px solid var(--rule); padding: 28px; }
.manager-card img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--rule);
  background: #FFF;
}
.manager-card-title {
  font-family: "Pretendard Variable", sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-top: 24px;
  color: var(--ink);
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.manager-card-desc {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
  text-wrap: pretty;
}

.addon-block {
  margin-top: 56px;
  padding: 36px 40px;
  background: var(--bg);
  border: 1px solid var(--rule);
}
.addon-label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
}
.addon-label-en {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.addon-label-kr {
  font-family: "Pretendard Variable", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.addon-intro {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 720px;
  margin-bottom: 28px;
  text-wrap: pretty;
}
.addon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.addon-item {
  background: var(--bg-alt);
  border: 1px solid var(--rule-soft);
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
}
.addon-img-wrap {
  aspect-ratio: 1 / 0.85;
  background: #FFF;
  border: 1px solid var(--rule-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 16px;
  overflow: hidden;
}
.addon-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.addon-num {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--steel);
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.addon-name {
  font-family: "Pretendard Variable", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  text-wrap: balance;
}
.addon-spec {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.55;
}

/* ===== TERMINALS (07 Specifications) ===== */
.terminals { background: var(--bg); border-bottom: 1px solid var(--rule); }
.terminals-intro { max-width: 720px; margin-bottom: 52px; text-wrap: pretty; }
.terminals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  margin-bottom: 60px;
}
.terminal-card {
  background: var(--bg);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
}
.terminal-tier {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}
.terminal-model {
  font-family: "Pretendard Variable", sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -0.035em;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.terminal-tagline {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 20px;
  line-height: 1.55;
  font-weight: 500;
  text-wrap: balance;
}
.terminal-img-wrap {
  aspect-ratio: 1 / 0.7;
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid var(--rule-soft);
}
.terminal-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.terminal-desc { font-size: 14px; line-height: 1.7; color: var(--ink-2); margin-bottom: 20px; text-wrap: pretty; }
.terminal-highlights {
  list-style: none;
  padding: 16px 0 0;
  border-top: 1px solid var(--rule-soft);
  margin-top: auto;
}
.terminal-highlights li {
  font-size: 13px;
  color: var(--ink-2);
  padding: 6px 0 6px 14px;
  position: relative;
  font-weight: 500;
}
.terminal-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.compare-wrap { background: var(--bg-alt); border: 1px solid var(--rule); padding: 36px 40px; }
.compare-label {
  font-family: "Inter", "Pretendard Variable", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 20px;
}
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td {
  padding: 15px 12px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--rule-soft);
}
.compare-table th { font-weight: 500; color: var(--ink); }
.compare-table thead th {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
  color: var(--accent);
  font-family: "Pretendard Variable", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.015em;
}
.compare-table thead th small {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 3px;
}
.compare-table th:first-child, .compare-table td:first-child {
  color: var(--ink-2);
  font-weight: 400;
  padding-left: 0;
}
.compare-table th:not(:first-child), .compare-table td:not(:first-child) { text-align: center; }
.mark {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  padding: 5px 10px;
  border-radius: 2px;
}
.mark.y { color: #FFF; background: var(--accent); }
.mark.dash { color: var(--ink-3); background: var(--bg-deep); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* ===== FEATURES COMPACT ===== */
.features-compact {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--rule);
  padding: 88px 0;
}

/* ===== 페이지 전용 반응형 ===== */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card { padding: 44px 36px 40px; min-height: 400px; }
  .system-legend { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow-track-sub { margin-left: 0; flex-basis: 100%; text-align: left; }
  .flow-track-header { flex-wrap: wrap; gap: 10px; }
  .addon-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 56px 24px 40px; }
  .hero-image { min-height: 48vh; padding: 24px; }
  .hero-image img { max-height: 92%; }
  .hero-stats { gap: 18px; }
  .hero-stat-num { font-size: 28px; }
  .hero-stat-word { font-size: 17px; }
  .brand-name { font-size: 24px; }
  .brand-subtitle { font-size: 12.5px; }
  .overview-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 40px 28px 36px; min-height: 0; }
  .why-title { font-size: 22px; }
  .system-diagram-wrap { padding: 24px; }
  .system-legend { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .system-note { grid-template-columns: 1fr; gap: 12px; padding: 20px 22px; }
  .tour-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .tour-item.wide, .tour-item.mid { grid-column: span 1; }
  .flow { grid-template-columns: 1fr; }
  .flow-track { padding: 24px 20px; }
  .features-compact { padding: 56px 0; }
  .manager-grid { grid-template-columns: 1fr; gap: 20px; }
  .addon-block { padding: 24px 22px; }
  .addon-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .terminals-grid { grid-template-columns: 1fr; }
  .compare-wrap { padding: 24px; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 12px 8px; }
}

/* ===== 페이지 전용 인쇄 규칙 ===== */
@media print {
  .hero { min-height: auto; grid-template-columns: 1.1fr 1fr; page-break-after: auto; }
  .hero-copy { padding: 20px 16px; }
  .hero-image { min-height: auto; padding: 12px; }
  .hero-image img { max-height: 100mm; }
  .brand-name { color: #000; }
  .brand-subtitle { color: #333; }
  .tour, .tour .eyebrow, .tour h2.section-title, .tour .section-kicker { background: #FFF; color: #000; }
  .tour .eyebrow .num, .tour .eyebrow .bar { color: #666; background: #666; }
  .tour-item { background: #F7F7F5; border-color: #CCC; }
  .tour-item img { opacity: 1; }
  .tour-caption { border-color: #CCC; }
  .tour-caption .idx, .tour-caption .name { color: #333; }
  .flow-track-tag { background: #000; color: #FFF; }
  .flow-track-tag.operator { background: #555; }
  .mark.y { background: #000; color: #FFF; }
  .mark.dash { background: #EEE; color: #666; }
}
