/* ==========================================================
   TCMS — 개인별 생산성 분석 및 자문 컨설팅  |  CGTae Technology
   ========================================================== */

:root {
  --navy: #0A2A1E;
  --navy-2: #12392A;
  --primary: #15965A;
  --primary-dark: #0F7646;
  --accent: #34C17E;
  --mint: #16B39A;
  --amber: #F5A623;
  --rose: #E5484D;

  --text: #17261F;
  --muted: #5A6B62;
  --line: #E1E9E4;
  --bg: #FFFFFF;
  --bg-alt: #F4F8F5;
  --bg-deep: #0A2A1E;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(10,42,30, .08);
  --shadow-lg: 0 30px 60px rgba(10,42,30, .18);

  --container: 1160px;
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
html[lang="ja"] body {
  font-family: "Pretendard JP Variable", "Pretendard JP", "Pretendard Variable", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  word-break: normal; line-break: strict;
}
html[lang="ja"] .hero h1 { font-size: clamp(30px, 4vw, 46px); }
html[lang="zh-CN"] body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  word-break: normal; line-break: strict;
}
html[lang="zh-CN"] .hero h1 { font-size: clamp(30px, 4vw, 46px); }
html[lang="en"] body { word-break: normal; }
html[lang="en"] .hero h1, html[lang="en"] .section-title { letter-spacing: -0.025em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; }

.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -0.02em; font-weight: 700; }
.eyebrow {
  display: inline-block; font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; letter-spacing: .03em; line-height: 1.2;
  text-transform: uppercase; color: var(--primary); margin-bottom: 12px;
}
.section-title { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.section-lead { font-size: 17px; color: var(--muted); max-width: 640px; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin: 0 auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px;
  border-radius: 10px; font-weight: 600; font-size: 15px; border: 1px solid transparent;
  cursor: pointer; transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(21,150,90,.28); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-alt); border-color: #CDDDD3; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #ECF6F0; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(10,42,30,.06); }
.header .container { display: flex; align-items: center; height: 100%; gap: 40px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-weight: 800; font-size: 13px;
}
.logo-text { line-height: 1.1; }
.logo-text strong { display: block; font-size: 17px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.logo-text span { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; color: var(--text); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; gap: 2px; margin-left: 8px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.lang-switch a { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--muted); padding: 4px 8px !important; border-radius: 6px; }
.lang-switch a::after { display: none; }
.lang-switch a:hover { color: var(--navy); }
.lang-switch a.on { background: var(--navy); color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; margin-left: auto; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px auto; transition: .2s; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(21,150,90,.14), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(52,193,126,.12), transparent 60%),
    linear-gradient(180deg, #F7FCF9 0%, #FFFFFF 100%);
  padding: 88px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(10,42,30,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(10,42,30,.05) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero .container > * { min-width: 0; }
.hero h1 { overflow-wrap: anywhere; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 26px;
}
.hero-badge b { background: var(--primary); color: #fff; padding: 2px 8px; border-radius: 999px; font-size: 11px; letter-spacing: .05em; }
/* product name above the hero headline */
.hero-product { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.hero-product .pn {
  font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; letter-spacing: .02em; line-height: 1; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-product .pf {
  font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; min-width: 0;
  color: var(--muted); padding-left: 14px; border-left: 2px solid var(--line);
}
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.03em; line-height: 1.18; color: var(--navy); }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p { font-size: 18px; color: var(--muted); margin: 24px 0 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 26px; display: flex; gap: 18px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.hero-note li { display: flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; color: var(--mint); }

/* ---------- dashboard mockup ---------- */
.mock {
  position: relative; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transform-origin: left center;
}
.mock-bar { height: 40px; background: #F2F6F4; border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 14px; gap: 6px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D3DDD7; }
.mock-bar i:nth-child(1) { background: #FF5F57; } .mock-bar i:nth-child(2) { background: #FEBC2E; } .mock-bar i:nth-child(3) { background: #28C840; }
.mock-url { margin-left: 12px; flex: 1; height: 22px; border-radius: 6px; background: #fff; border: 1px solid var(--line); font-size: 11px; color: #98A79F; display: flex; align-items: center; padding: 0 10px; }
.mock-body { display: grid; grid-template-columns: 150px 1fr; min-height: 380px; }
.mock-side { background: var(--navy); padding: 18px 14px; color: #fff; }
.mock-side .brand { font-weight: 800; font-size: 14px; margin-bottom: 20px; letter-spacing: .02em; }
.mock-side li { font-size: 11px; padding: 8px 10px; border-radius: 6px; color: rgba(255,255,255,.65); margin-bottom: 2px; display: flex; gap: 8px; align-items: center; }
.mock-side li::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: rgba(255,255,255,.18); }
.mock-side li.on { background: rgba(255,255,255,.12); color: #fff; }
.mock-side li.on::before { background: var(--accent); }
.mock-main { padding: 18px; background: #FAFCFB; }
.mock-title { font-size: 13px; font-weight: 700; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.mock-title span { font-size: 10px; color: var(--muted); font-weight: 500; background: #fff; border: 1px solid var(--line); padding: 3px 8px; border-radius: 6px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.kpi small { font-size: 10px; color: var(--muted); display: block; margin-bottom: 4px; }
.kpi b { font-size: 18px; letter-spacing: -.02em; }
.kpi .delta { font-size: 10px; font-weight: 700; margin-left: 6px; }
.delta.up { color: var(--mint); } .delta.down { color: var(--rose); }
.mock-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.mock-card h5 { font-size: 11px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; }
.bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--primary), var(--accent)); opacity: .9; }
.bars i.dim { background: #D6E6DC; }
.rows li { display: flex; align-items: center; gap: 8px; font-size: 10px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.rows li:last-child { border-bottom: 0; }
.rows .nm { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows .track { width: 50px; height: 5px; background: #ECF3EF; border-radius: 3px; overflow: hidden; }
.rows .track i { display: block; height: 100%; background: var(--primary); }
.rows .pct { width: 30px; text-align: right; color: var(--muted); }
.float-card {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 12px 14px; font-size: 12px; display: flex; gap: 10px; align-items: center;
}
.float-card .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.float-card b { display: block; font-size: 15px; letter-spacing: -.02em; }
.float-card small { color: var(--muted); }
.float-1 { right: -14px; bottom: 54px; }
.float-2 { left: -26px; top: 70px; }
.hero-visual { position: relative; }
/* 실제 스크린샷으로 교체할 때 사용 (.mock-body 대신 / 각 .panel 안) */
.mock-shot { display: block; width: 100%; height: auto; }
.panel-shot { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }

/* ---------- stats band ---------- */
.stats { background: var(--bg-deep); color: #fff; padding: 44px 0; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px 12px; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat b em { font-style: normal; color: var(--accent); }
.stat span { font-size: 14px; color: rgba(255,255,255,.7); display: block; margin-top: 6px; }

/* ---------- sections ---------- */
section { padding: 112px 0; }
.alt { background: var(--bg-alt); }

/* problems */
.problems { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.problem {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  display: grid; grid-template-columns: 52px 1fr; gap: 20px; transition: transform .2s, box-shadow .2s;
}
.problem:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.problem .ic { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: #FFF1F1; color: var(--rose); }
.problem .ic svg { width: 24px; height: 24px; }
.problem h3 { font-size: 18px; margin-bottom: 8px; }
.problem p { font-size: 15px; color: var(--muted); }
.problem .fix { margin-top: 14px; font-size: 14px; color: var(--primary); font-weight: 600; display: flex; gap: 6px; align-items: flex-start; }
.problem .fix svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }
.formula {
  margin-top: 56px; text-align: center; font-size: clamp(20px, 3vw, 30px); font-weight: 800; color: var(--navy); letter-spacing: -.02em;
}
.formula span { display: inline-block; padding: 6px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); margin: 6px 4px; }
.formula .eq { color: var(--muted); font-weight: 500; }
.formula .res { background: var(--primary); color: #fff; border-color: var(--primary); }

/* features (alternating) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 48px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature:nth-child(odd) .feature-text { order: 2; }
.feature-num { font-size: 20px; font-weight: 800; color: var(--primary); letter-spacing: .02em; line-height: 1.3; margin-bottom: 10px; }
.feature h3 { font-size: 28px; margin-bottom: 14px; }
.feature p { font-size: 16px; color: var(--muted); margin-bottom: 20px; }
.feature ul li { position: relative; padding-left: 26px; font-size: 15px; margin-bottom: 8px; }
.feature ul li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: #E3F4EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315965A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
}
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 22px; position: relative;
}
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.panel-head b { font-size: 14px; }
.panel-head span { font-size: 11px; color: var(--muted); border: 1px solid var(--line); padding: 3px 8px; border-radius: 6px; }
.table { width: 100%; border-collapse: collapse; font-size: 12px; }
.table th { text-align: left; color: var(--muted); font-weight: 600; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px 6px; border-bottom: 1px solid #EFF4F1; }
.table .bar { height: 6px; border-radius: 3px; background: #ECF3EF; overflow: hidden; min-width: 90px; }
.table .bar i { display: block; height: 100%; background: var(--primary); }
.table .bar i.warn { background: var(--amber); }
.table .bar i.bad { background: var(--rose); }
.tag { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 5px; }
.tag.ok { background: #E6F8F3; color: #0E8C77; }
.tag.warn { background: #FFF4E0; color: #B26E00; }
.tag.bad { background: #FDECEC; color: #C4262B; }
.assets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.asset { border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 12px; }
.asset b { display: block; font-size: 13px; margin-bottom: 4px; }
.asset small { color: var(--muted); display: block; }
.asset .cnt { margin-top: 8px; display: flex; justify-content: space-between; font-weight: 600; }
.sync { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.sync-box { border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 12px; }
.sync-box b { display: block; font-size: 13px; margin-bottom: 8px; }
.sync-box li { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.sync-box li:last-child { border: 0; }
.sync-arrow { color: var(--primary); font-weight: 700; font-size: 12px; text-align: center; }
.sync-arrow svg { width: 32px; height: 32px; display: block; margin: 0 auto 4px; }
.cost { display: flex; gap: 24px; align-items: flex-end; height: 160px; padding: 0 12px; }
.cost .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.cost .col i { width: 100%; max-width: 110px; border-radius: 8px 8px 0 0; display: block; }
.cost .col b { font-size: 14px; }
.cost .col small { font-size: 11px; color: var(--muted); }
.cost .before i { background: #D6E6DC; height: 100%; }
.cost .after i { background: linear-gradient(180deg, var(--primary), var(--accent)); height: 63%; }
.saving-pill { position: absolute; top: -14px; right: 22px; background: var(--mint); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 16px rgba(22,179,154,.35); }

/* benefits */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .2s, box-shadow .2s; }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #E5F5EC; color: var(--primary); margin-bottom: 18px; }
.benefit .ic svg { width: 22px; height: 22px; }
.benefit h3 { font-size: 18px; margin-bottom: 10px; }
.benefit p { font-size: 14px; color: var(--muted); }
.benefit .metric { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.benefit .metric b { display: block; font-size: 22px; color: var(--navy); letter-spacing: -.02em; }

/* cases */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case { background: var(--navy); color: #fff; border-radius: 18px; padding: 36px; position: relative; overflow: hidden; }
.case::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(52,193,126,.35), transparent 70%);
}
.case > * { position: relative; }
.case .type { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .04em; }
.case h3 { font-size: 22px; margin: 8px 0 18px; }
.case .big { font-size: 46px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.case .big small { font-size: 16px; font-weight: 600; color: rgba(255,255,255,.7); margin-left: 8px; }
.case .desc { font-size: 15px; color: rgba(255,255,255,.75); margin: 12px 0 22px; }
.case .facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 24px; }
.case .fact { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 12px 14px; }
.case .fact b { display: block; font-size: 18px; }
.case .fact span { font-size: 12px; color: rgba(255,255,255,.65); }
.case .more { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.case .more svg { width: 16px; height: 16px; transition: transform .2s; }
.case .more:hover svg { transform: translateX(3px); }
.case.light { background: #fff; color: var(--text); border: 1px solid var(--line); }
.case.light::after { background: radial-gradient(circle, rgba(21,150,90,.12), transparent 70%); }
.case.light .type { color: var(--primary); }
.case.light .big small { color: var(--muted); }
.case.light .desc { color: var(--muted); }
.case.light .fact { background: var(--bg-alt); border-color: var(--line); }
.case.light .fact span { color: var(--muted); }
.case.light .more { color: var(--primary); }

/* CAM callout */
.cam { margin-top: 24px; background: linear-gradient(135deg, #EDF7F1, #F7FCF9); border: 1px solid #D2EADB; border-radius: 18px; padding: 36px 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cam h3 { font-size: 24px; margin-bottom: 10px; }
.cam h3 span { color: var(--primary); }
.cam p { color: var(--muted); font-size: 15px; }
.cam ul { display: grid; gap: 10px; }
.cam li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.cam li svg { width: 18px; height: 18px; color: var(--rose); flex-shrink: 0; }
.cam li.ok svg { color: var(--mint); }

/* contact */
.contact { background: var(--navy); color: #fff; }
.contact .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact .eyebrow { color: var(--accent); }
.contact h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.contact .lead { color: rgba(255,255,255,.72); font-size: 17px; margin-bottom: 36px; }
.contact-info { display: grid; gap: 22px; }
.contact-info li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.contact-info .ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.contact-info .ic svg { width: 18px; height: 18px; }
.contact-info b { display: block; font-size: 14px; margin-bottom: 2px; }
.contact-info span { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.5; display: block; }
.form { background: #fff; color: var(--text); border-radius: 18px; padding: 36px; box-shadow: var(--shadow-lg); }
.form h3 { font-size: 20px; margin-bottom: 6px; }
.form > p { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; }
.field label i { color: var(--rose); font-style: normal; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #FAFCFB; color: var(--text);
  transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(21,150,90,.15); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }

/* footer */
.footer { background: #061F15; color: rgba(255,255,255,.65); padding: 56px 0 28px; font-size: 13px; }
.footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer li { margin-bottom: 8px; line-height: 1.55; }
.footer a:hover { color: #fff; }
.footer .logo-text strong { color: #fff; } .footer .logo-text span { color: rgba(255,255,255,.55); }
.footer .bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 12px; }
.lang { display: flex; gap: 6px; }
.lang a { padding: 6px 10px; border-radius: 6px; border: 1px solid rgba(255,255,255,.12); font-size: 12px; }
.lang a.on, .lang a:hover { background: rgba(255,255,255,.1); color: #fff; }

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

/* video modal */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(5,26,18,.8); display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-box { width: min(960px, 100%); aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden; position: relative; }
.modal-box iframe { width: 100%; height: 100%; border: 0; }
.modal-close { position: absolute; top: -44px; right: 0; background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .mock { transform: none; }
  .float-2 { left: 8px; }
  .float-1 { right: 8px; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .feature { gap: 40px; }
  .contact .container { grid-template-columns: 1fr; gap: 40px; }
  .footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-product { gap: 10px; margin-bottom: 14px; }
  .hero-product .pf { font-size: 12px; padding-left: 10px; }
  :root { --header-h: 64px; }
  .container { width: calc(100% - 32px); }
  section { padding: 72px 0; }
  .hero { padding: 48px 0 64px; }
  .hero p { font-size: 16px; }
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .header.open .nav {
    display: flex; flex-direction: column; gap: 4px; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(10,42,30,.1);
  }
  .header.open .nav a { padding: 12px 8px; font-size: 16px; }
  .header.open .nav a::after { display: none; }
  .header.open .lang-switch { margin: 8px 0 0; align-self: flex-start; }
  .header.open .lang-switch a { padding: 6px 12px !important; font-size: 13px; }
  .header.open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.open .menu-toggle span:nth-child(2) { opacity: 0; }
  .header.open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-side { display: none; }
  .mock-main { padding: 14px; }
  .kpis { gap: 6px; }
  .kpi { padding: 10px 8px; }
  .kpi b { font-size: 15px; }
  .kpi .delta { display: block; margin: 2px 0 0; }
  .mock-grid { grid-template-columns: 1fr; }
  .hero h1 br { display: none; }
  .float-card { display: none; }
  .problems, .cases, .benefits, .form-grid, .footer .top { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .feature:nth-child(odd) .feature-text { order: 0; }
  .feature h3 { font-size: 24px; }
  .feature-num { font-size: 17px; }
  .cam { grid-template-columns: 1fr; padding: 28px 24px; }
  .stats .container { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat b { font-size: 30px; }
  .section-head { margin-bottom: 36px; }
  .case { padding: 28px 24px; }
  .case .big { font-size: 38px; }
  .form { padding: 24px; }
}

/* ==========================================================
   TCMS 전용 구성 요소
   ========================================================== */
.logo-mark.wide { width: auto; padding: 0 10px; font-size: 12px; letter-spacing: .02em; }

/* why: 큰 수치 카드 + 번호 목록 */
.why-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.big-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 40px; box-shadow: var(--shadow); }
.big-card .num { font-size: clamp(72px, 9vw, 112px); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--primary); }
.big-card h3 { font-size: 22px; margin: 18px 0 4px; color: var(--navy); }
.big-card p { font-size: 15px; color: var(--muted); }
.big-card .meter { margin-top: 28px; height: 14px; border-radius: 7px; background: var(--bg-alt); border: 1px solid var(--line); overflow: hidden; }
.big-card .meter i { display: block; height: 100%; width: 42%; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.big-card small { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.big-card .src { margin-top: 20px; font-size: 12px; color: var(--muted); }
ol { list-style: none; }
.points { display: grid; gap: 28px; counter-reset: pt; }
.points li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; counter-increment: pt; }
.points li::before {
  content: counter(pt); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 18px;
}
.points h3 { font-size: 20px; margin-bottom: 6px; }
.points p { font-size: 15px; color: var(--muted); }

/* solution: 소개 박스 + 가치 3개 */
.solution { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; }
.solution-box { background: var(--navy); color: #fff; border-radius: 18px; padding: 40px; position: relative; overflow: hidden; }
.solution-box::after { content: ""; position: absolute; width: 300px; height: 300px; right: -100px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(52,193,126,.35), transparent 70%); }
.solution-box > * { position: relative; }
.solution-box b { display: block; font-size: 44px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.solution-box .sub { font-size: 17px; color: var(--accent); font-weight: 600; margin: 8px 0 22px; }
.solution-box p { font-size: 16px; color: rgba(255,255,255,.78); }
.values { display: grid; gap: 14px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; }
.value .ic { width: 52px; height: 52px; border-radius: 12px; background: #E5F5EC; color: var(--primary); display: grid; place-items: center; }
.value .ic svg { width: 24px; height: 24px; }
.value h3 { font-size: 18px; }
.value h3 small { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-left: 6px; }
.value p { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* 요약 vs 개별 비교 표 */
.compare { margin-top: 56px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px 28px 12px; overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.compare th, .compare td { text-align: left; padding: 18px 12px; border-bottom: 1px solid var(--line); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare thead th { font-size: 16px; color: var(--primary); border-bottom: 2px solid var(--navy); }
.compare tbody th { color: var(--navy); width: 22%; }

/* 개별 분석 패널 */
.user-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.user-head .av { width: 36px; height: 36px; border-radius: 50%; background: #E5F5EC; color: var(--primary); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.user-head b { display: block; font-size: 14px; }
.user-head small { font-size: 12px; color: var(--muted); }
.panel .kpis { margin-bottom: 14px; }
.panel .bars { height: 110px; }

/* 분석 대상 */
.targets { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; }
.target-list { display: grid; gap: 14px; }
.target { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: var(--radius); padding: 22px 26px; display: grid; grid-template-columns: 52px 1fr auto; gap: 18px; align-items: center; }
.target .ic { width: 52px; height: 52px; border-radius: 12px; background: #E5F5EC; color: var(--primary); display: grid; place-items: center; }
.target .ic svg { width: 24px; height: 24px; }
.target h3 { font-size: 18px; margin-bottom: 4px; }
.target p { font-size: 14px; color: var(--muted); }
.target .flag { font-size: 12px; font-weight: 700; color: #fff; background: var(--amber); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.plus-box { background: linear-gradient(160deg, var(--primary), var(--primary-dark)); color: #fff; border-radius: 18px; padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.plus-box .num { font-size: clamp(64px, 8vw, 96px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.plus-box h3 { font-size: 24px; margin: 18px 0 10px; }
.plus-box p { font-size: 15px; color: rgba(255,255,255,.85); }

/* 도입 절차 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: st; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; counter-increment: st; }
.step::before { content: counter(st); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; margin-bottom: 16px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -14px; width: 14px; height: 2px; background: var(--primary); opacity: .4; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }

/* 구매 정보 */
.purchase { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; margin-top: 56px; align-items: start; }
.spec { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px 28px; }
.spec table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 16px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 32%; color: var(--navy); font-weight: 700; }
.spec td small { display: block; font-size: 13px; color: var(--muted); }
.order-box { background: var(--navy); color: #fff; border-radius: 18px; padding: 36px; }
.order-box h3 { font-size: 22px; margin-bottom: 10px; }
.order-box p { font-size: 15px; color: rgba(255,255,255,.75); margin-bottom: 24px; }
.order-box ul { display: grid; gap: 10px; margin-bottom: 28px; }
.order-box li { font-size: 15px; display: flex; gap: 10px; align-items: center; }
.order-box li b { min-width: 56px; color: var(--accent); font-size: 13px; }
.order-box .btn { width: 100%; justify-content: center; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.qa { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: var(--radius); padding: 28px 30px; }
.qa h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.qa h3::before { content: "Q. "; color: var(--primary); }
.qa p { font-size: 15px; color: var(--muted); }

@media (max-width: 1024px) {
  .why-split, .solution, .targets, .purchase { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
}
@media (max-width: 768px) {
  .faq, .steps { grid-template-columns: 1fr; }
  .big-card, .solution-box, .plus-box, .order-box { padding: 28px 24px; }
  .target { grid-template-columns: 44px 1fr; padding: 20px; }
  .target .ic { width: 44px; height: 44px; }
  .target .flag { grid-column: 2; justify-self: start; }
  .value { padding: 20px; }
  .spec, .compare { padding: 4px 18px; }
  .spec th { width: 38%; }
}

/* 기능 칸 안의 표가 좁은 화면에서 칸을 밀어내지 않도록 */
.feature > * { min-width: 0; }
.panel { overflow-x: auto; }
@media (max-width: 768px) { .table .bar { min-width: 48px; } .table th, .table td { padding-left: 4px; padding-right: 4px; } }

/* 정책 문서 페이지 (privacy.html, refund.html) */
.doc-page { padding: 72px 0 96px; background: var(--bg-alt); }
.doc { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 48px 56px; }
.doc .eyebrow { margin-bottom: 10px; }
.doc h1 { font-size: clamp(26px, 3.4vw, 34px); color: var(--navy); margin-bottom: 28px; }
.doc h2 { font-size: 19px; color: var(--navy); margin: 36px 0 12px; }
.doc h3 { font-size: 16px; margin: 20px 0 6px; }
.doc p, .doc li { font-size: 15px; line-height: 1.8; color: var(--text); }
.doc p + p { margin-top: 10px; }
.doc ul, .doc ol { margin: 8px 0 8px 22px; }
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc .box { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-top: 14px; }
.doc .note { font-size: 14px; color: var(--muted); }
.doc-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 36px; font-weight: 600; color: var(--primary); }
.doc-back svg { width: 16px; height: 16px; }
.header .doc-home { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--primary); }
@media (max-width: 768px) {
  .doc { padding: 28px 22px; }
  .header .doc-home { display: inline-flex; }
}
