:root {
  --bg: #eef4ff;
  --bg-soft: #f5f8ff;

  --black: #101522;
  --gray: #68748a;

  --line: #d7e1f2;

  --white: #ffffff;

  --blue: #4d6cff;
  --blue-dark: #354bd7;
  --purple: #8b6cff;

  --tracking-body: -0.15px;
  --tracking-title: -2.2px;

  --line-title: calc(1em + 10px);
  --line-body: 1.65em;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  scroll-behavior: smooth;
}


body {
  background: var(--bg);
  color: var(--black);

  font-family:
    "Inter",
    "Noto Sans KR",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;

  letter-spacing: var(--tracking-body);
  line-height: var(--line-body);

  overflow-x: hidden;
}


::selection {
  background: #101522;
  color: #fff;
}


a {
  color: inherit;
  text-decoration: none;
}


button {
  font: inherit;
}


/* =====================================================
   LOADER
===================================================== */

.loader {
  position: fixed;
  inset: 0;

  background: #101522;
  color: white;

  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  transition:
    opacity .8s ease,
    visibility .8s ease;
}


.loader.hide {
  opacity: 0;
  visibility: hidden;
}


.loader-text {
  font-size: 16px;
  letter-spacing: -.5px;
}


.loader-number {
  margin-left: 10px;
  opacity: .45;
}


/* =====================================================
   NAVIGATION
===================================================== */

.nav {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  padding: 18px 28px;

  z-index: 900;

  background:
    rgba(255,255,255,0);

  backdrop-filter:
    blur(0);

  transition:
    background .4s ease,
    backdrop-filter .4s ease,
    box-shadow .4s ease;
}


.nav.scrolled {
  background:
    rgba(255,255,255,.94);

  backdrop-filter:
    blur(14px);

  box-shadow:
    0 8px 26px rgba(35,56,95,.08);
}


.nav-inner {
  width: 100%;
  max-width: 1500px;

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    1fr auto 1fr;

  align-items: center;
}


/* =====================================================
   LOGO
===================================================== */

.logo {
  justify-self: start;

  display: inline-flex;
  align-items: center;

  font-size: 23px;
  font-weight: 900;

  letter-spacing: -1.5px;

  transition:
    transform .3s ease;
}


.logo:hover {
  transform:
    translateY(-2px);
}


.logo-mark {
  width: 8px;
  height: 8px;

  margin-left: 4px;

  border-radius: 50%;

  background: var(--blue);
}


/* =====================================================
   CENTER MENU
===================================================== */

.nav-links {
  display: flex;
  align-items: center;

  gap: 28px;

  font-size: 13px;
  font-weight: 500;

  white-space: nowrap;
}


/* 일반 메뉴 */

.nav-links > a {
  position: relative;

  color: #59657a;

  transition:
    color .3s ease;
}


.nav-links > a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -5px;

  width: 100%;
  height: 1px;

  background: var(--black);

  transform: scaleX(0);

  transform-origin: right;

  transition:
    transform .35s
    cubic-bezier(.2,.8,.2,1);
}


.nav-links > a:hover {
  color: var(--black);
}


.nav-links > a:hover::after {
  transform: scaleX(1);

  transform-origin: left;
}


/* =====================================================
   SOLUTION DROPDOWN
===================================================== */

.solution-dropdown {
  position: relative;

  height: 100%;
}


/* 솔루션 버튼 */

.solution-trigger {
  position: relative;

  display: flex;
  align-items: center;

  height: 30px;

  color: #59657a;

  cursor: pointer;

  transition:
    color .3s ease;
}


.solution-trigger::after {
  content: "▼";

  font-size: 7px;

  margin-left: 6px;

  color: currentColor;

  transition:
    transform .3s ease;
}


.solution-dropdown:hover
.solution-trigger {
  color: var(--black);
}


.solution-dropdown:hover
.solution-trigger::after {
  transform:
    rotate(180deg);
}


/* =====================================================
   DROPDOWN PANEL
===================================================== */

.solution-dropdown-panel {
  position: fixed;

  top: 78px;
  left: 0;

  width: 100vw;

  background:
    rgba(255,255,255,.97);

  border-top:
    1px solid #e5e7eb;

  box-shadow:
    0 20px 45px
    rgba(30,50,90,.10);

  opacity: 0;
  visibility: hidden;

  transform:
    translateY(-12px);

  transition:
    opacity .3s ease,
    visibility .3s ease,
    transform .3s
    cubic-bezier(.2,.8,.2,1);

  pointer-events:
    none;
}


.solution-dropdown:hover
.solution-dropdown-panel {
  opacity: 1;

  visibility: visible;

  transform:
    translateY(0);

  pointer-events:
    auto;
}


/* =====================================================
   DROPDOWN INNER
===================================================== */

.solution-dropdown-inner {
  max-width: 1200px;

  margin: 0 auto;

  padding:
    40px 20px 20px;
}


/* =====================================================
   3 COLUMN
===================================================== */

.solution-columns {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 40px;

  margin-bottom: 30px;
}


.solution-col {
  display:
    flex;

  flex-direction:
    column;
}


/* =====================================================
   CATEGORY HEADER
===================================================== */

.solution-box-header {
  display: block;

  background:
    #f3f4f6;

  border-radius:
    12px;

  padding:
    30px 20px;

  margin-bottom:
    25px;

  position: relative;

  transition:
    transform .35s
    cubic-bezier(.2,.8,.2,1),

    background .3s ease;
}


.solution-box-header:hover {
  transform:
    translateY(-4px);

  background:
    #edf2fa;
}


.solution-box-title {
  font-size:
    20px;

  font-weight:
    700;

  line-height:
    1.35;

  color:
    #111827;

  margin-bottom:
    8px;
}


.solution-box-desc {
  font-size:
    14px;

  line-height:
    1.6;

  color:
    #6b7280;

  margin-bottom:
    15px;
}


.solution-box-link {
  font-size:
    14px;

  line-height:
    1.6;

  color:
    #3b82f6;

  font-weight:
    500;

  display:
    inline-flex;

  align-items:
    center;
}


.solution-box-link::after {
  content:
    " →";

  margin-left:
    4px;
}


/* =====================================================
   DROPDOWN LIST
===================================================== */

.solution-link-list {
  list-style:
    none;
}


.solution-link-list li {
  margin-bottom:
    16px;

  display:
    flex;

  align-items:
    center;
}


.solution-link-item {
  font-size:
    15px;

  line-height:
    1.6;

  color:
    #4b5563;

  font-weight:
    500;

  display:
    flex;

  align-items:
    center;

  width:
    100%;

  transition:
    color .25s ease,

    transform .25s ease;
}


.solution-link-item:hover {
  color:
    #111827;

  transform:
    translateX(4px);
}


/* =====================================================
   TAGS
===================================================== */

.solution-tag {
  font-size:
    11px;

  font-weight:
    600;

  border-radius:
    4px;

  padding:
    3px 8px;

  margin-left:
    8px;

  text-transform:
    uppercase;

  line-height:
    1.3;
}


.solution-tag-soon {
  background:
    transparent;

  color:
    #3b82f6;

  border:
    1px solid #3b82f6;
}


.solution-tag-pro {
  background:
    #3b82f6;

  color:
    white;

  padding:
    4px 10px;

  border-radius:
    4px;
}


.solution-tag-ai {
  color:
    #3b82f6;

  border:
    1px solid #e5e7eb;

  border-radius:
    100px;

  padding:
    2px 8px;

  font-size:
    10px;
}


/* =====================================================
   DROPDOWN FOOTER BAR
===================================================== */

.solution-footer-bar {
  background:
    #f3f4f6;

  margin:
    0 -20px;

  padding:
    20px 40px;

  display:
    flex;

  justify-content:
    space-between;

  align-items:
    center;

  font-size:
    14px;

  line-height:
    1.6;

  color:
    #4b5563;

  border-top:
    1px solid #e5e7eb;
}
