/* ───────────── Reset & Base ───────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1E293B;
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ───────────── Design Tokens ───────────── */
:root {
  --primary: #3B4FBF;
  --primary-dark: #2C3A9E;
  --primary-light: #5B6ED4;
  --accent: #6366F1;
  --bg-light: #F8FAFC;
  --bg-soft: #EEF0FA;
  --text: #1E293B;
  --text-soft: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --shadow-sm: 0 2px 8px rgba(59, 79, 191, 0.06);
  --shadow-md: 0 8px 24px rgba(59, 79, 191, 0.10);
  --shadow-lg: 0 20px 50px rgba(59, 79, 191, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
}

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

/* ───────────── Navigation ───────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.logo-mark {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff; font-size: 18px; font-weight: 800; padding: 6px 12px;
  border-radius: 8px; letter-spacing: -0.5px;
}
.logo-divider { width: 1px; height: 20px; background: var(--border); }
.logo-text { font-size: 13px; color: var(--text-soft); font-weight: 500; letter-spacing: 0.2px; }
.nav-menu { display: flex; gap: 32px; align-items: center; }
.nav-menu a {
  font-size: 14px; color: var(--text-soft); font-weight: 500;
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--primary); }
.mobile-menu-btn {
  display: none; background: none; border: none; font-size: 24px;
  cursor: pointer; color: var(--text);
}

/* ───────────── Buttons ───────────── */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 8px;
  font-weight: 600; font-size: 14px; transition: all 0.2s;
  border: none; cursor: pointer; text-align: center;
}
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(59, 79, 191, 0.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(59, 79, 191, 0.35); }
.btn-outline {
  background: transparent; color: var(--primary); border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ───────────── Hero ───────────── */
.hero {
  padding: 140px 0 100px; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 15% 50%, rgba(91, 110, 212, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}
.hero-inner { text-align: center; max-width: 860px; margin: 0 auto; }
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: var(--bg-soft); color: var(--primary);
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  margin-bottom: 28px; border: 1px solid rgba(59, 79, 191, 0.15);
}
.hero-title {
  font-size: clamp(36px, 5.5vw, 64px); line-height: 1.15; font-weight: 800;
  letter-spacing: -1.5px; margin-bottom: 28px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 19px); color: var(--text-soft);
  margin-bottom: 44px; line-height: 1.7;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-bottom: 72px; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num {
  font-size: 36px; font-weight: 800; color: var(--primary);
  letter-spacing: -1px; margin-bottom: 4px;
}
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ───────────── Sections ───────────── */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 64px; }
.eyebrow {
  font-size: 13px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 800;
  letter-spacing: -0.8px; margin-bottom: 16px; color: var(--text);
}
.section-lead { font-size: 17px; color: var(--text-soft); max-width: 640px; margin: 0 auto; }

/* ───────────── About ───────────── */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.about-card {
  background: #fff; padding: 36px 32px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); transition: all 0.3s;
}
.about-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.about-icon { font-size: 36px; margin-bottom: 20px; }
.about-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.about-card p { color: var(--text-soft); font-size: 15px; line-height: 1.7; }

/* ───────────── Solutions ───────────── */
.solution-list { display: flex; flex-direction: column; gap: 24px; }
.solution-card {
  background: #fff; border-radius: var(--radius-lg); padding: 48px;
  border: 1px solid var(--border);
  display: grid; grid-template-columns: 180px 1fr 1fr;
  gap: 32px; align-items: start;
}
.solution-tag {
  display: inline-block; padding: 8px 16px; border-radius: 8px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.3px;
}
.solution-primary   .solution-tag { background: rgba(59, 79, 191, 0.12);  color: var(--primary); }
.solution-secondary .solution-tag { background: rgba(99, 102, 241, 0.12); color: var(--accent); }
.solution-tertiary  .solution-tag { background: rgba(236, 72, 153, 0.12); color: #DB2777; }
.solution-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.3px; }
.solution-desc { color: var(--text-soft); font-size: 15px; line-height: 1.7; }
.feature-list { display: flex; flex-direction: column; gap: 10px; padding-left: 24px; border-left: 2px solid var(--border); }
.feature-list li {
  font-size: 14px; color: var(--text-soft); position: relative; padding-left: 20px;
}
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary);
}

/* ───────────── Technology ───────────── */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.tech-item {
  padding: 32px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--border); transition: all 0.3s; position: relative;
}
.tech-item:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); }
.tech-num {
  font-size: 13px; font-weight: 800; color: var(--primary);
  margin-bottom: 16px; letter-spacing: 1px;
}
.tech-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.tech-item p { font-size: 14px; color: var(--text-soft); line-height: 1.7; }
.tech-item em { font-style: normal; color: var(--primary); font-weight: 600; }

/* ───────────── Research ───────────── */
.research-note {
  background: #fff; padding: 48px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); max-width: 900px; margin: 0 auto;
}
.research-note p { font-size: 15px; color: var(--text-soft); line-height: 1.8; margin-bottom: 40px; }
.research-pipeline { display: flex; justify-content: space-between; position: relative; gap: 8px; }
.research-pipeline::before {
  content: ''; position: absolute; top: 8px; left: 8%; right: 8%;
  height: 2px; background: var(--border); z-index: 0;
}
.pipeline-step { position: relative; z-index: 1; text-align: center; flex: 1; }
.pipeline-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--border); margin: 0 auto 12px;
  border: 3px solid #fff; box-shadow: 0 0 0 1px var(--border);
}
.pipeline-step.done .pipeline-dot { background: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.pipeline-step.active .pipeline-dot {
  background: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 0 6px rgba(99, 102, 241, 0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 1px var(--accent), 0 0 0 6px rgba(99, 102, 241, 0.2); }
  50%      { box-shadow: 0 0 0 1px var(--accent), 0 0 0 10px rgba(99, 102, 241, 0.08); }
}
.pipeline-label { font-size: 12px; color: var(--text-soft); font-weight: 500; }
.pipeline-step.done .pipeline-label, .pipeline-step.active .pipeline-label { color: var(--text); font-weight: 600; }

/* ───────────── News ───────────── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.news-card {
  padding: 32px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--border); transition: all 0.2s;
}
.news-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.news-date { font-size: 12px; color: var(--primary); font-weight: 700; letter-spacing: 0.5px; margin-bottom: 12px; }
.news-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.news-card p { font-size: 14px; color: var(--text-soft); line-height: 1.7; }

/* ───────────── Contact CTA ───────────── */
.section-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff; text-align: center;
}
.section-cta h2 { color: #fff; font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; margin-bottom: 16px; }
.section-cta > .container > p { font-size: 17px; opacity: 0.9; margin-bottom: 48px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; max-width: 800px; margin: 0 auto 48px; }
.contact-label { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0.7; margin-bottom: 8px; }
.contact-value { font-size: 16px; font-weight: 600; }
.section-cta .btn-primary { background: #fff; color: var(--primary); box-shadow: none; }
.section-cta .btn-primary:hover { background: var(--bg-soft); }

/* ───────────── Footer ───────────── */
.footer { padding: 48px 0; background: #0F172A; color: #94A3B8; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-logo { font-size: 16px; padding: 4px 10px; }
.footer-brand p { font-size: 13px; margin-top: 8px; }
.footer-meta { text-align: right; font-size: 13px; }
.footer-meta a { color: #CBD5E1; margin: 0 4px; }
.footer-meta a:hover { color: #fff; }

/* ───────────── Responsive ───────────── */
@media (max-width: 960px) {
  .nav-inner { position: relative; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 24px;
    right: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 12px 14px; }
  .nav-menu .btn { width: 100%; }
  .mobile-menu-btn { display: block; }
  .solution-card { grid-template-columns: 1fr; padding: 32px; }
  .feature-list { border-left: none; padding-left: 0; }
  .research-pipeline { flex-direction: column; gap: 16px; }
  .research-pipeline::before { display: none; }
  .pipeline-step { text-align: left; display: flex; align-items: center; gap: 12px; }
  .pipeline-dot { margin: 0; }
  .hero-stats { gap: 32px; }
}

/* --- Added: mission quote (About section) --- */
.mission-quote {
  margin: 24px auto 18px;
  max-width: 760px;
  padding: 18px 28px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
  color: #1f2437;
  text-align: center;
  border-left: 4px solid #3B4FBF;
  border-right: 4px solid #6366F1;
  background: linear-gradient(90deg, rgba(59,79,191,0.05), rgba(99,102,241,0.05));
  border-radius: 6px;
  letter-spacing: -0.01em;
}
@media (max-width: 640px) {
  .mission-quote { font-size: 1.05rem; padding: 14px 18px; }
}

/* --- Added: footer corporation line --- */
.footer-corp {
  font-weight: 600;
  color: #cfd3de;
  letter-spacing: 0.01em;
}

/* --- Added: R&D tag, solutions note, footer disclaimer --- */
.rnd-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #8a6d0b;
  background: #fef3c7;
  border-radius: 999px;
  vertical-align: middle;
}
.solutions-note {
  margin-top: 40px;
  padding: 16px 20px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #555;
  background: #f7f8fb;
  border-left: 3px solid #c7cbd9;
  border-radius: 4px;
}
.solutions-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
  color: var(--text-soft);
  font-size: 14px;
}
.footer-disclaimer {
  margin-top: 10px;
  font-size: 0.78rem;
  color: #9aa0ad;
  max-width: 520px;
}

@media (max-width: 640px) {
  .hero { padding: 110px 0 80px; }
  .section { padding: 72px 0; }
  .logo-text { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-meta { text-align: center; }
  .solutions-actions { flex-direction: column; text-align: center; }
}

/* ───────────── Legal and utility pages ───────────── */
.utility-main { padding: 132px 0 80px; min-height: 72vh; background: var(--bg-light); }
.utility-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 44px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.utility-shell h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.2; margin-bottom: 12px; }
.utility-shell h2 { font-size: 22px; margin: 34px 0 10px; }
.utility-shell p, .utility-shell li { color: var(--text-soft); font-size: 15px; line-height: 1.8; }
.utility-shell ul { list-style: disc; padding-left: 24px; margin-top: 8px; }
.utility-meta { margin-bottom: 28px; color: var(--text-muted); font-size: 14px; }
.utility-actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.utility-note { margin-top: 28px; padding: 16px 18px; background: var(--bg-soft); border-radius: 8px; }

@media (max-width: 640px) {
  .utility-main { padding: 104px 0 56px; }
  .utility-shell { padding: 28px 22px; border-radius: 12px; }
}
