@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;900&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root{
  --navy-950:#060a17;
  --navy-900:#0a1128;
  --navy-800:#0d1730;
  --navy-700:#102040;
  --blue-700:#2b4fc9;
  --blue-600:#2f6bff;
  --blue-500:#4a8dff;
  --blue-400:#6ec6ff;
  --blue-glow:#3fa9ff;
  --mega-blue:#365fe3;
  --header-navy:#1b1f2e;
  --ink-0:#ffffff;
  --ink-70:rgba(255,255,255,.72);
  --ink-50:rgba(255,255,255,.5);
  --ink-30:rgba(255,255,255,.3);
  --line-10:rgba(255,255,255,.1);
  --font-kr:"Pretendard","Noto Sans KR","Apple SD Gothic Neo",sans-serif;
  --font-en:"Space Grotesk",sans-serif;
  --header-h:76px;
  --header-h-m:60px;
}

*, *::before, *::after{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-kr);
  background:var(--navy-900);
  color:var(--ink-0);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
button{font-family:inherit; cursor:pointer; border:none; background:none; color:inherit;}
/* ---------- Header ---------- */
.site-header{
  position:fixed; top:0; left:0; width:100%; z-index:300;
  height:var(--header-h);
  display:flex; align-items:center;
  background:rgba(6,10,23,.5);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.06);
  transition:background .3s ease, border-color .3s ease, height .3s ease;
}
.site-header.is-scrolled{
  background:#060a17;
  border-bottom-color:rgba(255,255,255,.1);
}
.site-header.gnb-open{background:var(--header-navy); border-bottom-color:transparent;}
.site-header.gnb-open .gnb{visibility:hidden; opacity:0;}
.site-header .inner{
  width:100%; margin:0 auto; padding:0 32px;
  display:flex; align-items:center; justify-content:space-between;
}
.logo{
  display:flex; align-items:center; gap:8px;
  font-family:var(--font-en); font-weight:700; font-size:20px; letter-spacing:.02em;
  z-index:210;
}
.logo .logo-img{height:34px; width:auto; display:block;}
.footer-info .logo .logo-img{height:30px;}
.logo .mark{
  width:28px; height:28px; border-radius:50%;
  border:2px solid var(--blue-400);
  display:flex; align-items:center; justify-content:center;
  font-size:13px; color:var(--blue-400);
}

/* ---------- GNB + mega dropdown ---------- */
.gnb{display:flex; align-items:center; gap:56px; height:100%;}
.gnb-item{position:relative; height:100%; display:flex; align-items:center;}
.gnb-item > a{
  font-size:15px; font-weight:500; color:var(--ink-70);
  position:relative; padding:6px 2px; transition:color .25s ease;
}
.gnb-item > a:hover, .gnb-item > a:focus-visible,
.gnb-item.is-open > a, .gnb-item > a.is-active{color:var(--ink-0);}
.gnb-item.is-open > a{color:var(--blue-400);}
.gnb-item > a::after{
  content:""; position:absolute; left:0; bottom:-4px; height:2px; width:0;
  background:var(--blue-400); transition:width .25s ease;
}
.gnb-item > a:hover::after, .gnb-item > a:focus-visible::after,
.gnb-item > a.is-active::after{width:100%;}

/* mega panel: shared base */
.mega-panel{
  position:fixed; left:0; top:var(--header-h); width:100%;
  opacity:0; visibility:hidden; transform:translateY(-8px);
  transition:opacity .25s ease, transform .25s ease, visibility .25s;
  border-bottom:1px solid rgba(255,255,255,.12);
  box-shadow:0 24px 40px rgba(0,0,0,.25);
}
.gnb-item.is-open .mega-panel{opacity:1; visibility:visible; transform:translateY(0);}

/* 제품소개: rich card grid, distinct from the other simple menus */
.mega-products{
  background:linear-gradient(180deg, var(--mega-blue) 0%, #2f52c9 100%);
  padding:36px 0;
}
.mega-products .mega-inner{
  max-width:1160px; margin:0 auto; padding:0 32px;
  display:grid; grid-template-columns:repeat(3, 1fr); gap:14px;
}
.mega-card{
  display:flex; align-items:center; gap:16px;
  padding:16px 20px; border-radius:50px;
  transition:background .2s ease, color .2s ease;
}
.mega-card .mega-icon{
  flex:none; width:48px; height:48px; border-radius:50%;
  border:1.5px solid rgba(255,255,255,.55);
  display:flex; align-items:center; justify-content:center;
  transition:background .2s ease, border-color .2s ease;
}
.mega-card .mega-icon img{width:22px; height:22px; filter:brightness(0) invert(1); transition:filter .2s ease;}
.mega-card strong{display:flex; align-items:center; gap:6px; font-size:15.5px; font-weight:700; margin-bottom:4px;}
.mega-card em{display:block; font-style:normal; font-size:12.5px; line-height:1.5; color:rgba(255,255,255,.75);}
.mega-card .go-arrow{
  display:inline-block; width:0; opacity:0; overflow:hidden;
  transition:width .25s ease, opacity .2s ease; transform:translateX(-4px);
}
.mega-card:hover .go-arrow, .mega-card:focus-visible .go-arrow{width:14px; opacity:1; transform:translateX(0);}
.mega-card:hover, .mega-card:focus-visible{background:var(--ink-0);}
.mega-card:hover strong, .mega-card:focus-visible strong{color:var(--header-navy);}
.mega-card:hover em, .mega-card:focus-visible em{color:rgba(20,24,40,.65);}
.mega-card:hover .mega-icon, .mega-card:focus-visible .mega-icon{background:var(--mega-blue); border-color:var(--mega-blue);}
.mega-card:hover .mega-icon img, .mega-card:focus-visible .mega-icon img{filter:none;}

/* 구축사례 / 고객지원 / 회사소개: simple centered dropdown bar */
.mega-simple{
  background:linear-gradient(90deg, rgba(54,95,227,.94), rgba(47,82,201,.88));
  padding:20px 0;
}
.mega-simple .mega-inner{
  max-width:1160px; margin:0 auto; padding:0 32px;
  display:flex; gap:36px; justify-content:center;
}
.mega-simple a{
  font-size:14.5px; font-weight:500; color:rgba(255,255,255,.82);
  transition:color .2s ease;
}
.mega-simple a:hover, .mega-simple a:focus-visible{color:var(--ink-0);}

/* ---------- Hamburger (always visible, opens full layer menu) ---------- */
.menu-toggle{
  width:26px; height:18px; position:relative; z-index:310;
  display:flex; flex-direction:column; justify-content:space-between;
  margin-left:36px;
}
.menu-toggle span{
  display:block; height:2px; width:100%; background:var(--ink-0); border-radius:2px;
  transition:transform .3s ease, opacity .3s ease;
}
.menu-toggle.is-active span:nth-child(1){transform:translateY(8px) rotate(45deg);}
.menu-toggle.is-active span:nth-child(2){opacity:0;}
.menu-toggle.is-active span:nth-child(3){transform:translateY(-8px) rotate(-45deg);}

/* ---------- Full-screen menu layer popup ---------- */
.menu-layer{
  position:fixed; inset:0; z-index:280;
  background:var(--navy-950);
  display:flex; align-items:flex-start; justify-content:center;
  opacity:0; visibility:hidden;
  transition:opacity .35s ease, visibility .35s;
  overflow-y:auto;
}
.menu-layer.is-open{opacity:1; visibility:visible;}
.menu-layer-inner{
  width:100%; max-width:1040px; margin:0 auto; padding:120px 32px 60px;
}
.menu-layer-close{
  position:fixed; top:22px; right:32px; z-index:310;
  width:44px; height:44px; border-radius:50%;
  border:1px solid var(--line-10);
  display:flex; align-items:center; justify-content:center;
  color:var(--ink-0); font-size:22px; line-height:1;
}
.menu-layer-close:hover{background:rgba(255,255,255,.08);}
.menu-layer-grid{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:40px;
  border-top:1px solid var(--line-10); padding-top:44px;
}
.menu-layer-col h3{
  font-family:var(--font-en); font-size:17px; font-weight:700;
  color:var(--blue-400); margin-bottom:22px; padding-bottom:16px;
  border-bottom:1px solid var(--line-10);
}
.menu-layer-col a{
  display:block; font-size:14.5px; color:var(--ink-70);
  padding:9px 0; transition:color .2s ease, transform .2s ease;
}
.menu-layer-col a:hover, .menu-layer-col a:focus-visible{color:var(--ink-0); transform:translateX(4px);}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:13px 26px; font-size:14px; font-weight:600;
  border:1px solid rgba(255,255,255,.28); border-radius:2px;
  color:var(--ink-0); transition:all .25s ease;
}
.btn:hover, .btn:focus-visible{
  background:var(--blue-600); border-color:var(--blue-600);
  transform:translateX(2px);
}
.btn .arrow{transition:transform .25s ease; display:inline-block;}
.btn:hover .arrow{transform:translateX(3px);}
.btn-solid{background:var(--blue-600); border-color:var(--blue-600);}
.btn-solid:hover{background:var(--blue-500); border-color:var(--blue-500);}

/* ---------- CTA (used on main & sub pages) ---------- */
.cta-section{
  position:relative; overflow:hidden; isolation:isolate;
  background:#0e1a41;
  text-align:center; padding:130px 24px;
  opacity:0; transform:translateY(30px) scale(.98);
  transition:opacity .8s cubic-bezier(.16,.84,.44,1), transform .8s cubic-bezier(.16,.84,.44,1);
}
.cta-section::before, .cta-section::after{
  content:""; position:absolute; z-index:0; border-radius:50%; filter:blur(60px);
  background:radial-gradient(circle, rgba(74,141,255,.35), transparent 70%);
  pointer-events:none;
}
.cta-section::before{width:420px; height:420px; top:-160px; left:8%; animation:ctaBlobA 14s ease-in-out infinite;}
.cta-section::after{width:360px; height:360px; bottom:-160px; right:10%; animation:ctaBlobB 16s ease-in-out infinite;}
@keyframes ctaBlobA{
  0%,100%{transform:translate(0,0) scale(1);}
  50%{transform:translate(40px,30px) scale(1.15);}
}
@keyframes ctaBlobB{
  0%,100%{transform:translate(0,0) scale(1);}
  50%{transform:translate(-30px,-25px) scale(1.1);}
}
.cta-section > *{position:relative; z-index:1;}
.cta-section.in-view{opacity:1; transform:translateY(0) scale(1);}
.cta-section h2{
  position:relative;
  font-family:var(--font-en); font-size:clamp(28px,4vw,48px); font-weight:600;
  margin-bottom:18px;
  opacity:0; transform:translateY(18px) scale(.94);
  transition:opacity .7s cubic-bezier(.16,.84,.44,1) .1s, transform .7s cubic-bezier(.16,.84,.44,1) .1s;
  background-image:linear-gradient(100deg, #9a9a9a 42%, #ffffff 50%, #9a9a9a 58%);
  background-size:260% 100%;
  background-position:0% 0;
  -webkit-background-clip:text; background-clip:text; color:transparent;
  animation:ctaGlow 5.5s ease-in-out .9s infinite;
}
.cta-section:hover h2{
  animation:ctaShine 3.4s linear infinite;
}
@keyframes ctaGlow{
  0%,100%{filter:drop-shadow(0 0 0 rgba(110,198,255,0));}
  50%{filter:drop-shadow(0 0 14px rgba(110,198,255,.35));}
}
@keyframes ctaShine{
  0%{background-position:160% 0;}
  100%{background-position:-160% 0;}
}
.cta-section p{
  color:var(--ink-70); margin-bottom:34px; font-size:15px;
  opacity:0; transform:translateY(16px);
  transition:opacity .7s ease .25s, transform .7s ease .25s;
}
.cta-section .btn{
  opacity:0; transform:translateY(14px) scale(.9);
  transition:opacity .6s ease .4s, transform .6s cubic-bezier(.34,1.56,.64,1) .4s, background .2s ease, box-shadow .25s ease;
}
.cta-section.in-view h2, .cta-section.in-view p, .cta-section.in-view .btn{
  opacity:1; transform:translateY(0) scale(1);
}
.cta-section .btn:hover{background:var(--blue-600); border-color:var(--blue-600); box-shadow:0 10px 28px rgba(47,107,255,.4);}
@media (prefers-reduced-motion: reduce){
  .cta-section h2{animation:none;}
  .cta-section:hover h2{animation:none;}
  .cta-section::before, .cta-section::after{animation:none;}
}

/* ---------- Footer ---------- */
.site-footer{
  background:#252628;
  padding:70px 0 0;
  overflow:hidden;
}
.site-footer .inner{
  display:flex; align-items:stretch; gap:40px;
  max-width:1440px; margin:0 auto;
  width:100%;
}
.footer-info{
  flex:1 1 auto; width:min(46%,560px); max-width:560px; padding:0 32px 32px 32px;
  display:flex; flex-direction:column; min-width:280px;
}
.footer-info .logo{margin-bottom:30px;}
.footer-info h4{
  font-size:15px; font-weight:700; letter-spacing:.02em; color:var(--ink-0); margin:24px 0 10px;
}
.footer-info p{font-size:13px; color:var(--ink-50); line-height:1.85;}
.footer-info .btn{margin-top:22px; padding:11px 22px; font-size:13px; align-self:flex-start;}
.footer-map{
  position:relative; flex:1 1 0; min-width:0; max-width:100%; max-height:400px; overflow:hidden;
}
.footer-map img{
  position:absolute; top:0; right:0; height:100%; width:auto; max-width:none;
  display:block;
}
.footer-bottom{
  padding-top:18px;
  display:flex; flex-direction:column; gap:6px;
  font-size:12px; color:var(--ink-30);
}
.footer-bottom .legal a{margin-right:18px; color:var(--ink-50);}
.footer-bottom .legal a:hover{color:var(--ink-0);}

/* ---------- Side floating utility ---------- */
.side-util{
  position:fixed; right:28px; bottom:40px; z-index:60;
  display:flex; flex-direction:column; gap:12px; align-items:flex-end;
}
.util-btn{
  height:46px; width:46px; border-radius:23px; overflow:hidden;
  background:var(--blue-600); color:var(--ink-0);
  display:flex; align-items:center; flex-direction:row-reverse;
  box-shadow:0 6px 20px rgba(47,107,255,.4);
  transition:width .32s cubic-bezier(.16,.84,.44,1), background .25s ease, box-shadow .25s ease;
}
.util-btn .util-icon{
  width:46px; height:46px; flex:none;
  display:flex; align-items:center; justify-content:center;
}
.util-btn .util-label{
  font-size:13px; font-weight:700; white-space:nowrap;
  max-width:0; opacity:0; overflow:hidden;
  transition:max-width .32s cubic-bezier(.16,.84,.44,1), opacity .2s ease;
}
.util-btn:hover, .util-btn:focus-visible{
  width:128px; background:var(--blue-500);
  box-shadow:0 8px 24px rgba(47,107,255,.55);
}
.util-btn:hover .util-label, .util-btn:focus-visible .util-label{
  max-width:100px; opacity:1; padding-right:2px;
}
.util-btn.top{
  width:52px; height:52px; border-radius:50%;
  flex-direction:column; align-items:center; justify-content:center; gap:3px;
  background:#141519; border:none; box-shadow:0 6px 18px rgba(0,0,0,.35);
  transition:transform .2s ease, background .2s ease;
}
.util-btn.top .util-icon{width:auto; height:auto;}
.util-btn.top:hover, .util-btn.top:focus-visible{
  width:52px; transform:translateY(-2px); background:#1c1e24; box-shadow:0 8px 20px rgba(0,0,0,.4);
}
.util-btn.top .util-label{
  display:block; max-width:none; opacity:1; overflow:visible;
  font-size:9px; font-weight:700; letter-spacing:.04em; color:var(--ink-0);
}

/* ---------- Generic scroll reveal (used on main & sub) ---------- */
.reveal{
  opacity:0; transform:translateY(28px);
  transition:opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1);
}
.reveal.in-view{opacity:1; transform:translateY(0);}

/* ---------- Breadcrumb (used on sub pages) ---------- */
.breadcrumb{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; color:var(--ink-50);
}
.breadcrumb .current{color:var(--blue-400);}
.breadcrumb svg{color:var(--ink-0); opacity:.9;}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}

/* ---------- Responsive: header / footer / nav ---------- */
@media (max-width:1024px){
  /* below this width the text GNB + hover mega panels step aside;
     the hamburger becomes the only way in, opening the same full menu-layer */
  .gnb-item > a{display:none;}
  .gnb{gap:0;}
  .mega-panel{display:none;}
  .menu-toggle{margin-left:auto;}
}

@media (max-width:900px){
  .menu-layer-inner{padding:100px 24px 60px;}
  .menu-layer-grid{grid-template-columns:1fr 1fr; gap:32px 24px;}

  .site-footer .inner{flex-direction:column;}
  .footer-info{width:100%; max-width:100%; padding:0 24px 32px;}
  .footer-map{display:none;}
  .footer-bottom{text-align:left;}

  .side-util{right:16px; bottom:20px; gap:10px;}
  .side-util .util-btn, .side-util .util-btn .util-icon{width:40px; height:40px;}
  .side-util .util-btn:hover, .side-util .util-btn:focus-visible{width:40px;}
  .side-util .util-btn .util-label{display:none;}
  .cta-section{padding:80px 20px;}
}

@media (max-width:560px){
  .menu-layer-grid{grid-template-columns:1fr; gap:8px;}
  .menu-layer-col{border-bottom:1px solid var(--line-10); padding-bottom:14px; margin-bottom:6px;}
  .menu-layer-col:last-child{border-bottom:none;}
  .cta-section{padding:50px 24px;}
}

@media (max-width:480px){
  .site-header .inner{padding:0 18px;}
  .footer-info p{font-size:12.5px;}
  .menu-layer-close{top:14px; right:18px; width:38px; height:38px;}
  .cta-section{padding:40px 20px;}
}
