@charset "utf-8";
/* =========================================================
   KORATECH IT SOLUTIONS — Common Styles
   공통: 변수 / 리셋 / 헤더 / 풋터 / 버튼 / 애니메이션
   ========================================================= */

:root {
  --ink: #0b0c10;
  --ink-2: #2a2d36;
  --mute: #6b7280;
  --mute-2: #9aa1ad;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --bg-dark: #030b1f;
  --brand: #1783ff;          /* CI Blue */
  --brand-deep: #042d7b;     /* CI Navy */
  --brand-2: #9ccaff;        /* CI Sky (white-version accent) */
  --brand-3: #0b5fd6;        /* CI Mid blue */
  --brand-text: #0a63d9;     /* 흰 배경 위 작은 글씨용 (대비 확보) */
  --sale: #ff4800;
  --radius: 16px;
  --radius-lg: 28px;
  --header-h: 72px;
  --container: 1280px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;
  --font-en: "Inter", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 10px 30px rgba(11, 12, 16, .08);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word;
}
html[lang="en"] body { font-family: var(--font-en); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, p, figure, dl, dd { margin: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-en);
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-text);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.section { padding: 140px 0; }
.section-head { margin-bottom: 64px; }
.section-title { font-size: clamp(32px, 4.6vw, 64px); line-height: 1.18; letter-spacing: -.035em; font-weight: 800; margin-top: 18px; }
.section-desc { margin-top: 20px; font-size: 18px; color: var(--mute); max-width: 640px; }
.text-grad { background: linear-gradient(90deg, var(--brand-deep), var(--brand) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(23, 131, 255, .35); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { border: 1px solid currentColor; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header (corporate) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; height: var(--header-h); z-index: 100; color: #fff;
  transition: background .3s, color .3s, box-shadow .3s, transform .35s var(--ease);
}
.site-header.is-light, .site-header.is-scrolled, .site-header.is-open {
  background: rgba(255, 255, 255, .9); color: var(--ink);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-en); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.logo small { font-weight: 500; font-size: 13px; opacity: .6; letter-spacing: 0; margin-left: 2px; }

.gnb { display: flex; align-items: center; gap: 36px; }
.gnb a { white-space: nowrap; font-size: 15px; font-weight: 600; position: relative; padding: 6px 0; opacity: .85; transition: opacity .2s; }
.gnb a:hover, .gnb a.is-active { opacity: 1; }
.gnb a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.gnb a:hover::after, .gnb a.is-active::after { transform: scaleX(1); }

.header-util { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; border: 1px solid currentColor; border-radius: 999px; padding: 3px; opacity: .85; }
.lang-switch a { font-family: var(--font-en); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.lang-switch a.is-active { background: currentColor; }
.lang-switch a.is-active span { color: var(--bg-dark); }
.site-header.is-light .lang-switch a.is-active span,
.site-header.is-scrolled .lang-switch a.is-active span,
.site-header.is-open .lang-switch a.is-active span { color: #fff; }
.header-util .btn-dark { color: #fff; }
.site-header:not(.is-light):not(.is-scrolled):not(.is-open) .header-util .btn-dark { background: #fff; color: var(--ink); }

.menu-toggle { display: none; width: 40px; height: 40px; position: relative; }
.menu-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.is-open .menu-toggle span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.is-open .menu-toggle span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

/* ---------- Footer (공통 — change.vbs 대상) ---------- */
.site-footer { background: #041330; color: #b7bcc7; padding: 80px 0 40px; font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-brand .logo { color: #fff; }
.footer-brand p { margin-top: 16px; max-width: 340px; line-height: 1.7; color: #8d93a0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(140px, 1fr)); gap: 48px; }
.footer-cols h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; font-family: var(--font-en); letter-spacing: .04em; }
.footer-cols li + li { margin-top: 10px; }
.footer-cols a:hover { color: #fff; }
.footer-info { padding-top: 32px; display: grid; gap: 6px; line-height: 1.7; }
.footer-info .co { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.footer-info .sep { display: inline-block; width: 1px; height: 10px; background: rgba(255, 255, 255, .2); margin: 0 10px; vertical-align: middle; }
.footer-info a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: #6c7280; font-size: 13px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:first-child { color: #fff; font-weight: 700; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }
.js .reveal[data-delay="4"] { transition-delay: .4s; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 12px; font-size: 15px; font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25); transition: opacity .3s, transform .3s var(--ease); max-width: calc(100vw - 32px);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Top button ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.to-top.is-show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .section { padding: 100px 0; }
  .menu-toggle { display: block; }
  /* backdrop-filter 가 fixed 메뉴의 기준을 바꾸지 않도록 */
  .site-header.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .gnb {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; color: var(--ink);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 24px; overflow-y: auto;
    transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
  }
  .is-open .gnb { transform: none; visibility: visible; }
  .gnb a { width: 100%; font-size: 24px; font-weight: 800; padding: 18px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .gnb a::after { display: none; }
  .header-util .btn { display: none; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .section-desc { font-size: 16px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-info .sep { display: none; }
  .footer-info p span.item { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* =========================================================
   CI 로고
   ========================================================= */
.logo { line-height: 0; }
.logo-img { height: 40px; width: auto; }
.logo .logo-white { display: none; }
/* 어두운 히어로 위(투명 헤더)에서는 화이트 로고 */
.site-header:not(.is-light):not(.is-scrolled):not(.is-open) .logo .logo-color { display: none; }
.site-header:not(.is-light):not(.is-scrolled):not(.is-open) .logo .logo-white { display: block; }
.footer-brand .logo-img { height: 44px; }
.footer-brand .logo { display: inline-block; }
@media (max-width: 640px) {
  .logo-img { height: 34px; }
}
.header-inner > .logo { flex: none; }
.btn-dark { background: var(--brand-deep); }
.btn-dark:hover { background: #031f57; }
@media (min-width: 1025px) and (max-width: 1200px) {
  .gnb { gap: 22px; } .gnb a { font-size: 14px; }
  .header-util .btn { display: none; }
}

/* =========================================================
   한/영 전환 버튼 숨김
   다시 보이게 하려면 아래 한 줄을 삭제하세요. (HTML은 그대로 유지됨)
   ========================================================= */
.lang-switch, .lang-mini { display: none !important; }
