/* ========================================================================
   Easy Printer Kiosk — Page-specific Styles (v1.5)
   ------------------------------------------------------------------------
   공통 스타일은 ../shared/{vars,base,components}.css 에서 상속.
   본 파일은 본 카탈로그의 9 섹션 전용 레이아웃·장식만 정의.
   ======================================================================== */

/* ===== 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: 48px;
  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); }

.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: 480px;
  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: 560px;
}
.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: 15px;
  font-weight: 500;
  color: var(--steel);
  margin-left: 3px;
  top: -0.7em;
}
.hero-stat-word {
  font-family: "Pretendard Variable", sans-serif;
  font-weight: 700;
  font-size: 22px;
  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;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; 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: rgba(255, 255, 255, 0.95);
  background: rgba(16, 24, 35, 0.78);
  backdrop-filter: blur(8px);
  padding: 9px 16px;
  z-index: 3;
}

/* ===== OVERVIEW ===== */
.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(20px, 1.8vw, 24px);
  line-height: 1.55;
  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; }

/* ===== VALUES ===== */
.values { background: var(--bg-alt); border-bottom: 1px solid var(--rule); }
.values-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);
}
.value-card {
  padding: 48px 36px;
  background: var(--bg);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background 0.25s ease;
}
.value-card:hover { background: #FFF; }
.value-num {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--steel);
  margin-bottom: 28px;
  font-variant-numeric: tabular-nums;
}
.value-title {
  font-family: "Pretendard Variable", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: 6px;
}
.value-title-kr { font-size: 13px; font-weight: 500; color: var(--ink-3); margin-bottom: 24px; text-wrap: balance; }
.value-text { font-size: 15px; line-height: 1.75; color: var(--ink-2); text-wrap: pretty; }

/* ===== BUSINESS VALUE ===== */
.business { background: var(--bg); border-bottom: 1px solid var(--rule); }
.biz-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);
}
.biz-card {
  padding: 52px 40px 44px;
  background: var(--bg-alt);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  transition: background 0.25s ease;
}
.biz-card:hover { background: #F6F7F9; }
.biz-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;
}
.biz-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;
}
.biz-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;
}
.biz-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 28px;
  text-wrap: pretty;
}
.biz-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;
}
.biz-link .arrow { color: var(--accent); margin: 0 6px; }

/* ===== SYSTEM ===== */
.system { background: var(--bg-alt); border-bottom: 1px solid var(--rule); }
.system-diagram-wrap {
  margin: 40px 0 60px;
  padding: 44px;
  background: var(--bg);
  border: 1px solid var(--rule);
}
.system-diagram-wrap img { width: 100%; height: auto; display: block; }
.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(4, 1fr);
  gap: 24px;
}
.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-pay {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
}

.compat-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-top: 44px;
  border-top: 1px solid var(--rule);
}
.compat-label {
  font-family: "Inter", "Pretendard Variable", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.65;
}
.compat-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
  margin-bottom: 20px;
  text-wrap: pretty;
}
.compat-body p:first-child {
  font-family: "Pretendard Variable", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.compat-body p:last-child { margin-bottom: 0; }
.compat-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-size: 13px;
  color: var(--ink-2);
}
.compat-hint strong { font-weight: 700; color: var(--accent); }
.compat-hint .arrow {
  color: var(--steel);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* ===== TOUR (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;
}
.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; }

/* ===== LOGIC ===== */
.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;
}
.flow { display: flex; align-items: stretch; gap: 0; }
.flow-node {
  flex: 1;
  padding: 22px 18px;
  background: var(--bg);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.flow-num {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--steel);
  margin-bottom: 8px;
  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: 16px;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-wrap: balance;
}
.flow-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-2);
  font-weight: 400;
  margin-top: auto;
  text-wrap: pretty;
}
.flow-arrow {
  flex: 0 0 28px;
  align-self: center;
  position: relative;
  height: 1px;
  background: var(--rule);
}
.flow-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--steel);
  border-right: 1px solid var(--steel);
  transform: rotate(45deg);
}

/* ===== MANAGER ===== */
.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;
}

/* ===== TERMINALS ===== */
.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(3, 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 28px 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.9;
  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.n { color: var(--ink-3); background: var(--bg-deep); }
.compare-table tbody tr:last-child td { border-bottom: none; }

/* ===== FEATURES COMPACT (세부 기능 2×2 · 섹션 번호 비부여) ===== */
.features-compact {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--rule);
  padding: 88px 0;
}

/* ===== USAGE (Payment Flow) ===== */
.usage { background: var(--bg); border-bottom: 1px solid var(--rule); }
.usage-image {
  margin-top: 28px;
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--bg-alt);
}
.usage-image img { width: 100%; height: auto; display: block; }
.usage-caption {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.usage-caption-item { padding-top: 16px; border-top: 1px solid var(--rule); }
.usage-caption-item .step {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--steel);
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.usage-caption-item .label {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ===== 페이지 전용 반응형 ===== */
@media (max-width: 1100px) {
  .flow { flex-wrap: wrap; gap: 12px; }
  .flow-node { flex: 1 1 calc(33.333% - 8px); min-width: 160px; }
  .flow-arrow { display: none; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-card { padding: 44px 36px 40px; min-height: 380px; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 56px 24px 40px; }
  .hero-image { min-height: 54vh; }
  .hero-stats { gap: 18px; }
  .hero-stat-num { font-size: 28px; }
  .hero-stat-word { font-size: 18px; }
  .overview-grid { grid-template-columns: 1fr; gap: 32px; }
  .values-grid { grid-template-columns: 1fr; }
  .biz-grid { grid-template-columns: 1fr; }
  .biz-card { padding: 40px 28px 36px; min-height: 0; }
  .biz-title { font-size: 22px; }
  .features-compact { padding: 56px 0; }
  .tour-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .tour-item.wide, .tour-item.mid { grid-column: span 1; }
  .flow-node { flex: 1 1 100%; }
  .flow-track { padding: 24px 20px; }
  .flow-track-header { flex-wrap: wrap; gap: 10px; }
  .flow-track-sub { margin-left: 0; flex-basis: 100%; }
  .manager-grid { grid-template-columns: 1fr; gap: 20px; }
  .terminals-grid { grid-template-columns: 1fr; }
  .compat-grid { grid-template-columns: 1fr; gap: 28px; }
  .system-diagram-wrap { padding: 24px; }
  .system-legend { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .usage-caption { grid-template-columns: 1fr 1fr; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 12px 8px; }
  .compare-wrap { padding: 24px; }
}

/* ===== 페이지 전용 인쇄 규칙 ===== */
@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; }
  .hero-image img { max-height: 120mm; }
  .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.n { background: #EEE; color: #666; }
}
