/*
Theme Name: TG SoftMine
Theme URI: https://tgsoftmine.com
Author: TG SoftMine
Author URI: https://tgsoftmine.com
Description: TG SoftMine 공식 홈페이지 테마 - SI · SM · AI Partner. SMTP 메일 발송 및 Contact Form 기능 포함.
Version: 1.2.0
License: Private
Text Domain: tgsoftmine
Tags: corporate, one-page, dark, responsive
*/

/* ==============================================
   ROOT VARIABLES
   ============================================== */
:root {
  --bg: #07111f;
  --bg-soft: #0d1729;
  --bg-deep: #050b14;
  --surface: rgba(12, 22, 38, 0.82);
  --surface-2: rgba(18, 31, 53, 0.78);
  --surface-3: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #eef4ff;
  --text-soft: #c1cde0;
  --text-dim: #95a6c2;
  --blue: #21a8ff;
  --cyan: #62dbff;
  --teal: #1cc7b7;
  --purple: #7b72ff;
  --pink: #ef58da;
  --orange: #ff9f47;
  --slate: #9db1cb;
  --shadow: 0 22px 64px rgba(0, 0, 0, 0.34);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1180px;
  --header-h: 80px;
  --font-en: 'Inter', sans-serif;
  --font-ko: 'Noto Sans KR', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-ko);
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(33, 168, 255, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(123, 114, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #040912 0%, #09111f 45%, #08111d 100%);
  overflow-x: hidden;
}
body.lang-en { font-family: var(--font-en); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { max-width: 100%; display: block; }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 12%, rgba(98, 219, 255, 0.12), transparent 24%),
    radial-gradient(circle at 92% 18%, rgba(239, 88, 218, 0.09), transparent 22%),
    radial-gradient(circle at 50% 82%, rgba(28, 199, 183, 0.08), transparent 22%);
}

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

.section {
  position: relative;
  padding: 112px 0;
}
.section-dark {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(7, 13, 24, 0.72);
  border-bottom: 1px solid transparent;
  transition: 0.28s ease;
}
.site-header.scrolled {
  background: rgba(7, 13, 24, 0.92);
  border-color: var(--line);
}
.nav-wrap {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-logo { height: 30px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--text-soft);
  font-size: 0.96rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav a:hover { color: #fff; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text-dim);
}
.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text-dim);
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.lang-btn.active {
  background: linear-gradient(135deg, rgba(33,168,255,0.18), rgba(123,114,255,0.18));
  color: #fff;
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-btn span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: #fff;
  transition: 0.2s ease;
}
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  box-shadow: 0 16px 36px rgba(54, 103, 255, 0.28);
}
.btn-secondary {
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  color: #fff;
}
.btn-block { width: 100%; }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(3, 7, 14, 0.96) 0%, rgba(5, 10, 18, 0.90) 36%, rgba(8, 15, 27, 0.70) 64%, rgba(7, 13, 24, 0.88) 100%),
    radial-gradient(circle at 78% 24%, rgba(123,114,255,0.18), transparent 22%),
    radial-gradient(circle at 80% 64%, rgba(33,168,255,0.16), transparent 24%),
    url('/images/slide3_bg.jpg') center/cover no-repeat;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto -14% -18% auto;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(98,219,255,0.18), transparent 62%);
  filter: blur(26px);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 42px;
  align-items: center;
  padding: 114px 0 70px;
}
.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(98,219,255,0.08);
  border: 1px solid rgba(98,219,255,0.18);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-tag.dark {
  color: #fff;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.16);
}
.hero-copy h1,
.section-head h2,
.section-copy h2,
.cta-wrap h2,
.value-layout h2 {
  margin: 18px 0 18px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hero-copy h1 {
  font-size: clamp(2.9rem, 6vw, 5.3rem);
  max-width: 10.2ch;
  text-wrap: balance;
}
.hero-desc {
  max-width: 640px;
  color: rgba(225, 234, 246, 0.87);
  font-size: 1.08rem;
}
.hero-actions,
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-actions { margin-top: 28px; }
.hero-pills { margin-top: 28px; }
.hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--text-soft);
  font-size: 0.95rem;
}
.hero-pills i { color: var(--cyan); }

.hero-panel {
  display: grid;
  gap: 18px;
}
.hero-card {
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(18,31,53,0.82), rgba(10,20,35,0.82));
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.hero-card-main { padding: 28px; }
.hero-card-label,
.metric-kicker,
.spotlight-badge,
.okr-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-card-main h3 {
  margin: 0 0 10px;
  font-size: 1.6rem;
  line-height: 1.18;
}
.hero-card-main p {
  margin: 0;
  color: var(--text-soft);
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.stat-card { padding: 24px; }
.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.8rem;
  line-height: 1.1;
}
.stat-card span {
  color: var(--text-soft);
  font-size: 0.95rem;
}
.stat-card.wide { grid-column: 1 / -1; }

.intro-strip {
  padding-top: 36px;
  padding-bottom: 0;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.metric {
  padding: 24px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}
.metric strong {
  display: block;
  font-size: 1.18rem;
  line-height: 1.35;
}

/* TWO COL */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 32px;
  align-items: start;
}
.section-copy p,
.section-head p,
.cta-wrap p,
.value-layout p {
  color: var(--text-soft);
  font-size: 1.03rem;
}
.section-head {
  max-width: 830px;
  margin-bottom: 44px;
}
.spotlight-card,
.glass-card,
.contact-card,
.soft-card,
.feature-item,
.alliance-banner {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17,29,49,0.82), rgba(9,17,30,0.88));
  box-shadow: var(--shadow);
}
.spotlight-card { padding: 28px; }
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-soft);
}
.check-list i { color: var(--cyan); margin-top: 3px; }
.quote-box {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.quote-box p {
  margin: 0;
  color: #fff;
  font-weight: 700;
}

/* CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.glass-card,
.soft-card {
  padding: 24px;
}
.glass-card-premium,
.soft-card {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.glass-card-premium:hover,
.soft-card:hover,
.partner-card:hover,
.feature-item:hover {
  transform: translateY(-4px);
  border-color: rgba(98,219,255,0.28);
  box-shadow: 0 22px 58px rgba(0,0,0,0.36);
}
.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.service-num {
  color: rgba(255,255,255,0.34);
  font-size: 1.05rem;
  font-weight: 900;
}
.icon-chip {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  font-size: 1.15rem;
}
.icon-chip.blue { color: var(--blue); }
.icon-chip.teal { color: var(--teal); }
.icon-chip.pink { color: var(--pink); }
.icon-chip.purple { color: var(--purple); }
.icon-chip.orange { color: var(--orange); }
.icon-chip.slate { color: var(--slate); }
.glass-card h3,
.soft-card h3,
.partner-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  line-height: 1.25;
}
.glass-card p,
.soft-card p,
.partner-card p {
  margin: 0;
  color: var(--text-soft);
}

/* ALLIANCE */
.alliance-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}
.alliance-banner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 26px 28px;
  margin-bottom: 24px;
}
.alliance-banner strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.18rem;
}
.alliance-banner p { margin: 0; color: var(--text-soft); }
.alliance-logo {
  width: 180px;
  max-width: 100%;
  filter: brightness(1.02);
}
.alliance-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.partner-card { padding: 22px; }
.partner-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  margin-bottom: 22px;
}
.partner-card.highlight {
  background: linear-gradient(180deg, rgba(34, 64, 116, 0.9), rgba(11, 24, 42, 0.92));
  border-color: rgba(98,219,255,0.22);
}

/* CONTACT */
.cta-section { padding-top: 110px; }
.cta-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: 28px;
  padding: 34px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(14,25,43,0.92), rgba(8,16,28,0.92));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
}
.contact-points {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.contact-points div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
}
.contact-points i { color: var(--cyan); }
.contact-card {
  padding: 24px;
  display: grid;
  gap: 16px;
}
.contact-card label {
  display: grid;
  gap: 8px;
}
.contact-card label > span {
  font-size: 0.94rem;
  font-weight: 700;
}
.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  padding: 14px 16px;
  outline: none;
}
.contact-card input::placeholder,
.contact-card textarea::placeholder { color: rgba(255,255,255,0.36); }
.contact-card input:focus,
.contact-card textarea:focus {
  border-color: rgba(98,219,255,0.36);
  box-shadow: 0 0 0 4px rgba(98,219,255,0.09);
}
.contact-card small {
  color: var(--text-dim);
  font-size: 0.85rem;
}
.form-notice {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  display: none;
}
.form-notice.success {
  display: block;
  background: rgba(28, 199, 183, 0.12);
  border: 1px solid rgba(28, 199, 183, 0.3);
  color: var(--teal);
}
.form-notice.error {
  display: block;
  background: rgba(239, 88, 218, 0.10);
  border: 1px solid rgba(239, 88, 218, 0.3);
  color: var(--pink);
}

/* FOOTER */
.site-footer {
  padding: 34px 0 46px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.footer-brand-block {
  display: grid;
  gap: 10px;
}
.footer-right {
  display: grid;
  gap: 18px;
  justify-items: end;
}
.footer-logo { height: 30px; width: auto; margin-bottom: 6px; }
.site-footer p {
  margin: 0;
  max-width: 560px;
  color: var(--text-dim);
}
.footer-meta {
  display: grid;
  gap: 6px;
}
.footer-mini-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}
.footer-mini-nav a {
  color: var(--text-soft);
  font-weight: 600;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}
.footer-legal a {
  color: #fff;
  font-weight: 700;
}

/* TOAST */
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(10, 18, 31, 0.94);
  border: 1px solid rgba(98,219,255,0.22);
  box-shadow: var(--shadow);
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 0.22s ease;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}
.toast i { color: var(--cyan); }

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }

/* RESPONSIVE */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 100%; }
  .hero-panel { max-width: 760px; }
  .alliance-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(8, 15, 27, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.2s ease;
  }
  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .menu-btn { display: inline-flex; }
  .nav-cta { display: none; }
  .hero-grid,
  .two-col,
  .cta-wrap,
  .alliance-banner { grid-template-columns: 1fr; }
  .card-grid,
  .alliance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .section { padding: 84px 0; }
  .hero { min-height: auto; }
  .hero-grid { padding: 106px 0 56px; gap: 24px; }
  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 9vw, 3.2rem);
  }
  .hero-desc { font-size: 0.98rem; }
  .mini-grid,
  .metrics-grid,
  .card-grid,
  .alliance-grid,
  .footer-wrap { grid-template-columns: 1fr; display: grid; }
  .footer-wrap { gap: 18px; }
  .footer-right { justify-items: center; }
  .footer-mini-nav { gap: 14px; }
  .site-footer p,
  .footer-mini-nav,
  .footer-legal,
  .footer-meta { text-align: center; justify-content: center; }
  .lang-switcher { display: none; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header { backdrop-filter: blur(12px); }
  .brand-logo, .footer-logo { height: 26px; }
  .hero-pills span, .btn { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; }
  .toast { left: 14px; right: 14px; bottom: 14px; }
}


/* ==============================================
   LEGAL PAGES — 이용약관 / 개인정보처리방침
   ============================================== */

.legal-page {
  min-height: 80vh;
  padding: 120px 0 80px;
}

.legal-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Hero ── */
.legal-hero {
  text-align: center;
  margin-bottom: 48px;
}

.legal-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(33,168,255,0.5);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.legal-hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.15;
}

.legal-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 8px;
}

.legal-date {
  font-size: 13px;
  color: var(--text-dim, #6b7a8d);
}

/* ── TOC ── */
.legal-toc {
  background: rgba(12,22,38,0.6);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 48px;
}

.legal-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
}

.legal-toc li {
  counter-increment: toc;
}

.legal-toc a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color .2s;
}

.legal-toc a:hover {
  color: var(--cyan);
}

/* ── 본문 ── */
.legal-body {
  line-height: 1.85;
}

.legal-intro-box {
  background: rgba(33,168,255,0.06);
  border-left: 3px solid var(--cyan);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin-bottom: 40px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

.legal-section {
  margin-bottom: 48px;
}

.legal-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 18px;
}

.legal-section h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  margin: 18px 0 10px;
}

.legal-section p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.legal-section ol,
.legal-section ul {
  color: var(--text-muted);
  font-size: 14px;
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-section strong {
  color: var(--text);
  font-weight: 600;
}

.legal-section a {
  color: var(--cyan);
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

/* ── 테이블 ── */
.legal-table-wrap {
  overflow-x: auto;
  margin: 14px 0 18px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.07);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: var(--text-muted);
}

.legal-table thead {
  background: rgba(33,168,255,0.08);
}

.legal-table th {
  padding: 10px 14px;
  font-weight: 600;
  color: var(--cyan);
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.legal-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: top;
  line-height: 1.6;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

/* ── 연락처 박스 ── */
.legal-contact-box {
  background: rgba(12,22,38,0.7);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 2;
  margin-top: 16px;
}

.legal-contact-box strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.legal-contact-box a {
  color: var(--cyan);
}

/* ── 하단 네비 ── */
.legal-footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 60px;
  flex-wrap: wrap;
}

.legal-footer-nav .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .legal-toc ul {
    flex-direction: column;
    gap: 6px;
  }
  .legal-page {
    padding: 100px 0 60px;
  }
  .legal-footer-nav {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}
