/* ============================================================
   CoreNetworks — about.css
   연혁 / 조직현황 공통 스타일
   ============================================================ */

/* ── 페이지 기본 (fixed header offset) ── */
.about-page { padding-top: 72px; }

/* ============================================================
   ABOUT HERO
   ============================================================ */
.about-hero {
  background: linear-gradient(140deg, #06234f 0%, #0c357f 45%, #1849b8 100%);
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
}

.about-hero::before {
  content: '';
  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: 40px 40px;
  pointer-events: none;
}

.about-hero::after {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96,165,250,0.14) 0%, transparent 65%);
  top: -140px;
  right: -100px;
  pointer-events: none;
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.about-hero-label {
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-hero-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(96,165,250,0.6);
  border-radius: 1px;
}

.about-hero-title {
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.about-hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.48);
  line-height: 1.7;
  max-width: 520px;
}

/* ============================================================
   ABOUT SUB-NAVIGATION
   ============================================================ */
.about-subnav {
  background: #ffffff;
  border-bottom: 1px solid #E2E8F0;
  position: sticky;
  top: 72px;
  z-index: 50;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.about-subnav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 0;
}

.about-subnav-link {
  display: inline-flex;
  align-items: center;
  padding: 18px 22px;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  position: relative;
  top: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.about-subnav-link:hover { color: #1E4ED8; }

.about-subnav-link.active {
  color: #1E4ED8;
  font-weight: 700;
  border-bottom-color: #1E4ED8;
}

/* ============================================================
   SECTION LAYOUT
   ============================================================ */
.about-section { padding: 88px 0; }

.about-section-head {
  margin-bottom: 56px;
}

.about-section-sub {
  font-size: 15px;
  color: #64748b;
  margin-top: 8px;
  line-height: 1.7;
}

/* ============================================================
   HISTORY SECTION (dark brand bg)
   ============================================================ */
.history-section {
  background: #060f1e;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

/* grid texture */
.history-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* background orb bottom-left */
.history-section::after {
  content: '';
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,78,216,0.09) 0%, transparent 65%);
  bottom: -260px;
  left: -200px;
  pointer-events: none;
}

/* 2-column grid: timeline(left) + sidebar(right) */
.history-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  align-items: start;
}

.history-main { position: relative; z-index: 1; }

/* section label / title override for dark bg */
.history-label {
  color: rgba(96, 165, 250, 0.65) !important;
}
.history-label::before {
  background: rgba(96, 165, 250, 0.5) !important;
}
.history-title {
  color: #ffffff !important;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline-wrap { max-width: 760px; }

.timeline-group {
  display: grid;
  grid-template-columns: 80px 1fr;
  position: relative;
}

/* 연도 컬럼 */
.timeline-year-col {
  padding-top: 2px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 28px;
}

.timeline-year-num {
  font-size: 20px;
  font-weight: 900;
  color: #1E4ED8;
  letter-spacing: -1px;
  line-height: 1.1;
  position: sticky;
  top: 136px;
}

/* 이벤트 컬럼 */
.timeline-events-col {
  padding-left: 28px;
  border-left: 2px solid #E2E8F0;
  padding-bottom: 52px;
}

.timeline-group:last-child .timeline-events-col {
  padding-bottom: 0;
}

/* 이벤트 아이템 */
.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 28px;
}

.timeline-item:last-child { padding-bottom: 0; }

/* 타임라인 점 */
.timeline-dot {
  position: absolute;
  left: -35px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1E4ED8;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px #1E4ED8;
  flex-shrink: 0;
}

.timeline-month {
  font-size: 11.5px;
  font-weight: 700;
  color: #94A3B8;
  min-width: 32px;
  padding-top: 2px;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.timeline-text {
  font-size: 15px;
  color: #1E293B;
  line-height: 1.65;
  flex: 1;
}

/* timeline dark-bg overrides */
.history-section .timeline-events-col {
  border-left-color: rgba(30, 78, 216, 0.28);
}
.history-section .timeline-dot {
  background: #3B82F6;
  border-color: #060f1e;
  box-shadow: 0 0 0 2px #3B82F6, 0 0 8px rgba(59,130,246,0.55);
}
.history-section .timeline-year-num {
  color: #60A5FA;
}
.history-section .timeline-month {
  color: rgba(96, 165, 250, 0.5);
}
.history-section .timeline-text {
  color: rgba(255, 255, 255, 0.72);
}

/* ── 주요 연혁 강조 ── */
.history-section .timeline-item--key .timeline-dot {
  background: #F59E0B;
  border-color: #060f1e;
  box-shadow: 0 0 0 2px #F59E0B, 0 0 10px rgba(245,158,11,0.7);
  width: 10px;
  height: 10px;
  top: 4px;
  left: -36px;
}
.history-section .timeline-item--key .timeline-month {
  color: rgba(245, 158, 11, 0.85);
}
.history-section .timeline-item--key .timeline-text {
  color: #ffffff;
  font-weight: 600;
}

/* ============================================================
   HISTORY SIDEBAR CARD
   ============================================================ */
.history-sidebar {
  position: sticky;
  top: 148px; /* header(72px) + subnav(56px) + offset */
  z-index: 1;
}

.history-sidebar-card {
  background: linear-gradient(145deg, #0c1e3e 0%, #091529 100%);
  border: 1px solid rgba(30, 78, 216, 0.22);
  border-radius: 20px;
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* top-right glow orb */
.hs-deco-orb {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.13) 0%, transparent 65%);
  pointer-events: none;
}

/* decorative ring */
.hs-deco-ring {
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(30,78,216,0.18);
  pointer-events: none;
}

/* 설립 연도 */
.hs-founded {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 14px;
}

.hs-founded-year {
  font-size: 58px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -4px;
  line-height: 1;
}

.hs-founded-label {
  font-size: 9.5px;
  font-weight: 700;
  color: rgba(96, 165, 250, 0.5);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding-bottom: 8px;
}

.hs-quote {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.65;
}

/* divider */
.hs-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 26px 0;
}

/* stats */
.hs-stats {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hs-stat-val {
  font-size: 36px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 4px;
}

.hs-stat-val span {
  font-size: 16px;
  font-weight: 700;
  color: #3B82F6;
  letter-spacing: 0;
  margin-left: 1px;
}

.hs-stat-label {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.32);
  letter-spacing: 0.3px;
}

/* partners */
.hs-partners-label {
  font-size: 9.5px;
  font-weight: 700;
  color: rgba(96, 165, 250, 0.45);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hs-partner-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hs-partner-list span {
  display: block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  letter-spacing: 0.2px;
}

/* ============================================================
   ORGANIZATION CHART
   ============================================================ */
.org-chart-wrap {
  border: 2px dashed #D1D9EE;
  border-radius: 16px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFF;
  overflow: hidden;
}

.org-chart-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.org-placeholder {
  text-align: center;
  color: #94A3B8;
  padding: 60px 20px;
}

.org-placeholder-icon {
  font-size: 52px;
  margin-bottom: 14px;
  display: block;
  opacity: .6;
}

.org-placeholder-text {
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================================
   TECH STAFF CARDS
   ============================================================ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tech-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.22s;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0B3C8A, #1E4ED8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.tech-card:hover {
  border-color: #1E4ED8;
  box-shadow: 0 8px 28px rgba(30,78,216,0.12);
  transform: translateY(-3px);
}

.tech-card:hover::before { transform: scaleX(1); }

.tech-card-level {
  font-size: 11.5px;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.tech-card-count {
  font-size: 46px;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 6px;
}

.tech-card-count span {
  font-size: 18px;
  font-weight: 700;
  color: #1E4ED8;
  letter-spacing: 0;
  margin-left: 2px;
}

.tech-card-ratio {
  font-size: 12px;
  color: #94A3B8;
  margin-bottom: 14px;
}

.tech-bar {
  height: 4px;
  background: #F1F5F9;
  border-radius: 2px;
  overflow: hidden;
}

.tech-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0B3C8A, #3B82F6);
  border-radius: 2px;
  transition: width 1s ease;
}

/* ============================================================
   BOTTOM CTA
   ============================================================ */
.about-cta {
  background: #0c1628;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.about-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.about-cta-label {
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.28);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.about-cta-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.about-cta-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.38);
  margin-bottom: 38px;
  line-height: 1.7;
}

.about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: #1E4ED8;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 22px rgba(30,78,216,0.45);
  transition: background 0.25s, transform 0.22s, box-shadow 0.25s;
}

.about-cta-btn:hover {
  background: #0B3C8A;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30,78,216,0.55);
}

.about-cta-btn svg { transition: transform 0.25s; }
.about-cta-btn:hover svg { transform: translateX(5px); }

/* ============================================================
   MINI FOOTER
   ============================================================ */
.about-foot {
  background: #07111f;
  padding: 26px 0;
}

.about-foot-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.about-foot-copy {
  font-size: 12.5px;
  color: rgba(255,255,255,0.2);
}

.about-foot-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.32);
  text-decoration: none;
  transition: color 0.2s;
}

.about-foot-home:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   ALT SECTION BG
   ============================================================ */
.bg-offwhite { background: #F4F7FF; }

/* ============================================================
   SCROLL FADE-IN
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .history-layout { grid-template-columns: 1fr 280px; gap: 28px; }
}

@media (max-width: 900px) {
  .history-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .history-sidebar { position: static; }
  .history-sidebar-card { max-width: 480px; }
  .hs-stats { flex-direction: row; gap: 32px; }
  .hs-stat-val { font-size: 30px; }
}

@media (max-width: 768px) {
  .about-hero-inner,
  .about-subnav-inner,
  .about-cta-inner,
  .about-foot-inner { padding: 0 20px; }

  .about-hero { padding: 52px 0 48px; }
  .about-section { padding: 64px 0; }
  .history-section { padding: 64px 0; }

  .about-subnav-link { padding: 16px 14px; font-size: 13px; }

  .timeline-group { grid-template-columns: 56px 1fr; }
  .timeline-year-col { padding-right: 16px; }
  .timeline-events-col { padding-left: 18px; }
  .timeline-dot { left: -26px; }

  .tech-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .about-cta { padding: 60px 0; }

  .about-foot-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .about-section-head { margin-bottom: 40px; }
}
