/* ============================================================
   (주)미르정보기술 메인 스타일시트
   Brand Color: #2C337D (MIR Blue), #4B52A1, #B4B4B4
   Font: Pretendard
   ============================================================ */

:root {
  --blue-deep: #2C337D;
  --blue-mid: #4B52A1;
  --blue-light: #6B73C5;
  --blue-pale: #E8EAFA;
  --gray: #B4B4B4;
  --gray-dark: #444;
  --gray-light: #F5F6FA;
  --white: #fff;
  --text: #1a1a2e;
  --text-muted: #666;
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(44,51,125,0.10);
  --shadow-lg: 0 8px 40px rgba(44,51,125,0.18);
  --radius: 12px;
  --radius-sm: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* ── 섹션 헤더 ── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue-mid); background: var(--blue-pale);
  padding: 6px 16px; border-radius: 20px; margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 700; line-height: 1.3;
  color: var(--text);
}
.section-title span { color: var(--blue-deep); }
.section-desc { font-size: 17px; color: var(--text-muted); margin-top: 16px; }
.divider {
  width: 50px; height: 3px;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-light));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ── 버튼 ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--blue-deep); color: var(--white);
  border: 2px solid var(--blue-deep);
}
.btn-primary:hover {
  background: var(--blue-mid); border-color: var(--blue-mid);
  transform: translateY(-2px); box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: white; }
.btn-outline-dark {
  background: transparent; color: var(--blue-deep);
  border: 2px solid var(--blue-deep);
}
.btn-outline-dark:hover { background: var(--blue-deep); color: white; }

/* ═══════════════════════════════
   HEADER
═══════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(44,51,125,0.08);
  transition: all var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 44px; width: auto; }
.logo-text { font-size: 18px; font-weight: 800; color: var(--blue-deep); }

.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a {
  display: block; padding: 8px 16px;
  font-size: 15px; font-weight: 500; color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-item:hover > a, .nav-item.active > a { color: var(--blue-deep); background: var(--blue-pale); }
.btn-contact-nav {
  background: var(--blue-deep) !important; color: white !important;
  border-radius: var(--radius-sm);
}
.btn-contact-nav:hover { background: var(--blue-mid) !important; }

.sub-menu {
  position: absolute; top: 100%; left: 0;
  background: white; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 160px; padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all var(--transition);
  border-top: 3px solid var(--blue-deep);
}
.nav-item:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu li a {
  display: block; padding: 10px 20px;
  font-size: 14px; color: var(--text-muted);
  transition: all var(--transition);
}
.sub-menu li a:hover { color: var(--blue-deep); background: var(--blue-pale); padding-left: 26px; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════════════════════════
   HERO (메인 페이지)
═══════════════════════════════ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f5e 40%, #2C337D 70%, #4B52A1 100%);
  position: relative; display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(75,82,161,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75,82,161,0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove { from { background-position: 0 0; } to { background-position: 60px 60px; } }
.hero-glow {
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(107,115,197,0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 4s ease-in-out infinite alternate;
}
@keyframes glowPulse { from { transform: scale(1); opacity: 0.5; } to { transform: scale(1.2); opacity: 1; } }

.hero-content { position: relative; z-index: 1; padding: 120px 0 80px; }
.hero-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9); font-size: 13px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 8px 18px; border-radius: 20px; margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-tag::before { content:''; display:block; width:8px; height:8px; border-radius:50%; background:#6BF0A0; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800; color: white;
  line-height: 1.15; margin-bottom: 24px;
}
.hero-title .highlight {
  background: linear-gradient(135deg, #82AAFF, #C3B5FF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,0.75);
  max-width: 580px; margin-bottom: 44px; line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 48px; margin-top: 64px; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: clamp(32px, 4vw, 48px); font-weight: 800;
  color: white; line-height: 1;
}
.hero-stat .num span { color: #82AAFF; }
.hero-stat .label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 6px; }
.hero-visual {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  width: min(45%, 540px); z-index: 1;
}
.cyber-orb {
  width: 100%; aspect-ratio: 1;
  background: radial-gradient(circle at 30% 30%, rgba(107,115,197,0.6), rgba(44,51,125,0.2));
  border-radius: 50%;
  border: 1px solid rgba(107,115,197,0.4);
  position: relative;
  animation: orbRotate 20s linear infinite;
  box-shadow: 0 0 60px rgba(107,115,197,0.4), inset 0 0 60px rgba(44,51,125,0.3);
}
@keyframes orbRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.orb-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(107,115,197,0.3);
  animation: ringPulse 3s ease-in-out infinite;
}
.orb-ring:nth-child(1) { inset: 10%; animation-delay: 0s; }
.orb-ring:nth-child(2) { inset: 20%; animation-delay: 0.5s; border-color: rgba(130,170,255,0.3); }
.orb-ring:nth-child(3) { inset: 35%; animation-delay: 1s; }
@keyframes ringPulse { 0%,100%{opacity:0.3;} 50%{opacity:0.8;} }

/* ═══════════════════════════════
   FEATURES (메인)
═══════════════════════════════ */
.features { background: var(--gray-light); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.feature-card {
  background: white; border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid rgba(44,51,125,0.06);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 60px; height: 60px; border-radius: var(--radius-sm);
  background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--blue-deep);
  margin-bottom: 20px;
  transition: all var(--transition);
}
.feature-card:hover .feature-icon { background: var(--blue-deep); color: white; }
.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ═══════════════════════════════
   ABOUT 섹션
═══════════════════════════════ */
.about-intro { background: white; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text .lead { font-size: 18px; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-pale); color: var(--blue-deep);
  font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 20px;
}
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-img-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--blue-deep); color: white;
  border-radius: var(--radius); padding: 20px 28px;
  box-shadow: var(--shadow-lg);
}
.about-img-badge .num { font-size: 36px; font-weight: 800; line-height: 1; }
.about-img-badge .txt { font-size: 13px; opacity: 0.8; margin-top: 4px; }

/* vision */
.vision { background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid)); }
.vision .section-tag { background: rgba(255,255,255,0.15); color: white; }
.vision .section-title { color: white; }
.vision-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.vision-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius); padding: 32px 24px;
  text-align: center; color: white;
  backdrop-filter: blur(4px);
  transition: all var(--transition);
}
.vision-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-4px); }
.vision-card i { font-size: 36px; margin-bottom: 16px; color: #82AAFF; }
.vision-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.vision-card p { font-size: 14px; opacity: 0.8; line-height: 1.7; }

/* history */
.history { background: var(--gray-light); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
  content:''; position: absolute;
  left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--blue-deep), var(--blue-light));
  transform: translateX(-50%);
}
.timeline-item { display: flex; gap: 40px; margin-bottom: 48px; align-items: flex-start; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-dot {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--blue-deep); border: 3px solid white;
  box-shadow: 0 0 0 4px rgba(44,51,125,0.2);
  margin-top: 6px;
}
.timeline-content {
  flex: 1; background: white; border-radius: var(--radius);
  padding: 24px 28px; box-shadow: var(--shadow);
  border-left: 4px solid var(--blue-deep);
  position: relative;
}
.timeline-item:nth-child(even) .timeline-content { border-left: none; border-right: 4px solid var(--blue-mid); }
.timeline-year { font-size: 13px; font-weight: 700; color: var(--blue-deep); margin-bottom: 6px; }
.timeline-content h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.timeline-content p { font-size: 14px; color: var(--text-muted); }

/* ═══════════════════════════════
   BUSINESS
═══════════════════════════════ */
.business-hero { background: linear-gradient(135deg, #0a0e27, #1a1f5e); padding: 140px 0 80px; }
.business-hero h1 { font-size: clamp(32px,5vw,56px); font-weight: 800; color: white; margin-bottom: 16px; }
.business-hero p { font-size: 18px; color: rgba(255,255,255,0.75); max-width: 560px; }
.business-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.business-card {
  border-radius: var(--radius); overflow: hidden;
  background: white; box-shadow: var(--shadow);
  transition: all var(--transition);
}
.business-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.bc-top {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  padding: 32px 28px; color: white;
}
.bc-top i { font-size: 40px; margin-bottom: 16px; }
.bc-top h3 { font-size: 20px; font-weight: 700; }
.bc-body { padding: 24px 28px; }
.bc-body ul { display: flex; flex-direction: column; gap: 8px; }
.bc-body li {
  font-size: 14px; color: var(--text-muted);
  padding-left: 16px; position: relative;
}
.bc-body li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue-deep);
}

/* 기술 스택 */
.tech-stack { background: var(--blue-deep); }
.tech-stack .section-title { color: white; }
.tech-stack .section-tag { background: rgba(255,255,255,0.15); color: white; }
.tech-stack .divider { background: rgba(255,255,255,0.3); }
.tech-logos { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.tech-badge {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: white; font-size: 14px; font-weight: 600;
  padding: 10px 22px; border-radius: 24px;
  transition: all var(--transition);
}
.tech-badge:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }

/* ═══════════════════════════════
   PRODUCTS
═══════════════════════════════ */
.product-hero { background: linear-gradient(135deg, #0a0e27, #2C337D); padding: 140px 0 80px; }
.product-hero h1 { font-size: clamp(32px,5vw,56px); font-weight: 800; color: white; margin-bottom: 16px; }
.product-hero p { font-size: 18px; color: rgba(255,255,255,0.75); max-width: 560px; }
.product-main {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.product-main-info h2 { font-size: 36px; font-weight: 800; color: var(--blue-deep); margin-bottom: 20px; }
.product-main-info p { color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.product-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pf-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--blue-pale); border-radius: var(--radius-sm); padding: 14px 18px;
}
.pf-item i { color: var(--blue-deep); margin-top: 2px; flex-shrink: 0; }
.pf-item p { font-size: 14px; color: var(--text); }
.product-visual {
  background: linear-gradient(135deg, #0a0e27, #2C337D);
  border-radius: var(--radius); padding: 48px;
  display: flex; align-items: center; justify-content: center;
  min-height: 350px; position: relative; overflow: hidden;
}
.product-logo-big {
  font-size: 48px; font-weight: 900; color: white;
  text-align: center; position: relative; z-index: 1;
}
.product-logo-big span { color: #82AAFF; }
.product-logo-sub { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 8px; font-weight: 400; }

.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.solution-card {
  border: 1px solid rgba(44,51,125,0.1); border-radius: var(--radius);
  padding: 28px 22px; text-align: center;
  transition: all var(--transition);
}
.solution-card:hover { border-color: var(--blue-deep); box-shadow: var(--shadow); transform: translateY(-4px); }
.solution-card i { font-size: 32px; color: var(--blue-deep); margin-bottom: 14px; }
.solution-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.solution-card p { font-size: 13px; color: var(--text-muted); }

/* ═══════════════════════════════
   PORTFOLIO
═══════════════════════════════ */
.portfolio-hero { background: linear-gradient(135deg, #0a0e27, #2C337D); padding: 140px 0 80px; }
.portfolio-hero h1 { font-size: clamp(32px,5vw,56px); font-weight: 800; color: white; margin-bottom: 16px; }
.stats-bar {
  display: flex; gap: 60px; flex-wrap: wrap;
  background: var(--blue-deep); border-radius: var(--radius);
  padding: 40px 60px; margin-bottom: 80px;
}
.stat-item { text-align: center; }
.stat-item .num { font-size: 44px; font-weight: 800; color: white; line-height: 1; }
.stat-item .num span { color: #82AAFF; }
.stat-item .label { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 6px; }

.clients-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.client-item {
  background: var(--gray-light); border-radius: var(--radius-sm);
  padding: 16px; text-align: center;
  font-size: 13px; color: var(--text-muted);
  transition: all var(--transition);
  border: 1px solid transparent;
}
.client-item:hover { border-color: var(--blue-deep); color: var(--blue-deep); background: var(--blue-pale); }

.partners-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.partner-tag {
  background: white; border: 1px solid rgba(44,51,125,0.15);
  border-radius: var(--radius-sm); padding: 10px 20px;
  font-size: 14px; color: var(--text-muted);
  transition: all var(--transition);
}
.partner-tag:hover { border-color: var(--blue-deep); color: var(--blue-deep); }

/* 인증/특허 */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.cert-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--gray-light); border-radius: var(--radius-sm); padding: 20px;
}
.cert-icon { font-size: 28px; color: var(--blue-deep); flex-shrink: 0; margin-top: 2px; }
.cert-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.cert-card p { font-size: 13px; color: var(--text-muted); }

/* ═══════════════════════════════
   NEWS
═══════════════════════════════ */
.news-hero { background: linear-gradient(135deg, #0a0e27, #2C337D); padding: 140px 0 80px; }
.news-hero h1 { font-size: clamp(32px,5vw,56px); font-weight: 800; color: white; margin-bottom: 16px; }
.news-tabs { display: flex; gap: 4px; margin-bottom: 48px; border-bottom: 2px solid rgba(44,51,125,0.1); }
.news-tab {
  padding: 12px 28px; font-size: 15px; font-weight: 600;
  color: var(--text-muted); border-bottom: 3px solid transparent;
  margin-bottom: -2px; transition: all var(--transition);
  cursor: pointer; text-decoration: none;
}
.news-tab.active, .news-tab:hover { color: var(--blue-deep); border-bottom-color: var(--blue-deep); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
.news-card {
  background: white; border-radius: var(--radius);
  border: 1px solid rgba(44,51,125,0.08);
  overflow: hidden; transition: all var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-card-body { padding: 24px; }
.news-cat {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: var(--blue-deep); background: var(--blue-pale);
  padding: 3px 10px; border-radius: 12px; margin-bottom: 12px;
}
.news-card h3 { font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.news-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.news-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px; border-top: 1px solid var(--gray-light);
  font-size: 13px; color: var(--text-muted);
}
.news-pinned { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #e74c3c; }

/* 게시글 상세 */
.post-header { background: var(--gray-light); padding: 60px 0 40px; margin-top: 72px; }
.post-cat {
  display: inline-block; font-size: 13px; font-weight: 700;
  color: var(--blue-deep); background: var(--blue-pale);
  padding: 4px 14px; border-radius: 12px; margin-bottom: 14px;
}
.post-title { font-size: clamp(24px,3.5vw,36px); font-weight: 800; line-height: 1.3; margin-bottom: 16px; }
.post-meta { display: flex; gap: 20px; font-size: 14px; color: var(--text-muted); }
.post-body { padding: 60px 0; max-width: 800px; }
.post-body p { margin-bottom: 20px; line-height: 1.9; color: var(--text); }
.post-body h2 { font-size: 24px; font-weight: 700; margin: 40px 0 16px; color: var(--blue-deep); }
.post-body ul, .post-body ol { padding-left: 24px; margin-bottom: 20px; }
.post-body li { margin-bottom: 8px; line-height: 1.8; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  background: white; color: var(--text-muted);
  border: 1px solid rgba(44,51,125,0.15);
  transition: all var(--transition);
}
.page-btn:hover, .page-btn.active { background: var(--blue-deep); color: white; border-color: var(--blue-deep); }

/* ═══════════════════════════════
   RECRUIT
═══════════════════════════════ */
.recruit-hero { background: linear-gradient(135deg, #0a0e27, #2C337D); padding: 140px 0 80px; }
.recruit-hero h1 { font-size: clamp(32px,5vw,56px); font-weight: 800; color: white; margin-bottom: 16px; }
.welfare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.welfare-item {
  text-align: center; padding: 32px 20px;
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.welfare-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.welfare-item i { font-size: 36px; color: var(--blue-deep); margin-bottom: 14px; }
.welfare-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.welfare-item p { font-size: 13px; color: var(--text-muted); }

/* ═══════════════════════════════
   CONTACT
═══════════════════════════════ */
.contact-hero { background: linear-gradient(135deg, #0a0e27, #2C337D); padding: 140px 0 80px; }
.contact-hero h1 { font-size: clamp(32px,5vw,56px); font-weight: 800; color: white; margin-bottom: 16px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; }
.contact-info h2 { font-size: 28px; font-weight: 800; margin-bottom: 24px; color: var(--blue-deep); }
.contact-info-items { display: flex; flex-direction: column; gap: 20px; }
.ci-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--blue-pale); color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.ci-item h4 { font-size: 13px; font-weight: 700; color: var(--text-muted); margin-bottom: 2px; }
.ci-item p { font-size: 15px; font-weight: 600; color: var(--text); }
.map-wrap { margin-top: 32px; border-radius: var(--radius); overflow: hidden; height: 280px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.contact-form { background: white; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 48px; }
.contact-form h2 { font-size: 24px; font-weight: 800; margin-bottom: 32px; color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid rgba(44,51,125,0.15); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--text);
  transition: border-color var(--transition);
  background: var(--gray-light);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--blue-deep); background: white;
}
.form-group textarea { height: 140px; resize: vertical; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
.form-check input[type=checkbox] { margin-top: 3px; accent-color: var(--blue-deep); }
.form-check label { font-size: 14px; color: var(--text-muted); }
.form-check a { color: var(--blue-deep); text-decoration: underline; }
.form-success {
  text-align: center; padding: 40px; display: none;
}
.form-success i { font-size: 48px; color: #27ae60; margin-bottom: 16px; }
.form-success h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.form-success p { color: var(--text-muted); }

/* ═══════════════════════════════
   POPUP
═══════════════════════════════ */
.popup-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
}
.popup-box {
  background: white; border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  overflow: hidden; max-width: 95vw; max-height: 90vh;
}
.popup-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; background: var(--blue-deep); color: white;
}
.popup-title { font-size: 15px; font-weight: 700; }
.popup-close {
  font-size: 22px; color: rgba(255,255,255,0.8);
  cursor: pointer; line-height: 1;
  transition: color var(--transition);
}
.popup-close:hover { color: white; }
.popup-body { overflow-y: auto; max-height: 60vh; }
.popup-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 20px; border-top: 1px solid var(--gray-light);
  font-size: 14px;
}
.popup-footer button {
  background: var(--blue-deep); color: white;
  padding: 7px 18px; border-radius: var(--radius-sm); font-size: 14px;
}

/* ═══════════════════════════════
   ADMIN
═══════════════════════════════ */
.admin-body { font-family: 'Pretendard', sans-serif; background: #F0F2F8; min-height: 100vh; }
.admin-sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; width: 240px;
  background: var(--blue-deep); color: white;
  display: flex; flex-direction: column;
  z-index: 100;
}
.admin-logo {
  padding: 24px 20px; font-size: 16px; font-weight: 800;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-logo small { display: block; font-size: 11px; font-weight: 400; opacity: 0.6; margin-top: 2px; }
.admin-nav { flex: 1; padding: 16px 0; overflow-y: auto; }
.admin-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; font-size: 14px; color: rgba(255,255,255,0.75);
  transition: all var(--transition);
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,0.12); color: white; }
.admin-nav a i { font-size: 16px; width: 20px; }
.admin-nav .nav-group-title {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.4); padding: 12px 20px 4px;
}
.admin-main { margin-left: 240px; min-height: 100vh; }
.admin-topbar {
  background: white; padding: 0 32px; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(44,51,125,0.08);
  box-shadow: var(--shadow);
}
.admin-topbar h1 { font-size: 18px; font-weight: 700; color: var(--text); }
.admin-content { padding: 32px; }
.admin-card {
  background: white; border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); margin-bottom: 24px;
}
.admin-card h2 { font-size: 17px; font-weight: 700; margin-bottom: 20px; color: var(--text); }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.admin-stat-card {
  background: white; border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  border-left: 4px solid var(--blue-deep);
}
.admin-stat-card .num { font-size: 32px; font-weight: 800; color: var(--blue-deep); }
.admin-stat-card .label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  background: var(--gray-light); padding: 12px 16px;
  font-size: 13px; font-weight: 700; color: var(--text-muted);
  text-align: left; border-bottom: 2px solid rgba(44,51,125,0.1);
}
.admin-table td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--gray-light); }
.admin-table tr:hover td { background: var(--blue-pale); }
.admin-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all var(--transition);
}
.admin-btn-primary { background: var(--blue-deep); color: white; border: none; }
.admin-btn-primary:hover { background: var(--blue-mid); }
.admin-btn-danger { background: #e74c3c; color: white; border: none; }
.admin-btn-danger:hover { background: #c0392b; }
.admin-btn-sm { padding: 5px 12px; font-size: 12px; }
.admin-form-group { margin-bottom: 20px; }
.admin-form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.admin-form-group input, .admin-form-group textarea, .admin-form-group select {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid rgba(44,51,125,0.15); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit;
}
.admin-form-group input:focus, .admin-form-group textarea:focus, .admin-form-group select:focus {
  outline: none; border-color: var(--blue-deep);
}
.admin-form-group textarea { height: 400px; resize: vertical; }
.badge-read { background:#e8f5e9; color:#27ae60; padding:3px 10px; border-radius:10px; font-size:12px; font-weight:700; }
.badge-unread { background:#fce4ec; color:#e74c3c; padding:3px 10px; border-radius:10px; font-size:12px; font-weight:700; }
.badge-published { background:#e3f2fd; color:#1976d2; padding:3px 10px; border-radius:10px; font-size:12px; font-weight:700; }

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
.site-footer { background: #0d1137; color: rgba(255,255,255,0.8); }
.footer-top { display: grid; grid-template-columns: 280px 1fr; gap: 60px; padding: 70px 0 50px; }
.footer-logo-img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.footer-logo-text { font-size: 16px; font-weight: 800; color: white; }
.footer-slogan { font-size: 14px; line-height: 1.8; margin-top: 12px; color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: all var(--transition);
}
.footer-social a:hover { background: var(--blue-mid); color: white; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: white; margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a, .footer-col li {
  font-size: 13px; color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col li a:hover { color: white; }
.footer-contact-info li { display: flex; gap: 8px; align-items: flex-start; }
.footer-contact-info li i { color: rgba(255,255,255,0.4); flex-shrink: 0; margin-top: 2px; font-size: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0; text-align: center;
  font-size: 13px; color: rgba(255,255,255,0.4);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}

/* ═══════════════════════════════
   ANIMATIONS
═══════════════════════════════ */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-left {
  opacity: 0; transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right {
  opacity: 0; transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

/* 스크롤 탑 버튼 */
.scroll-top {
  position: fixed; right: 24px; bottom: 28px; z-index: 500;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-deep); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transition: all var(--transition);
  border: none; cursor: pointer;
}
.scroll-top.show { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--blue-mid); transform: translateY(-2px); }

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid, .product-main, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { display: none; }
  .stats-bar { justify-content: center; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: column; padding-left: 50px; }
  .timeline-dot { left: 20px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hamburger { display: flex; }
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: white; padding: 24px; overflow-y: auto;
    transform: translateX(-100%); transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-item > a { padding: 14px 0; border-bottom: 1px solid var(--gray-light); font-size: 16px; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 8px 16px; }
  .sub-menu li a { padding: 8px 0; border-bottom: none; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr; }
  .stats-bar { gap: 32px; padding: 28px 24px; }
}
