:root {
  --bg: #ffffff;
  --surface: #f6f8fb;
  --surface-2: #eef3f8;
  --text: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --primary: #1f5eff;
  --primary-dark: #123fbd;
  --accent: #00a878;
  --warm: #ff7a45;
  --shadow: 0 18px 60px rgba(16, 24, 40, .10);
  --radius: 22px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans KR", Arial, sans-serif;
  line-height: 1.75;
  word-break: keep-all;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228,231,236,.8);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), #6c8cff);
  box-shadow: 0 8px 24px rgba(31,94,255,.25);
}

.nav-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  padding: 92px 0 70px;
  background:
    radial-gradient(circle at 80% 10%, rgba(31,94,255,.13), transparent 28%),
    radial-gradient(circle at 12% 20%, rgba(0,168,120,.09), transparent 25%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: #eaf0ff;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 20px;
}

h1, h2, h3, h4 { line-height: 1.3; letter-spacing: -.035em; margin-top: 0; }
h1 { font-size: clamp(42px, 6vw, 72px); margin-bottom: 24px; max-width: 900px; }
h2 { font-size: clamp(32px, 4.2vw, 50px); margin-bottom: 18px; }
h3 { font-size: clamp(23px, 2.4vw, 30px); margin-bottom: 14px; }
h4 { font-size: 19px; margin-bottom: 8px; }

.hero-lead {
  max-width: 790px;
  color: var(--muted);
  font-size: 20px;
  margin-bottom: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero-meta span {
  padding: 9px 13px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 35px rgba(16,24,40,.05);
}

.stat strong {
  display: block;
  color: var(--primary);
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -.04em;
  margin-bottom: 8px;
}

.stat span { color: var(--muted); font-size: 14px; }

section { padding: 96px 0; }
.section-muted { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: 46px; }
.section-kicker {
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.problem-head-row {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 46px;
}
.problem-head-row .section-head { margin-bottom: 0; }
.problem-head-row .visual { padding: 16px; }
.problem-head-row .visual svg { width: 100%; height: auto; display: block; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.problem-card, .solution-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
  padding: 30px;
  box-shadow: 0 12px 40px rgba(16,24,40,.04);
}

.number {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--primary);
  font-weight: 900;
  margin-bottom: 20px;
}

.problem-card p, .solution-card p { color: var(--muted); margin-bottom: 0; }
.checklist {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  color: #344054;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

.solution-block {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  margin-top: 64px;
}
.solution-block.reverse { grid-template-columns: .95fr 1.05fr; }
.solution-block.reverse .copy { order: 2; }
.solution-block.reverse .visual { order: 1; }

.badge {
  display: inline-block;
  color: var(--primary-dark);
  background: #eaf0ff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.feature {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}
.feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--primary);
}
.feature p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }

.visual {
  background: linear-gradient(145deg, #eef3ff, #f7fbff);
  border: 1px solid #dce5ff;
  padding: 18px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.visual img {
  border-radius: 17px;
  border: 1px solid var(--line);
  background: white;
}
.caption {
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 38px;
}
.ba-card {
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
}
.ba-card.before { border-top: 5px solid var(--warm); }
.ba-card.after { border-top: 5px solid var(--accent); }
.ba-label {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.before .ba-label { color: var(--warm); }
.after .ba-label { color: var(--accent); }
.ba-card ul { margin: 0; padding-left: 20px; color: var(--muted); }

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.step {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: white;
  position: relative;
}
.step-no {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
}
.step p { color: var(--muted); font-size: 14px; margin: 0; }

.quote {
  padding: 34px;
  border-radius: 24px;
  color: white;
  background: linear-gradient(135deg, #122257, #1f5eff);
  margin-top: 54px;
}
.quote strong { font-size: 24px; display: block; margin-bottom: 10px; }
.quote p { margin: 0; color: rgba(255,255,255,.82); }

.result-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: stretch;
}
.result-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 30px;
}
.result-card.highlight {
  color: white;
  background: linear-gradient(145deg, #123fbd, #1f5eff);
  border: 0;
}
.result-card.highlight p { color: rgba(255,255,255,.78); }
.big-number {
  font-size: 64px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.06em;
  margin: 28px 0 10px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-top: 30px;
  background: white;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 690px;
}
th, td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
th {
  background: var(--surface);
  font-size: 13px;
  color: #475467;
}
td { font-size: 14px; }
tr:last-child td { border-bottom: 0; }
.impact { font-weight: 900; color: var(--primary); }

.phase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.phase {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: white;
}
.phase strong {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary);
}
.phase small { color: var(--muted); display: block; margin-bottom: 10px; }
.phase p { color: #344054; margin: 0; font-size: 14px; }

.cta {
  padding: 70px 0 90px;
}
.cta-box {
  border-radius: 32px;
  padding: 54px;
  color: white;
  background:
    radial-gradient(circle at 90% 0%, rgba(255,255,255,.18), transparent 30%),
    linear-gradient(135deg, #111d48, #1f5eff);
  box-shadow: var(--shadow);
}
.cta-box h2 { max-width: 760px; }
.cta-box p { max-width: 720px; color: rgba(255,255,255,.78); font-size: 18px; }
.cta-button {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  padding: 14px 20px;
  border-radius: 12px;
  background: white;
  color: var(--primary-dark);
  font-weight: 900;
}

footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 44px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- video demo ---------- */
.video-frame {
  background: linear-gradient(145deg, #eef3ff, #f7fbff);
  border: 1px solid #dce5ff;
  padding: 18px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.video-frame video {
  display: block;
  width: 100%;
  max-height: 560px;
  border-radius: 17px;
  border: 1px solid var(--line);
  background: #000;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .stats, .workflow, .phase-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-head-row, .problem-grid, .solution-block, .solution-block.reverse, .result-grid {
    grid-template-columns: 1fr;
  }
  .solution-block.reverse .copy, .solution-block.reverse .visual { order: initial; }
  .before-after { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .hero { padding-top: 68px; }
  .stats, .workflow, .phase-grid { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .cta-box { padding: 34px 24px; }
  .problem-card, .solution-card, .result-card { padding: 24px; }
  h1 { font-size: 42px; }
}
