/* ============================================================
   RADVIZ Homepage — Brand
   magenta #910B84 → purple #6B4E9D → blue #0E6EB8
   wordmark slate #324048
   ============================================================ */

:root {
  --magenta: #910B84;
  --purple: #6B4E9D;
  --blue: #0E6EB8;
  --slate: #324048;
  --slate-dark: #232E36;
  --slate-deep: #1B242B;
  --ink: #2C3942;
  --text: #45525C;
  --text-soft: #6A7680;
  --line: #E2E7EB;
  --bg: #FFFFFF;
  --bg-tint: #F4F7F9;
  --grad: linear-gradient(120deg, #910B84 0%, #6B4E9D 45%, #0E6EB8 100%);
  --radius: 14px;
  --container: 1120px;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: 'Noto Sans KR', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  word-break: keep-all;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { color: var(--ink); line-height: 1.35; }

/* ---------------- Header ---------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  transition: background .3s, box-shadow .3s;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo img { height: 26px; width: auto; }
.header-logo .logo-dark { display: none; }
.header-logo .logo-white { display: block; }

.site-header.scrolled {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(35, 46, 54, .06);
}
.site-header.scrolled .logo-dark { display: block; }
.site-header.scrolled .logo-white { display: none; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}
.site-nav a:hover { color: #fff; }

.site-header.scrolled .site-nav a { color: var(--text); }
.site-header.scrolled .site-nav a:hover { color: var(--ink); }

.site-nav .nav-cta {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff !important;
  font-weight: 700;
  transition: opacity .2s, transform .2s;
}
.site-nav .nav-cta:hover { opacity: .9; transform: translateY(-1px); }

/* 동영상 메뉴 숨김(2026-09-16 사용자 지시) — 헤더의 정적 링크가 페이지 60여 개에 박혀 있어
   여기서 한 번에 가린다. 다시 노출하려면 이 규칙과 js/nav.js 의 SHOW_VIDEOS 를 함께 되돌린다.
   videos.html 은 tools/package-site.ps1 의 $hiddenPages 가 배포 패키지에서 뺀다. */
.site-nav a[href$="videos.html"] { display: none; }

/* KO/EN 언어 전환 링크 — 문의하기 뒤에 붙는 작은 알약 */
.site-nav .lang-switch {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.site-nav .lang-switch:hover { border-color: #fff; }
.site-header.scrolled .site-nav .lang-switch { border-color: var(--line); }
.site-header.scrolled .site-nav .lang-switch:hover { border-color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  transition: background .3s;
}
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(14, 110, 184, .28), transparent 60%),
    radial-gradient(800px 460px at -5% 110%, rgba(145, 11, 132, .22), transparent 60%),
    linear-gradient(160deg, var(--slate-dark), var(--slate-deep));
  color: #fff;
  padding: calc(var(--header-h) + 96px) 0 120px;
  overflow: hidden;
}

.hero-beams {
  position: absolute;
  inset: 0;
  background-image: url('../assets/logo-mark.png');
  background-repeat: no-repeat;
  background-position: right -120px top -120px;
  background-size: 560px;
  opacity: .12;
  pointer-events: none;
}

/* 텍스트 줄 길이만 800px로 제한 — 컨테이너 자체를 줄이면 재중앙 정렬되어
   헤더 로고·본문 섹션의 좌측 정렬선과 어긋난다 (자식 블록에만 max-width 적용) */
.hero-inner { position: relative; }
.hero-inner > * { max-width: 800px; }

.hero-eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .35em;
  color: #9FD0F5;
  margin-bottom: 20px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, .78);
  margin-bottom: 40px;
}
.hero-sub strong { color: #fff; font-weight: 700; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, opacity .2s, background .2s, border-color .2s;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(75, 96, 171, .35);
}
.btn-primary:hover { opacity: .92; transform: translateY(-2px); }

.btn-outline {
  background: #fff;
  color: var(--purple);
  border: 1.5px solid #D6CCE6;
}
.btn-outline:hover { border-color: var(--purple); transform: translateY(-2px); }

.btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .45);
}
.btn-ghost:hover { border-color: #fff; transform: translateY(-2px); }

.btn-lg { padding: 18px 44px; font-size: 18px; }

/* ---------------- Sections ---------------- */

.section { padding: 110px 0; }
.section-tint { background: var(--bg-tint); }

.section-head { max-width: 720px; margin-bottom: 64px; }

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 14px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 900;
  margin-bottom: 18px;
}

.section-sub { font-size: 17px; color: var(--text-soft); }

/* ---------------- About ---------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.about-lead {
  font-size: 18px;
  line-height: 1.9;
  padding-left: 24px;
  border-left: 4px solid;
  border-image: linear-gradient(180deg, #910B84, #0E6EB8) 1;
}
.about-lead strong { color: var(--ink); }

.about-points { display: grid; gap: 28px; }

.about-point h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.about-point p { color: var(--text-soft); font-size: 15.5px; }

/* ---------------- Product (dark) ---------------- */

.section-dark {
  background:
    radial-gradient(900px 500px at 110% 0%, rgba(14, 110, 184, .18), transparent 55%),
    radial-gradient(700px 500px at -10% 100%, rgba(145, 11, 132, .14), transparent 55%),
    linear-gradient(160deg, var(--slate-dark), var(--slate-deep));
}

.section-dark .section-head h2 { color: #fff; }
.section-dark .section-sub { color: rgba(255, 255, 255, .65); }

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.module-card {
  position: relative;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s, border-color .25s, background .25s;
}
.module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .07);
}
.module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 26px; right: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .25s;
}
.module-card:hover::before { opacity: 1; }

.module-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  margin-bottom: 14px;
  background: linear-gradient(120deg, #D879CE, #6FB4E8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.module-card h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.module-card p {
  color: rgba(255, 255, 255, .66);
  font-size: 14.5px;
  margin-bottom: 16px;
}

.module-card ul { list-style: none; }
.module-card li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 6px;
}
.module-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

/* ---------------- Applications ---------------- */

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.app-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform .25s, box-shadow .25s;
}
.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(35, 46, 54, .10);
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #fff;
  background: var(--grad);
}
.app-icon svg { width: 30px; height: 30px; }

.app-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.app-card p { font-size: 15px; color: var(--text-soft); }

/* ---------------- Integration ---------------- */

.integ-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.integ-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s, box-shadow .25s;
}
.integ-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(35, 46, 54, .08);
}

.integ-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.integ-card p { font-size: 14px; color: var(--text-soft); }

/* ---------------- Values ---------------- */

.values-section { padding: 0 0 110px; }

.values-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 52px 48px;
  border-radius: 20px;
  background: var(--grad);
  color: #fff;
}

.value-item .value-title {
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 8px;
}
.value-item p { font-size: 14px; color: rgba(255, 255, 255, .82); }

/* ---------------- Contact ---------------- */

.section-contact {
  position: relative;
  background: linear-gradient(160deg, var(--slate-dark), var(--slate-deep));
  overflow: hidden;
  text-align: center;
}

.beams-flip {
  background-position: left -140px bottom -140px;
  transform: scaleY(-1);
}

.contact-inner { position: relative; }

.section-contact .section-head {
  margin-left: auto;
  margin-right: auto;
}
.section-contact .section-head h2 { color: #fff; }
.section-contact .section-sub { color: rgba(255, 255, 255, .65); }

.contact-actions { margin-top: 8px; }

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--slate-deep);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo { height: 20px; width: auto; opacity: .75; }
.footer-copy { font-size: 13px; color: rgba(255, 255, 255, .45); }

/* ---------------- Product detail pages ---------------- */

a.module-card {
  display: block;
  text-decoration: none;
}

.module-more {
  display: inline-block;
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 700;
  background: linear-gradient(120deg, #D879CE, #6FB4E8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subhero {
  position: relative;
  background:
    radial-gradient(900px 460px at 90% -10%, rgba(14, 110, 184, .28), transparent 60%),
    radial-gradient(700px 420px at -5% 120%, rgba(145, 11, 132, .2), transparent 60%),
    linear-gradient(160deg, var(--slate-dark), var(--slate-deep));
  color: #fff;
  padding: calc(var(--header-h) + 64px) 0 76px;
  overflow: hidden;
}

.subhero-inner { position: relative; }
.subhero-inner > * { max-width: 800px; }

.crumb {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 26px;
}
.crumb a {
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
}
.crumb a:hover { color: #fff; }

.subhero h1 {
  color: #fff;
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 900;
  margin-bottom: 18px;
}

.subhero-sub {
  font-size: clamp(15px, 1.8vw, 17.5px);
  color: rgba(255, 255, 255, .75);
}

.tech-section { padding: 76px 0; }
.tech-alt { background: var(--bg-tint); }

.tech-cat-head {
  max-width: 720px;
  margin-bottom: 40px;
  padding-left: 20px;
  border-left: 4px solid;
  border-image: linear-gradient(180deg, #910B84, #0E6EB8) 1;
}
.tech-cat-head h2 {
  font-size: clamp(21px, 2.6vw, 26px);
  font-weight: 900;
  margin-bottom: 6px;
}
.tech-cat-head p { font-size: 15px; color: var(--text-soft); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tech-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 22px;
  transition: transform .2s, box-shadow .2s;
}
.tech-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(35, 46, 54, .08);
}

.tech-item h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tech-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2.5px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--grad);
  white-space: nowrap;
}

.tech-item p { font-size: 13.8px; color: var(--text-soft); line-height: 1.65; }

.module-pager {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.pager-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pager-link {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: color .2s;
}
.pager-link strong { font-size: 15.5px; color: var(--ink); font-weight: 700; }
.pager-link:hover, .pager-link:hover strong { color: var(--blue); }
.pager-next { text-align: right; align-items: flex-end; }
.pager-all {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  flex-direction: row;
}

.subcta {
  background:
    radial-gradient(700px 400px at 85% 0%, rgba(14, 110, 184, .2), transparent 60%),
    linear-gradient(160deg, var(--slate-dark), var(--slate-deep));
  text-align: center;
  padding: 84px 0;
}
.subcta h2 {
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  margin-bottom: 12px;
}
.subcta p { color: rgba(255, 255, 255, .65); margin-bottom: 30px; }

/* ---------------- Nav dropdown (제품) ---------------- */

.nav-item { position: relative; display: flex; align-items: center; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(35, 46, 54, .16);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 110;
}
.nav-item:hover .nav-dropdown,
.nav-item.dd-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* 헤더와 드롭다운 사이 hover 공백 메움 */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  height: 16px;
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--text) !important;
  white-space: nowrap;
}
.nav-dropdown a:hover { background: var(--bg-tint); color: var(--ink) !important; }
.nav-dropdown a.active { background: var(--bg-tint); font-weight: 700; }

.dd-num {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dd-caret { display: none; }

/* ---------------- Tech card link (상세 페이지 있는 기술) ---------------- */

.tech-item.has-page { cursor: pointer; }
.tech-item.has-page:hover { border-color: var(--blue); }

.tech-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------- Tech detail page (기술 상세) ---------------- */

.subhero-compact { padding: calc(var(--header-h) + 44px) 0 52px; }

.tech-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 72px;
  align-items: start;
}

.tech-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
  padding-right: 8px;
}

.side-module {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 900;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.side-module:hover { color: var(--blue); }

.side-cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text-soft);
  text-transform: uppercase;
  margin: 18px 0 6px;
}

.side-list { list-style: none; }
.side-list li { margin: 0; }
.side-list a {
  display: block;
  padding: 5.5px 10px;
  font-size: 13.5px;
  color: var(--text);
  text-decoration: none;
  border-radius: 7px;
  border-left: 2px solid transparent;
}
.side-list a:hover { background: var(--bg-tint); color: var(--ink); }
.side-list li.active a {
  background: var(--bg-tint);
  border-left: 2px solid;
  border-image: linear-gradient(180deg, #910B84, #0E6EB8) 1;
  font-weight: 700;
  color: var(--ink);
}
.side-list li.side-plain a { color: var(--text-soft); }

.tech-article { min-width: 0; }

.article-block { margin-bottom: 48px; }
.article-block:last-child { margin-bottom: 0; }

.article-block h2 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 4px solid;
  border-image: linear-gradient(180deg, #910B84, #0E6EB8) 1;
}

.article-block p {
  font-size: 15.5px;
  line-height: 1.85;
  margin-bottom: 12px;
}
.article-block a { color: var(--blue); }

.feature-list { list-style: none; }
.feature-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  margin-bottom: 10px;
  line-height: 1.7;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grad);
}
.feature-list strong { color: var(--ink); }

.step-list {
  list-style: none;
  counter-reset: step;
}
.step-list li {
  position: relative;
  counter-increment: step;
  padding-left: 42px;
  font-size: 15px;
  margin-bottom: 14px;
  line-height: 1.7;
}
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 1px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-list strong { color: var(--ink); }

.concept-figure {
  margin: 20px 0 24px;
  padding: 20px 16px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-tint);
}
.concept-figure svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 640px;
  margin: 0 auto;
}
.concept-figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-soft);
  text-align: center;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.result-figure { margin: 0; }

.img-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  border: 1.5px dashed #C4CDD4;
  background:
    linear-gradient(135deg, rgba(145, 11, 132, .04), rgba(14, 110, 184, .06)),
    var(--bg-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
}

.result-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-soft);
  text-align: center;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.spec-table th {
  width: 130px;
  color: var(--ink);
  font-weight: 700;
  background: var(--bg-tint);
  white-space: nowrap;
}

/* 기술 상세 — 결과 이미지·차트·데이터 표 */

.result-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.result-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.chart-figure { margin: 0 0 12px; }
.chart-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.chart-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-soft);
  text-align: center;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin: 16px 0 8px;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.data-table thead th {
  color: var(--ink);
  font-weight: 700;
  background: var(--bg-tint);
  white-space: nowrap;
}
.data-table td strong { color: var(--ink); }

.figure-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-soft);
}

.article-note {
  margin: 20px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--magenta);
  border-radius: 0 10px 10px 0;
  background: var(--bg-tint);
  font-size: 14.5px;
  color: var(--text-soft);
}
.article-note strong { color: var(--ink); }

@media (max-width: 720px) {
  .result-grid-3 { grid-template-columns: 1fr; }
  .data-table { display: block; overflow-x: auto; }
}

/* ---------------- Release notes (릴리스 노트) ---------------- */

.news-strip {
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.news-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  font-size: 14.5px;
  min-height: 24px;
}
.news-banner:hover .nb-text { color: var(--ink); }
.news-banner:hover .nb-more { text-decoration: underline; }

.nb-new {
  flex: none;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  color: #fff;
  background: var(--grad);
  border-radius: 999px;
  padding: 3px 10px;
}

.nb-text {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nb-date { flex: none; color: var(--text-soft); font-size: 13px; }

.nb-more {
  flex: none;
  margin-left: auto;
  font-weight: 700;
  font-size: 13.5px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 자료실 내 버전별 릴리스 문서 표 */
.dl-nl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: #fff;
}
.dl-nl-table th, .dl-nl-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.dl-nl-table thead th {
  background: var(--bg-tint);
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}
.dl-nl-table td a {
  color: var(--blue);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}
.dl-nl-table td a:hover { text-decoration: underline; }
.dl-ico { width: 14px; height: 14px; flex: none; }
.dl-nl-preparing { color: var(--text-soft); }

.dl-nl-empty {
  font-size: 14px;
  color: var(--text-soft);
  background: var(--bg-tint);
  border: 1px dashed #C4CDD4;
  border-radius: 10px;
  padding: 16px 18px;
}

@media (max-width: 680px) {
  .nb-date { display: none; }
}

/* ---------------- Downloads (자료실) ---------------- */

.dl-container { padding: 56px 24px 72px; }

.dl-section { margin-bottom: 56px; }
.dl-section:last-child { margin-bottom: 0; }

.dl-list { display: grid; gap: 14px; }

.dl-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 26px;
  transition: transform .2s, box-shadow .2s;
}
.dl-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(35, 46, 54, .08);
}

.dl-info h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dl-meta {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-soft);
  background: var(--bg-tint);
  border-radius: 999px;
  padding: 2px 10px;
}

.dl-info p { font-size: 14px; color: var(--text-soft); }

.dl-btn { padding: 11px 26px; font-size: 14.5px; white-space: nowrap; }

.dl-disabled {
  background: var(--bg-tint);
  color: var(--text-soft);
  cursor: default;
}

@media (max-width: 680px) {
  .dl-item { flex-direction: column; align-items: stretch; text-align: left; }
  .dl-action { display: flex; }
  .dl-action .dl-btn { flex: 1; text-align: center; }
}

/* ---------------- Videos (videos.html) ---------------- */

.vid-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.vid-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.vid-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(35, 46, 54, .08);
}

.vid-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.vid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
  transition: opacity .2s;
}
.vid-thumb:hover img { opacity: 1; }

.vid-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 44px;
  border-radius: 12px;
  background: rgba(27, 36, 43, .75);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.vid-play svg { width: 28px; height: 28px; }
.vid-thumb:hover .vid-play { background: var(--blue); }

.vid-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(27, 36, 43, .8);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 6px;
}

.vid-live iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vid-info { padding: 18px 22px 20px; }
.vid-info h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.vid-info p { font-size: 14px; color: var(--text-soft); }

@media (max-width: 860px) {
  .vid-grid { grid-template-columns: 1fr; }
}

/* ---------------- Reveal animation ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------- Responsive ---------------- */

@media (max-width: 960px) {
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-layout { grid-template-columns: 1fr; gap: 36px; }
  .tech-sidebar {
    position: static;
    max-height: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
  }
  .integ-grid { grid-template-columns: repeat(2, 1fr); }
  .values-band { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 680px) {
  .section { padding: 80px 0; }
  .hero { padding: calc(var(--header-h) + 64px) 0 88px; }
  .hero-beams {
    background-size: 320px;
    background-position: right -100px top -100px;
    opacity: .08;
  }

  .module-grid, .app-grid, .integ-grid, .tech-grid { grid-template-columns: 1fr; }
  .pager-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .pager-link, .pager-next { align-items: center; text-align: center; }
  .pager-all { justify-content: center; }
  .values-band { grid-template-columns: 1fr; padding: 40px 32px; }

  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(35, 46, 54, .12);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    color: var(--text) !important;
    padding: 16px 24px;
    border-top: 1px solid var(--line);
  }
  .site-nav .nav-cta {
    margin: 14px 24px 18px;
    text-align: center;
    border-radius: 999px;
    padding: 13px 20px;
    border-top: 0;
    color: #fff !important;
  }
  .site-nav .lang-switch {
    margin: 0 24px 18px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    border-top: 1px solid var(--line);
    padding: 11px 20px;
  }

  /* 모바일: 제품 드롭다운을 인라인 서브메뉴로 */
  .nav-item { flex-wrap: wrap; }
  .nav-item > a { flex: 1; }
  .nav-item::after { display: none; }
  .dd-caret {
    display: block;
    background: none;
    border: 0;
    padding: 16px 24px;
    font-size: 14px;
    color: var(--text-soft);
    cursor: pointer;
    border-top: 1px solid var(--line);
    transition: transform .2s;
  }
  .nav-item.dd-open .dd-caret { transform: rotate(180deg); }
  .nav-dropdown {
    display: none;
    position: static;
    transform: none;
    width: 100%;
    min-width: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 6px;
    background: var(--bg-tint);
    opacity: 1;
    visibility: visible;
    transition: none;
  }
  .nav-item.dd-open .nav-dropdown { display: block; }
  .nav-item:hover .nav-dropdown { transform: none; }
  .nav-dropdown a { padding: 12px 40px; border-top: 0 !important; }
}

/* ---------------- 제품 구성 (licensing.html) ---------------- */

.lic-section { padding: 72px 0 40px; }
.lic-section-detail { padding: 56px 0 64px; }

.lic-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 200px 200px;
  grid-template-areas:
    "basic basic basic basic basic"
    "ct    ct    ct    xiq   insp"
    "mec   aar   irt   xiq   dl"
    "hct   mbir  mbir  xiq   dl";
  gap: 10px;
}

.lic-tile {
  appearance: none;
  border: 0;
  border-top: 4px solid rgba(0, 0, 0, .22);
  border-radius: 6px;
  padding: 16px 17px 18px;
  min-height: 112px;
  color: #fff;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.lic-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(35, 46, 54, .18); filter: brightness(1.05); }
.lic-tile.active { outline: 3px solid var(--slate); outline-offset: 3px; }

.lic-abbr { font-size: 22px; font-weight: 900; letter-spacing: -.01em; line-height: 1.1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lic-full { font-size: 12px; opacity: .82; }
.lic-desc { font-size: 13px; line-height: 1.55; opacity: .95; word-break: keep-all; }

.lic-base { background: var(--grad); }
.lic-base .lic-abbr { font-size: 27px; }
.lic-ct { background: var(--blue); }
.lic-xray { background: var(--purple); }
.lic-addon { background: var(--magenta); }
.lic-planned { background: #8B98A0; }

.lic-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .24);
  white-space: nowrap;
}
.lic-badge-ink { background: var(--bg-tint); color: var(--text-soft); border: 1px solid var(--line); }

.lic-foot { margin-top: 20px; font-size: 13.5px; color: var(--text-soft); }

/* 상세 패널 */
.lic-detail-head h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.lic-detail-abbr {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.01em;
}
.lic-detail-full { font-size: 15.5px; color: var(--text); margin-bottom: 6px; }
.lic-detail-note { font-size: 14px; color: var(--text-soft); }

.lic-groups { margin-top: 30px; }
.lic-modgroup + .lic-modgroup { margin-top: 40px; }
.lic-mod-h { font-size: 17.5px; }
.lic-mod-h a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
}
.lic-mod-h a:hover { color: var(--blue); }
.lic-cat {
  margin: 18px 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lic-cat a { color: var(--text-soft); text-decoration: none; }
.lic-cat a:hover { color: var(--blue); }
.lic-card { display: block; text-decoration: none; color: inherit; }
.lic-empty { margin-top: 24px; color: var(--text-soft); }

@media (max-width: 960px) {
  .lic-map {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "basic basic"
      "ct    ct"
      "mec   aar"
      "irt   hct"
      "mbir  mbir"
      "xiq   insp"
      "xiq   dl";
  }
}

@media (max-width: 560px) {
  .lic-map {
    grid-template-columns: 1fr;
    grid-template-areas:
      "basic" "ct" "mec" "aar" "irt" "hct" "mbir"
      "xiq" "insp" "dl";
  }
  .lic-tile { min-height: 0; }
}
