* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, 'Inter', 'DM Sans', sans-serif;
  background: #111827;
  color: #f9fafb;
  font-size: 14px;
  line-height: 1.6;
}
[lang="ko"] body {
  font-family: -apple-system, 'Pretendard', 'Noto Sans KR', sans-serif;
}

/* ── custom scrollbar (landing page + calculator) ── */
* { scrollbar-width: thin; scrollbar-color: #374151 transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: #4b5563; background-clip: padding-box; }
::-webkit-scrollbar-corner { background: transparent; }

/* ── 1. GNB ── */
.gnb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  background: rgba(17,24,39,0.95);
  border-bottom: 1px solid #1f2937;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #f9fafb;
}
.logo-icon { width: 32px; height: 32px; }
.gnb-menu { display: flex; gap: 32px; list-style: none; }
.gnb-menu li a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.gnb-menu li a:hover { color: #f9fafb; }
.gnb-right { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #9ca3af;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: none;
  padding: 0;
}
.lang-switch:hover { background: #1f2937; color: #f9fafb; }
.lang-switch i[data-lucide] { width: 16px; height: 16px; }
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 10px;
  overflow: hidden;
  min-width: 130px;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  padding: 4px 0;
}
.lang-switch.open .lang-dropdown { display: block; }
.lang-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 14px;
  color: #d1d5db;
  text-decoration: none;
  white-space: nowrap;
}
.lang-dropdown a:hover { background: #374151; color: #f9fafb; }
.lang-dropdown a .check { color: #f9fafb; font-size: 12px; }
.btn-login {
  font-size: 13px;
  color: #9ca3af;
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: none;
  transition: color 0.2s;
}
.btn-login:hover { color: #f9fafb; }
/* Public Sans — self-hosted, matches the dashboard font. Scoped to the
   profile badge/dropdown only so the rest of the landing keeps its own type. */
@font-face {
  font-family: 'Public Sans Local';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/public-sans-latin-wght-normal.woff2') format('woff2');
}
.profile-menu { position: relative; display: inline-flex; }
.profile-menu,
.profile-dropdown {
  font-family: 'Public Sans Local', -apple-system, 'Pretendard', 'Noto Sans KR', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.btn-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn-profile:hover { opacity: 0.85; }
.profile-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 208px;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 12px;
  padding: 6px;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.profile-menu.open .profile-dropdown { display: block; }
.pd-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 9px;
}
.pd-avatar {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pd-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.pd-name {
  font-size: 14px;
  font-weight: 500;
  color: #f9fafb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pd-sub {
  font-size: 12px;
  color: #9ca3af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-dropdown a,
.profile-dropdown .pd-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 4px 9px;
  border: none;
  border-radius: 8px;
  background: none;
  font-size: 14px;
  font-family: inherit;
  color: #d1d5db;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.profile-dropdown a:hover,
.profile-dropdown .pd-logout:hover { background: #374151; color: #f9fafb; }
.profile-dropdown a i[data-lucide],
.profile-dropdown a svg,
.profile-dropdown .pd-logout i[data-lucide],
.profile-dropdown .pd-logout svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: #9ca3af;
}
.pd-sep { height: 1px; background: #374151; margin: 3px -6px; }
.profile-dropdown .pd-logout { color: #f87171; }
.profile-dropdown .pd-logout i[data-lucide],
.profile-dropdown .pd-logout svg { color: #f87171; }
.profile-dropdown .pd-logout:hover { background: rgba(248,113,113,0.12); color: #fca5a5; }
.profile-dropdown .pd-logout:hover i[data-lucide],
.profile-dropdown .pd-logout:hover svg { color: #fca5a5; }
.btn-primary {
  background: linear-gradient(135deg, #0EA5E9, #EC4899);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(14,165,233,0.3);
}

/* ── 2. HERO ── */
.hero {
  padding: 96px 48px 80px;
  background: radial-gradient(ellipse at 30% 50%, rgba(14,165,233,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 40%, rgba(236,72,153,0.08) 0%, transparent 60%),
              #111827;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.25);
  color: #0EA5E9;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #f9fafb;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, #0EA5E9, #EC4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 16px;
  color: #9ca3af;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-primary {
  background: linear-gradient(135deg, #0EA5E9, #EC4899);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-hero-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14,165,233,0.35);
}
.btn-hero-secondary {
  background: transparent;
  color: #f9fafb;
  border: 1px solid #374151;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-hero-secondary:hover {
  border-color: #6b7280;
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #1f2937;
}
.stat-item .stat-value {
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, #0EA5E9, #EC4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-item .stat-label { font-size: 13px; color: #6b7280; margin-top: 6px; }

/* Hero Right */
.hero-right { display: flex; flex-direction: column; gap: 16px; }
.billing-before, .billing-after {
  border-radius: 12px;
  padding: 20px;
  font-size: 13px;
}
.billing-before { background: transparent; border: none; padding: 0; overflow: hidden; }
.billing-after {
  background: linear-gradient(135deg, rgba(14,165,233,0.12), rgba(236,72,153,0.12));
  border: 1px solid rgba(14,165,233,0.3);
}
.billing-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.billing-before .billing-title { color: #ef4444; }
.billing-after .billing-title { color: #0EA5E9; }
.bill-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #374151;
  color: #d1d5db;
}
.bill-row:last-child { border-bottom: none; }
.bill-row .amount { color: #f9fafb; font-weight: 600; }
.arrow-divider { text-align: center; color: #6b7280; font-size: 20px; }
.total-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0 0;
  margin-top: 4px;
  font-weight: 700;
}

/* ── SECTIONS ── */
.section { max-width: 1200px; margin: 0 auto; padding: 80px 48px; }
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0EA5E9;
  margin-bottom: 12px;
}
.section h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; color: #f9fafb; }
.section .section-sub {
  font-size: 16px;
  color: #9ca3af;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ── 4. PROBLEM CARDS ── */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem-card {
  background: linear-gradient(160deg, #1f2937 60%, #1a1f2e);
  border: 1px solid #374151;
  border-radius: 16px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.problem-card:hover {
  border-color: #4b5563;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
  .problem-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.problem-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.06); border: 1px solid #374151; display: flex; align-items: center; justify-content: center; }
.problem-icon i[data-lucide] { width: 18px; height: 18px; color: #9ca3af; }
.problem-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 0; color: #f9fafb; line-height: 1.45; padding-top: 2px; }
.problem-card p { font-size: 13px; color: #9ca3af; line-height: 1.75; }

/* ── 5. SOLUTION ── */
.solution-section {
  background: linear-gradient(180deg, #111827, #0f172a);
  border-top: 1px solid #1f2937;
  border-bottom: 1px solid #1f2937;
}
.solution-inner { max-width: 1200px; margin: 0 auto; padding: 80px 48px; text-align: center; }
.solution-inner h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; color: #f9fafb; }
.solution-inner .section-sub { font-size: 16px; color: #9ca3af; line-height: 1.7; margin: 0 auto; text-align: center; }
.integration-inner .section-sub { font-size: 16px; color: #9ca3af; max-width: 560px; line-height: 1.7; margin: 0 auto 48px; text-align: center; }
.diagram-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #d1d5db;
  text-align: center;
  min-width: 100px;
}
.diagram-center {
  background: linear-gradient(135deg, rgba(14,165,233,0.15), rgba(236,72,153,0.15));
  border: 2px solid rgba(14,165,233,0.4);
  border-radius: 14px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 800;
  color: #f9fafb;
  text-align: center;
}
.diagram-results {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.diagram-result-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(14,165,233,0.08);
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  color: #0EA5E9;
  font-weight: 600;
  flex: 0 0 180px;
}

/* ── 6. FEATURE: COST ── */
.feature-section { padding: 80px 0; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-grid.reverse { direction: rtl; }
.feature-grid.reverse > * { direction: ltr; }
.feature-content h2 { font-size: 32px; font-weight: 800; margin-bottom: 14px; color: #f9fafb; }
.feature-content p { font-size: 15px; color: #9ca3af; line-height: 1.7; margin-bottom: 24px; }
/* SECTION 6: cost calculator — single centered column, calculator widened
   in advance for the upcoming calculator refactoring. */
.cost-calc-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; text-align: center; }
.cost-calc-inner h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; color: #f9fafb; }
.cost-calc-inner .section-sub { max-width: 560px; margin: 0 auto 40px; text-align: center; }
.cost-calc-card { max-width: 1020px; margin: 0 auto; text-align: left; }
/* commitment note under the calculator title (logged-in only) — kept prominent */
.calc-commit-note { margin: 6px 0 0; font-size: 11.5px; font-weight: 500; color: #7dd3fc; }
.price-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.price-table th {
  background: #374151;
  padding: 10px 14px;
  text-align: left;
  color: #9ca3af;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price-table th:first-child, .price-table td:first-child { width: 40%; }
.price-table th:nth-child(2), .price-table td:nth-child(2) { width: 30%; text-align: center; }
.price-table th:first-child { border-radius: 8px 0 0 8px; }
.price-table th:last-child { border-radius: 0 8px 8px 0; text-align: center; }
.price-table td { padding: 10px 14px; border-bottom: 1px solid #243042; color: #d1d5db; }
.price-table td:not(:first-child) { border-left: 1px solid #243042; }
.price-table td:last-child { width: 30%; }
.price-table .discounted { color: #0EA5E9; font-weight: 700; }
.price-table .discount-pct { color: #EC4899; font-weight: 800; font-size: 28px; }
.payg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(236,72,153,0.1);
  border: 1px solid rgba(236,72,153,0.25);
  color: #EC4899;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-top: 20px;
}
.feature-visual { background: #1f2937; border: 1px solid #374151; border-radius: 16px; padding: 24px; }
.feature-visual-title {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.2s;
  display: inline-block;
}
.feature-visual-title:hover { color: #0EA5E9; }

/* ── AI 비용 계산기 ── */
.calc-card-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
.calc-card-title { font-size:15px; font-weight:700; color:#f9fafb; }
.calc-card-link { font-size:11px; color:#6b7280; text-decoration:none; text-transform:uppercase; letter-spacing:0.06em; transition:color 0.2s; white-space:nowrap; }
.calc-card-link:hover { color:#0EA5E9; }
.calc-body { display:grid; grid-template-columns:4fr 7fr; gap:36px; align-items:stretch; }
.calc-form { display:flex; flex-direction:column; justify-content:space-between; min-width:0; padding: 10px 0; }
.calc-fields { display:flex; flex-direction:column; gap:14px; }
.calc-btn-wrap { display:flex; flex-direction:column; }
.calc-label-row { display:flex; align-items:baseline; justify-content:space-between; gap:8px; }
.calc-label-row label { margin:0; }
.calc-unit { font-size:11px; font-weight:600; color:#9ca3af; text-transform:none; letter-spacing:0; white-space:nowrap; }
/* cart (right column) */
.calc-cart { display:flex; flex-direction:column; background:#111827; border:1px solid #1c2b4e; border-radius:14px; padding:20px; min-width:0; }
.calc-cart-total { text-align:center; padding-bottom:16px; border-bottom:1px solid #243042; }
.calc-cart-total-label { font-size:11px; color:#9ca3af; text-transform:uppercase; letter-spacing:0.08em; }
.calc-cart-total-price { font-size:34px; font-weight:800; color:#0EA5E9; line-height:1.1; margin-top:4px; }
.calc-total-discount { margin-top:6px; min-height:19px; font-size:12px; color:#7dd3fc; }
.calc-total-discount .ctd-gray { color:#6b7280; }
.calc-total-discount .ctd-list { color:#6b7280; text-decoration:line-through; }
.calc-cart-head { display:flex; align-items:center; justify-content:space-between; margin:16px 0 10px; }
.calc-cart-head-label { font-size:12px; font-weight:600; color:#9ca3af; }
.calc-cart-clear { background:none; border:none; font-size:11px; color:#6b7280; cursor:pointer; font-family:inherit; transition:color 0.2s; }
.calc-cart-clear:hover { color:#f87171; }
.calc-cart-list { display:flex; flex-direction:column; gap:10px; height:230px; overflow-y:auto; overflow-x:hidden; scrollbar-gutter:stable; padding-right:2px; }
.calc-cart-empty { margin:auto; text-align:center; padding:8px; color:#6b7280; font-size:13px; line-height:1.7; }
.calc-cart-item { display:flex; align-items:center; justify-content:space-between; gap:10px; background:#080f21; border:1px solid #243042; border-radius:12px; padding:12px 14px; transition:opacity 0.22s ease-in, transform 0.22s ease-in; }
.calc-cart-item.cci-new { animation: cciPopIn 0.28s ease-out; }
.calc-cart-item.cci-removing { opacity:0; transform:translateX(40px); }
@keyframes cciPopIn {
  from { opacity:0; transform:translateY(-6px) scale(0.98); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}
.cci-name { font-size:13.5px; font-weight:700; color:#e5e7eb; word-break:break-all; }
.cci-sub { font-size:11.5px; color:#9ca3af; margin-top:2px; }
.cci-sub .cci-disc { color:#7dd3fc; font-weight:600; }
.cci-right { display:flex; align-items:center; gap:12px; flex:none; }
.cci-cost { font-size:14px; font-weight:700; color:#0EA5E9; white-space:nowrap; }
.cci-remove { background:none; border:none; color:#6b7280; cursor:pointer; font-size:13px; padding:2px; line-height:1; transition:color 0.2s; }
.cci-remove:hover { color:#f87171; }
.calc-group { display:flex; flex-direction:column; gap:5px; }
.calc-group label { font-size:11px; font-weight:600; color:#9ca3af; text-transform:uppercase; letter-spacing:0.06em; }
.calc-select {
  background:#111827; border:1px solid #374151; border-radius:8px;
  color:#f9fafb; font-size:13px; font-family:inherit; padding:8px 32px 8px 12px;
  outline:none; transition:border-color 0.2s; width:100%;
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 12px center;
  cursor:pointer;
}
.calc-select:focus { border-color:#0EA5E9; }
.calc-input-wrap { position:relative; display:flex; align-items:center; }
.calc-input-wrap input {
  background:#111827; border:1px solid #374151; border-radius:8px;
  color:#f9fafb; font-size:13px; font-family:inherit; padding:8px 80px 8px 12px;
  outline:none; transition:border-color 0.2s; width:100%;
  -moz-appearance:textfield;
}
.calc-input-wrap input::-webkit-inner-spin-button,
.calc-input-wrap input::-webkit-outer-spin-button { -webkit-appearance:none; }
.calc-input-wrap input:focus { border-color:#0EA5E9; }
.calc-input-suffix { position:absolute; right:12px; font-size:11px; color:#6b7280; pointer-events:none; white-space:nowrap; }
.calc-btn {
  padding:12px 16px; background:#0EA5E9; color:#fff;
  border:none; border-radius:8px; font-size:14px; font-weight:700;
  cursor:pointer; transition:opacity 0.2s, transform 0.15s; width:100%;
}
.calc-btn:hover { opacity:0.88; transform:translateY(-1px); }
/* discount badges (logged-in) */
.calc-discount-badges { display:flex; gap:6px; margin-bottom:8px; }
.calc-discount-badges .calc-disc-badge { flex:1; }
.calc-disc-badge {
  background:#111827; border:1px solid #374151; color:#9ca3af;
  border-radius:8px; padding:6px 8px; font-size:12.5px; font-weight:600;
  font-family:inherit; cursor:pointer; text-align:center;
  transition:border-color 0.15s, color 0.15s, background 0.15s;
}
.calc-disc-badge:hover { border-color:#0EA5E9; color:#e5e7eb; }
.calc-disc-badge.active { background:#0EA5E9; border-color:#0EA5E9; color:#fff; }
/* 직접입력 행: 아래 입력 토큰/출력 토큰과 동일한 폭·스타일(.calc-input-wrap)로 채움 */
.calc-disc-custom input { text-align:left; }
/* empty-input hint */
.calc-hint { min-height:16px; margin:10px; font-size:11.5px; color:#fbbf24; text-align:center; }
.calc-contact-link { color:#EC4899; text-decoration:underline; transition:color 0.15s; }
.calc-contact-link:hover { color:#f472b6; }
.calc-disclaimer { margin-top:20px; padding-top:16px; border-top:1px solid #374151; font-size:11px; color:#6b7280; line-height:1.6; }
.calc-input-wrap input.calc-input-invalid { border-color:#fbbf24; }
.calc-result {
  flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center;
  background:#111827; border-radius:12px; padding:20px 16px; min-width:0;
  border:1px solid #1f2937;
}
.calc-result-hint { font-size:15px; color:#7dd3fc; text-align:center; line-height:1.8; font-weight:500; }
.calc-result-label { font-size:10px; color:#6b7280; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:8px; }
.calc-result-price {
  font-size:34px; font-weight:800; color:#0EA5E9; line-height:1; margin-bottom:14px;
  max-width:100%; overflow-wrap:anywhere; word-break:break-word; text-align:center;
}
.calc-breakdown { display:flex; flex-direction:column; gap:5px; width:100%; min-width:0; }
.calc-breakdown-row { display:flex; justify-content:space-between; gap:8px; font-size:11px; color:#6b7280; }
.calc-breakdown-row span:first-child { min-width:0; overflow-wrap:anywhere; }
.calc-breakdown-row span:last-child { flex-shrink:0; overflow-wrap:anywhere; word-break:break-word; text-align:right; }

/* ── 7. FEATURE: GOVERNANCE ── */
.gov-points { display: flex; flex-direction: column; gap: 20px; }
.gov-point { display: flex; gap: 14px; align-items: flex-start; }
i[data-lucide] { display: inline-flex; }
/* problem-icon size set in section 5 */
.gov-icon i[data-lucide] { width: 20px; height: 20px; }
.cta-icon i[data-lucide] { width: 36px; height: 36px; }
.modality-tag i[data-lucide] { width: 13px; height: 13px; margin-right: 7px; flex-shrink: 0; }
.logo-box i[data-lucide] { width: 24px; height: 24px; }
.gov-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(14,165,233,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gov-text h4 { font-size: 14px; font-weight: 700; color: #f9fafb; margin-bottom: 4px; }
.gov-text p { font-size: 13px; color: #9ca3af; line-height: 1.6; margin: 0; }
.dashboard-mock { background: #111827; border: 1px solid #374151; border-radius: 12px; overflow: hidden; }
.dash-header {
  background: #1f2937;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #374151;
  font-size: 13px;
  font-weight: 600;
  color: #d1d5db;
}
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #374151; }
.dash-stat { background: #111827; padding: 14px 16px; }
.dash-stat .ds-label { font-size: 10px; color: #6b7280; text-transform: uppercase; }
.dash-stat .ds-value { font-size: 18px; font-weight: 800; color: #f9fafb; margin-top: 2px; }
.dash-stat .ds-value.blue { color: #0EA5E9; }
.dash-stat .ds-value.pink { color: #EC4899; }
.dash-chart { padding: 16px; height: 160px; display: flex; align-items: flex-end; gap: 6px; }
.dash-bar { flex: 1; background: rgba(14,165,233,0.3); border-radius: 3px 3px 0 0; }
.dash-bar.highlight { background: linear-gradient(180deg, #EC4899, rgba(236,72,153,0.4)); }

/* ── 8. INTEGRATION ── */
.integration-section { background: #0f172a; border-top: 1px solid #1f2937; }
.integration-inner { max-width: 1200px; margin: 0 auto; padding: 80px 48px; text-align: center; }
.integration-inner h2 { font-size: 32px; font-weight: 800; text-align: center; margin-bottom: 10px; color: #f9fafb; }
.provider-logos { display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; margin-top: 36px; }
.provider-logo { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: default; }
.provider-logo .logo-box {
  width: 56px; height: 56px;
  border: 1px solid #374151;
  border-radius: 14px;
  background: #1f2937;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.provider-logo:hover .logo-box {
  border-color: rgba(14, 165, 233, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.12);
}
.provider-logo .logo-name { font-size: 11px; color: #6b7280; font-weight: 600; }
.modality-tags { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-top: 24px; }
.modality-tag { display: inline-flex; align-items: center; gap: 5px; background: #1f2937; border: 1px solid #374151; color: #9ca3af; font-size: 12px; padding: 5px 14px; border-radius: 20px; }

/* ── 9. PRICING ── */
.pricing-section { background: #111827; border-top: 1px solid #1f2937; }
.pricing-inner { max-width: 1200px; margin: 0 auto; padding: 80px 48px; text-align: center; }
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.price-card {
  background: linear-gradient(160deg, #1f2937 60%, #172035);
  border: 1px solid #374151;
  border-top: 2px solid transparent;
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  position: relative;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #0EA5E9, #EC4899);
}
.price-card:hover { border-color: rgba(14,165,233,0.3); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.4); }
.price-card .model-provider { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: #9ca3af; font-weight: 700; }
.price-card .model-name { font-size: 15px; font-weight: 700; color: #f9fafb; margin-bottom: 16px; }
.price-card-divider { border: none; border-top: 1px solid #374151; margin: 20px 0; }
.price-card-pct { font-size: 48px; font-weight: 900; color: #EC4899; letter-spacing: -0.03em; line-height: 1; text-shadow: 0 0 32px rgba(236,72,153,0.35); }
.price-card-label { font-size: 12px; color: #6b7280; margin-bottom: 10px; }
.price-row { display: flex; justify-content: space-between; font-size: 12px; padding: 4px 0; }
.price-row .label { color: #6b7280; }
.price-row .strike { text-decoration: line-through; color: #4b5563; }
.price-row .new-price { color: #0EA5E9; font-weight: 700; }
.discount-tag {
  position: absolute; top: 16px; right: 16px;
  background: rgba(236,72,153,0.15); color: #EC4899;
  font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 20px;
}
.pricing-cta { margin-top: 32px; }
.pricing-cta a { color: #0EA5E9; font-size: 14px; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.pricing-cta a:hover { color: #38bdf8; text-decoration: underline; }

/* ── 10. DUAL CTA ── */
.cta-section {
  background: linear-gradient(135deg, rgba(14,165,233,0.06), rgba(236,72,153,0.06));
  border-top: 1px solid #1f2937;
  padding: 80px 48px;
}
.cta-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.cta-inner-single { grid-template-columns: minmax(0, 600px); justify-content: center; }
.cta-box { padding: 48px; text-align: center; }
.cta-box.left { border-right: 1px solid #1f2937; }
.cta-box h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; color: #f9fafb; }
.cta-box p { font-size: 14px; color: #9ca3af; line-height: 1.7; margin-bottom: 28px; }
.btn-cta-primary {
  background: linear-gradient(135deg, #0EA5E9, #EC4899);
  color: white; border: none; padding: 14px 32px;
  border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; width: 100%;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-cta-primary:hover { opacity: 0.88; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(14,165,233,0.35); }
.btn-cta-secondary {
  background: transparent; color: #f9fafb;
  border: 1px solid #374151; padding: 14px 32px;
  border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; width: 100%;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-cta-secondary:hover { border-color: #6b7280; background: rgba(255,255,255,0.04); transform: translateY(-1px); }

/* ── 11. FOOTER ── */
footer { background: #0f172a; border-top: 1px solid #1f2937; padding: 40px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1.8fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand .logo { margin-bottom: 12px; font-size: 16px; }
.footer-brand p { font-size: 13px; color: #9ca3af; line-height: 1.6; }
.footer-brand-contact { margin-top: 10px; font-size: 13px; color: #9ca3af; }
.footer-contact { margin-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.footer-contact p { font-size: 13px; color: #9ca3af; line-height: 1.5; }
.footer-col h4 { font-size: 12px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.footer-col ul li { color: #9ca3af; font-size: 13px; }
.footer-col ul li a { color: #9ca3af; text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-col ul li a:hover { color: #d1d5db; }
.footer-col ul li a.btn-biz-check {
  font-size: 12px;
  color: #4b5563;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.footer-col ul li a.btn-biz-check:hover { color: #6b7280; }
.footer-bottom {
  max-width: 1200px; margin: 32px auto 0; padding-top: 24px;
  border-top: 1px solid #1f2937; font-size: 12px; color: #4b5563;
  display: flex; flex-direction: column; gap: 8px;
}
.footer-biz { font-size: 12px; color: #6b7280; line-height: 2; }
.footer-biz a.btn-biz-check { font-size: 12px; color: #6b7280; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.footer-biz a.btn-biz-check:hover { color: #9ca3af; }

        /* ── Popup ── */
        .popup-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.6); backdrop-filter:blur(4px); z-index:9999; justify-content:center; align-items:center; }
        .popup-overlay.open { display:flex; }
        .popup-modal { background:#1f2937; border:1px solid #374151; border-radius:16px; width:min(640px,92vw); max-height:80vh; display:flex; flex-direction:column; box-shadow:0 24px 80px rgba(0,0,0,0.6); }
        .popup-modal.wide { width:min(1100px,96vw); height:94vh; }
        .popup-modal.wide.pricing { width:min(1000px,94vw); height:88vh; }
        .popup-header { display:flex; align-items:flex-start; justify-content:space-between; padding:20px 24px; border-bottom:1px solid #374151; flex-shrink:0; }
        .popup-header-left { display:flex; flex-direction:column; gap:4px; }
        .popup-title { font-size:16px; font-weight:700; color:#f9fafb; }
        .popup-date { font-size:12px; font-weight:500; color:#9ca3af; }
        .popup-note { font-size:15px; font-weight:600; line-height:1.5; color:#fbbf24; }
        .popup-close { background:none; border:none; color:#9ca3af; font-size:20px; cursor:pointer; padding:4px 8px; border-radius:6px; line-height:1; transition:color 0.2s,background 0.2s; }
        .popup-close:hover { color:#f9fafb; background:#374151; }
        .popup-body { overflow-y:auto; padding:24px; color:#d1d5db; font-size:14px; line-height:1.8; flex:1; }
        .popup-body::-webkit-scrollbar { width:6px; }
        .popup-body::-webkit-scrollbar-track { background:#111827; border-radius:3px; }
        .popup-body::-webkit-scrollbar-thumb { background:#4b5563; border-radius:3px; }
        .popup-modal.wide .popup-body { padding:0; display:flex; flex-direction:column; min-height:0; }
        .popup-footer { padding: 16px 24px; border-top: 1px solid #374151; flex-shrink: 0; }
        .popup-iframe { width:100%; height:100%; flex:1; border:none; border-radius:0 0 16px 16px; min-height:0; }

        /* ── 문의 폼 ── */
        .sr-only { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
        .contact-form { display:flex; flex-direction:column; flex:1; min-height:0; overflow:hidden; }
        .cf-group { display:flex; flex-direction:column; gap:6px; margin-bottom:16px; }
        .cf-group label, .cf-group-label { font-size:13px; font-weight:600; color:#d1d5db; }
        .cf-required { color:#EC4899; margin-left:2px; }
        .cf-optional { font-size:11px; font-weight:400; color:#6b7280; margin-left:4px; }
        .cf-group input, .cf-group textarea {
background:#111827; border:1px solid #374151; border-radius:8px;
padding:10px 14px; color:#f9fafb; font-size:14px; font-family:inherit;
transition:border-color 0.2s, box-shadow 0.2s; outline:none; resize:vertical;
        }
        .cf-group input::placeholder, .cf-group textarea::placeholder { color:#4b5563; }
        .cf-group input:focus, .cf-group textarea:focus {
border-color:#0EA5E9; box-shadow:0 0 0 3px rgba(14,165,233,0.15);
        }
        .cf-group textarea { min-height:100px; }
        .cf-num-wrap { position:relative; display:flex; align-items:center; }
        .cf-num-wrap input[type="number"] { padding-right:60px; width:100%; -moz-appearance:textfield; }
        .cf-num-wrap input[type="number"]::-webkit-inner-spin-button,
        .cf-num-wrap input[type="number"]::-webkit-outer-spin-button { -webkit-appearance:none; }
        .cf-num-suffix { position:absolute; right:14px; color:#9ca3af; font-size:14px; pointer-events:none; }
        .cf-scale-tabs { display:flex; gap:0; margin-bottom:10px; border-radius:8px; overflow:hidden; border:1px solid #374151; width:fit-content; }
        .cf-scale-tab { position:relative; }
        .cf-scale-tab input[type="radio"] { position:absolute; width:1px; height:1px; opacity:0; }
        .cf-scale-tab label { display:block; padding:6px 16px; font-size:12px; font-weight:600; color:#9ca3af; cursor:pointer; background:#1f2937; transition:background 0.15s, color 0.15s; white-space:nowrap; }
        .cf-scale-tab input[type="radio"]:checked + label { background:#0EA5E9; color:#fff; }
        .cf-scale-tab input[type="radio"]:focus-visible + label { outline:2px solid #7dd3fc; outline-offset:-2px; }
        .cf-token-row { display:flex; gap:10px; }
        .cf-token-row .cf-num-wrap { flex:1; }
        .cf-scale-hint { margin-top:6px; font-size:11px; color:#6b7280; }
        .cf-checks { display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px 16px; }
        .cf-check { display:flex; align-items:center; gap:8px; cursor:pointer; user-select:none; }
        .cf-check input[type="checkbox"] { position:absolute; width:1px; height:1px; opacity:0; }
        .cf-check-box {
width:18px; height:18px; flex-shrink:0; border-radius:4px;
border:1.5px solid #374151; background:#111827;
display:flex; align-items:center; justify-content:center;
transition:border-color 0.15s, background 0.15s;
        }
        .cf-check input[type="checkbox"]:checked ~ .cf-check-box { background:#0EA5E9; border-color:#0EA5E9; }
        .cf-check input[type="checkbox"]:focus-visible ~ .cf-check-box { box-shadow:0 0 0 3px rgba(125,211,252,0.35); border-color:#7dd3fc; }
        .cf-check-box svg { display:none; }
        .cf-check input[type="checkbox"]:checked ~ .cf-check-box svg { display:block; }
        .cf-check-label { font-size:13px; color:#d1d5db; }
        .cf-submit {
display:block; margin-left:auto;
margin-top:4px; padding:12px 24px; background:#0EA5E9; color:#fff;
border:none; border-radius:8px; font-size:15px; font-weight:700;
cursor:pointer; transition:opacity 0.2s, transform 0.15s;
        }
        .cf-submit:hover { opacity:0.88; transform:translateY(-1px); }
        .cf-submit:disabled { opacity:0.5; cursor:not-allowed; transform:none; }
        .cf-result { padding:12px 16px; border-radius:8px; font-size:13px; line-height:1.6; }
        .cf-result.cf-success { background:rgba(16,185,129,0.1); border:1px solid rgba(16,185,129,0.3); color:#6ee7b7; }
        .cf-result.cf-error   { background:rgba(239,68,68,0.1);  border:1px solid rgba(239,68,68,0.3);  color:#fca5a5; }

        /* ── 비디오 플레이어 ── */
        .anim-wrap { position: relative; width: min(360px, 100%); aspect-ratio: 9/16; overflow: hidden; border-radius: 24px; box-shadow: 0 30px 90px rgba(0,0,0,0.7); background: #000; cursor: pointer; }
        .video-indicator { display: flex; gap: 0; justify-content: center; margin-top: 0; }
        .video-dot { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: transparent; cursor: pointer; border: none; padding: 0; transition: transform 0.2s; }
        .video-dot::after { content: ''; display: block; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.2); transition: background 0.2s, transform 0.2s; }
        .video-dot:hover::after { background: rgba(255,255,255,0.5); transform: scale(1.2); }
        .video-dot.active::after { background: rgba(255,255,255,0.85); transform: scale(1.35); }
        .anim-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
        .anim-poster-layer { position: absolute; inset: 0; z-index: 5; border-radius: 24px; overflow: hidden; pointer-events: none; opacity: 1; visibility: visible; transition: opacity 0.12s ease; }
        .anim-poster-layer.is-hidden { opacity: 0; visibility: hidden; }
        .anim-poster-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; visibility: hidden; transition: opacity 0.12s ease; }
        .anim-poster-img.active { opacity: 1; visibility: visible; }
        .anim-wrap.swipe-left  { animation: swipeLeft  0.28s ease both; }
        .anim-wrap.swipe-right { animation: swipeRight 0.28s ease both; }
        @keyframes swipeLeft  { 0%{transform:translateX(18px);opacity:.4} 100%{transform:translateX(0);opacity:1} }
        @keyframes swipeRight { 0%{transform:translateX(-18px);opacity:.4} 100%{transform:translateX(0);opacity:1} }
.anim-play-overlay {
position: absolute; inset: 0; z-index: 30; border-radius: 24px;
display: flex; flex-direction: column; align-items: center; justify-content: center;
background: rgba(0,0,0,0.45); cursor: pointer; gap: 12px;
transition: background 0.2s; border: 0; padding: 0; color: inherit; font: inherit;
        }
        .anim-play-overlay:hover { background: rgba(0,0,0,0.55); }
        .anim-play-btn {
width: 72px; height: 72px; border-radius: 50%; border: none; cursor: pointer; pointer-events: none;
background: rgba(14,165,233,0.9); display: flex; align-items: center; justify-content: center;
box-shadow: 0 0 0 8px rgba(14,165,233,0.2); transition: transform 0.15s, box-shadow 0.2s;
        }
        .anim-play-overlay:hover .anim-play-btn { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(14,165,233,0.25); }
        .anim-play-btn svg { width: 32px; height: 32px; margin-left: 5px; }
        .anim-play-label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.8); letter-spacing: 0.05em; }
.anim-hover-overlay {
position: absolute; inset: 0; z-index: 20; border-radius: 24px;
display: flex; flex-direction: column; align-items: center; justify-content: center;
background: transparent; gap: 12px; opacity: 0;
transition: background 0.2s;
border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer;
        }
.anim-hover-overlay[hidden] { display: none; }
.anim-hover-overlay:focus-visible,
.anim-hover-overlay.is-paused { background: rgba(0,0,0,0.42); opacity: 1; }
.anim-hover-overlay:focus-visible { outline: 3px solid #38bdf8; outline-offset: -4px; }
        .anim-hover-state {
display: flex; flex-direction: column; align-items: center; gap: 12px; cursor: pointer;
pointer-events: none;
        }
        .anim-hover-state:hover .anim-play-btn { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(14,165,233,0.25); }
        .anim-pause-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; gap: 6px; }
        .anim-pause-icon span { display: block; width: 8px; height: 28px; background: #fff; border-radius: 3px; }
        .anim-end-controls {
position: absolute; top: 50%; left: 52%; right: 5%; transform: translateY(-70%);
display: flex; flex-direction: column; align-items: stretch;
z-index: 40;
        }
        .anim-end-btn {
display: flex; align-items: center; justify-content: center; gap: 8px;
height: 44px; padding: 0 24px; border-radius: 8px; font-size: 14px; font-weight: 700;
cursor: pointer; text-decoration: none; border: none; min-width: 180px;
box-sizing: border-box; transition: opacity 0.15s, transform 0.15s;
        }
        .anim-end-btn:hover { opacity: 0.85; transform: translateY(-1px); }
        .anim-end-replay {
background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.35);
color: rgba(255,255,255,0.85); width: 100%; min-width: unset;
backdrop-filter: blur(6px); white-space: nowrap;
        }
        .anim-end-replay svg { width: 16px; height: 16px; }

/* ── Hamburger ── */
.gnb-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.gnb--scrolled {
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.45);
}

/* ── Scroll reveal stagger ── */
.problem-card:nth-child(1).reveal { transition-delay: 0s; }
.problem-card:nth-child(2).reveal { transition-delay: 0.1s; }
.problem-card:nth-child(3).reveal { transition-delay: 0.2s; }

.gov-point:nth-child(1).reveal { transition-delay: 0s; }
.gov-point:nth-child(2).reveal { transition-delay: 0.12s; }
.gov-point:nth-child(3).reveal { transition-delay: 0.24s; }

.cta-box:nth-child(1).reveal { transition-delay: 0s; }
.cta-box:nth-child(2).reveal { transition-delay: 0.12s; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.gnb-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #f9fafb;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.gnb-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gnb-hamburger.open span:nth-child(2) { opacity: 0; }
.gnb-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════
   RESPONSIVE — max-width: 768px
════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Prevent page-level horizontal scroll (fixes sticky GNB on iOS Safari) */
  html {
    overflow-x: clip;
  }

  /* GNB */
  .gnb {
    padding: 14px 20px;
    flex-wrap: wrap;
  }
  .gnb-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(17, 24, 39, 0.98);
    border-bottom: 1px solid #1f2937;
    padding: 12px 20px 20px;
    gap: 0;
  }
  .gnb-menu.open {
    display: flex;
  }
  .gnb-menu li a {
    display: block;
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid #1f2937;
  }
  .gnb-hamburger {
    display: flex;
    order: 2;
    margin-left: 16px;
    margin-right: 0;
  }
  .gnb-right {
    order: 1;
    margin-left: auto;
    gap: 12px;
  }
  .btn-login {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
  }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 20px 24px;
    gap: 36px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero-sub {
    font-size: 14px;
  }
  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }
  .stat-item {
    flex: 0 0 auto;
    width: 100px;
  }
  .stat-item .stat-value {
    font-size: 22px;
  }

  /* Section 공통 */
  .section {
    padding: 48px 20px;
  }
  .section h2 {
    font-size: 24px;
  }
  .solution-inner {
    padding: 48px 20px;
  }
  .pricing-inner {
    padding: 48px 20px;
  }
  .cost-calc-inner {
    padding: 0 20px;
  }

  /* Problem */
  .problem-grid {
    grid-template-columns: 1fr;
  }

  /* Feature */
  .feature-section {
    padding: 48px 20px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-grid.reverse {
    direction: ltr;
  }
  .feature-content h2 {
    font-size: 22px;
  }

  /* Solution diagram — 스크롤 없이 비율 그대로 축소 */
  .diagram-scroll-outer {
    position: relative;
    margin-top: 20px;
    overflow: hidden;
  }
  .diagram-scroll-outer::after {
    display: none;
  }
  .diagram-outer {
    overflow: visible !important;
    /* zoom: 비율 유지하며 레이아웃 공간도 함께 줄어듦 */
    zoom: 0.46;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .diagram-results {
    margin-top: 28px !important;
  }

  /* 비용 계산기 — 1열 스택 */
  .calc-body {
    grid-template-columns: 1fr;
  }
  .calc-result {
    min-height: 120px;
  }

  /* Pricing — 세로 스택 */
  .price-cards-outer::after {
    display: none;
  }
  .price-cards {
    display: flex;
    flex-direction: column;
    overflow-x: visible;
    scroll-snap-type: none;
    gap: 12px;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }
  .price-card {
    flex: none;
    width: 100%;
    padding: 16px 18px;
    border-radius: 12px;
  }
  .price-card .model-provider { font-size: 11px; }
  .price-card .model-name { font-size: 13px; margin-bottom: 10px; }
  .price-card-divider { margin: 12px 0; }
  .price-card-pct {
    font-size: 30px;
  }
  .price-card-label { font-size: 11px; margin-bottom: 6px; }

  /* Integration */
  .integration-inner {
    padding: 48px 20px;
  }
  .integration-inner h2 {
    font-size: 22px;
  }

  /* Pricing title */
  .pricing-title {
    font-size: 24px;
  }

  /* CTA */
  .cta-section {
    padding: 48px 0;
  }
  .cta-inner {
    grid-template-columns: 1fr;
  }
  .cta-box {
    padding: 32px 20px;
  }
  .cta-box.left {
    border-right: none;
    border-bottom: 1px solid #1f2937;
  }

  /* Footer */
  footer {
    padding: 32px 20px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px 16px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-inner .footer-col:nth-child(2) {
    grid-column: 1 / -1;
  }
  .footer-brand p {
    max-width: 260px;
    word-break: keep-all;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: left;
  }
  .footer-biz {
    word-break: keep-all;
    line-height: 2;
  }

} /* @media 종료 */

/* 가격 섹션 타이틀 — 인라인 스타일 대체용 */
.pricing-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #f9fafb;
}

/* 극소형 화면(≤360px) — 히어로 CTA 버튼 세로 스택 */
@media (max-width: 360px) {
  .hero-cta {
    flex-direction: column;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    text-align: center;
  }
}
