/* =================================================================
   DONGDO — Unified Site Styles
   Dark navy concept · mega menu · footer · sub-page tabs
   Used by ALL pages (index.html + sub-pages)
   ================================================================= */

html, body { background: var(--dd-navy); color: #fff; }
body { overflow-x: hidden; }

/* =================================================================
   GNB with MEGA MENU
   ================================================================= */
.gnb {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 56px;
  transition: background 320ms var(--ease-out), backdrop-filter 320ms var(--ease-out), padding 320ms var(--ease-out), border-color 320ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
.gnb.transparent { background: transparent; }
.gnb.scrolled, body.always-blur .gnb {
  background: rgba(7, 20, 42, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  padding: 12px 56px;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.gnb-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; z-index: 2; }
.gnb-logo img { height: 26px; filter: brightness(0) invert(1); opacity: 0.96; }

.gnb-nav {
  display: flex; align-items: center; gap: 4px;
  position: relative;
}
.gnb-nav > li { list-style: none; position: relative; }
.gnb-nav > li > a {
  display: inline-flex; align-items: center;
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.78);
  padding: 14px 18px; border-radius: 999px;
  transition: color 180ms, background 180ms;
}
.gnb-nav > li > a:hover,
.gnb-nav > li.active > a { color: #fff; }
.gnb-nav > li.active > a { background: rgba(255,255,255,0.06); }
.gnb-nav > li.has-sub > a::after {
  content: ""; display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg);
  margin-left: 8px; margin-bottom: 2px;
  opacity: 0.6;
  transition: transform 200ms;
}
.gnb-nav > li.has-sub:hover > a::after { transform: rotate(225deg); margin-bottom: -2px; opacity: 1; }

/* Mega menu panel */
.gnb-sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%; transform: translateX(-50%) translateY(-8px);
  min-width: 240px;
  padding: 14px;
  background: rgba(7, 20, 42, 0.92);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(91, 184, 212, 0.18);
  border-radius: var(--r-5);
  box-shadow: 0 24px 56px -16px rgba(0, 0, 0, 0.6);
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s linear 240ms;
}
.gnb-nav > li.has-sub:hover > .gnb-sub,
.gnb-nav > li.has-sub:focus-within > .gnb-sub {
  opacity: 1; pointer-events: auto; visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 240ms var(--ease-out), transform 280ms var(--ease-out), visibility 0s;
}
.gnb-sub::before {
  content: ""; position: absolute;
  top: -8px; left: 0; right: 0; height: 8px;
}
.gnb-sub li { list-style: none; }
.gnb-sub a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: var(--r-3);
  font-size: 14px; font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: background 160ms, color 160ms, padding 200ms;
}
.gnb-sub a:hover,
.gnb-sub a.active {
  background: rgba(91, 184, 212, 0.1);
  color: var(--dd-cyan);
  padding-left: 18px;
}
.gnb-sub a .idx {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(91, 184, 212, 0.55);
  width: 22px;
  flex-shrink: 0;
}
.gnb-sub a:hover .idx, .gnb-sub a.active .idx { color: var(--dd-cyan); }

.gnb-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--dd-blue); color: #fff; font-weight: 600;
  font-size: 14px; padding: 11px 22px; border-radius: 999px;
  transition: background 180ms;
  flex-shrink: 0;
}
.gnb-cta:hover { background: var(--dd-blue-strong); }
.gnb-cta::after {
  content: ""; width: 6px; height: 6px;
  border-right: 1.6px solid currentColor; border-top: 1.6px solid currentColor;
  transform: rotate(45deg);
}

/* Mobile menu toggle (visible on small) */
.gnb-mobile-toggle { display: none; }

/* =================================================================
   MOBILE DRAWER (off-canvas) — built by site.js, used on all pages
   ================================================================= */
.gnb-drawer[hidden] { display: none; }
.gnb-drawer {
  position: fixed; inset: 0; z-index: 1200;
}
.gnb-drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(3, 8, 18, 0.6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 300ms var(--ease-out);
}
.gnb-drawer.open .gnb-drawer-backdrop { opacity: 1; }
.gnb-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(86vw, 360px);
  background: var(--dd-navy-deep);
  border-left: 1px solid rgba(91, 184, 212, 0.18);
  box-shadow: -24px 0 60px -20px rgba(0,0,0,0.7);
  display: flex; flex-direction: column;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
  transform: translateX(100%);
  transition: transform 320ms var(--ease-out);
  overflow-y: auto;
}
.gnb-drawer.open .gnb-drawer-panel { transform: translateX(0); }
.gnb-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 6px 16px; margin-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.gnb-drawer-title {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.22em;
  color: var(--dd-cyan); font-weight: 600;
}
.gnb-drawer-close {
  width: 38px; height: 38px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
}
.gnb-drawer-close:active { background: var(--dd-blue); }
.gnb-drawer-nav { display: flex; flex-direction: column; }
.gnb-drawer-group { border-bottom: 1px solid rgba(255,255,255,0.06); }
.gnb-drawer-grouphead {
  display: flex; align-items: center; justify-content: space-between;
}
.gnb-drawer-grouphead > a {
  flex: 1; display: block;
  padding: 16px 6px; font-size: 17px; font-weight: 600;
  color: #fff; letter-spacing: -0.01em;
}
.gnb-drawer-grouphead > a:active { color: var(--dd-cyan); }
.gnb-drawer-exp {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); cursor: pointer;
  transition: transform 240ms var(--ease-out), color 200ms;
}
.gnb-drawer-group.open .gnb-drawer-exp { transform: rotate(180deg); color: var(--dd-cyan); }
.gnb-drawer-sub {
  max-height: 0; overflow: hidden;
  transition: max-height 340ms var(--ease-out);
}
.gnb-drawer-group.open .gnb-drawer-sub { max-height: 360px; }
.gnb-drawer-sub a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 6px 12px 16px; font-size: 14px;
  color: rgba(255,255,255,0.62);
}
.gnb-drawer-sub a:active { color: var(--dd-cyan); }
.gnb-drawer-sub a .idx {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  color: rgba(91,184,212,0.6); min-width: 18px;
}
.gnb-drawer-sub a:last-child { padding-bottom: 16px; }
.gnb-drawer-cta {
  margin-top: 18px; text-align: center;
  padding: 16px; border-radius: var(--r-4);
  background: var(--dd-blue); color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
}

/* =================================================================
   PAGE HERO (compact, dark)
   ================================================================= */
.page-hero {
  position: relative;
  padding: 160px 56px 64px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(74, 127, 212, 0.16) 0%, transparent 60%),
    var(--dd-navy);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(91, 184, 212, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  opacity: 0.6;
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
}
.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--dd-cyan);
  margin-bottom: 20px;
}
.page-hero-eyebrow::before {
  content: ""; width: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--dd-cyan));
}
.page-hero-title {
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 800; line-height: 1.06;
  letter-spacing: -0.028em;
  color: #fff;
  max-width: 980px;
}
.page-hero-title em { font-style: normal; color: var(--dd-blue-soft); }
.page-hero-sub {
  margin-top: 22px;
  font-size: 15px; line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
  max-width: 620px;
}
.page-hero-meta {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}
.page-hero-meta-item {
  padding-right: 36px;
  margin-right: 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.page-hero-meta-item:last-child { border-right: 0; margin-right: 0; }
.page-hero-meta-key {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}
.page-hero-meta-val {
  margin-top: 6px;
  font-size: 15px; font-weight: 600; color: #fff;
  letter-spacing: -0.005em;
}

/* =================================================================
   TABS (sub-menu selector, sticky below GNB)
   ================================================================= */
.tabs {
  position: sticky;
  top: 60px; z-index: 50;
  background: rgba(7, 20, 42, 0.86);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.tabs-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 0 56px;
  display: flex; align-items: stretch; gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-inner::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 22px;
  background: none; border: 0;
  font-family: inherit;
  font-size: 13px; font-weight: 500;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 200ms, border-color 200ms;
}
.tab:hover { color: rgba(255, 255, 255, 0.9); }
.tab.active {
  color: var(--dd-cyan);
  border-bottom-color: var(--dd-cyan);
}
.tab .idx {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; opacity: 0.6;
}
.tab.active .idx { opacity: 1; }

/* =================================================================
   TAB PANES (only one visible)
   ================================================================= */
.tab-content { background: var(--dd-navy); position: relative; }
.tab-pane {
  display: none;
  padding: 96px 56px 120px;
  max-width: 1440px;
  margin: 0 auto;
  animation: paneFadeIn 480ms var(--ease-out);
}
.tab-pane.active { display: block; }
@keyframes paneFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pane-head {
  display: grid; grid-template-columns: 320px 1fr; gap: 48px;
  margin-bottom: 56px;
  align-items: start;
}
.pane-head .pane-num {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--dd-cyan);
  padding-top: 12px;
}
.pane-head h2 {
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -0.028em;
  color: #fff;
}
.pane-head h2 small {
  display: block; margin-top: 8px;
  font-size: 16px; font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: -0.005em;
}
.pane-head h2 em { font-style: normal; color: var(--dd-blue-soft); }
.pane-lead {
  margin-top: 20px;
  font-size: 16px; line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  max-width: 720px;
}

/* =================================================================
   GLASS CARDS (used everywhere on sub-pages)
   ================================================================= */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-6);
  padding: 28px;
  transition: transform 360ms var(--ease-out), border-color 240ms, background 320ms;
  position: relative;
  overflow: hidden;
}
.glass:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 184, 212, 0.36);
  background: linear-gradient(160deg, rgba(91, 184, 212, 0.06), rgba(255, 255, 255, 0.02));
}
.glass-key {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.22em; color: var(--dd-cyan);
  font-weight: 600;
}
.glass-title {
  margin-top: 16px;
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.014em; line-height: 1.28;
  color: #fff;
}
.glass-title small {
  display: block; margin-top: 4px;
  font-size: 13px; font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: -0.005em;
}
.glass-desc {
  margin-top: 14px;
  font-size: 14px; line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}
.glass-tags {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.glass-tags span {
  font-size: 11px; padding: 5px 11px;
  border-radius: 999px;
  background: rgba(91, 184, 212, 0.1);
  color: var(--dd-cyan);
  font-weight: 500;
  border: 1px solid rgba(91, 184, 212, 0.18);
}

/* Feature rows used inside panes */
.feature-row {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 28px; padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.feature-row:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.feature-num {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.16em; color: var(--dd-cyan);
  font-weight: 600; padding-top: 4px;
}
.feature-name {
  font-size: 18px; font-weight: 700; letter-spacing: -0.012em;
  color: #fff; line-height: 1.35;
}
.feature-desc {
  margin-top: 6px; font-size: 14px; line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}
.feature-list { margin-top: 10px; display: grid; gap: 6px; }
.feature-list li {
  font-size: 14px; line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  padding-left: 18px; position: relative;
}
.feature-list li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 5px; height: 5px;
  background: var(--dd-cyan); border-radius: 999px;
}

/* Stat callout (dark) */
.stat-callout {
  padding: 32px;
  background: linear-gradient(135deg, rgba(91, 184, 212, 0.08), rgba(74, 127, 212, 0.04));
  border: 1px solid rgba(91, 184, 212, 0.24);
  border-radius: var(--r-6);
  display: flex; align-items: center; gap: 32px;
  flex-wrap: wrap;
}
.stat-callout .big {
  font-size: 64px; font-weight: 900;
  letter-spacing: -0.04em; line-height: 1;
  color: var(--dd-cyan);
  font-variant-numeric: tabular-nums;
}
.stat-callout .big .unit { font-size: 0.4em; color: #fff; margin-left: 4px; }
.stat-callout .lbl {
  font-size: 14px; line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}
.stat-callout .lbl strong {
  color: #fff; display: block; font-size: 17px;
  font-weight: 700; letter-spacing: -0.005em;
  margin-bottom: 6px;
}

/* Data table — dark */
.data-table {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.data-table th, .data-table td {
  text-align: left;
  padding: 16px 14px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}
.data-table th {
  font-family: var(--font-mono); font-weight: 600;
  font-size: 11px; letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  padding-top: 14px; padding-bottom: 14px;
}
.data-table td { color: rgba(255, 255, 255, 0.85); font-weight: 500; }
.data-table tbody tr:hover td { background: rgba(91, 184, 212, 0.04); }
.data-table td.num {
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono); font-weight: 500;
}

/* =================================================================
   CTA strip (dark)
   ================================================================= */
.cta-strip {
  background: linear-gradient(180deg, var(--dd-navy) 0%, var(--dd-navy-deep) 100%);
  padding: 96px 56px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.cta-strip::before {
  content: ""; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(91, 184, 212, 0.18), transparent 60%);
}
.cta-strip-inner {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
  position: relative;
}
.cta-strip h3 {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800; letter-spacing: -0.024em; line-height: 1.12;
  color: #fff;
}
.cta-strip h3 em { font-style: normal; color: var(--dd-cyan); }
.cta-strip-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-strip a.primary {
  background: var(--dd-blue); color: #fff;
  padding: 16px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background 200ms;
}
.cta-strip a.primary:hover { background: var(--dd-blue-strong); }
.cta-strip a.primary::after {
  content: ""; width: 7px; height: 7px;
  border-right: 1.8px solid currentColor; border-top: 1.8px solid currentColor;
  transform: rotate(45deg);
}
.cta-strip a.ghost {
  color: #fff; padding: 16px 30px;
  border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 999px;
  font-size: 15px; font-weight: 600;
  transition: border-color 200ms, color 200ms;
}
.cta-strip a.ghost:hover { border-color: var(--dd-cyan); color: var(--dd-cyan); }

/* =================================================================
   FOOTER (matches header structure)
   ================================================================= */
.footer {
  background: var(--dd-navy-deepest);
  padding: 80px 56px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner { max-width: 1440px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-brand img { height: 32px; filter: brightness(0) invert(1); opacity: 0.85; margin-bottom: 20px; }
.footer-brand p {
  font-size: 13px; line-height: 1.7;
  color: rgba(255, 255, 255, 0.5); max-width: 320px;
}
.footer-col-title {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.45); font-weight: 600;
  margin-bottom: 18px; text-transform: uppercase;
}
.footer-col a {
  display: block; font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  padding: 5px 0;
  transition: color 180ms;
}
.footer-col a:hover { color: var(--dd-cyan); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; flex-wrap: wrap; gap: 16px;
}
.footer-copy {
  font-size: 12px; color: rgba(255, 255, 255, 0.32);
  font-family: var(--font-mono); letter-spacing: 0.04em;
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 12px; color: rgba(255, 255, 255, 0.4); }
.footer-legal a.bold { color: rgba(255, 255, 255, 0.7); font-weight: 600; }
.footer-legal a:hover { color: var(--dd-cyan); }

/* =================================================================
   LEGAL MODAL (개인정보처리방침 / 이용약관 / 윤리경영)
   ================================================================= */
.legal-modal[hidden] { display: none; }
.legal-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.legal-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(3, 8, 18, 0.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: legalFade 200ms var(--ease-out);
}
.legal-modal-panel {
  position: relative;
  width: 100%; max-width: 720px;
  max-height: 84vh;
  display: flex; flex-direction: column;
  background: var(--dd-navy);
  border: 1px solid rgba(91, 184, 212, 0.22);
  border-radius: var(--r-7);
  box-shadow: 0 40px 90px -24px rgba(0,0,0,0.7);
  animation: legalPop 260ms var(--ease-out);
  overflow: hidden;
}
@keyframes legalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes legalPop { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.legal-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.legal-modal-title {
  font-size: 20px; font-weight: 800; letter-spacing: -0.018em; color: #fff;
}
.legal-modal-title small {
  display: block; margin-top: 4px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  color: var(--dd-cyan); text-transform: uppercase; font-weight: 500;
}
.legal-modal-close {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75); font-size: 20px; line-height: 1;
  cursor: pointer; transition: background 160ms, color 160ms, border-color 160ms;
}
.legal-modal-close:hover { background: var(--dd-blue); color: #fff; border-color: var(--dd-blue); }
.legal-modal-body {
  padding: 28px;
  overflow-y: auto;
  color: rgba(255,255,255,0.72);
}
.legal-modal-body h3 {
  font-size: 15px; font-weight: 700; color: #fff;
  margin: 28px 0 10px; letter-spacing: -0.008em;
}
.legal-modal-body h3:first-child { margin-top: 0; }
.legal-modal-body p { font-size: 14px; line-height: 1.8; margin-bottom: 10px; }
.legal-modal-body ul { margin: 8px 0 10px; display: grid; gap: 6px; }
.legal-modal-body li {
  font-size: 14px; line-height: 1.7; padding-left: 16px; position: relative;
}
.legal-modal-body li::before {
  content: ""; position: absolute; left: 3px; top: 10px;
  width: 4px; height: 4px; background: var(--dd-cyan); border-radius: 999px;
}
.legal-modal-body .legal-note {
  margin-top: 24px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.7;
}
.legal-modal-body strong { color: rgba(255,255,255,0.92); font-weight: 600; }

/* =================================================================
   Reveal-on-scroll
   ================================================================= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }
.reveal[data-delay="6"] { transition-delay: 480ms; }

/* =================================================================
   DESIGN POLISH — 은은한 밝은 포인트 (gentle light accents)
   색조는 유지하고, 빛이 닿은 느낌·소프트 글로우·그라데이션 구분선만 더함
   ================================================================= */

/* 서브페이지 콘텐츠 영역 상단에 부드러운 빛 — 전체가 새카맣지 않도록 */
.tab-content {
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(74, 127, 212, 0.07), transparent 55%),
    var(--dd-navy);
}

/* 페이지 히어로: 보조 글로우 + 상단 하이라이트 라인 */
.page-hero {
  background:
    radial-gradient(ellipse 70% 60% at 72% 22%, rgba(74, 127, 212, 0.18) 0%, transparent 58%),
    radial-gradient(ellipse 52% 52% at 10% 92%, rgba(91, 184, 212, 0.10) 0%, transparent 60%),
    var(--dd-navy);
}
.page-hero::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10) 38%, rgba(91,184,212,0.32) 50%, rgba(255,255,255,0.10) 62%, transparent);
  opacity: 0.5; pointer-events: none;
}

/* 글래스 카드: 윗변에 빛이 닿은 느낌 + 부드러운 깊이 그림자 */
.glass {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 14px 34px -20px rgba(0, 0, 0, 0.6);
}
.glass::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 72px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
  pointer-events: none; opacity: 0.7; z-index: 0;
}
.glass > * { position: relative; z-index: 1; }
.glass:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 22px 50px -24px rgba(0, 0, 0, 0.7);
}

/* 핵심 작은 글자에 은은한 발광 */
.page-hero-eyebrow, .glass-key, .tab.active {
  text-shadow: 0 0 18px rgba(91, 184, 212, 0.35);
}

/* 주요 버튼: 상단 광택으로 입체감 */
.gnb-cta, .cta-strip a.primary {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 42%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 24px -12px rgba(74, 127, 212, 0.6);
}
.gnb-cta:hover, .cta-strip a.primary:hover {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 42%);
}

/* Stat 콜아웃: 윗변 하이라이트 + 소프트 글로우 */
.stat-callout {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 44px -26px rgba(91, 184, 212, 0.5);
}
.stat-callout .big { text-shadow: 0 0 26px rgba(91, 184, 212, 0.4); }

/* CTA 스트립: 하단 좌측에 보조 글로우로 균형 */
.cta-strip::after {
  content: ""; position: absolute; bottom: -170px; left: 6%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(74, 127, 212, 0.16), transparent 62%);
  pointer-events: none;
}

/* 구분선 → 가장자리가 사라지는 그라데이션 라인 (더 세련되게) */
.feature-row { border-top-color: transparent; position: relative; }
.feature-row::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 184, 212, 0.22) 14%, rgba(255, 255, 255, 0.10) 50%, transparent);
}
.feature-row:last-child { border-bottom-color: transparent; }
.feature-row:last-child::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.10) 50%, transparent);
}
.feature-list li::before { box-shadow: 0 0 8px rgba(91, 184, 212, 0.55); }

/* 태그 칩: 그라데이션 + 윗변 하이라이트 */
.glass-tags span {
  background: linear-gradient(180deg, rgba(91, 184, 212, 0.16), rgba(91, 184, 212, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* 활성 탭 밑줄에 은은한 발광 */
.tab.active { box-shadow: 0 2px 12px -4px rgba(91, 184, 212, 0.5); }

/* 데이터 테이블 헤더 라인을 그라데이션으로, 행 호버에 좌측 액센트 */
.data-table { border-top-color: transparent; position: relative; }
.data-table::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, rgba(91, 184, 212, 0.4), rgba(255, 255, 255, 0.12) 45%, transparent);
}
.data-table tbody tr { position: relative; }
.data-table tbody tr:hover td:first-child { box-shadow: inset 2px 0 0 var(--dd-cyan); }

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 1100px) {
  .gnb, .gnb.scrolled { padding: 12px 20px; }
  .gnb-nav { display: none; }
  .gnb-mobile-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: #fff;
  }
  .gnb-cta { display: none; }

  .page-hero { padding: 130px 20px 48px; }
  .page-hero-title { font-size: clamp(28px, 6vw, 44px); }
  .page-hero-meta-item { padding-right: 20px; margin-right: 20px; }

  .tabs-inner { padding: 0 20px; }
  .tab { padding: 14px 16px; font-size: 12px; }

  .tab-pane { padding: 60px 20px 80px; }
  .pane-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 32px; }
  .pane-head h2 { font-size: clamp(26px, 5.5vw, 36px); }

  .cta-strip { padding: 64px 20px; }
  .footer { padding-left: 20px; padding-right: 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .stat-callout { padding: 24px; gap: 20px; }
  .stat-callout .big { font-size: 48px; }
}
@media (max-width: 640px) {
  .feature-row { grid-template-columns: 50px 1fr; gap: 14px; }
  .footer-top { grid-template-columns: 1fr; }
  /* 푸터 약관 링크 탭 타깃 확대 */
  .footer-legal { gap: 6px 22px; flex-wrap: wrap; }
  .footer-legal a { padding: 8px 0; }
}
