/* ==========================================================================
   WISHMON — AI Native Software Studio
   Dark-mode design system (single stylesheet, no build step)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --bg: #070A12;
  --surface: #101624;
  --card: #151D2E;
  --card-hover: #1A2438;
  --primary: #5B8CFF;
  --accent: #8B5CF6;
  --ai: #22D3EE;
  --success: #34D399;
  --text: #F8FAFC;
  --text-2: #94A3B8;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --grad-brand: linear-gradient(120deg, #5B8CFF, #8B5CF6);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-glow-primary: 0 0 0 1px rgba(91, 140, 255, 0.22), 0 8px 22px rgba(91, 140, 255, 0.10);
  --shadow-glow-ai: 0 0 0 1px rgba(34, 211, 238, 0.28), 0 8px 22px rgba(34, 211, 238, 0.08);

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --container: 1160px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl { margin: 0; }
h1, h2, h3, h4 { word-break: keep-all; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(91, 140, 255, 0.4); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 104px 0; position: relative; }
.section-tight { padding: 72px 0; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--primary);
  opacity: 0.7;
}
.section-head.center .eyebrow::after {
  content: "";
  width: 22px; height: 1px;
  background: var(--primary);
  opacity: 0.7;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-desc {
  margin-top: 18px;
  color: var(--text-2);
  font-size: 17px;
}
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-position 0.45s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 4px 14px rgba(91, 140, 255, 0.22);
}
.btn-primary:hover {
  background: #4A76EE;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(91, 140, 255, 0.28);
}
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover {
  border-color: rgba(91, 140, 255, 0.6);
  box-shadow: var(--shadow-glow-primary);
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 10px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(7, 10, 18, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.02em;
}
.brand img { width: 28px; height: 28px; }
.brand-name { color: var(--text); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  padding: 9px 13px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 8px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta { margin-left: 8px; }
/* .nav-links a(0,1,1)가 .btn-primary(0,1,0)보다 우선해 CTA 글자가 회색이 되는 것을 방지 */
.nav-links .nav-cta, .nav-links .nav-cta:hover { color: #fff; }
.nav-links .nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border-radius: 10px;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s, top 0.3s var(--ease);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 88px) 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -220px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 520px;
  background:
    radial-gradient(closest-side, rgba(91, 140, 255, 0.10), transparent 70%),
    radial-gradient(closest-side, rgba(139, 92, 246, 0.06), transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 780px;
}
.page-hero p {
  margin-top: 20px;
  max-width: 720px;
  color: var(--text-2);
  font-size: 17px;
}

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 140, 255, 0.35);
  box-shadow: var(--shadow-glow-primary);
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 15px; }

.card-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 18px;
  background: rgba(91, 140, 255, 0.12);
  border: 1px solid rgba(91, 140, 255, 0.25);
  color: var(--primary);
}
.card-icon svg { width: 22px; height: 22px; }
.card-icon.ic-ai { background: rgba(34, 211, 238, 0.10); border-color: rgba(34, 211, 238, 0.28); color: var(--ai); }
.card-icon.ic-accent { background: rgba(139, 92, 246, 0.12); border-color: rgba(139, 92, 246, 0.30); color: var(--accent); }
.card-icon.ic-success { background: rgba(52, 211, 153, 0.10); border-color: rgba(52, 211, 153, 0.28); color: var(--success); }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 96px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 480px at 18% 8%, rgba(91, 140, 255, 0.09), transparent 65%),
    radial-gradient(640px 480px at 85% 30%, rgba(139, 92, 246, 0.07), transparent 65%),
    radial-gradient(520px 420px at 70% 90%, rgba(34, 211, 238, 0.04), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(91, 140, 255, 0.4);
  background: rgba(91, 140, 255, 0.08);
  color: #A8C2FF;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.hero-sub {
  margin-top: 24px;
  color: var(--text-2);
  font-size: 17px;
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-tags {
  margin-top: 40px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.hero-tags .sep { color: rgba(148, 163, 184, 0.45); }

/* ---------- Hero graphic (interactive AI system) ---------- */
.hero-visual { position: relative; min-height: 480px; }
.hg {
  position: relative;
  will-change: transform;
}
.hg-layer { transition: transform 0.2s ease-out; will-change: transform; }

.hg-window {
  position: relative;
  background: linear-gradient(180deg, rgba(21, 29, 46, 0.92), rgba(16, 22, 36, 0.92));
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  box-shadow: var(--shadow-card), 0 0 80px rgba(91, 140, 255, 0.07);
  overflow: hidden;
}
.hg-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.hg-dots { display: flex; gap: 6px; }
.hg-dots i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.hg-dots i:first-child { background: rgba(91, 140, 255, 0.7); }
.hg-title {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 600;
}
.hg-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--success);
}
.hg-live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}
.hg-body { padding: 22px 22px 24px; }

.hg-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 10px;
}
.hg-prompt {
  border: 1px solid rgba(91, 140, 255, 0.35);
  background: rgba(91, 140, 255, 0.06);
  border-radius: 12px;
  padding: 14px 16px;
}
.hg-prompt-line {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 14.5px;
  min-height: 48px;
  color: var(--text);
}
.hg-prompt-line .arrow { color: var(--primary); font-weight: 700; }
.hg-caret {
  display: inline-block;
  width: 8px; height: 17px;
  background: var(--ai);
  margin-left: 2px;
  transform: translateY(3px);
  animation: caret-blink 1s steps(1) infinite;
}

.hg-conn {
  width: 2px;
  height: 26px;
  margin: 4px auto;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary), var(--ai));
  background-size: 100% 300%;
  opacity: 0.25;
  transition: opacity 0.4s;
}
.hg.on .hg-conn { opacity: 1; animation: flow-y 1.6s linear infinite; }

.hg-analysis {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.hg-analysis .hg-label { margin-bottom: 0; color: var(--ai); }
.hg-analysis.on { border-color: rgba(34, 211, 238, 0.4); box-shadow: var(--shadow-glow-ai); }
.hg-spinner {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(34, 211, 238, 0.25);
  border-top-color: var(--ai);
  animation: spin 0.9s linear infinite;
}
.hg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.hg-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.07);
  color: #A5F3FC;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.hg-analysis.on .hg-chip { opacity: 1; transform: none; }
.hg-analysis.on .hg-chip:nth-child(2) { transition-delay: 0.15s; }
.hg-analysis.on .hg-chip:nth-child(3) { transition-delay: 0.3s; }

.hg-branch { width: 100%; height: 44px; margin: 2px 0; }
.hg-branch path {
  fill: none;
  stroke: rgba(148, 163, 184, 0.22);
  stroke-width: 1.5;
}
.hg-branch path.lit {
  stroke: url(#hgGrad);
  stroke-dasharray: 6 7;
  animation: dash-move 1.4s linear infinite;
}

.hg-nodes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.hg-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 11px 4px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  transition: border-color 0.35s, color 0.35s, box-shadow 0.35s, background 0.35s;
}
.hg-node i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.4);
  transition: background 0.35s, box-shadow 0.35s;
}
.hg-node.lit {
  border-color: rgba(91, 140, 255, 0.55);
  background: rgba(91, 140, 255, 0.08);
  color: var(--text);
}
.hg-node.lit i {
  background: var(--ai);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.8);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hg-result {
  margin-top: 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0.45;
  transition: opacity 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.hg-result.on {
  opacity: 1;
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.25), 0 8px 32px rgba(52, 211, 153, 0.12);
}
.hg-check {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--success);
  font-weight: 800;
}
.hg-result-title { font-size: 14.5px; font-weight: 700; }
.hg-result-sub { font-size: 12.5px; color: var(--text-2); margin-top: 2px; }

.hg-pipeline {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-2);
}
.hg-pipeline .pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.4s, color 0.4s;
}
.hg-pipeline .pill.lit { border-color: rgba(34, 211, 238, 0.45); color: var(--ai); }
.hg-pipeline .arr { color: rgba(148, 163, 184, 0.5); }

/* ---------- Stats ---------- */
.stats { padding: 24px 0 96px; }
.stat-card { text-align: left; padding: 30px 28px; }
.stat-value {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-value .unit { font-size: 22px; }
.stat-label { margin-top: 10px; font-weight: 700; font-size: 16px; color: var(--text); }
.stat-desc { margin-top: 6px; font-size: 14px; color: var(--text-2); }

/* ---------- Workflow ---------- */
.wf { position: relative; }
.wf-steps {
  display: flex;
  gap: 14px;
  position: relative;
  counter-reset: wf;
}
.wf-steps::before {
  content: "";
  position: absolute;
  top: 34px; left: 4%; right: 4%;
  height: 2px;
  background-image: linear-gradient(90deg,
    rgba(91, 140, 255, 0.5) 0 8px, transparent 8px 18px);
  background-size: 18px 2px;
  animation: dash-x 1.2s linear infinite;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.wf-step {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  z-index: 1;
  transition: flex-grow 0.5s var(--ease);
}
.wf-step.active { flex-grow: 2.1; }
.wf-step-btn {
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.35s, box-shadow 0.35s, background 0.35s;
}
.wf-step:hover .wf-step-btn { border-color: rgba(91, 140, 255, 0.4); }
.wf-step.active .wf-step-btn {
  border-color: rgba(91, 140, 255, 0.5);
  box-shadow: var(--shadow-glow-primary);
  background: var(--card-hover);
}
.wf-num {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-2);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 14px;
  transition: all 0.35s;
}
.wf-step.active .wf-num {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(91, 140, 255, 0.4);
}
.wf-name { font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em; }
.wf-kr { font-size: 13px; color: var(--text-2); margin-top: 3px; }
.wf-detail {
  display: block;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s var(--ease), opacity 0.4s 0.1s, margin-top 0.5s var(--ease);
}
.wf-step.active .wf-detail {
  max-height: 220px;
  opacity: 1;
  margin-top: 14px;
}
.wf-detail-text {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-2);
  border-top: 1px solid var(--border);
  padding-top: 13px;
}

/* ---------- Service cards ---------- */
.svc-card { display: flex; flex-direction: column; padding: 30px; overflow: hidden; }
.svc-card h3 { font-size: 19px; }
.svc-card > p { flex: 0 0 auto; }
.svc-diagram {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(148, 163, 184, 0.25);
  position: relative;
}
.svc-diagram::before {
  content: attr(data-title);
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ai);
  margin-bottom: 12px;
  opacity: 0.9;
}
.svc-nodes { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-node {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    border-color 0.35s, color 0.35s;
}
.svc-node::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.svc-card:hover .svc-node,
.svc-card:focus-within .svc-node {
  opacity: 1;
  transform: none;
  border-color: rgba(91, 140, 255, 0.4);
  color: var(--text);
}
.svc-card:hover .svc-node:nth-child(2) { transition-delay: 0.06s; }
.svc-card:hover .svc-node:nth-child(3) { transition-delay: 0.12s; }
.svc-card:hover .svc-node:nth-child(4) { transition-delay: 0.18s; }
.svc-card:hover .svc-node:nth-child(5) { transition-delay: 0.24s; }
.svc-card:hover .svc-node:nth-child(6) { transition-delay: 0.3s; }
.svc-link {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.svc-link:hover { color: var(--ai); }

/* Feature list (services page) */
.feature-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.feature-list li {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- Process ---------- */
.proc-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.proc-step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.proc-step:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.3), 0 8px 32px rgba(139, 92, 246, 0.15);
}
.proc-step .num {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.proc-step h3 { font-size: 15.5px; font-weight: 700; margin-top: 10px; line-height: 1.4; }
.proc-step p { font-size: 13.5px; color: var(--text-2); margin-top: 8px; }

/* Detailed timeline */
.timeline { position: relative; max-width: 760px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 19px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  opacity: 0.35;
}
.tl-item { position: relative; padding: 0 0 36px 64px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .tl-dot {
  position: absolute;
  left: 8px; top: 2px;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  background: var(--card);
  border: 1px solid rgba(91, 140, 255, 0.5);
  color: var(--primary);
}
.tl-item h3 { font-size: 17px; font-weight: 700; }
.tl-item p { color: var(--text-2); font-size: 14.5px; margin-top: 6px; max-width: 620px; }

/* ---------- News ---------- */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.news-filter button {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s;
  position: relative;
}
.news-filter button:hover { color: var(--text); border-color: var(--border-strong); }
.news-filter button.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(91, 140, 255, 0.25);
}
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.news-item:hover { border-color: rgba(91, 140, 255, 0.4); }
.news-item.open { border-color: rgba(91, 140, 255, 0.45); box-shadow: var(--shadow-glow-primary); }
.news-item-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
}
.news-cat {
  flex: none;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid;
}
.news-cat.c-notice  { color: var(--primary); border-color: rgba(91, 140, 255, 0.4); background: rgba(91, 140, 255, 0.08); }
.news-cat.c-company { color: var(--success); border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.08); }
.news-cat.c-blog    { color: var(--ai); border-color: rgba(34, 211, 238, 0.4); background: rgba(34, 211, 238, 0.08); }
.news-cat.c-project { color: var(--accent); border-color: rgba(139, 92, 246, 0.4); background: rgba(139, 92, 246, 0.08); }
.news-item-title { font-size: 16px; font-weight: 600; flex: 1; min-width: 0; }
.news-date { flex: none; font-size: 13.5px; color: var(--text-2); }
.news-chevron {
  flex: none;
  color: var(--text-2);
  transition: transform 0.3s var(--ease);
}
.news-item.open .news-chevron { transform: rotate(180deg); color: var(--primary); }
.news-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.news-body-inner {
  padding: 0 24px 24px;
  color: var(--text-2);
  font-size: 15px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin: 0 24px 24px;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}
.news-body-inner p + p { margin-top: 12px; }

/* News preview cards (home) */
.news-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; }
.news-card .news-cat { align-self: flex-start; }
.news-card h3 { font-size: 16.5px; line-height: 1.45; }
.news-card time { font-size: 13px; color: var(--text-2); margin-top: auto; }

/* ---------- Compare (AI Native page) ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 30px;
}
.compare-col.highlight {
  border-color: rgba(91, 140, 255, 0.4);
  background: linear-gradient(160deg, rgba(91, 140, 255, 0.06), rgba(139, 92, 246, 0.04)), var(--card);
  box-shadow: var(--shadow-glow-primary);
}
.compare-col h3 { font-size: 17px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.compare-col.highlight h3 { color: #A8C2FF; }
.compare-col li {
  position: relative;
  padding: 9px 0 9px 28px;
  color: var(--text-2);
  font-size: 15px;
}
.compare-col li::before {
  content: "";
  position: absolute;
  left: 4px; top: 17px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.4);
}
.compare-col.highlight li { color: var(--text); }
.compare-col.highlight li::before { background: var(--primary); box-shadow: none; }

/* ---------- Info table (about) ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.info-table th, .info-table td {
  text-align: left;
  padding: 17px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th {
  width: 180px;
  color: var(--text-2);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
}
.table-wrap { border-radius: var(--radius); overflow-x: auto; border: 1px solid var(--border); }
.table-wrap .info-table { border: 0; border-radius: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: 24px;
  padding: 64px 48px;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(91, 140, 255, 0.25);
  background:
    radial-gradient(500px 260px at 20% 0%, rgba(91, 140, 255, 0.13), transparent 70%),
    radial-gradient(500px 260px at 80% 100%, rgba(139, 92, 246, 0.11), transparent 70%),
    var(--surface);
}
.cta-banner h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.cta-banner p { margin: 16px auto 0; max-width: 560px; color: var(--text-2); }
.cta-banner .btn { margin-top: 32px; }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.contact-form-card, .contact-aside .card { padding: 34px; }
.form-field { margin-bottom: 22px; }
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 9px;
}
.form-field .req { color: var(--ai); margin-left: 3px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  padding: 13px 15px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-field select {
  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' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.18);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(148, 163, 184, 0.55); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.type-desc {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid rgba(91, 140, 255, 0.35);
  background: rgba(91, 140, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-2);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.type-desc.show { opacity: 1; transform: none; }
.type-desc .ic { color: var(--primary); flex: none; margin-top: 2px; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  font-size: 14px;
  color: var(--text-2);
}
.consent input {
  flex: none;
  width: 18px; height: 18px;
  margin: 2px 0 0;
  accent-color: var(--primary);
}
.consent a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.form-error {
  display: none;
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.08);
  color: #FCA5A5;
  font-size: 14px;
}
.form-error.show { display: block; }

.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.form-success.show { display: block; }
.form-success .ok-icon {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: var(--success);
  box-shadow: 0 0 40px rgba(52, 211, 153, 0.25);
}
.form-success h3 { font-size: 20px; margin-bottom: 10px; }
.form-success p { color: var(--text-2); font-size: 15px; }
.form-success .note { margin-top: 14px; font-size: 13.5px; }
.form-success .note a { color: var(--primary); }

.contact-aside .card + .card { margin-top: 20px; }
.contact-aside h3 { display: flex; align-items: center; gap: 10px; }
.aside-item { display: flex; flex-direction: column; gap: 3px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.aside-item:last-child { border-bottom: 0; }
.aside-item .k { font-size: 13px; color: var(--text-2); }
.aside-item .v { font-size: 15px; font-weight: 600; }
.aside-item .v a { color: var(--primary); }

/* ---------- Prose (privacy / news bodies) ---------- */
.prose { max-width: 760px; color: var(--text-2); }
.prose h2 { font-size: 20px; font-weight: 700; color: var(--text); margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; font-size: 15.5px; }
.prose ul { margin: 0 0 14px; padding-left: 4px; }
.prose li {
  position: relative;
  padding: 4px 0 4px 22px;
  font-size: 15.5px;
}
.prose li::before {
  content: "";
  position: absolute;
  left: 4px; top: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.prose strong { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 64px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a, .footer-col span {
  font-size: 14.5px;
  color: var(--text-2);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-col a.mail { color: var(--primary); font-weight: 600; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-2);
}
.footer-bottom a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 2px;
  z-index: 200;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- Card cursor spotlight ---------- */
@media (hover: hover) {
  .card::after,
  .proc-step::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s;
    background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%),
      rgba(91, 140, 255, 0.06), transparent 65%);
  }
  .card:hover::after,
  .proc-step:hover::after { opacity: 1; }
}

/* ---------- Timeline scroll drawing ---------- */
.timeline::before { opacity: 0.12; }
.timeline::after {
  content: "";
  position: absolute;
  left: 19px; top: 8px;
  width: 2px;
  height: calc(var(--tl-p, 0) * (100% - 16px));
  background: linear-gradient(180deg, var(--primary), var(--accent));
  box-shadow: 0 0 8px rgba(91, 140, 255, 0.3);
}
.tl-item .tl-dot { transition: border-color 0.4s, color 0.4s, box-shadow 0.4s; }
.tl-item .tl-dot.lit {
  border-color: var(--primary);
  color: #A8C2FF;
  box-shadow: 0 0 10px rgba(91, 140, 255, 0.35);
}

/* ---------- Keyframes ---------- */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}
@keyframes caret-blink { 50% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash-move { to { stroke-dashoffset: -26; } }
@keyframes dash-x { to { background-position: 18px 0; } }
@keyframes flow-y {
  0% { background-position: 0 0%; }
  100% { background-position: 0 300%; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .section { padding: 84px 0; }
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; min-height: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .proc-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 20px 24px;
    /* 부모 헤더의 backdrop-filter와 중첩되면 Chrome이 반투명 배경을 제대로
       합성하지 못하므로 모바일 메뉴는 불투명 배경을 사용한다. */
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s, visibility 0.3s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 13px 12px; font-size: 16px; }
  .nav-links a::after { display: none; }
  .nav-links a[aria-current="page"] { background: rgba(91, 140, 255, 0.1); border-radius: 10px; }
  .nav-cta { margin: 10px 0 0; }
  .nav-toggle { display: block; }

  /* Workflow → vertical timeline */
  .wf-steps { flex-direction: column; gap: 12px; }
  .wf-steps::before {
    top: 8px; bottom: 8px; left: 34px; right: auto;
    width: 2px; height: auto;
    background-image: linear-gradient(180deg, rgba(91, 140, 255, 0.5) 0 8px, transparent 8px 18px);
    background-size: 2px 18px;
    animation: none;
  }
  .wf-step.active { flex-grow: 1; }
  .wf-step-btn { flex-direction: column; }

  .compare-grid { grid-template-columns: 1fr; }
  .ai-demo-pane { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-aside { order: 2; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .grid-4, .grid-3, .grid-2, .proc-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hg-nodes { grid-template-columns: repeat(5, 1fr); gap: 5px; }
  .hg-node { font-size: 10.5px; padding: 9px 2px 8px; }
  .hg-body { padding: 16px 14px 18px; }
  .news-item-head { flex-wrap: wrap; gap: 10px; padding: 18px; }
  .news-item-title { flex-basis: 100%; order: 3; }
  .news-body-inner { margin: 0 18px 18px; }
  .cta-banner { padding: 48px 24px; }
  .contact-form-card, .contact-aside .card { padding: 24px 20px; }
  .info-table th { width: 120px; padding: 14px 16px; }
  .info-table td { padding: 14px 16px; }
  /* Service diagrams always visible on touch layouts */
  .svc-node { opacity: 1; transform: none; }
}

/* ---------- Effects v2: 히어로 로드인 ---------- */
.hero-badge, .hero-sub, .hero-ctas, .hero-tags { animation: rise-in 0.8s var(--ease) both; }
.hero h1 { animation: rise-in-blur 0.9s var(--ease) 0.08s both; }
.hero-sub { animation-delay: 0.22s; }
.hero-ctas { animation-delay: 0.34s; }
.hero-tags { animation-delay: 0.46s; }
.hero-visual {
  animation:
    rise-in 0.9s var(--ease) 0.28s both,
    float-y 9s ease-in-out 1.6s infinite;
}

/* ---------- AI 기능 미니 데모 (ai-native 페이지) ---------- */
.ai-demo {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}
.ai-demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}
.ai-demo-tab {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s;
}
.ai-demo-tab:hover { color: var(--text); border-color: var(--border-strong); }
.ai-demo-tab.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(91, 140, 255, 0.25);
}
.ai-demo-stage { position: relative; min-height: 300px; }
.ai-demo-pane {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
  padding: 36px;
}
.ai-demo-pane.active { display: grid; animation: rise-in 0.45s var(--ease); }
.ai-demo-info h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.ai-demo-info p { color: var(--text-2); font-size: 15.5px; }

/* 픽토그램 공통 캔버스 */
.pg {
  position: relative;
  height: 220px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    var(--surface);
  background-size: 28px 28px, 28px 28px, auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 챗봇: 말풍선 대화 */
.pg-chat { flex-direction: column; gap: 12px; padding: 24px; align-items: stretch; }
.pg-chat i {
  height: 34px;
  border-radius: 12px;
  opacity: 0;
}
.pg-chat .u { width: 55%; align-self: flex-end; background: rgba(91, 140, 255, 0.25); border: 1px solid rgba(91, 140, 255, 0.4); }
.pg-chat .a { width: 68%; align-self: flex-start; background: rgba(34, 211, 238, 0.12); border: 1px solid rgba(34, 211, 238, 0.35); }
.ai-demo-pane.active .pg-chat i { animation: chat-in 5.5s var(--ease) infinite; }
.ai-demo-pane.active .pg-chat i:nth-child(2) { animation-delay: 0.9s; }
.ai-demo-pane.active .pg-chat i:nth-child(3) { animation-delay: 1.8s; }

/* 문서 요약: 문서 라인 → 요약 블록 */
.pg-doc { flex-direction: column; gap: 9px; padding: 26px 34px; align-items: stretch; }
.pg-doc i { height: 9px; border-radius: 4px; background: rgba(148, 163, 184, 0.35); }
.pg-doc i:nth-child(2) { width: 86%; }
.pg-doc i:nth-child(3) { width: 92%; }
.pg-doc i:nth-child(4) { width: 70%; }
.ai-demo-pane.active .pg-doc i { animation: doc-dim 4.5s ease-in-out infinite; }
.pg-doc .sum {
  height: 40px;
  border-radius: 10px;
  margin-top: 8px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.45);
  opacity: 0;
}
.ai-demo-pane.active .pg-doc .sum { animation: sum-in 4.5s var(--ease) infinite; }

/* 자연어 검색: 검색바 + 결과 */
.pg-search { flex-direction: column; gap: 12px; padding: 26px 30px; align-items: stretch; }
.pg-search .bar {
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(91, 140, 255, 0.5);
  background: rgba(91, 140, 255, 0.08);
  position: relative;
}
.pg-search .bar::after {
  content: "";
  position: absolute;
  left: 16px; top: 13px;
  width: 8px; height: 16px;
  background: var(--ai);
  animation: caret-blink 1s steps(1) infinite;
}
.pg-search .row { height: 26px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); opacity: 0; }
.ai-demo-pane.active .pg-search .row { animation: row-in 4s var(--ease) infinite; }
.ai-demo-pane.active .pg-search .row:nth-child(3) { animation-delay: 0.25s; }
.ai-demo-pane.active .pg-search .row:nth-child(4) { animation-delay: 0.5s; }

/* 시각화/예측: 막대 차트 (예측 구간은 점선) */
.pg-bars { gap: 14px; align-items: flex-end; padding: 30px 34px 26px; }
.pg-bars i {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--primary), rgba(91, 140, 255, 0.25));
  transform-origin: bottom;
  height: calc(var(--h) * 1%);
  max-height: 100%;
}
.pg-bars i.f {
  background: rgba(34, 211, 238, 0.1);
  border: 1.5px dashed rgba(34, 211, 238, 0.6);
}
.ai-demo-pane.active .pg-bars i { animation: bar-grow 3.6s var(--ease) infinite; }
.ai-demo-pane.active .pg-bars i:nth-child(2) { animation-delay: 0.1s; }
.ai-demo-pane.active .pg-bars i:nth-child(3) { animation-delay: 0.2s; }
.ai-demo-pane.active .pg-bars i:nth-child(4) { animation-delay: 0.3s; }
.ai-demo-pane.active .pg-bars i:nth-child(5) { animation-delay: 0.4s; }
.ai-demo-pane.active .pg-bars i:nth-child(6) { animation-delay: 0.5s; }

/* 추천: 카드 3장 중 하나가 떠오름 */
.pg-rec { gap: 14px; padding: 30px; }
.pg-rec i {
  width: 74px; height: 100px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}
.ai-demo-pane.active .pg-rec i.pick { animation: rec-lift 3.2s var(--ease) infinite; }
.pg-rec i.pick { position: relative; }
.pg-rec i.pick::after {
  content: "★";
  position: absolute;
  top: -10px; right: -8px;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #06121a;
  background: var(--ai);
}

/* 분류: 항목이 두 그룹으로 이동 */
.pg-sort { gap: 40px; padding: 26px; }
.pg-sort .bin {
  width: 96px; height: 130px;
  border-radius: 12px;
  border: 1.5px dashed rgba(148, 163, 184, 0.4);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}
.pg-sort .bin i { height: 20px; border-radius: 6px; opacity: 0; }
.pg-sort .bin.a i { background: rgba(91, 140, 255, 0.35); }
.pg-sort .bin.b i { background: rgba(139, 92, 246, 0.35); }
.ai-demo-pane.active .pg-sort .bin i { animation: row-in 3.8s var(--ease) infinite; }
.ai-demo-pane.active .pg-sort .bin i:nth-child(2) { animation-delay: 0.3s; }
.ai-demo-pane.active .pg-sort .bin i:nth-child(3) { animation-delay: 0.6s; }
.ai-demo-pane.active .pg-sort .bin.b i { animation-delay: 0.15s; }
.ai-demo-pane.active .pg-sort .bin.b i:nth-child(2) { animation-delay: 0.45s; }
.ai-demo-pane.active .pg-sort .bin.b i:nth-child(3) { animation-delay: 0.75s; }

/* 자동화 워크플로: 노드 순차 점등 */
.pg-flow { gap: 0; padding: 0 26px; }
.pg-flow .node {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.pg-flow .link {
  flex: 1;
  height: 2px;
  background-image: linear-gradient(90deg, rgba(34, 211, 238, 0.55) 0 6px, transparent 6px 14px);
  background-size: 14px 2px;
}
.ai-demo-pane.active .pg-flow .link { animation: dash-x 1s linear infinite; }
.ai-demo-pane.active .pg-flow .node { animation: node-glow 4s ease-in-out infinite; }
.ai-demo-pane.active .pg-flow .node:nth-child(3) { animation-delay: 0.8s; }
.ai-demo-pane.active .pg-flow .node:nth-child(5) { animation-delay: 1.6s; }
.ai-demo-pane.active .pg-flow .node:nth-child(7) { animation-delay: 2.4s; }

@keyframes chat-in {
  0%, 8% { opacity: 0; transform: translateY(10px); }
  16%, 82% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; }
}
@keyframes doc-dim {
  0%, 30% { opacity: 1; }
  55%, 85% { opacity: 0.28; }
  100% { opacity: 1; }
}
@keyframes sum-in {
  0%, 35% { opacity: 0; transform: translateY(8px); }
  55%, 88% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
@keyframes row-in {
  0%, 12% { opacity: 0; transform: translateY(8px); }
  28%, 82% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; }
}
@keyframes bar-grow {
  0% { transform: scaleY(0.1); }
  35%, 85% { transform: scaleY(1); }
  100% { transform: scaleY(0.1); }
}
@keyframes rec-lift {
  0%, 15% { transform: none; box-shadow: none; border-color: var(--border); }
  40%, 80% { transform: translateY(-12px); border-color: rgba(34, 211, 238, 0.6); box-shadow: 0 12px 28px rgba(34, 211, 238, 0.18); }
  100% { transform: none; }
}
@keyframes node-glow {
  0%, 10% { border-color: var(--border); background: rgba(255, 255, 255, 0.03); }
  22%, 75% { border-color: rgba(34, 211, 238, 0.65); background: rgba(34, 211, 238, 0.12); box-shadow: 0 0 14px rgba(34, 211, 238, 0.35); }
  95%, 100% { border-color: var(--border); background: rgba(255, 255, 255, 0.03); }
}

/* ---------- 서비스 라이브 윈도우 (services 페이지, 히어로 그래픽과 같은 언어) ---------- */
.svc-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 44px;
  align-items: center;
}
@media (max-width: 860px) {
  .svc-detail { grid-template-columns: 1fr; gap: 28px; }
}

.svc-win {
  display: block;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(16, 22, 36, 0.9), rgba(7, 10, 18, 0.9));
  box-shadow: var(--shadow-card), 0 0 60px rgba(91, 140, 255, 0.05);
  overflow: hidden;
}
.sw-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.sw-dots { display: flex; gap: 5px; }
.sw-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); display: block; }
.sw-dots i:first-child { background: rgba(91, 140, 255, 0.7); }
.sw-title {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-2);
}
.sw-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--success);
}
.sw-live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}
.sw-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 216px;
  padding: 26px;
  gap: 14px;
}

/* AI 솔루션: 데이터 → 모델 → 인사이트 */
.sw-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.sw-lbl {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 2px;
}
.sw-row { display: block; height: 10px; border-radius: 5px; background: rgba(148, 163, 184, 0.3); opacity: 0; }
.sw-row.w2 { width: 78%; }
.sw-row.w3 { width: 60%; }
.sw-ai .sw-row { animation: row-in 4.4s var(--ease) infinite; }
.sw-ai .sw-row.w2 { animation-delay: 0.25s; }
.sw-ai .sw-row.w3 { animation-delay: 0.5s; }
.sw-link {
  display: block;
  flex: none;
  width: 30px; height: 2px;
  background-image: linear-gradient(90deg, rgba(34, 211, 238, 0.6) 0 5px, transparent 5px 11px);
  background-size: 11px 2px;
  animation: dash-x 1s linear infinite;
}
.sw-model {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 74px; height: 74px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ai);
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.07);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.18);
}
.sw-model i {
  display: block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ai);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
.sw-res { display: block; height: 14px; border-radius: 6px; opacity: 0; background: rgba(91, 140, 255, 0.35); border: 1px solid rgba(91, 140, 255, 0.45); }
.sw-res.g { width: 72%; background: rgba(52, 211, 153, 0.2); border-color: rgba(52, 211, 153, 0.5); }
.sw-ai .sw-res { animation: row-in 4.4s var(--ease) infinite; animation-delay: 1.1s; }
.sw-ai .sw-res.g { animation-delay: 1.35s; }

/* 모바일 앱: 화면 조립 + 알림 */
.sw-phone {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 148px;
  padding: 22px 12px 14px;
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  background: rgba(7, 10, 18, 0.8);
  overflow: hidden;
}
.ph-notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 5px;
  border-radius: 3px;
  background: rgba(148, 163, 184, 0.3);
  display: block;
}
.ph-block { display: block; border-radius: 9px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); opacity: 0; }
.ph-b1 { height: 30px; }
.ph-b2 { height: 44px; }
.ph-b3 { height: 44px; }
.sw-app .ph-block { animation: pop-in 5s var(--ease) infinite; }
.sw-app .ph-b2 { animation-delay: 0.3s; }
.sw-app .ph-b3 { animation-delay: 0.6s; }
.ph-b3.hl { border-color: rgba(139, 92, 246, 0.55); background: rgba(139, 92, 246, 0.1); }
.ph-noti {
  position: absolute;
  top: 18px; left: 10px; right: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text);
  border: 1px solid rgba(34, 211, 238, 0.4);
  background: rgba(13, 24, 38, 0.96);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(-16px);
}
.ph-noti i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--ai); }
.sw-app .ph-noti { animation: noti-drop 5s var(--ease) infinite; }

/* 웹: 페이지 조립 + AI 검색 */
.sw-web { flex-direction: column; align-items: stretch; gap: 10px; padding: 24px 28px; }
.wb-nav { display: block; height: 16px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); opacity: 0; }
.wb-search {
  display: block;
  position: relative;
  height: 30px;
  border-radius: 9px;
  border: 1px solid rgba(91, 140, 255, 0.5);
  background: rgba(91, 140, 255, 0.07);
  opacity: 0;
}
.wb-caret {
  position: absolute;
  left: 12px; top: 8px;
  width: 6px; height: 14px;
  background: var(--ai);
  display: block;
  animation: caret-blink 1s steps(1) infinite;
}
.wb-hero { display: block; height: 48px; border-radius: 9px; background: linear-gradient(120deg, rgba(91, 140, 255, 0.18), rgba(139, 92, 246, 0.14)); border: 1px solid rgba(91, 140, 255, 0.3); opacity: 0; }
.wb-cards { display: flex; gap: 10px; }
.wb-cards i { display: block; flex: 1; height: 34px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); opacity: 0; }
.sw-web .wb-nav { animation: pop-in 5s var(--ease) infinite; }
.sw-web .wb-search { animation: pop-in 5s var(--ease) infinite 0.25s; }
.sw-web .wb-hero { animation: pop-in 5s var(--ease) infinite 0.5s; }
.sw-web .wb-cards i { animation: pop-in 5s var(--ease) infinite; }
.sw-web .wb-cards i:nth-child(1) { animation-delay: 0.75s; }
.sw-web .wb-cards i:nth-child(2) { animation-delay: 0.9s; }
.sw-web .wb-cards i:nth-child(3) { animation-delay: 1.05s; }

/* 백엔드: API 로그 + 상태 */
.sw-be { gap: 22px; }
.be-logs { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; }
.be-log { display: flex; align-items: center; gap: 8px; opacity: 0; }
.sw-be .be-log { animation: row-in 4.6s var(--ease) infinite; }
.sw-be .be-log:nth-child(2) { animation-delay: 0.35s; }
.sw-be .be-log:nth-child(3) { animation-delay: 0.7s; }
.sw-be .be-log:nth-child(4) { animation-delay: 1.05s; }
.be-log .m { display: block; flex: none; width: 34px; height: 12px; border-radius: 4px; background: rgba(91, 140, 255, 0.35); }
.be-log .p { display: block; height: 8px; border-radius: 4px; background: rgba(148, 163, 184, 0.3); width: 60%; }
.be-log .p.p2 { width: 42%; }
.be-log .p.p3 { width: 74%; }
.be-log b { display: block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--success); margin-left: auto; }
.be-side { display: flex; flex-direction: column; gap: 9px; flex: none; }
.be-st {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-2);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.be-st i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--success); animation: pulse-dot 2.2s ease-in-out infinite; }
.be-st:nth-child(2) i { animation-delay: 0.4s; }
.be-st:nth-child(3) i { animation-delay: 0.8s; }

/* AX: 로드맵 진행 */
.sw-ax { gap: 0; padding: 26px 30px; }
.ax-nd {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 74px;
  padding: 14px 12px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.sw-ax .ax-nd { animation: node-glow 5.2s ease-in-out infinite; }
.sw-ax .ax-nd:nth-child(3) { animation-delay: 1.1s; }
.sw-ax .ax-nd:nth-child(5) { animation-delay: 2.2s; }
.ax-lk {
  display: block;
  flex: 1;
  height: 2px;
  margin: 0 6px;
  background-image: linear-gradient(90deg, rgba(34, 211, 238, 0.55) 0 6px, transparent 6px 13px);
  background-size: 13px 2px;
  animation: dash-x 1.1s linear infinite;
}

@keyframes pop-in {
  0% { opacity: 0; transform: scale(0.93); }
  16%, 84% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; }
}
@keyframes noti-drop {
  0%, 38% { opacity: 0; transform: translateY(-16px); }
  48%, 80% { opacity: 1; transform: none; }
  90%, 100% { opacity: 0; transform: translateY(-6px); }
}

/* ---------- 페이지 히어로 비주얼 (서브페이지 공통) ---------- */
.ph-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}
.ph-visual { max-width: 440px; width: 100%; justify-self: end; }
.ph-visual .sw-body { min-height: 186px; padding: 24px; }
@media (max-width: 860px) {
  .ph-cols { grid-template-columns: 1fr; gap: 36px; }
  .ph-visual { justify-self: stretch; max-width: 520px; }
}

/* 회사소개: 프로필 카드 (한 번만 등장) */
.sw-id { flex-direction: column; align-items: stretch; gap: 10px; }
.id-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  opacity: 0;
  transform: translateY(10px);
  animation: fact-in 0.7s var(--ease) forwards;
}
.id-row:nth-child(2) { animation-delay: 0.15s; }
.id-row:nth-child(3) { animation-delay: 0.3s; }
.id-row:nth-child(4) { animation-delay: 0.45s; }
.id-row .k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}
.id-row .v { font-size: 13.5px; font-weight: 800; color: var(--text); white-space: nowrap; }
.id-row .v.c { color: var(--ai); }

/* AI Native: AI 코어 구조도 */
.sw-hub { flex-direction: column; gap: 6px; }
.hub-mid { display: flex; align-items: center; }
.hub-node {
  display: grid;
  place-items: center;
  min-width: 54px;
  padding: 8px 11px;
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-2);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  animation: node-glow 5.2s ease-in-out infinite;
}
.sw-hub > .hub-node:first-child { animation-delay: 0s; }
.hub-mid .hub-node:first-child { animation-delay: 1.2s; }
.hub-mid .hub-node:last-child { animation-delay: 2.4s; }
.sw-hub > .hub-node:last-child { animation-delay: 3.6s; }
.hub-core {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 62px; height: 62px;
  margin: 0 4px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ai);
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.07);
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.18);
}
.hub-core i {
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ai);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
.hub-lk {
  display: block;
  width: 24px; height: 2px;
  background-image: linear-gradient(90deg, rgba(34, 211, 238, 0.6) 0 5px, transparent 5px 11px);
  background-size: 11px 2px;
  animation: dash-x 1s linear infinite;
}
.hub-vlk {
  display: block;
  width: 2px; height: 14px;
  background-image: linear-gradient(180deg, rgba(34, 211, 238, 0.6) 0 5px, transparent 5px 11px);
  background-size: 2px 11px;
  animation: dash-y 1s linear infinite;
}

/* 서비스: 4개 영역 → 하나의 제품 */
.sw-merge { gap: 16px; }
.mg-col { display: flex; flex-direction: column; gap: 8px; }
.mg-chip {
  padding: 6px 13px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-2);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  animation: node-glow 5.2s ease-in-out infinite;
}
.mg-chip:nth-child(2) { animation-delay: 0.4s; }
.mg-chip:nth-child(3) { animation-delay: 0.8s; }
.mg-chip:nth-child(4) { animation-delay: 1.2s; }
.mg-prod {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  border: 1px solid rgba(52, 211, 153, 0.45);
  background: rgba(52, 211, 153, 0.08);
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.15);
}
.mg-prod i {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-style: normal;
  color: #06121a;
  background: var(--success);
}

/* 프로세스: 파이프라인 진행 */
.sw-steps { flex-direction: column; align-items: stretch; gap: 14px; padding: 30px 28px; }
.st-track { position: relative; display: block; height: 14px; }
.st-track::before {
  content: "";
  position: absolute;
  left: 7px; right: 7px; top: 6px;
  height: 2px;
  background-image: linear-gradient(90deg, rgba(148, 163, 184, 0.35) 0 5px, transparent 5px 11px);
  background-size: 11px 2px;
}
.st-dot {
  position: absolute;
  top: 2px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.4);
}
.st-dot:nth-child(1) { left: 0; }
.st-dot:nth-child(2) { left: calc(25% - 2.5px); }
.st-dot:nth-child(3) { left: calc(50% - 5px); }
.st-dot:nth-child(4) { left: calc(75% - 7.5px); }
.st-dot:nth-child(5) { left: calc(100% - 10px); }
.st-run {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ai);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.85);
  animation: st-run 5s ease-in-out infinite;
}
.st-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-2);
}

/* 소식: 라이브 피드 */
.sw-feed { flex-direction: column; align-items: stretch; gap: 9px; }
.fd-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  opacity: 0;
  animation: row-in 5.4s var(--ease) infinite;
}
.fd-row:nth-child(2) { animation-delay: 0.3s; }
.fd-row:nth-child(3) { animation-delay: 0.6s; }
.fd-row:nth-child(4) { animation-delay: 0.9s; }
.fd-row i { display: block; flex: none; width: 8px; height: 8px; border-radius: 50%; }
.fd-row .c1 { background: var(--primary); }
.fd-row .c2 { background: var(--accent); }
.fd-row .c3 { background: var(--success); }
.fd-row b { display: block; height: 8px; border-radius: 4px; background: rgba(148, 163, 184, 0.3); }
.fd-row .d { display: block; margin-left: auto; flex: none; width: 32px; height: 6px; border-radius: 3px; background: rgba(148, 163, 184, 0.18); }

/* 문의: 문의 → 접수 → 회신 */
.sw-contact { flex-direction: column; align-items: stretch; gap: 11px; padding: 26px 28px; }
.ct-bub {
  align-self: flex-end;
  display: inline-flex;
  padding: 10px 15px;
  border-radius: 13px 13px 4px 13px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  border: 1px solid rgba(91, 140, 255, 0.45);
  background: rgba(91, 140, 255, 0.12);
  opacity: 0;
  animation: chat-in 6.5s var(--ease) infinite;
}
.ct-bub.a {
  align-self: flex-start;
  border-radius: 13px 13px 13px 4px;
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.08);
  animation-delay: 2.2s;
}
.ct-chip {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--success);
  border: 1px solid rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.07);
  opacity: 0;
  animation: chat-in 6.5s var(--ease) infinite 1.1s;
}
.ct-chip i {
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
}

@keyframes fact-in { to { opacity: 1; transform: none; } }
@keyframes dash-y { to { background-position: 0 22px; } }
@keyframes st-run {
  0%, 6% { left: 0; }
  94%, 100% { left: calc(100% - 14px); }
}

/* ---------- 워크플로 애니메이션: 펄스·진행 바·단계별 픽토그램 ---------- */
.wf-pulse {
  position: absolute;
  top: 28px;
  left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(91, 140, 255, 0.7);
  transition: left 0.6s var(--ease);
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 860px) { .wf-pulse { display: none; } }

.wf-step-btn { position: relative; overflow: hidden; }
.wf-step-btn::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
}
.wf.auto .wf-step.active .wf-step-btn::after { animation: wf-progress 4s linear; }

.wf-step.active .wf-detail { max-height: 340px; }

.wf-pg {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 62px;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(7, 10, 18, 0.55);
  position: relative;
  overflow: hidden;
}
.wf-pg i, .wf-pg b { display: block; }

/* 1. Business Input: 입력창 + 정리되는 메모 라인 */
.pg-input { flex-direction: column; align-items: stretch; justify-content: center; gap: 7px; }
.pg-input .box {
  height: 16px;
  border-radius: 6px;
  border: 1px solid rgba(91, 140, 255, 0.5);
  background: rgba(91, 140, 255, 0.08);
  position: relative;
}
.pg-input .box::after {
  content: "";
  position: absolute;
  left: 8px; top: 3px;
  width: 5px; height: 9px;
  background: var(--ai);
  animation: caret-blink 1s steps(1) infinite;
}
.pg-input .ln { height: 5px; border-radius: 3px; background: rgba(148, 163, 184, 0.35); width: 78%; opacity: 0; }
.pg-input .ln.s { width: 52%; }
.wf-step.active .pg-input .ln { animation: row-in 3.6s var(--ease) infinite; }
.wf-step.active .pg-input .ln.s { animation-delay: 0.3s; }

/* 2. Opportunity Mapping: 스캔 빔이 지나가며 지점 발견 */
.pg-map { justify-content: space-between; }
.pg-map .chip { width: 21%; height: 20px; border-radius: 7px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); }
.wf-step.active .pg-map .chip { animation: node-glow 3.8s ease-in-out infinite; }
.wf-step.active .pg-map .chip:nth-child(2) { animation-delay: 0.35s; }
.wf-step.active .pg-map .chip:nth-child(3) { animation-delay: 0.7s; }
.wf-step.active .pg-map .chip:nth-child(4) { animation-delay: 1.05s; }
.pg-map .scan {
  position: absolute;
  top: 0; bottom: 0;
  width: 34px;
  left: -15%;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.16), transparent);
}
.wf-step.active .pg-map .scan { animation: scan-x 3.8s linear infinite; }

/* 3. Data & System Design: 구조 노드가 연결됨 */
.pg-design { justify-content: center; gap: 0; }
.pg-design .nd { flex: none; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); }
.pg-design .n1 { width: 24px; height: 24px; border-radius: 8px; }
.pg-design .n2 { width: 24px; height: 24px; border-radius: 50%; }
.pg-design .n3 { width: 34px; height: 18px; border-radius: 6px; }
.pg-design .lk {
  width: 32px; height: 2px;
  background-image: linear-gradient(90deg, rgba(139, 92, 246, 0.6) 0 5px, transparent 5px 11px);
  background-size: 11px 2px;
}
.wf-step.active .pg-design .lk { animation: dash-x 1s linear infinite; }
.wf-step.active .pg-design .nd { animation: node-glow 3.8s ease-in-out infinite; }
.wf-step.active .pg-design .n2 { animation-delay: 0.5s; }
.wf-step.active .pg-design .n3 { animation-delay: 1s; }

/* 4. Product Development: 코드 라인이 작성됨 */
.pg-dev { flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; }
.pg-dev .cl { height: 6px; border-radius: 3px; width: 82%; background: rgba(91, 140, 255, 0.5); transform-origin: left; transform: scaleX(0); }
.pg-dev .cl.c2 { width: 58%; background: rgba(34, 211, 238, 0.55); }
.pg-dev .cl.c3 { width: 70%; background: rgba(139, 92, 246, 0.5); }
.pg-dev .cl.c4 { width: 44%; background: rgba(148, 163, 184, 0.4); }
.wf-step.active .pg-dev .cl { animation: code-grow 3.8s var(--ease) infinite; }
.wf-step.active .pg-dev .cl.c2 { animation-delay: 0.25s; }
.wf-step.active .pg-dev .cl.c3 { animation-delay: 0.5s; }
.wf-step.active .pg-dev .cl.c4 { animation-delay: 0.75s; }

/* 5. Automation & Operation: 순환 루프 + 상승 지표 */
.pg-ops { justify-content: center; gap: 18px; }
.pg-ops .ring {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px dashed rgba(34, 211, 238, 0.6);
}
.wf-step.active .pg-ops .ring { animation: spin 5s linear infinite; }
.pg-ops .bars { display: flex; align-items: flex-end; gap: 6px; height: 36px; }
.pg-ops .bars b {
  width: 9px;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, var(--success), rgba(52, 211, 153, 0.25));
  transform-origin: bottom;
}
.pg-ops .bars b:nth-child(1) { height: 16px; }
.pg-ops .bars b:nth-child(2) { height: 25px; }
.pg-ops .bars b:nth-child(3) { height: 34px; }
.wf-step.active .pg-ops .bars b { animation: bar-grow 3.8s var(--ease) infinite; }
.wf-step.active .pg-ops .bars b:nth-child(2) { animation-delay: 0.2s; }
.wf-step.active .pg-ops .bars b:nth-child(3) { animation-delay: 0.4s; }

@keyframes wf-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes scan-x { from { left: -15%; } to { left: 108%; } }
@keyframes code-grow {
  0% { transform: scaleX(0); }
  28%, 85% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}

/* ---------- Effects v2: 마이크로 인터랙션 ---------- */
.reveal .eyebrow::before, .reveal .eyebrow::after { width: 0; transition: width 0.7s 0.15s var(--ease); }
.reveal.visible .eyebrow::before, .reveal.visible .eyebrow::after { width: 22px; }

.wf-step.active .wf-num { animation: num-pop 0.45s var(--ease); }

.card-icon { transition: transform 0.35s var(--ease), background 0.35s; }
.card:hover .card-icon { transform: scale(1.1) rotate(-5deg); }

.news-item-title { transition: transform 0.3s var(--ease); }
.news-item-head:hover .news-item-title { transform: translateX(5px); }

.footer-col a {
  background-image: linear-gradient(90deg, var(--primary), var(--ai));
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 2px;
  transition: background-size 0.3s var(--ease), color 0.2s;
}
.footer-col a:hover { background-size: 100% 1px; }

/* 비교 리스트·기능 칩 스태거 등장 */
.compare-col.reveal li {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.compare-col.reveal.visible li { opacity: 1; transform: none; }
.compare-col.reveal.visible li:nth-child(2) { transition-delay: 0.08s; }
.compare-col.reveal.visible li:nth-child(3) { transition-delay: 0.16s; }
.compare-col.reveal.visible li:nth-child(4) { transition-delay: 0.24s; }

.reveal .feature-list li, .feature-list.reveal li {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.reveal.visible .feature-list li, .feature-list.reveal.visible li { opacity: 1; transform: none; }
.reveal.visible .feature-list li:nth-child(2), .feature-list.reveal.visible li:nth-child(2) { transition-delay: 0.05s; }
.reveal.visible .feature-list li:nth-child(3), .feature-list.reveal.visible li:nth-child(3) { transition-delay: 0.1s; }
.reveal.visible .feature-list li:nth-child(4), .feature-list.reveal.visible li:nth-child(4) { transition-delay: 0.15s; }
.reveal.visible .feature-list li:nth-child(5), .feature-list.reveal.visible li:nth-child(5) { transition-delay: 0.2s; }
.reveal.visible .feature-list li:nth-child(6), .feature-list.reveal.visible li:nth-child(6) { transition-delay: 0.25s; }
.reveal.visible .feature-list li:nth-child(7), .feature-list.reveal.visible li:nth-child(7) { transition-delay: 0.3s; }
.reveal.visible .feature-list li:nth-child(8), .feature-list.reveal.visible li:nth-child(8) { transition-delay: 0.35s; }

/* 푸터 무단수집거부 고지 */
.footer-notice {
  margin-top: 48px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(148, 163, 184, 0.65);
}
.footer-notice + .footer-bottom { margin-top: 16px; }

/* ---------- Effects v2 keyframes ---------- */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes rise-in-blur {
  from { opacity: 0; transform: translateY(30px); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes num-pop {
  0% { transform: scale(0.6); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .svc-node { opacity: 1; transform: none; }
}
