/* ==========================================================================
   대한음성저작권협회 (VoiceRight Association) Design System & Stylesheet
   ========================================================================== */

:root {
  /* Color Tokens */
  --primary: #1E40AF;
  --primary-hover: #1D4ED8;
  --primary-light: #EFF6FF;
  --secondary: #0F172A;
  --accent: #38BDF8;
  --accent-cyan: #06B6D4;
  --success: #10B981;

  /* Neutral Dark Tone */
  --dark-bg: #0B132B;
  --dark-card: #1C2541;
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --bg-light: #F8FAFC;
  --bg-card: #FFFFFF;

  /* Typography */
  --font-main: 'Noto Sans KR', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Layout & Spacing */
  --header-height: 80px;
  --topbar-height: 38px;
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.25);
  
  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.align-center { align-items: center; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--text-muted) !important; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 36px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary-light);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
  border-radius: var(--radius-md);
}

.btn-hero-primary {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #ffffff;
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.6);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-md);
}
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-cta-light {
  background: #ffffff;
  color: var(--primary);
  font-size: 17px;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.btn-cta-light:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.btn-cta-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 17px;
  padding: 16px 36px;
  border-radius: var(--radius-md);
}
.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

.full-width {
  width: 100%;
}

/* TOP UTILITY BAR */
.top-bar {
  background: var(--dark-bg);
  color: #94A3B8;
  font-size: 13px;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-info {
  display: flex;
  gap: 20px;
}
.top-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-links {
  display: flex;
  gap: 16px;
}
.top-links a {
  color: #CBD5E1;
}
.top-links a:hover {
  color: #ffffff;
}

/* HEADER & NAVIGATION */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  height: var(--header-height);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}
.logo-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}
.logo-text .kr-title {
  font-size: 18px;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  font-weight: 500;
  white-space: nowrap;
}
.logo-text .kr-title strong {
  font-weight: 800;
  color: var(--primary);
}
.logo-text .en-title {
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  font-weight: 600;
  white-space: nowrap;
}
.logo-text .en-title:empty {
  display: none;
}

/* Nav Menu Desktop */
.nav-list {
  display: flex;
  gap: 6px;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* Language specific header sizing */
html[lang="en"] .logo-text .kr-title {
  font-size: 13.5px;
  line-height: 1.15;
  letter-spacing: -0.3px;
}
html[lang="en"] .logo-text .en-title {
  font-size: 8.5px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
html[lang="en"] .nav-list {
  gap: 2px;
}
html[lang="en"] .nav-link {
  font-size: 13.5px;
  padding: 8px 8px;
  white-space: nowrap;
}

html[lang="zh"] .logo-text .kr-title {
  font-size: 17px;
  white-space: nowrap;
}
html[lang="zh"] .nav-list {
  gap: 4px;
}
html[lang="zh"] .nav-link {
  font-size: 14.5px;
  padding: 8px 10px;
  white-space: nowrap;
}
.nav-link:hover, .nav-item:hover > .nav-link {
  color: var(--primary);
  background: var(--primary-light);
}
.dropdown-arrow {
  font-size: 11px;
  transition: var(--transition);
}
.nav-item:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 120;
}
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-sm);
}
.dropdown-menu a i {
  color: var(--primary);
  width: 16px;
}
.dropdown-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Flag Language Selector */
.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.flag-icon {
  font-size: 18px;
  line-height: 1;
  display: inline-block;
}

.lang-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 6px;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 150;
}

.lang-selector:hover .lang-dropdown,
.lang-selector.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.lang-option:hover,
.lang-option.active {
  background: var(--primary-light);
  color: var(--primary);
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-dark);
  cursor: pointer;
  padding: 8px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: #ffffff;
  z-index: 200;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}
.mobile-drawer.active {
  right: 0;
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}
.drawer-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}
.drawer-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
.mobile-nav-list li {
  margin-bottom: 12px;
}
.mobile-nav-list a, .mobile-accordion-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}
.mobile-sub-menu {
  padding-left: 16px;
  display: none;
}
.mobile-sub-menu.open {
  display: block;
}
.mobile-sub-menu a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-body);
}

/* HERO SECTION */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-card) 100%);
  color: #ffffff;
  padding: 90px 0 100px 0;
  overflow: hidden;
}
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(56, 189, 248, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 46px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, #38BDF8 0%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #94A3B8;
  margin-bottom: 36px;
  font-weight: 400;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

/* Hero Waveform Card */
.hero-visualizer-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  text-align: left;
}
.visualizer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  color: #CBD5E1;
}
.sound-status {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sound-icon {
  color: var(--accent);
}
.sound-toggle-btn {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sound-toggle-btn:hover {
  background: rgba(56, 189, 248, 0.3);
}

#waveformCanvas {
  width: 100%;
  height: 60px;
  display: block;
}

/* TICKER SECTION */
.ticker-section {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}
.ticker-container {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ticker-label {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 4px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ticker-content {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticker-more {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}
.ticker-more:hover {
  color: var(--primary);
}

/* SECTION TYPOGRAPHY */
.section-subtitle {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 48px auto;
}
.highlight {
  color: var(--primary);
}

/* INTRO PREVIEW SECTION */
.intro-preview-section {
  padding: 90px 0;
  background: #ffffff;
}
.description-p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}
.intro-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.check-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.check-item i {
  color: var(--primary);
  font-size: 20px;
  margin-top: 2px;
}
.check-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}
.check-item p {
  font-size: 14px;
  color: var(--text-muted);
}

.intro-stat-card {
  position: relative;
}
.glass-card {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-card) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.stat-icon {
  font-size: 42px;
  color: var(--accent);
  margin-bottom: 12px;
}
.stat-number {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 15px;
  color: #94A3B8;
  margin-top: 8px;
}

.stat-grid-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.mini-stat {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
}
.mini-stat i {
  font-size: 20px;
  color: var(--primary);
}

/* SERVICES SECTION */
.services-section {
  padding: 90px 0;
  background: var(--bg-light);
}
.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.card-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .card-icon-wrap {
  background: var(--primary);
  color: #ffffff;
}
.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.card-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* SPECTRUM SECTION */
.members-spectrum-section {
  padding: 70px 0;
  background: #ffffff;
}
.spectrum-banner-box {
  background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.badge-accent {
  background: rgba(56, 189, 248, 0.2);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 1px;

}
.spectrum-header h2 {
  font-size: 32px;
  margin: 16px 0 8px 0;
}
.spectrum-header p {
  color: #93C5FD;
  font-size: 16px;
  margin-bottom: 36px;
}
.spectrum-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.chip {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* NEWS & FAQ PREVIEW SECTION */
.news-preview-section {
  padding: 90px 0;
  background: var(--bg-light);
}
.col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--text-dark);
}
.col-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.view-more {
  font-size: 13px;
  color: var(--text-muted);
}
.news-list-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.news-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}
.news-item-row:last-child { border-bottom: none; }
.news-item-row:hover { background: var(--primary-light); }
.news-item-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
}
.news-item-date {
  font-size: 13px;
  color: var(--text-muted);
}

/* Accordion */
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.accordion-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.accordion-header {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.accordion-body {
  padding: 0 20px 16px 20px;
  font-size: 14px;
  color: var(--text-muted);
  display: none;
  border-top: 1px dashed var(--border-color);
  padding-top: 12px;
}
.accordion-item.active .accordion-body {
  display: block;
}
.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-card) 100%);
  color: #ffffff;
  padding: 80px 0;
}
.cta-section h2 {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 12px;
}
.cta-section p {
  color: #94A3B8;
  font-size: 17px;
  margin-bottom: 32px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* SUBPAGE GENERAL STYLES */
.page-view {
  display: none;
  min-height: 60vh;
}
.page-view.active {
  display: block;
}

.sub-header-banner {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-card) 100%);
  color: #ffffff;
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sub-breadcrumb {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}
.sub-page-title {
  font-size: 36px;
  font-weight: 800;
}
.sub-page-desc {
  font-size: 16px;
  color: #94A3B8;
  margin-top: 6px;
}

/* Sub Navigation Tabs */
.sub-tab-nav {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}
.sub-tab-nav .container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.tab-btn {
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.tab-btn:hover, .tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.sub-page-content {
  padding: 60px 24px;
}
.sub-tab-content {
  display: none;
}
.sub-tab-content.active {
  display: block;
}

.content-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
}
.shadow-sm { box-shadow: var(--shadow-sm); }
.sub-content-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.title-line {
  border: none;
  height: 2px;
  background: var(--primary-light);
  margin: 16px 0 24px 0;
}
.lead-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Purpose Document Styling */
.purpose-doc-frame {
  background: #FAFAFA;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  padding: 40px;
}
.doc-header {
  margin-bottom: 32px;
}
.doc-stamp {
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
}
.doc-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--text-dark);
  margin-top: 8px;
}
.doc-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 20px;
}
.doc-sub-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-sm);
  margin-top: 24px;
}
.purpose-list li {
  font-size: 15px;
  margin-bottom: 10px;
}

/* Org Chart Styling */
.org-chart-wrapper {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.org-node {
  background: #ffffff;
  border: 2px solid var(--primary);
  color: var(--text-dark);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 160px;
}
.root-node { background: var(--primary); color: #ffffff; }
.board-node, .audit-node { border-color: var(--accent-cyan); }
.president-node { background: var(--primary-light); }
.office-node { background: #F1F5F9; border-color: #94A3B8; min-width: 280px; }
.org-line.vertical-line {
  width: 2px;
  height: 24px;
  background: var(--primary);
}

/* BOARD & TABLES */
.board-search-bar {
  margin-bottom: 24px;
}
.search-input-wrap {
  position: relative;
  max-width: 400px;
}
.search-input-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.search-input-wrap input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.board-table-responsive {
  overflow-x: auto;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.board-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.board-table th {
  background: var(--bg-light);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  border-bottom: 2px solid var(--border-color);
}
.board-table td {
  padding: 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
}
.board-table tr:hover td {
  background: var(--primary-light);
  cursor: pointer;
}
.badge-cat {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}
.cat-notice { background: #FEE2E2; color: #DC2626; }
.cat-press { background: #DBEAFE; color: #1D4ED8; }
.cat-archive { background: #E0E7FF; color: #4338CA; }

/* FORMS & MODALS */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.required { color: #EF4444; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15);
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}
.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-md);
  width: 90%;
  max-width: 560px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}
.modal-backdrop.active .modal-dialog {
  transform: translateY(0);
}
.modal-dialog.sm { max-width: 400px; }
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}
.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
}
.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-muted);
}
.modal-body {
  padding: 24px;
}

/* Custom Success Modal Styles */
.modal-dialog-centered {
  max-width: 440px;
  text-align: center;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  border: 1px solid var(--border-color);
}
.success-icon-badge {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  background: #ECFDF5;
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}
.modal-dialog-centered .modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary);
}
.modal-dialog-centered .modal-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
}
.btn-confirm-lg {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  transition: var(--transition);
}
.btn-confirm-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
}

/* FOOTER */
.site-footer {
  background: var(--dark-bg);
  color: #94A3B8;
  padding: 70px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.footer-brand {
  max-width: 380px;
}
.footer-brand .kr-title { color: #ffffff; }
.footer-desc {
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.6;
}
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.f-link-col h4 {
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 16px;
}
.f-link-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
}
.f-link-col ul a:hover {
  color: #ffffff;
}
.footer-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 40px 0 24px 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.footer-social {
  display: flex;
  gap: 16px;
  font-size: 18px;
}
.footer-social a { color: #94A3B8; }
.footer-social a:hover { color: #ffffff; }

/* RESPONSIVE BREAKPOINTS (Desktop, Tablet, Mobile) */
@media (max-width: 1280px) {
  .container {
    max-width: 100%;
    padding: 0 24px;
  }
  .nav-link {
    font-size: 14px;
    padding: 8px 10px;
  }
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .header-actions {
    gap: 8px;
  }
  .grid-4, .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .hero-container {
    padding-top: 40px;
    padding-bottom: 50px;
  }
  .hero-title {
    font-size: 38px;
  }
  .intro-preview-section .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-top {
    flex-direction: column;
    gap: 30px;
  }
  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .sub-tab-nav .container {
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    gap: 8px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .sub-tab-nav .tab-btn {
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-section {
    padding: 50px 0;
  }
  .hero-title {
    font-size: 30px;
    line-height: 1.35;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .ticker-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta-buttons .btn {
    width: 100%;
  }
  .sub-header-banner {
    padding: 30px 0;
  }
  .sub-page-title {
    font-size: 26px;
  }
  .board-search-bar .search-input-wrap {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .logo-icon {
    width: 34px;
    height: 34px;
  }
  .logo-text .kr-title {
    font-size: 14px;
  }
  .lang-btn {
    padding: 6px 10px;
    font-size: 13px;
  }
  .lang-dropdown {
    min-width: 120px;
  }
  .hero-title {
    font-size: 26px;
  }
  .content-card {
    padding: 20px 16px;
  }
}
