
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;900&display=swap');
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --blue: #3b82f6;
  --purple: #a855f7;
  --text-dark: #0f172a;
  --text-body: #475569;
  --text-light: #94a3b8;
  --text-muted: #64748b;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-section: #eef2ff;
  --border: #e5e7eb;
  --border-light: rgba(99,102,241,0.12);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 44px rgba(0,0,0,0.08);
  --shadow-primary: 0 4px 24px rgba(99,102,241,0.25);
  --radius: 16px;
  --radius-lg: 20px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  margin: 0; padding: 0;
  line-height: 1.7;
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: all 0.3s; }
img { max-width: 100%; height: auto; }

/* ========== Buttons ========== */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--primary));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  box-shadow: var(--shadow-primary);
  border: none; cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99,102,241,0.4);
}
.btn-ghost {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 14px;
  border: 1.5px solid var(--border-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  background: transparent;
  transition: all 0.3s;
  cursor: pointer;
}
.btn-ghost:hover {
  background: rgba(99,102,241,0.04);
  border-color: var(--primary);
}

/* ========== Section Labels & Titles ========== */
.section-label {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(59,130,246,0.08));
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 16px;
  line-height: 1.35;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.section-center { text-align: center; }

/* ========== Content Wrapper ========== */
.content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}
.content-wrapper.narrow { max-width: 800px; }

/* ========== Page Banner (Sub Pages) ========== */
.page-banner {
  background: linear-gradient(180deg, var(--bg-white), var(--bg-section));
  color: var(--text-dark);
  padding: 100px 24px 60px;
  text-align: center;
  position: relative;
}
.page-banner h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0 0 10px;
}
.page-banner p {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.page-banner .breadcrumb {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 14px;
}
.page-banner .breadcrumb a { color: var(--primary); }
.page-banner .breadcrumb a:hover { text-decoration: underline; }

/* ========== Cards ========== */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 36px 28px;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(135deg, var(--blue), var(--primary));
  transition: height 0.35s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-light);
}
.card:hover::after { height: 3px; }

/* ========== Grid ========== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ========== Hero Section (Home) ========== */
.hero-video-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #070d1a;
}
.hero-video-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}
.hero-video-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-video-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,13,26,0.5) 0%, rgba(7,13,26,0.3) 40%, rgba(7,13,26,0.6) 100%),
    linear-gradient(135deg, rgba(99,102,241,0.15) 0%, transparent 60%);
}
.hero-video-content {
  position: relative; z-index: 2;
  text-align: center; color: #fff;
  max-width: 800px; padding: 0 24px;
}
.hero-badge {
  display: inline-block;
  padding: 8px 22px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.06);
}
.hero-video-content h1 {
  font-size: 3.8rem;
  font-weight: 900;
  margin: 0;
  letter-spacing: -1px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.hero-divider {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--primary));
  margin: 24px auto;
  border-radius: 2px;
}
.hero-video-content .subtitle {
  font-size: 1.05rem;
  line-height: 1.9;
  opacity: 0.82;
  font-weight: 300;
  margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-buttons .hero-btn {
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--blue), var(--primary));
  color: #fff;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  box-shadow: 0 4px 24px rgba(99,102,241,0.3);
}
.hero-buttons .hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99,102,241,0.45);
}
.hero-buttons .hero-btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  box-shadow: none;
}
.hero-buttons .hero-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  box-shadow: none;
}
.hero-scroll-hint {
  margin-top: 48px;
  animation: bounceDown 2s infinite;
}
.hero-scroll-hint .material-icons { font-size: 2rem; color: rgba(255,255,255,0.4); }
@keyframes bounceDown {
  0%,20%,50%,80%,100% { transform: translateY(0); }
  40% { transform: translateY(10px); }
  60% { transform: translateY(5px); }
}

/* ========== Feature Cards (Home) ========== */
.feature-cards {
  padding: 0;
  background: linear-gradient(180deg, var(--bg-white), var(--bg-section));
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 40px 28px;
  text-align: center;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(135deg, var(--blue), var(--primary));
  transition: height 0.35s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-light);
}
.feature-card:hover::after { height: 3px; }
.feature-card .icon-wrap {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(59,130,246,0.1));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.feature-card .icon-wrap .material-icons { font-size: 28px; color: var(--primary); }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 10px; color: var(--text-dark); }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }
/* 핵심 사업 분야 카드 링크: 카드 모양 유지 */
.feature-card-link { display: block; text-decoration: none; color: inherit; cursor: pointer; }

/* ========== Stats Section ========== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--blue));
  padding: 60px 0;
  color: #fff;
}
.stats-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 30px; text-align: center; padding: 0 24px;
}
.stat-item .number { font-size: 2.4rem; font-weight: 900; margin-bottom: 4px; }
.stat-item .label { font-size: 0.88rem; opacity: 0.75; }

/* ========== Partner Cards ========== */
.partner-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
}

/* ========== Greeting Section ========== */
.greeting-section {
  background: linear-gradient(180deg, var(--bg-white), var(--bg-section));
  padding: 70px 0;
}
.greeting-box {
  max-width: 800px; margin: 0 auto; padding: 0 24px;
}
.greeting-box .greeting-text {
  font-size: 1rem; line-height: 2; color: var(--text-body);
}
.greeting-box .ceo-sign {
  text-align: right; margin-top: 40px;
  font-weight: 700; color: var(--primary); font-size: 1.1rem;
}

/* ========== Timeline ========== */
.timeline {
  position: relative; max-width: 800px; margin: 0 auto; padding: 20px 0;
}
.timeline::before {
  content: ''; position: absolute; left: 115px;
  top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--blue), var(--border));
}
.timeline-item {
  display: flex; align-items: flex-start; margin-bottom: 28px; position: relative;
}
.timeline-year {
  width: 110px; flex-shrink: 0;
  text-align: right; padding-right: 24px;
  font-weight: 700; color: var(--primary); font-size: 1rem;
}
.timeline-dot {
  width: 12px; height: 12px;
  background: var(--primary); border-radius: 50%;
  flex-shrink: 0; margin-top: 6px;
  position: relative; z-index: 1;
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-content {
  padding-left: 24px; font-size: 0.93rem;
  color: var(--text-body); line-height: 1.6;
}
.timeline-month { color: var(--text-light); font-size: 0.82rem; margin-right: 8px; }

/* ========== Map Section ========== */
.map-section { background: linear-gradient(180deg, var(--bg-white), var(--bg-section)); padding: 60px 0; }
.map-container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.map-frame {
  width: 100%; height: 400px; border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.contact-info-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 30px;
}
.contact-info-item {
  background: #fff; padding: 28px;
  border-radius: var(--radius); text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.contact-info-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-light);
}
.contact-info-item .icon { font-size: 2rem; color: var(--primary); margin-bottom: 12px; }
.contact-info-item .label { font-size: 0.82rem; color: var(--text-light); margin-bottom: 4px; }
.contact-info-item .value { font-weight: 600; color: var(--text-dark); font-size: 0.93rem; }

/* ========== Partner Page ========== */
.partner-card {
  background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.partner-header {
  padding: 44px 40px; text-align: center; color: #fff;
}
.partner-header h2 { font-size: 1.6rem; margin: 0 0 8px; font-weight: 800; }
.partner-header p { opacity: 0.8; font-size: 0.9rem; }
.partner-body { padding: 40px; }
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-top: 30px;
}
.product-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; text-align: center;
  transition: all 0.35s; position: relative; overflow: hidden;
}
.product-item::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(135deg, var(--blue), var(--primary));
  transition: height 0.35s;
}
.product-item:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.product-item:hover::after { height: 3px; }
.product-item h4 { font-size: 0.95rem; font-weight: 700; margin: 12px 0 8px; color: var(--text-dark); }
.product-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.product-icon {
  width: 52px; height: 52px; margin: 0 auto;
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(59,130,246,0.08));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.product-icon .material-icons { font-size: 26px; color: var(--primary); }

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .hero-video-section { min-height: 85vh; }
  .hero-video-content h1 { font-size: 2.4rem; }
  .hero-video-content .subtitle { font-size: 0.9rem; }
  .hero-badge { font-size: 0.68rem; letter-spacing: 2px; }
  .hero-buttons .hero-btn { padding: 12px 28px; font-size: 0.88rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.6rem; }
  .page-banner { padding: 80px 24px 40px; }
  .page-banner h1 { font-size: 1.7rem; }
  .content-wrapper { padding: 50px 16px; }
  .timeline::before { left: 20px; }
  .timeline-year { width: 60px; font-size: 0.82rem; padding-right: 14px; }
  .timeline-content { padding-left: 14px; font-size: 0.85rem; }
}
