/* ============================================================
 * 시안 C — Light · Photo Card Style
 * 화이트 캔버스 + 컬러풀한 그라데이션/포토 카드 + 블랙 대비 섹션
 *
 * 톤: 마키나락스 류 라이트 + 포토 카드 + 블랙 CTA
 * 9 섹션: 메뉴 / 히어로 / 고객사 / 제품 / 산업 / 사례 / 블로그·뉴스 / CTA / 푸터
 * ============================================================ */

/* Paperlogy — 히어로 설명문(.c2-hero-desc) 전용 한글 폰트.
   fonts-archive jsDelivr CDN, Regular(400) 1종만 로드(데스크탑·모바일 모두 .c2-hero-desc는 font-weight:400). */
@font-face {
  font-family: 'Paperlogy';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy-4Regular.woff2') format('woff2');
}

:root {
  --c-canvas: #ffffff;
  --c-soft: #f5f5f7;
  --c-soft-2: #ececef;
  --c-ink: #0a0a0a;
  --c-ink-2: #1f1f1f;
  --c-text: #2b2b2b;
  --c-text-2: #6b6f76;
  --c-text-3: #9ca0a7;
  --c-line: #e6e6e9;
  --c-line-strong: #d4d4d8;
  --c-brand: #009bdf;
  --c-brand-2: #0084c1;
  --c-brand-text: #0b2e4f;   /* 강조 텍스트 전용 네이비 (밝은 시안블루 대체) */
  --c-accent-soft: rgba(0, 155, 223, 0.08);
  --c-max-w: 1480px;

  /* ===== Typography scale ===== */
  --fs-body: 18px;       /* 기본 본문 */
  --fs-small: 16px;      /* 메타 · 배지 · 라벨 */

  /* 카드 컬러 (제품별 그라데이션) */
  --grad-graphio: linear-gradient(135deg, #2b5fff 0%, #00a8ff 50%, #4dd4ff 100%);
  --grad-iris: linear-gradient(135deg, #6e2bff 0%, #b14dff 50%, #ff6ec4 100%);
  --grad-onevision: linear-gradient(135deg, #00c879 0%, #00b39a 50%, #0084c1 100%);

  /* 인더스트리 컬러 (도메인별) */
  --grad-defense: linear-gradient(180deg, #1a2942 0%, #2a3f5f 100%);
  --grad-energy: linear-gradient(180deg, #b85c00 0%, #e08800 100%);
  --grad-telco: linear-gradient(180deg, #1e4a3a 0%, #2a6b5a 100%);
  --grad-public: linear-gradient(180deg, #4a3a1e 0%, #6b5a2a 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Pretendard", "Inter", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: var(--fs-body);
  background: var(--c-canvas);
  color: var(--c-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* 한글 줄바꿈을 어절(단어) 단위로 — 단어 중간에서 끊기지 않음 */
  word-break: keep-all;
  overflow-wrap: break-word;
}
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; }
img, svg { display: block; max-width: 100%; }

.c2-bound { max-width: var(--c-max-w); margin: 0 auto; padding: 0 32px; }

/* ============ 1. HEADER ============ */
.c2-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

/* 스크롤되었을 때 — 흰 배경 + blur + 보더 */
.c2-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--c-line);
}

/* 모바일 드로어 열림 — 흰 앱바 + 최상위 z-index */
.c2-header.is-nav-open {
  background: #fff;
  backdrop-filter: none;
  border-bottom-color: var(--c-line);
  z-index: 110;
}
.c2-header.is-nav-open .c2-logo img { filter: none; }
.c2-header.is-nav-open .c2-lang-toggle,
.c2-header.is-nav-open .c2-nav-toggle { color: var(--c-ink-2); }

/* ----- 햄버거 토글 (모바일 전용) ----- */
.c2-nav-toggle {
  display: none;
  position: relative;
  z-index: 100;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--c-ink-2);
  transition: color 0.18s ease, background 0.18s ease;
}
.c2-nav-toggle:hover { color: var(--c-brand-text); background: rgba(0, 0, 0, 0.04); }
.c2-nav-icon-close { display: none; }
.c2-header.is-nav-open .c2-nav-icon-open { display: none; }
.c2-header.is-nav-open .c2-nav-icon-close { display: block; }
/* 히어로 위(스크롤 전, 호버 안 함) — 토글 흰색 */
.c2-header:not(.is-scrolled):not(:hover):not(.is-nav-open) .c2-nav-toggle { color: #fff; }

/* ----- 드로어 백드롭 ----- */
.c2-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
  z-index: 90;
}
.c2-header.is-nav-open ~ .c2-nav-backdrop {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease;
}
body.c2-no-scroll { overflow: hidden; }

/* 히어로 위(스크롤 전, 호버 안 함) — 텍스트·로고 흰색 */
.c2-header:not(.is-scrolled):not(:hover) .c2-gnb-item > a {
  color: #fff;
}
.c2-header:not(.is-scrolled):not(:hover) .c2-logo img {
  filter: brightness(0) invert(1);
}

/* 히어로 위에서 호버 시 — 흰 배경으로 살짝 등장 */
.c2-header:not(.is-scrolled):hover {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--c-line);
}

.c2-header-inner {
  max-width: var(--c-max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 56px;
}
.c2-logo img {
  height: 36px;
  width: auto;
  transition: filter 0.25s ease;
}
.c2-gnb { display: flex; gap: 36px; justify-content: center; }
.c2-gnb-item { position: relative; }
.c2-gnb-item > a {
  display: inline-block;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--c-ink-2);
  padding: 12px 0;
  letter-spacing: -0.01em;
  transition: color 0.18s ease;
}
.c2-gnb-item > a:hover,
.c2-gnb-item:hover > a { color: var(--c-brand-text); }

.c2-cta-pill {
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--c-ink);
  color: var(--c-canvas);
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: all 0.18s ease;
}
.c2-cta-pill:hover { background: var(--c-brand); }

/* ----- 언어 선택 (헤더 우측) ----- */
.c2-lang-switch {
  position: relative;
  justify-self: end;
}
.c2-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: transparent;
  border: none;
  border-radius: 999px;
  color: var(--c-ink-2);
  cursor: pointer;
  font: inherit;
  transition: color 0.18s ease, background 0.18s ease;
}
.c2-lang-toggle:hover {
  color: var(--c-brand-text);
  background: rgba(0, 0, 0, 0.04);
}
.c2-lang-toggle svg { display: block; }
.c2-lang-caret {
  transition: transform 0.2s ease;
}
.c2-lang-switch:hover .c2-lang-caret {
  transform: rotate(180deg);
}

/* 히어로 위(스크롤 전, 호버 안 함) — 토글 흰색 */
.c2-header:not(.is-scrolled):not(:hover) .c2-lang-toggle {
  color: #fff;
}

.c2-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  z-index: 110;
}
.c2-lang-switch:hover .c2-lang-menu,
.c2-lang-switch:focus-within .c2-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}
.c2-lang-menu a {
  display: block;
  padding: 10px 14px;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--c-ink-2);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.c2-lang-menu a:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--c-ink);
}
.c2-lang-menu a.is-active {
  color: var(--c-brand-text);
  font-weight: 700;
  background: rgba(0, 0, 0, 0.04);
}

/* ----- 플로팅 문의하기 버튼 ----- */
/* 홈은 공용 푸터 플로팅 버튼을 숨기고 홈 전용(.c2-floating-contact)만 노출 — 중복 방지 */
.floating-contact { display: none; }

.c2-floating-contact {
  position: fixed;
  right: 32px;
  bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--c-ink);
  color: var(--c-canvas);
  border-radius: 999px;
  text-decoration: none;
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: -0.005em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  z-index: 200;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.c2-floating-contact:hover {
  background: var(--c-brand);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.c2-floating-contact svg { display: block; }

@media (max-width: 640px) {
  .c2-floating-contact {
    right: 16px;
    bottom: 16px;
    padding: 12px 18px;
    font-size: var(--fs-body);
  }
  .c2-floating-contact span { display: none; }
}

/* Mega Menu */
.c2-mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--c-canvas);
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  z-index: 100;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}
.c2-mega::before { content: ""; position: absolute; inset: -10px 0 100% 0; }
.c2-gnb-item:hover .c2-mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}
.c2-mega[data-cols="1"] { width: 220px; padding: 12px; }
.c2-mega[data-cols="2"] { width: 460px; }
.c2-mega[data-cols="3"] { width: 720px; }
.c2-mega[data-cols="4"] { width: 920px; }
.c2-mega-inner { display: grid; gap: 8px; }
.c2-mega[data-cols="1"] .c2-mega-inner { grid-template-columns: 1fr; }
.c2-mega[data-cols="2"] .c2-mega-inner { grid-template-columns: repeat(2, 1fr); }
.c2-mega[data-cols="3"] .c2-mega-inner { grid-template-columns: repeat(3, 1fr); }
.c2-mega[data-cols="4"] .c2-mega-inner { grid-template-columns: repeat(4, 1fr); }
.c2-mega-col {
  padding: 16px;
  border-radius: 12px;
  transition: background 0.18s ease;
}
.c2-mega-col:hover { background: var(--c-soft); }
.c2-mega-col h5 {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 6px;
}
.c2-mega-en { font-size: var(--fs-body); font-weight: 500; color: var(--c-text-3); }
.c2-mega-col ul { list-style: none; padding: 0; margin: 0; }
.c2-mega-col li a {
  display: block;
  padding: 6px 0;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--c-text-2);
  letter-spacing: -0.005em;
  transition: color 0.15s ease;
}
.c2-mega-col li a:hover { color: var(--c-brand-text); }
.c2-mega-sub { font-size: var(--fs-body); color: var(--c-text-3); margin-left: 2px; }
.c2-mega-col--flat { padding: 8px 0; }
.c2-mega-col--flat li a {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: var(--fs-body);
}
.c2-mega-col--flat li a:hover { background: var(--c-soft); color: var(--c-brand-text); }
.c2-mega-col--flat:hover { background: transparent; }

/* ============ 2. HERO (Full-bleed rolling carousel) ============ */
.c2-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  padding: 0;
  /* 첫 이미지를 바탕에 깔아 초기 페이드인/로딩 동안 검은 화면이 보이지 않게 함 */
  background: var(--c-ink) url('../images/hero/01.jpg') center / cover no-repeat;
  overflow: hidden;
}

.c2-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.c2-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: opacity, transform;
  /* 줌: 등장 직후엔 멀리서 관조하듯 차분히(거의 정지) → 갈수록 빠르게 다가오는(줌인) 곡선.
     초반은 느린 관조, 후반은 가속하며 다가와 긴박감을 준다(끝 감속 꼬리를 줄임). */
  animation: c2-hero-slide-fade 30s ease-in-out infinite, c2-hero-slide-zoom 30s cubic-bezier(0.42, 0, 0.55, 0.85) infinite;
}
/* 6장 모두 약 5초씩 동일 노출 — 6장·30초 주기 */
.c2-hero-slide:nth-child(1) { background-image: url('../images/hero/01.jpg'); animation-name: c2-hero-slide-fade-first, c2-hero-slide-zoom; animation-delay: 0s, 0s; }
.c2-hero-slide:nth-child(2) { background-image: url('../images/hero/02.jpg'); animation-delay: 5s, 5s; }
.c2-hero-slide:nth-child(3) { background-image: url('../images/hero/03.jpg'); animation-delay: 10s, 10s; }
.c2-hero-slide:nth-child(4) { background-image: url('../images/hero/04.jpg'); animation-delay: 15s, 15s; }
.c2-hero-slide:nth-child(5) { background-image: url('../images/hero/05.jpg'); animation-delay: 20s, 20s; }
.c2-hero-slide:nth-child(6) { background-image: url('../images/hero/06.jpg'); animation-delay: 25s, 25s; }

@keyframes c2-hero-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* 각 슬라이드는 30초 주기 안에서 약 5초 노출.
   ★교차 전환 시 바탕(01.jpg)이 비쳐 보이던 문제 해결: 나가는 슬라이드는 "다음 슬라이드가
   완전히 떠오른 뒤"에 사라진다. 들어오는 슬라이드(위 레이어)가 불투명해질 때까지 나가는
   슬라이드(아래)가 화면을 가득 덮고 있어, 두 장이 동시에 반투명이라 바탕이 새어 보이던
   현상을 없앤다. (페이드인 ~1s → 유지 → 다음 장이 덮은 뒤 페이드아웃 ~1s, 항상 1장은 불투명) */
@keyframes c2-hero-slide-fade {
  0%      { opacity: 0; }
  3.3%    { opacity: 1; }   /* 페이드인 ~1s */
  21.7%   { opacity: 1; }   /* 다음 슬라이드가 완전히 떠오를 때까지(+여유) 가득 유지 */
  25%     { opacity: 0; }   /* 다음 장이 위에서 덮은 뒤 페이드아웃 → 가려져 안 보임 */
  100%    { opacity: 0; }
}
/* 1번 슬라이드 전용: 첫 로드 시 페이드인 없이 즉시 표시(바탕 01과 동일 이미지 → 이중상 방지).
   유지/페이드아웃 타이밍은 위와 동일. 루프 끝(95.8~100%)에 다시 채워져, 6→1 전환도
   6번이 위에서 페이드아웃하며 가득 차 있는 1번을 드러내는 매끄러운 크로스페이드가 된다. */
@keyframes c2-hero-slide-fade-first {
  0%      { opacity: 1; }
  21.7%   { opacity: 1; }
  25%     { opacity: 0; }
  96.7%   { opacity: 0; }
  100%    { opacity: 1; }
}
@keyframes c2-hero-slide-zoom {
  0%      { transform: scale(1); }      /* 멀리서 관조하듯 정상 크기에서 출발 */
  25%     { transform: scale(1.16); }   /* 노출이 끝날 때까지 갈수록 빠르게 다가오며(줌인) 확대 */
  100%    { transform: scale(1.16); }
}
@media (prefers-reduced-motion: reduce) {
  .c2-hero-slide { animation: none; opacity: 1; }
  .c2-hero-slide:not(:first-child) { display: none; }
}

.c2-hero-overlay-bg {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* 롤링 이미지 위 딤. 0.6은 너무 어둡다는 피드백 → 0.4로 낮춰 이미지를 더 살림
     (흰색 히어로 텍스트 가독성 한계상 더 낮추면 밝은 슬라이드에서 글씨가 묻힘). */
  background: rgba(0, 0, 0, 0.4);
}

/* 온톨로지 네트워크 / 데이터 흐름 오버레이 */
.c2-hero-network {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
  mix-blend-mode: screen;
  animation: c2-hero-network-fade-in 1.6s ease-out 0.3s both;
}
@keyframes c2-hero-network-fade-in {
  from { opacity: 0; }
  to { opacity: 0.9; }
}

.c2-hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  color: #fff;
  opacity: 0.85;   /* 히어로 메시지 전체 투명도 (아주 살짝만 낮춤) */
  /* 메시지 영역 세로 중앙 정렬 (justify-content: center). 이전의 translateY(-40px) 위로 올림 제거 */
}

.c2-hero-tagline {
  margin: 0 0 24px;
  font-family: 'Nunito', 'Pretendard Variable', 'Pretendard', sans-serif;   /* 아래 타이틀과 동일 글꼴 */
  font-size: clamp(1.65rem, 3.7vw, 3rem);   /* 메인 타이틀(2.75/6.2/5rem)의 약 0.6배 */
  font-weight: 600;          /* 타이틀과 동일 */
  opacity: 0.9;              /* 텍스트 → 브랜드 로고 이미지로 교체(2026-06-25), 살짝 투명하게 */
  color: #fff;
  letter-spacing: -0.03em;   /* 타이틀과 동일 */
  line-height: 0.75;         /* 1.5 → 절반 수준 */
}
/* 메인 히어로 태그라인을 'Graphio' 텍스트 → 브랜드 로고 이미지로 교체(images/hero/logo.png, 원본 1076×280) */
.c2-hero-logo {
  display: block;
  height: clamp(2.75rem, 5.5vw, 4.5rem);   /* 44px ~ 72px — 원본(280px)보다 작아 업스케일 없음 */
  width: auto;
  max-width: 100%;
}
.c2-hero-title {
  margin: 0;
  font-family: 'Nunito', 'Pretendard Variable', 'Pretendard', sans-serif;
  font-size: clamp(2.75rem, 6.2vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.16;
  text-wrap: balance;
  color: #fff;
  max-width: 1200px;
}
/* 브랜드명 GRAPHIO 글자 강조 — GRAPH + In의 I + One의 O (다크 배경이라 브랜드 블루 사용) */
.c2-hero-title .gio {
  color: #00c8ff;   /* 다크 히어로 배경용 — 브랜드 #009bdf보다 밝고 선명한 시안블루. opacity로 흐리던 것을 없애 채도를 살림 */
  font-weight: 800;
}

/* ===== 히어로 인트로 애니메이션 =====
   1) GRAPHIO가 모여 등장 → 2) 양옆으로 벌어지며 사이 단어(your knowledge / n / ne) 등장 → 3) 위 태그라인 → 4) 아래 설명.
   .gap = 사이 단어. 평소엔 일반 inline 텍스트라 JS/모션축소 환경에서도 문장이 그대로 보인다. JS가 .hero-anim → .hero-anim-run 순으로 클래스를 부여해 트리거. */
/* (공통) 타이틀(GRAPHIO)·태그라인·설명 등장 — 데스크탑/모바일 모두 */
.c2-hero.hero-anim .c2-hero-title {
  opacity: 0;
  transform: scale(1.06);
}
.c2-hero.hero-anim .c2-hero-tagline,
.c2-hero.hero-anim .c2-hero-desc {
  opacity: 0;
  transform: translateY(16px);
}
.c2-hero.hero-anim-run .c2-hero-title {           /* ① GRAPHIO 등장 (크게 → 정상) */
  opacity: 1;
  transform: none;
  transition: opacity .9s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.c2-hero.hero-anim-run .c2-hero-tagline {         /* ③ 위 태그라인(로고) */
  opacity: 0.9;
  transform: none;
  transition: opacity .9s ease 1.7s, transform .9s ease 1.7s;
}
.c2-hero.hero-anim-run .c2-hero-desc {            /* ④ 아래 설명 */
  opacity: .78;
  transform: none;
  transition: opacity 1s ease 2s, transform 1s ease 2s;
}
/* (데스크탑 전용) ② GRAPHIO가 모였다가 양옆으로 벌어지며 사이 단어 등장.
   gio·gap을 모두 inline-block + bottom 정렬로 통일해 글자선을 맞춘다(.gap 단독 bottom 정렬 시 생기던 9px 어긋남 방지).
   한 줄에 들어가는 데스크탑(≥769px)에서만 inline-block 분할 → 모바일 줄바꿈 깨짐을 피한다. */
@media (min-width: 769px) {
  .c2-hero.hero-anim .c2-hero-title .gio,
  .c2-hero.hero-anim .c2-hero-title .gap {
    display: inline-block;
    vertical-align: bottom;
  }
  .c2-hero.hero-anim .c2-hero-title .gap {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: pre;
  }
  .c2-hero.hero-anim-run .c2-hero-title .gap {
    max-width: 24ch;
    opacity: 1;
    transition: max-width 1.5s cubic-bezier(.5, 0, .15, 1) 1s, opacity 1.1s ease 1.1s;
  }
}
.c2-hero-title-en {
  margin: 16px 0 0;
  font-family: 'Nunito', 'Pretendard Variable', 'Pretendard', sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.875rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #fff;
  opacity: 0.82;
}
.c2-hero-title-en:empty { display: none; }
.c2-hero-desc {
  margin: 26px auto 0;
  max-width: 1100px;
  font-family: 'Paperlogy', 'Pretendard Variable', Pretendard, sans-serif;
  font-size: clamp(2.375rem, 2.8vw, 2.75rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.005em;
  color: #fff;
  opacity: 0.78;
}

/* ----- Hero CTA — 시안 A와 동일한 큰 pill 형태 ----- */
.c2-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 40px;
  padding: 16px 28px;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.c2-hero-cta:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
}
.c2-hero-cta-arrow {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.c2-hero-cta:hover .c2-hero-cta-arrow {
  transform: translateX(4px);
}

/* ----- 공용 버튼 (CTA 섹션 등에서 사용) ----- */
.c2-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 999px;
  border: 1px solid var(--c-line-strong);
  background: transparent;
  color: var(--c-ink);
  text-decoration: none;
  transition: all 0.18s ease;
}
.c2-btn::after {
  content: "→";
  transition: transform 0.18s ease;
}
.c2-btn:hover::after { transform: translateX(3px); }
.c2-btn--primary {
  background: var(--c-ink);
  color: var(--c-canvas);
  border-color: var(--c-ink);
}
.c2-btn--primary:hover { background: var(--c-brand); border-color: var(--c-brand); }
.c2-btn--ghost:hover { background: var(--c-canvas); border-color: var(--c-ink); }

/* ============ 3. CLIENTS (Sliding Marquee) ============ */
.c2-clients {
  padding: 64px 0 72px;
  background: var(--c-canvas);
  overflow: hidden;
}
.c2-clients-inner {
  max-width: var(--c-max-w);
  margin: 0 auto;
  padding: 0 32px 32px;
}
.c2-clients-label {
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--c-text-2);
  text-align: center;
  letter-spacing: -0.005em;
}

.c2-clients-marquee {
  position: relative;
  width: 100%;
  overflow-x: clip;
  overflow-y: visible;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.c2-clients-row {
  display: flex;
  width: 100%;
  margin-bottom: 12px;
}
.c2-clients-row:last-child { margin-bottom: 0; }

.c2-clients-track {
  flex-shrink: 0;
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0 6px;
  animation: c2-clients-scroll 198s linear infinite;
  will-change: transform;
}
.c2-clients-marquee:hover .c2-clients-track {
  animation-play-state: paused;
}

@keyframes c2-clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.c2-clients-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 88px;
  padding: 0 28px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--c-text-2);
  text-align: center;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.c2-clients-item:hover {
  color: var(--c-ink);
  background: var(--c-canvas);
  border-color: var(--c-text-3);
  transform: translateY(-2px);
}
.c2-clients-item img {
  max-height: 42px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .c2-clients-track { animation: none; }
}

@media (max-width: 768px) {
  .c2-clients-item {
    min-width: 160px;
    height: 72px;
    font-size: var(--fs-body);
    padding: 0 20px;
  }
}

/* ============ SECTION SHARED ============ */
.c2-section {
  padding: 100px 32px;
  background: var(--c-canvas);
}
.c2-section--soft { background: var(--c-soft); }
.c2-section-head {
  max-width: var(--c-max-w);
  margin: 0 auto 56px;
}
.c2-section-title {
  font-size: clamp(1.875rem, 3.6vw, 3rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin-bottom: 12px;
  color: var(--c-ink);
  word-break: keep-all;
  overflow-wrap: break-word;
}
.c2-section-lead {
  font-size: var(--fs-body);
  color: var(--c-text-2);
  max-width: var(--c-max-w);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ============ 4. PRODUCTS ============ */
.c2-products-wrap { max-width: var(--c-max-w); margin: 0 auto; }
.c2-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 48px 0;
}
.c2-product:not(:last-child) { border-bottom: 1px solid var(--c-line); }
.c2-product-meta {
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--c-brand-text);

  text-transform: uppercase;
  margin-bottom: 18px;
}
.c2-product-name {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  color: var(--c-ink);
}
.c2-product-desc {
  font-size: var(--fs-body);
  color: var(--c-text-2);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 460px;
}
.c2-product-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}
.c2-product-modules span {
  font-size: var(--fs-body);
  padding: 5px 12px;
  background: var(--c-soft);
  color: var(--c-text);
  border-radius: 999px;
  font-weight: 500;
}
.c2-product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--c-ink);
  transition: gap 0.18s ease, color 0.18s ease;
}
.c2-product-link::after { content: "→"; }
.c2-product-link:hover { gap: 12px; color: var(--c-brand-text); }

.c2-product-visual {
  border-radius: 28px;
  aspect-ratio: 16 / 10;
  padding: 32px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.15);
}
.c2-product-visual--graphio { background: var(--grad-iris); }
.c2-product-visual--iris { background: var(--grad-graphio); }
.c2-product-visual--onevision { background: var(--grad-onevision); }
.c2-product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(80% 60% at 50% 100%, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
}
.c2-product-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  position: relative;
  z-index: 1;
}
.c2-product-tiles span {
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  text-align: center;
  font-size: var(--fs-body);
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* Alternating layout */
.c2-product:nth-child(even) .c2-product-info { order: 2; }
.c2-product:nth-child(even) .c2-product-visual { order: 1; }

/* ============ 5. INDUSTRIES ============ */
.c2-industries-wrap {
  max-width: var(--c-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.c2-ind-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.c2-ind-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.25);
}
.c2-ind-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 0;
}
.c2-ind-card > * { position: relative; z-index: 1; }
.c2-ind-card:hover::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.85) 100%);
}
.c2-ind-meta {
  font-size: var(--fs-body);

  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.c2-ind-name {
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.c2-ind-en {
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.7);

  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.c2-ind-product {
  font-size: var(--fs-body);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 1;
  font-weight: 500;
}

/* ============ 6. STORIES ============ */
.c2-stories-wrap {
  max-width: var(--c-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.c2-story {
  background: var(--c-canvas);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--c-line);
}
.c2-story:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.12);
}
.c2-story-thumb {
  aspect-ratio: 16 / 10;
  background: var(--c-soft);
  position: relative;
  overflow: hidden;
}
.c2-story-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.c2-story:hover .c2-story-thumb img { transform: scale(1.04); }
.c2-story-thumb--defense { background: var(--grad-defense); }
.c2-story-thumb--energy { background: var(--grad-energy); }
.c2-story-thumb--telco { background: var(--grad-telco); }
.c2-story-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.c2-story-tag {
  font-size: var(--fs-body);
  color: var(--c-brand-text);

  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 700;
}
.c2-story-title {
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--c-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.c2-story-desc {
  font-size: var(--fs-body);
  color: var(--c-text-2);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.c2-story-link {
  font-size: var(--fs-body);
  color: var(--c-ink);
  font-weight: 600;
}
.c2-story-link::after { content: " →"; }
.c2-story-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--c-text-2);
  font-size: var(--fs-body);
  padding: 40px 0;
}

/* 전체 사례 보기 버튼 */
.c2-stories-more {
  max-width: var(--c-max-w);
  margin: 40px auto 0;
  text-align: center;
}
.c2-stories-more-btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  background: var(--c-canvas);
  color: var(--c-ink);
  font-size: var(--fs-body);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.c2-stories-more-btn::after { content: " →"; }
.c2-stories-more-btn:hover {
  background: var(--c-brand);
  border-color: var(--c-brand);
  color: #fff;
  transform: translateY(-2px);
}

/* ============ 7. BLOG + NEWS ============ */
.c2-bn-wrap {
  max-width: var(--c-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.c2-bn-card {
  background: var(--c-canvas);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.c2-bn-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.1);
}
.c2-bn-thumb {
  aspect-ratio: 4 / 3;
  background: var(--c-soft);
  position: relative;
  overflow: hidden;
}
.c2-bn-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.c2-bn-card:hover .c2-bn-thumb img { transform: scale(1.04); }
.c2-bn-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.c2-bn-cat {
  font-size: var(--fs-body);
  color: var(--c-text-3);

  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 700;
}
.c2-bn-title {
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  flex: 1;
}
.c2-bn-date { font-size: var(--fs-body); color: var(--c-text-3); }
.c2-bn-pager {
  max-width: var(--c-max-w);
  margin: 28px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.c2-bn-pager span {
  font-size: var(--fs-body);
  color: var(--c-text-3);
}
.c2-bn-pager .dot {
  width: 9px; height: 9px;
  border-radius: 999px;
  background: var(--c-line-strong);
  transition: width 0.28s ease, background 0.28s ease;
}
/* 현재(선택된) 페이지 — 가로 바(알약) 형태 */
.c2-bn-pager .dot--active {
  width: 26px;
  background: var(--c-ink);
}

/* ============ 8. CTA (BLACK) ============ */
.c2-cta {
  padding: 120px 32px;
  background: var(--c-ink);
  color: var(--c-canvas);
  position: relative;
  overflow: hidden;
}
.c2-cta::before {
  content: "";
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 155, 223, 0.22) 0%, rgba(0, 155, 223, 0.08) 40%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.c2-cta::after {
  content: "";
  position: absolute;
  left: 12%;
  bottom: -180px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 212, 255, 0.18) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.c2-cta-inner {
  max-width: var(--c-max-w);
  margin: 0 auto;
  position: relative;
}
.c2-cta-eyebrow {
  margin: 0 0 18px;
  font-size: var(--fs-body);
  font-weight: 600;

  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.c2-cta-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 24px;
  max-width: 760px;
  color: inherit;
}
.c2-cta-title em { font-style: normal; color: #4dd4ff; }
.c2-cta-desc {
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
  max-width: 540px;
}
.c2-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.c2-cta .c2-btn--primary {
  background: var(--c-canvas);
  color: var(--c-ink);
  border-color: var(--c-canvas);
}
.c2-cta .c2-btn--primary:hover { background: var(--c-brand); color: var(--c-canvas); border-color: var(--c-brand); }
.c2-cta .c2-btn--ghost { color: var(--c-canvas); border-color: rgba(255, 255, 255, 0.25); }
.c2-cta .c2-btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--c-canvas); }

/* ============ 9. FOOTER (BLACK) ============ */
.c2-footer {
  background: var(--c-ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 32px 40px;
}
.c2-footer-inner { max-width: var(--c-max-w); margin: 0 auto; }
.c2-footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(5, 1fr);
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.c2-footer-brand img { height: 24px; width: auto; margin-bottom: 16px; }
.c2-footer-brand p {
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  max-width: 280px;
}
.c2-footer-col h5 {
  font-size: var(--fs-body);
  color: var(--c-canvas);
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.c2-footer-col ul { list-style: none; padding: 0; margin: 0; }
.c2-footer-col li { margin-bottom: 10px; }
.c2-footer-col a {
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.15s ease;
}
.c2-footer-col a:hover { color: var(--c-canvas); }
.c2-footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.c2-footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.c2-footer-legal a { font-size: var(--fs-body); color: rgba(255, 255, 255, 0.5); }
.c2-footer-legal a:hover { color: var(--c-canvas); }
.c2-footer-meta { font-size: var(--fs-body); color: rgba(255, 255, 255, 0.4); }
.c2-footer-sns { display: flex; gap: 10px; align-items: center; }
.c2-sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.c2-sns-link:hover {
  color: var(--c-canvas);
  border-color: var(--c-brand);
  background: rgba(0, 155, 223, 0.14);
}

/* ============ CORE AGENTS (Tabs + Visual Panel) ============ */
.c2-agents-wrap {
  max-width: var(--c-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 32px;
  align-items: start;
}

.c2-agents-tab-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 96px;
}

.c2-agent-tab {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0 16px;
  align-items: start;
  padding: 24px 24px 24px 20px;
  background: var(--c-canvas);
  border: 1px solid var(--c-line);
  border-radius: 20px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.c2-agent-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 155, 223, 0.35);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.1);
}
.c2-agent-tab.is-active {
  border-color: var(--c-brand);
  box-shadow: 0 16px 40px -12px rgba(0, 155, 223, 0.22);
  transform: translateY(-2px);
}

/* 에이전트별 컬러 닷 */
.c2-agent-tab-dot {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad-graphio);
  box-shadow: 0 6px 16px rgba(0, 155, 223, 0.28);
  flex-shrink: 0;
}
[data-agent-tab="jarvis"] .c2-agent-tab-dot {
  background: var(--grad-iris);
  box-shadow: 0 6px 16px rgba(177, 77, 255, 0.28);
}
[data-agent-tab="thor"] .c2-agent-tab-dot {
  background: var(--grad-onevision);
  box-shadow: 0 6px 16px rgba(0, 200, 121, 0.28);
}

.c2-agent-tab-body {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.c2-agent-tab-role {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text-3);

  text-transform: uppercase;
  line-height: 1.4;
}
.c2-agent-tab.is-active .c2-agent-tab-role {
  color: var(--c-brand-text);
}

.c2-agent-tab-name {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 2px;
}

.c2-agent-tab-summary {
  font-size: 16px;
  color: var(--c-text-2);
  line-height: 1.55;
  margin-top: 4px;
}

.c2-agents-panel-stage {
  position: relative;
}
.c2-agent-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  padding: 8px 0;
}
.c2-agent-panel[hidden] { display: none; }

.c2-agent-panel-info {
  padding: 0;
}
.c2-agent-panel-meta {
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--c-brand-text);

  text-transform: uppercase;
  margin-bottom: 18px;
}
.c2-agent-panel-name {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
}
.c2-agent-panel-desc {
  font-size: var(--fs-body);
  color: var(--c-text-2);
  line-height: 1.7;
  max-width: 460px;
  margin: 0 0 28px;
}
.c2-agent-panel-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.c2-agent-panel-flow span {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--c-soft);
  border: 0;
  border-radius: 999px;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--c-text);
}
.c2-agent-panel-flow span:not(:last-child)::after {
  content: " →";
  margin-left: 8px;
  color: var(--c-text-3);
}
.c2-agent-panel-flow span.is-accent {
  background: var(--c-brand);
  color: var(--c-canvas);
}
.c2-agent-panel-flow span.is-accent::after {
  display: none;
}

.c2-agent-panel-visual {
  display: grid;
  place-items: center;
  border-radius: 28px;
  aspect-ratio: 16 / 10;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.15);
}
.c2-agent-panel-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(80% 60% at 50% 100%, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
}
.c2-agent-panel-visual::after {
  position: relative;
  z-index: 1;
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  line-height: 1;
}
.c2-agent-panel-visual--rocket { background: var(--grad-graphio); }
.c2-agent-panel-visual--jarvis { background: var(--grad-iris); }
.c2-agent-panel-visual--onevision,
.c2-agent-panel-visual--thor { background: var(--grad-onevision); }
.c2-agent-panel-visual--rocket::after { content: "Rocket"; }
.c2-agent-panel-visual--jarvis::after { content: "Jarvis"; }
.c2-agent-panel-visual--thor::after { content: "Thor"; }

/* ============ MOBIGEN STORY (Philosophy Pillars) ============ */
.c2-story-pillars {
  max-width: var(--c-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.c2-story-pillar {
  min-width: 0; /* 그리드 1fr 균등폭 보장 (min-width:auto 블로우아웃 방지) */
  padding: 36px 32px;
  background: var(--c-canvas);
  border: 1px solid var(--c-line);
  border-radius: 20px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.c2-story-pillar:hover {
  transform: translateY(-3px);
  border-color: var(--c-brand);
  box-shadow: 0 24px 48px -16px rgba(0, 155, 223, 0.18);
}

/* 아이콘 박스 — 시안 D 컬러 톤 (3종 그라데이션) */
.c2-story-pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--grad-graphio);
  color: #fff;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(0, 155, 223, 0.22);
}
.c2-story-pillar:nth-child(2) .c2-story-pillar-icon {
  background: var(--grad-iris);
  box-shadow: 0 8px 20px rgba(177, 77, 255, 0.22);
}
.c2-story-pillar:nth-child(3) .c2-story-pillar-icon {
  background: var(--grad-onevision);
  box-shadow: 0 8px 20px rgba(0, 179, 154, 0.22);
}
.c2-story-pillar-title {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.c2-story-pillar-desc {
  font-size: var(--fs-body);
  color: var(--c-text-2);
  line-height: 1.7;
  margin: 0;
  text-wrap: balance; /* 줄바꿈 균형 — 한 줄로 길게 흐르지 않게 (한·일 공통) */
}
.c2-story-cta {
  max-width: var(--c-max-w);
  margin: 48px auto 0;
  text-align: center;
}
.c2-story-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--c-ink);
  background: transparent;
  border: 1.5px solid var(--c-ink);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.c2-story-cta-link:hover {
  background: var(--c-ink);
  color: var(--c-canvas);
  transform: translateY(-2px);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .c2-bn-wrap { grid-template-columns: repeat(2, 1fr); }
  .c2-agents-wrap { grid-template-columns: 1fr; }
  .c2-agents-tab-list { position: static; }
}

@media (max-width: 960px) {
  .c2-header-inner {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    padding: 0 20px;
  }
  .c2-nav-toggle { display: inline-flex; }

  /* GNB → 우측 슬라이드인 드로어 */
  .c2-gnb {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(330px, 82vw);
    flex-direction: column;
    justify-content: flex-start;
    gap: 2px;
    padding: 88px 20px 32px;
    background: #fff;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.12);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 95;
  }
  .c2-header.is-nav-open .c2-gnb { transform: translateX(0); }
  .c2-gnb-item { width: 100%; }
  /* 드로어 내부 링크 — 히어로 위에서도 항상 어두운 글자 */
  .c2-header:not(.is-scrolled):not(:hover) .c2-gnb-item > a { color: var(--c-ink-2); }
  .c2-gnb-item > a {
    display: block;
    width: 100%;
    padding: 15px 12px;
    font-size: var(--fs-body);
    border-radius: 10px;
    border-bottom: 1px solid var(--c-line);
  }
  .c2-gnb-item > a:hover { background: var(--c-soft); color: var(--c-brand-text); }
  .c2-gnb .c2-mega { display: none; }

  .c2-hero-content { padding: 0 24px; }
  .c2-product { grid-template-columns: 1fr; gap: 32px; padding: 36px 0; }
  .c2-product:nth-child(even) .c2-product-info { order: 2; }
  .c2-product:nth-child(even) .c2-product-visual { order: 1; }
  .c2-industries-wrap { grid-template-columns: repeat(2, 1fr); }
  .c2-stories-wrap { grid-template-columns: repeat(2, 1fr); }
  .c2-footer-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .c2-story-pillars { grid-template-columns: 1fr; }
  .c2-agent-panel { grid-template-columns: 1fr; gap: 28px; }
  .c2-agent-panel-info { padding: 0; }
}

@media (max-width: 768px) {
  .c2-section { padding: 72px 24px; }
  .c2-section-head { margin-bottom: 40px; }
  .c2-cta { padding: 80px 24px; }
  .c2-footer { padding: 64px 24px 40px; }
  .c2-clients { padding: 48px 0 56px; }
  .c2-product-tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .c2-section { padding: 60px 20px; }
  .c2-section-head { margin-bottom: 32px; }
  .c2-cta { padding: 64px 20px; }
  .c2-footer { padding: 56px 20px 84px; }
  /* 모바일에서도 카드를 한 줄에 2개씩 유지 — 세로로 과도하게 길어지는 것 방지 */
  .c2-bn-wrap { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .c2-industries-wrap { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .c2-stories-wrap { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  /* 산업 카드: 좁아진 2열 폭에서 비율·여백·글자 크기를 모바일에 맞게 정리 */
  .c2-ind-card { aspect-ratio: 4 / 5; padding: 18px 16px; }
  .c2-ind-name { font-size: 1.25rem; margin-bottom: 4px; }
  .c2-ind-meta { font-size: 1rem; margin-bottom: 6px; }
  .c2-ind-en { font-size: 1rem; margin-bottom: 10px; }
  .c2-ind-product { font-size: 1rem; padding-top: 10px; }
  .c2-footer-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .c2-footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .c2-hero-content { padding: 0 20px; }
  .c2-hero-cta {
    min-width: 0;
    width: 100%;
    gap: 16px;
    padding: 16px 22px;
    font-size: var(--fs-body);
  }
}

/* 홈 인사이트 캐러셀 (home-insights.js) */
.c2-bn-wrap { transition: opacity .2s ease; }
.c2-bn-wrap.is-fading { opacity: 0; }
.c2-bn-pager .dot { cursor: pointer; }
.c2-bn-empty { padding: 24px 0; color: #555; }
/* PC 드래그(스와이프) — 커서 표시 + 드래그 중 선택/링크 방지 */
.c2-bn-wrap { cursor: grab; }
.c2-bn-wrap.is-dragging { cursor: grabbing; user-select: none; }
.c2-bn-wrap.is-dragging .c2-bn-card { pointer-events: none; }
.c2-bn-wrap.is-dragging img { -webkit-user-drag: none; user-drag: none; }

/* ===== 인사이트 캐러셀 — 좌우 화살표 ===== */
.c2-bn-carousel {
  position: relative;
  max-width: var(--c-max-w);
  margin: 0 auto;
  /* 다른 카드 섹션(제품·산업·사례)과 좌우 폭을 동일하게 — 거터 없이 꽉 참 */
}
.c2-bn-carousel .c2-bn-wrap { margin: 0; }
.c2-bn-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;            /* 카드 목록 위로 올라오게 */
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-canvas);
  color: var(--c-ink);
  border: 1px solid var(--c-line);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}
.c2-bn-arrow:hover { background: var(--c-brand); color: #fff; border-color: var(--c-brand); }
/* 화살표를 카드 묶음 바깥 좌우 여백에 배치 (카드와 살짝 간격) */
.c2-bn-arrow--prev { left: -64px; }
.c2-bn-arrow--next { right: -64px; }
.c2-bn-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}
.c2-bn-arrow:disabled:hover { background: var(--c-canvas); color: var(--c-ink); border-color: var(--c-line); }
.c2-bn-arrow[hidden] { display: none; }

/* 화면이 좁아 바깥 여백이 부족하면(=카드가 화면에 꽉 참) 화살표를 카드 위로 살짝 겹치게 */
@media (max-width: 1380px) {
  .c2-bn-arrow--prev { left: 6px; }
  .c2-bn-arrow--next { right: 6px; }
}

/* 모바일(1단 세로 배치)에서는 화살표 숨기고 거터 제거 → 점·스와이프로만 조작 */
@media (max-width: 640px) {
  .c2-bn-carousel { padding: 0; }
  .c2-bn-arrow { display: none; }
}

/* ============================================================
   노트북 등 좁은 화면 좌우 여백 — 홈(메인) 섹션 (2026-06-19)
   각 섹션의 가로 패딩이 거터 역할을 하므로 1024~1480px 구간에서
   섹션·CTA·헤더·푸터의 좌우 패딩을 키운다.
   ============================================================ */
@media (min-width: 1024px) and (max-width: 1480px) {
  .c2-section,
  .c2-cta,
  .c2-header-inner,
  .c2-footer {
    padding-left: clamp(40px, 5vw, 80px);
    padding-right: clamp(40px, 5vw, 80px);
  }
}
