
:root {
  --navy: #0a1628;
  --steel: #1c2e4a;
  --accent: #e8601c;
  --light: #f5f6f8;
  --white: #ffffff;
  --gray: #8a9ab0;
  --text: #1a2535;
  --border: #e5eaf0;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans KR', sans-serif; background: var(--white); color: var(--text); overflow-x: hidden; }

/* HEADER */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 70px;
}
.header-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 40px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
/* logo-mark removed */
.logo-text .en { font-family: 'Bebas Neue'; color: white; font-size: 18px; letter-spacing: 2px; display: block; }
.logo-text .kr { color: var(--gray); font-size: 10px; letter-spacing: 3px; font-weight: 300; }

/* MEGA MENU */
nav { display: flex; gap: 4px; align-items: center; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: 0.5px;
  padding: 0 18px; height: 100%; display: flex; align-items: center;
  transition: color 0.2s; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nav-link:hover, .nav-link.active { color: white; border-bottom-color: var(--accent); }
.dropdown {
  position: absolute; top: 70px; left: 0;
  background: white; border-top: 2px solid var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 160px; z-index: 999;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.2s;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 12px 20px;
  font-size: 13px; color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s, color 0.15s;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--light); color: var(--accent); }
.nav-cta {
  background: var(--accent); color: white !important;
  padding: 9px 20px; border-radius: 4px; margin-left: 12px;
  font-size: 12px; letter-spacing: 1px; border-bottom: none !important;
}
.nav-cta:hover { background: #c9541a !important; }

/* PAGE HERO */
.page-hero {
  margin-top: 70px;
  background: linear-gradient(135deg, var(--navy) 0%, #0e2040 100%);
  padding: 60px 40px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-inner { max-width: 1400px; margin: 0 auto; position: relative; }
.page-hero .breadcrumb { color: rgba(255,255,255,0.4); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.page-hero .breadcrumb span { color: var(--accent); }
.page-hero h1 { font-family: 'Bebas Neue'; font-size: 52px; color: white; letter-spacing: 2px; line-height: 1; }
.page-hero p { color: rgba(255,255,255,0.5); font-size: 14px; margin-top: 10px; font-weight: 300; }

/* SUB NAV */
.sub-nav {
  background: white; border-bottom: 1px solid var(--border);
  position: sticky; top: 70px; z-index: 100;
}
.sub-nav-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 40px;
  display: flex; gap: 0;
}
.sub-nav a {
  display: block; padding: 16px 24px;
  font-size: 13px; color: #6a7a90; text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s; white-space: nowrap;
}
.sub-nav a:hover, .sub-nav a.active { color: var(--accent); border-bottom-color: var(--accent); }

/* CONTENT */
.content-wrap { max-width: 1400px; margin: 0 auto; padding: 60px 40px; }
.section-title-line {
  font-size: 24px; font-weight: 700; color: var(--navy);
  padding-bottom: 16px; margin-bottom: 32px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.section-title-line::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 60px; height: 2px; background: var(--accent);
}

/* FOOTER */
footer { background: #060f1c; padding: 60px 40px 40px; color: rgba(255,255,255,0.4); margin-top: 80px; }
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 32px;
}
.footer-col h5 { color: rgba(255,255,255,0.7); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.35); text-decoration: none; font-size: 13px; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: rgba(255,255,255,0.7); }
.footer-info p { font-size: 13px; line-height: 1.8; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.footer-bottom a { color: rgba(255,255,255,0.25); text-decoration: none; }

/* HERO MAIN */
#main-hero {
  position: relative; height: 100vh; background: var(--navy);
  overflow: hidden; display: flex; align-items: center; padding: 0 40px;
  margin-top: 70px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(28,46,74,0.9) 0%, transparent 70%),
    linear-gradient(135deg, var(--navy) 40%, #0e2040 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,96,28,0.15); border: 1px solid rgba(232,96,28,0.3);
  color: var(--accent); font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 2px; margin-bottom: 28px;
}
.hero-title { font-family: 'Bebas Neue'; font-size: clamp(56px, 8vw, 100px); color: white; line-height: 0.92; letter-spacing: 2px; }
.hero-title .hs { color: var(--accent); }
.hero-sub { margin-top: 24px; font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.8; font-weight: 300; max-width: 480px; }
.hero-btns { margin-top: 40px; display: flex; gap: 16px; }
.btn-primary { background: var(--accent); color: white; padding: 14px 32px; border-radius: 4px; text-decoration: none; font-size: 13px; font-weight: 500; transition: background 0.2s; }
.btn-primary:hover { background: #c9541a; }
.btn-outline { border: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.8); padding: 14px 32px; border-radius: 4px; text-decoration: none; font-size: 13px; transition: all 0.2s; }
.btn-outline:hover { border-color: white; color: white; }
.hero-stats { position: absolute; right: 40px; bottom: 80px; display: flex; gap: 48px; }
.stat-num { font-family: 'Bebas Neue'; font-size: 44px; color: white; line-height: 1; }
.stat-num span { color: var(--accent); font-size: 28px; }
.stat-label { color: var(--gray); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }

/* PRODUCT CARDS */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.card {
  border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s; text-decoration: none; color: var(--text);
}
.card:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.1); transform: translateY(-4px); }
.card-thumb {
  height: 180px; background: var(--steel);
  display: flex; align-items: center; justify-content: center; font-size: 56px;
}
.card-body { padding: 24px; }
.card-tag { display: inline-block; background: rgba(232,96,28,0.1); color: var(--accent); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; margin-bottom: 10px; }
.card-body h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--navy); }
.card-body p { font-size: 13px; color: #6a7a90; line-height: 1.7; }

/* TABLE */
.info-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.info-table th, .info-table td { padding: 14px 20px; border: 1px solid var(--border); font-size: 14px; text-align: left; }
.info-table th { background: var(--light); color: var(--navy); font-weight: 600; width: 180px; }

/* TIMELINE */
.timeline { margin-top: 32px; }
.timeline-year { font-family: 'Bebas Neue'; font-size: 36px; color: var(--accent); margin-bottom: 12px; margin-top: 32px; }
.timeline-item { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.timeline-month { font-size: 13px; font-weight: 600; color: var(--navy); min-width: 40px; }
.timeline-content { font-size: 13px; color: #5a6a80; line-height: 1.6; }

/* CONTACT FORM */
.contact-form { max-width: 700px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: 4px; font-size: 14px; font-family: inherit;
  transition: border-color 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { height: 160px; resize: vertical; }
.form-submit {
  background: var(--accent); color: white; border: none;
  padding: 14px 40px; border-radius: 4px; font-size: 14px;
  cursor: pointer; transition: background 0.2s; font-family: inherit;
}
.form-submit:hover { background: #c9541a; }

/* INFO BOXES */
.info-box-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.info-box { background: var(--light); border-radius: 8px; padding: 28px; border-left: 3px solid var(--accent); }
.info-box h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.info-box p, .info-box li { font-size: 13px; color: #5a6a80; line-height: 1.8; }
.info-box ul { padding-left: 16px; }

/* POLICY */
.policy-box { background: var(--light); border-radius: 8px; padding: 40px; margin-top: 24px; border: 1px solid var(--border); }
.policy-box h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 16px; text-align: center; }
.policy-box p { font-size: 14px; color: var(--text); line-height: 2; margin-bottom: 16px; }
.policy-box .policy-item { margin-bottom: 20px; }
.policy-box .policy-item h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.policy-box .policy-item li { font-size: 13px; color: #5a6a80; line-height: 1.8; list-style: none; padding-left: 12px; }
.policy-box .policy-item li::before { content: '- '; color: var(--accent); }
.policy-sign { text-align: right; margin-top: 32px; font-size: 14px; color: var(--navy); font-weight: 600; }

/* RECRUIT */
.recruit-section { margin-bottom: 48px; }
.talent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.talent-card { background: var(--navy); border-radius: 8px; padding: 28px 20px; text-align: center; }
.talent-num { font-family: 'Bebas Neue'; font-size: 36px; color: var(--accent); }
.talent-title { color: white; font-size: 15px; font-weight: 600; margin: 8px 0; }
.talent-desc { color: rgba(255,255,255,0.45); font-size: 12px; line-height: 1.6; }
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.edu-card { border: 1px solid var(--border); border-radius: 8px; padding: 24px; }
.edu-icon { font-size: 32px; margin-bottom: 12px; }
.edu-card h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.edu-card p { font-size: 13px; color: #6a7a90; line-height: 1.6; }

/* CYBER */
.cyber-flow { display: flex; align-items: center; gap: 0; margin: 32px 0; flex-wrap: wrap; }
.cyber-step { background: var(--navy); color: white; padding: 16px 24px; font-size: 13px; font-weight: 500; text-align: center; flex: 1; min-width: 100px; }
.cyber-arrow { color: var(--accent); font-size: 20px; padding: 0 8px; }
.cyber-box { background: var(--light); border-radius: 8px; padding: 28px; margin-bottom: 20px; border-left: 4px solid var(--navy); }
.cyber-box h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 12px; padding: 6px 14px; background: var(--navy); color: white; display: inline-block; border-radius: 3px; }
.cyber-box li { font-size: 13px; color: #5a6a80; line-height: 1.8; list-style: none; padding-left: 12px; }
.cyber-box li::before { content: '✗ '; color: var(--accent); }

/* MAP */
.map-container { background: var(--navy); border-radius: 8px; height: 360px; display: flex; align-items: center; justify-content: center; margin-bottom: 32px; position: relative; overflow: hidden; }
.map-placeholder { text-align: center; color: rgba(255,255,255,0.4); }
.map-placeholder p { font-size: 14px; margin-top: 8px; }

/* MOBILE */
@media (max-width: 900px) {
  nav { display: none; }
  .card-grid, .info-box-grid, .talent-grid, .edu-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { display: none; }
  .content-wrap { padding: 40px 20px; }
}

/* 헤더 로고 이미지 (HS 마크 대체) */
.header-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 4px;
  background: white;
  padding: 2px;
  flex-shrink: 0;
}
