/* ========================================================
   INNO (아이노) - (주)알파피앤디
   Corgan & 성가번호안내(InnoViewer)
   Modern Responsive Corporate Website Stylesheet
   ======================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-glow: rgba(37, 99, 235, 0.25);
  
  --secondary: #0f172a;
  --accent: #d97706; /* 파이프오르간 & 성전 골드 앰버 */
  --accent-gradient: linear-gradient(135deg, #2563eb 0%, #0284c7 50%, #d97706 100%);
  --hero-gradient: radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.12) 0%, rgba(15, 23, 42, 0) 70%);

  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --border-color: #e2e8f0;
  --border-focus: #93c5fd;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  --success: #10b981;
  --success-bg: #ecfdf5;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.12);

  --transition-fast: 0.18s ease;
  --transition-base: 0.28s ease;
}

/* 글로벌 리셋 & 기본 스타일 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  word-break: keep-all; /* 한글 단어 끊김(코/르간, 태블/릿 등) 방지 */
  overflow-wrap: break-word;
}

h1, h2, h3, h4, p, span, li, a {
  word-break: keep-all; /* 모든 텍스트에 어절 단위 자연스러운 줄바꿈 적용 */
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

/* ========================================================
   헤더 & 네비게이션
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--secondary);
}

.logo-icon {
  font-size: 1.45rem;
}

.brand-sub {
  font-family: 'Pretendard', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-left: 0.35rem;
  background: var(--primary-light);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0.25rem;
}

.nav-item:hover {
  color: var(--primary);
}

.nav-item.active {
  color: var(--primary);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-header-contact {
  background: var(--primary-light);
  color: var(--primary);
  border-color: #bfdbfe;
}

.btn-header-contact:hover {
  background: var(--primary);
  color: #ffffff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition-fast);
}

/* ========================================================
   공통 버튼 & UI 요소
   ======================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--primary-glow);
}

.btn-secondary {
  background: #ffffff;
  color: var(--secondary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
}

.btn-outline-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.btn-outline-sm:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
  border-color: #cbd5e1;
}

.btn-danger-light {
  color: var(--danger);
  border-color: #fecaca;
}

.btn-danger-light:hover {
  background: var(--danger-bg);
  border-color: var(--danger);
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.sub-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========================================================
   페이지 라우팅 전환 (SPA)
   ======================================================== */
#mainContent {
  flex: 1;
}

.page-view {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.page-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================
   1. 홈 섹션 스타일 (줄바꿈 최적화)
   ======================================================== */
.hero-section {
  position: relative;
  background: var(--hero-gradient), #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 4.5rem 1.5rem 3.5rem;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -1px;
  margin: 1.25rem 0 1rem;
  color: var(--secondary);
  word-break: keep-all;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.2rem;
  line-height: 1.75;
  word-break: keep-all;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

/* 지표 바 (어절 줄바꿈 및 간격 최적화) */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 1.5rem 2rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--secondary);
  white-space: nowrap;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.35rem;
  word-break: keep-all;
  white-space: nowrap; /* 줄바꿈 뚝 잘림 완벽 방지 */
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
  flex-shrink: 0;
}

.section-pad {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
  word-break: keep-all;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  word-break: keep-all;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--secondary);
  word-break: keep-all;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  word-break: keep-all;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.widget-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.widget-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.widget-head h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.link-more {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
}

.mini-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mini-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.mini-list li:hover {
  color: var(--primary);
}

.mini-list .title {
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 75%;
}

.mini-list .date {
  font-size: 0.825rem;
  color: var(--text-light);
}

.contact-highlight-box {
  background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
  border-color: #bfdbfe;
}

.badge-active {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.box-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  word-break: keep-all;
}

.contact-meta {
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #334155;
  word-break: keep-all;
}

/* ========================================================
   2. 제품 소개 섹션 스타일 (실제 제품 이미지 탑재)
   ======================================================== */
.page-title-banner {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}

.page-title-banner h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
  word-break: keep-all;
}

.page-title-banner p {
  color: var(--text-muted);
  font-size: 1.05rem;
  word-break: keep-all;
}

.product-showcase-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.flagship-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3.5rem;
  align-items: center;
}

.board-theme-card {
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
  border-color: #cbd5e1;
}

/* 실제 제품 스크린샷 렌더링 영역 */
.flagship-image-area {
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.15);
}

.organ-theme {
  background: radial-gradient(circle, #2d244c 0%, #17122a 100%);
}

.board-theme {
  background: radial-gradient(circle, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

/* 7인치 태블릿 디바이스 프레임 목업 */
.tablet-device-frame {
  width: 250px;
  max-width: 100%;
  background: #111827;
  border: 8px solid #1f2937;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(37, 99, 235, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tablet-screen-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* 15인치 / 대형 모니터 벽걸이 프레임 목업 */
.monitor-device-frame {
  width: 320px;
  max-width: 100%;
  background: #000000;
  border: 6px solid #334155;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.monitor-screen-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.flagship-info-area h2 {
  font-size: 2.1rem;
  font-weight: 800;
  margin: 0.75rem 0 0.5rem;
  word-break: keep-all;
}

.flagship-info-area .edition {
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 600;
}

.product-catchphrase {
  font-size: 1.08rem;
  color: #334155;
  font-weight: 600;
  margin-bottom: 0.75rem;
  word-break: keep-all;
}

.product-description {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  word-break: keep-all;
}

.spec-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  padding: 1.2rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
}

.spec-points li {
  word-break: keep-all;
  line-height: 1.55;
}

.lineup-subtitle {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-align: center;
  word-break: keep-all;
}

.sub-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-bottom: 4rem;
}

.sub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.sub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.sub-card.highlighted-card {
  border-color: var(--primary);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.card-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.card-tag.popular {
  background: var(--primary-light);
  color: var(--primary);
}

.sub-card h4 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  word-break: keep-all;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  word-break: keep-all;
}

.price-spec {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  padding: 0.75rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  word-break: keep-all;
}

/* 스펙 테이블 */
.spec-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.spec-table-wrap h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.table-responsive {
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.spec-table th, .spec-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  word-break: keep-all;
}

.spec-table th {
  background: var(--bg-subtle);
  font-weight: 700;
  color: var(--secondary);
}

.spec-table tr:hover td {
  background: #fafafa;
}

/* ========================================================
   3. 게시판 공통 스타일
   ======================================================== */
.board-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.board-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.board-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 380px;
  width: 100%;
}

.board-search input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  background: #ffffff;
  outline: none;
  transition: border-color var(--transition-fast);
}

.board-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-btn {
  padding: 0.65rem 1.2rem;
  background: var(--secondary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.search-btn:hover {
  background: #1e293b;
}

.board-guide-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--primary-light);
  border: 1px solid #bfdbfe;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: #1e40af;
  margin-bottom: 1.5rem;
  word-break: keep-all;
}

.board-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.93rem;
}

.board-table th {
  background: var(--bg-subtle);
  color: var(--secondary);
  font-weight: 700;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border-color);
}

.board-table td {
  padding: 1.05rem 1.2rem;
  border-bottom: 1px solid var(--border-color);
  color: #334155;
  word-break: keep-all;
}

.board-table tr {
  cursor: pointer;
  transition: background var(--transition-fast);
}

.board-table tbody tr:hover td {
  background: #f8fafc;
}

.board-table .pinned-row {
  background: #f8fafc;
}

.board-table .pinned-badge {
  display: inline-block;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  margin-right: 0.4rem;
}

.lock-icon {
  margin-right: 0.35rem;
  font-size: 0.85rem;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

.status-pending {
  background: #fef3c7;
  color: #b45309;
}

.status-done {
  background: var(--success-bg);
  color: var(--success);
}

.empty-msg {
  padding: 3.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========================================================
   모달 (Modal) 스타일
   ======================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-card.modal-sm {
  max-width: 440px;
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
}

.header-with-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.2rem;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-meta {
  padding: 0.75rem 1.75rem;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--border-color);
  background: #fafafa;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  align-items: center;
}

.modal-footer .footer-left {
  margin-right: auto;
  display: flex;
  gap: 0.5rem;
}

.post-content {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #334155;
  white-space: pre-wrap;
  word-break: keep-all;
}

.inquiry-body-box {
  background: #ffffff;
  padding: 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.body-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.6rem;
}

.admin-reply-box {
  background: var(--bg-subtle);
  border: 1px solid #cbd5e1;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.reply-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.reply-badge {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--primary);
}

.reply-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.reply-content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1e293b;
  white-space: pre-wrap;
  word-break: keep-all;
}

.admin-reply-editor {
  background: #f8fafc;
  border: 1px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin-top: 1rem;
}

.admin-reply-editor h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.reply-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
}

/* ========================================================
   폼 컨트롤 스타일 & 유효성 검사 피드백
   ======================================================== */
.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--secondary);
}

.form-group .req {
  color: var(--danger);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-control {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  outline: none;
  background: #ffffff;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-control.is-invalid {
  border-color: var(--danger);
  background-color: #fffafb;
}

.form-control.is-valid {
  border-color: var(--success);
}

.field-msg {
  font-size: 0.8rem;
  margin-top: 0.35rem;
  min-height: 18px;
}

.field-msg.text-danger {
  color: var(--danger);
  font-weight: 500;
}

.field-msg.text-success {
  color: var(--success);
  font-weight: 500;
}

.field-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--primary);
  cursor: pointer;
}

.confirm-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ========================================================
   슬림 푸터 & 인라인 Admin 스타일
   ======================================================== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  border-top: 1px solid #1e293b;
  margin-top: auto;
}

.footer-container-slim {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.8rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 1rem;
}

.company-brand-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
}

.corp-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #cbd5e1;
}

.company-details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.83rem;
  color: #94a3b8;
}

.company-details .sep {
  color: #334155;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #64748b;
}

.footer-links-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links-area a {
  color: #64748b;
  transition: color var(--transition-fast);
}

.footer-links-area a:hover {
  color: #cbd5e1;
}

.footer-links-area .dot {
  color: #334155;
}

.admin-inline-area {
  display: inline-flex;
  align-items: center;
}

.admin-text-link {
  background: none;
  border: none;
  color: #64748b;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition-fast);
}

.admin-text-link:hover {
  color: #cbd5e1;
  text-decoration: underline;
}

.admin-logged-text {
  color: #f59e0b;
  font-weight: 600;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.admin-logout-btn-text {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.admin-logout-btn-text:hover {
  color: #ffffff;
}

/* ========================================================
   토스트 알림 (Toast Notification)
   ======================================================== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  background: #0f172a;
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  background: #059669;
}

.toast.error {
  background: #dc2626;
}

/* ========================================================
   반응형 모바일 미디어 쿼리
   ======================================================== */
@media (max-width: 900px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .flagship-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .grid-2col {
    grid-template-columns: 1fr;
  }

  .footer-info-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .stats-bar {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .stat-label {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .header-container {
    padding: 0.85rem 1rem;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    display: none;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-item {
    padding: 0.85rem 1.5rem;
    width: 100%;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 0.75rem;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .board-table thead {
    display: none;
  }

  .board-table, .board-table tbody, .board-table tr, .board-table td {
    display: block;
    width: 100%;
  }

  .board-table tr {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    background: #ffffff;
  }

  .board-table td {
    padding: 0.2rem 0;
    border: none;
    text-align: left !important;
  }

  .board-table td:nth-child(1) {
    font-size: 0.8rem;
    color: var(--text-light);
    display: inline-block;
    margin-right: 0.5rem;
  }

  .board-table td:nth-child(2) {
    font-size: 0.98rem;
    margin: 0.25rem 0;
  }

  .board-table td:nth-child(3) {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
  }

  .board-table td:nth-child(4),
  .board-table td:nth-child(5) {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-right: 0.75rem;
  }

  .board-table td:nth-child(4)::before {
    content: "작성: ";
    color: var(--text-light);
  }

  .board-table td:nth-child(5)::before {
    content: " | ";
    color: var(--text-light);
    margin-right: 0.5rem;
  }

  .modal-card {
    border-radius: var(--radius-md);
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
