:root {
  --bg: #ffffff;
  --text: #0b1320;
  --muted: #616161;
  --brand: #a61118;
  --primary: #a61118;
  --dark: #202020;
  --white-1: #f2f2f2;
  --white-2: #ffffff;
  --bk-1: #000000;
  --shadow: 0 5px 15px rgb(0 0 0 / 22%);
  --radius: 14px;
  --container: clamp(280px, 92vw, 1120px);
  /* Tag Background Colors (from original inline styles) */
  --tag-bg-branding: #d3b19a;
  --tag-bg-packaging: #70b3b1;
  --tag-bg-marketing: #a51d1d;
  --tag-bg-distributing: #303e54;

  /* Tag Text Colors (replacing SCSS darken() with manual dark colors) */
  --tag-text-branding: #5A3E2A;
  --tag-text-packaging: #285A58;
  --tag-text-marketing: #d8d2d2;
  --tag-text-distributing: #efefef;

  /* Icon Box Background Colors (from original :nth-child logic) */
  --icon-bg-1: #d3b19a;
  --icon-bg-2: #70b3b1;
  --icon-bg-3: #a51d1d;
  --icon-bg-4: #303e54;
  --security-1: #1668E3;
  --security-1-dark: #0b3a71;
}

html,
body {
  height: 100%
}

body {
  font-family: 'Noto Sans KR', 'Nanum Gothic', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0
}

/* 공통 레이아웃 */
.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column
}

header#headWrap {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  backdrop-filter: saturate(1.2) blur(6px);
}

.headerbox {
  transition: background .25s, box-shadow .25s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
  /* GNB 드롭다운을 위해 position 추가 */
  position: relative;
  /* background-color:lightpink; */
}

.headerbox.scrolled {
  background-color: var(--bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}

.header {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 30px 16px;
  /* 서브메뉴 배경이 헤더 바로 아래 위치하도록 z-index 추가 */
  position: relative;
  z-index: 1002;
}

.headerbox.scrolled .header {
  padding: 10px 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 50px 0 0;
}

.brand__logo {
  width: 120px;
  height: 36px;
  background: url('/resources/images/logo_w.png') no-repeat left center/contain
}

.headerbox.scrolled .brand__logo {
  width: 120px;
  height: 36px;
  background: url('/resources/images/logo.png') no-repeat left center/contain
}

.headerbox.scrolled .menu a {
  color: var(--text);
}

/* ─── HEADER ─── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

#header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, .99);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.02em;
}

.logo-text span {
  color: var(--accent);
}

/* GNB */
.gnb {
  display: flex;
  align-items: stretch;
  height: 100%;
  flex: 1;
  justify-content: center;
}

.gnb>li {
  position: relative;
  display: flex;
  align-items: center;
}

.gnb>li>a {
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  transition: var(--transition);
}

/* 1depth 화살표 아이콘 */
.gnb>li>a .gnb-arrow {
  font-size: .6rem;
  opacity: .45;
  transition: var(--transition);
  display: inline-block;
  margin-top: 1px;
}

.gnb>li:hover>a .gnb-arrow {
  opacity: 1;
  transform: rotate(180deg);
}

.gnb>li>a:hover,
.gnb>li.active>a {
  color: var(--primary);
}

.gnb>li>a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
  transition: var(--transition);
}

.gnb>li>a:hover::after,
.gnb>li.active>a::after {
  left: 12px;
  right: 12px;
}

/* ── Dropdown (2depth) ── */
.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 190px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .13), 0 2px 8px rgba(0, 0, 0, .06);
  border: 1px solid var(--border);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 999;
}

/* 드롭다운 말풍선 꼭지 */
.dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: translateX(-50%) rotate(45deg);
}

.gnb>li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* 1depth 영역에서 마우스가 dropdown으로 이동하는 사이 gap 보정 */
.gnb>li::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
}

.dropdown li {
  border-bottom: 1px solid var(--bg-gray);
}

.dropdown li:last-child {
  border-bottom: none;
}

.dropdown li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: .88rem;
  color: var(--text-mid);
  transition: var(--transition);
}

.dropdown li a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 22px;
}

.dropdown li a:hover::before {
  background: var(--primary);
}

.dropdown li a.highlight {
  color: var(--primary);
  font-weight: 700;
}

.dropdown li a.highlight::before {
  background: var(--primary);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-login {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-mid);
  border: 1.5px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-login:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-signup {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 3px 0 #6e0c10, 0 4px 12px rgba(166, 17, 24, .3);
}

.btn-signup:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-signup:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #6e0c10;
  filter: brightness(.93);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.pc-none {
  display: none;
}

/* 기본 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 8px;
  font-family: 'Noto Sans KR', 'Nanum Gothic', sans-serif;
  font-size: 14px;
  border: 1px solid #000;
  background: #fff
}

.btn--ghost {
  background: transparent
}

.btn--brand {
  border-color: var(--brand);
  color: var(--white-1);
  background: var(--brand);
  border: none
}

.btn--light {
  border-color: var(--white-1);
  color: var(--white-1);
  background: transparent
}

.btn--dark {
  border-color: var(--dark);
  color: var(--white-1);
  background: var(--dark);
  border: none;
}

.btn-primary2 {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 0 #6e0c10, 0 6px 16px rgba(166, 17, 24, .35);
  border: 1px solid #6e0c10;
}

/* 메뉴 */
.menu,
.menuback {
  display: flex;
  gap: 6px;
  align-items: flex-end;
}

.menu {
  /* GNB 메뉴 정렬을 위해 수정 */
  flex-grow: 1;
  gap: 24px;
  /* 메뉴 간격 조정 */
  padding-left: 40px;
  /* 로고와 메뉴 사이 간격 */
}

.menu a {
  display: inline-flex;
  height: 38px;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--white-1);
  font-size: 16px;
  /* 폰트 크기 조정 */
  font-weight: 500;
  /* 폰트 굵기 조정 */
}

.menu a:hover {
  background: rgba(0, 0, 0, .04)
}

.menuback>a.btn:hover {
  filter: contrast(0.8);
}

/* GNB 드롭다운 스타일 */
.gnb-dropdown {
  position: absolute;
  top: 100%;
  /* 헤더 바로 아래 */
  left: 0;
  width: 100%;
  z-index: 1001;
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-out;
}

.dropdown-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white-2);
  box-shadow: 0 8px 16px rgba(0, 0, 0, .08);
  border-top: 1px solid rgba(0, 0, 0, .06);
}

.submenu-wrapper {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 16px;
  display: flex;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.submenu-list {
  display: flex;
  flex-grow: 1;
  gap: 24px;
  padding-left: calc(120px + 10px + 40px);
  /* 로고 + 로고패딩 + 메뉴패딩 */
}

.submenu-list-dummy {
  /* menuback (로그인/회원가입) 영역만큼 공간 확보 */
  flex-shrink: 0;
  width: 220px;
  /* (버튼 2개 + 햄버거버튼) 대략적인 너비, menuback 너비에 맞춰 조정 필요 */
}


.submenu-list>ul {
  flex: 1;
  /* 각 서브메뉴 목록이 공간을 차지하도록 */
  list-style: none;
  padding: 0 12px;
  margin: 0;
}

.submenu-list>ul>li {
  margin-bottom: 8px;
}

.submenu-list>ul>li>a {
  display: block;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
}

.submenu-list>ul>li>a:hover {
  background-color: var(--white-1);
  color: var(--brand);
}

/* GNB 드롭다운 활성화 */
.headerbox.gnb-active .gnb-dropdown {
  height: 220px;
  /* 서브메뉴 내용에 맞게 높이 조절 */
}


/* 모바일 내비게이션 */
.hamburger {
  display: none;
  background: var(--dark);
  border: 1px solid rgba(0, 0, 0, .12);
  width: 35px;
  height: 35px;
  border-radius: 7px;
  align-items: center;
  justify-content: center
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #e9e9e9;
  position: relative
}

.hamburger span::before,
.hamburger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #e9e9e9
}

.hamburger span::before {
  top: -6px
}

.hamburger span::after {
  top: 6px
}

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(80vw, 320px);
  background: #fff;
  box-shadow: -12px 0 30px rgba(0, 0, 0, .15);
  transform: translateX(100%);
  transition: transform .25s;
  z-index: 1200;
  display: flex;
  flex-direction: column
}

.drawer.open {
  transform: translateX(0)
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, .06)
}

.drawer__menu {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  overflow-y: auto;
  /* 메뉴 많아질 경우 스크롤 */
}

/* 드로어 아코디언 메뉴 스타일 */
.drawer-item {
  border-bottom: 1px solid var(--white-1);
}

.drawer-toggle {
  width: 100%;
  padding: 14px 10px;
  border-radius: 10px;
  font-family: 'Nanum Gothic';
  font-size: 16px;
  font-weight: 500;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-toggle:hover {
  background: rgba(0, 0, 0, .04);
}

/* 아코디언 토글 아이콘 (화살표) */
.drawer-toggle::after {
  content: '\25BC';
  /* 아래쪽 화살표 */
  font-size: 10px;
  color: var(--muted);
  transform: rotate(0deg);
  transition: transform 0.3s ease-out;
}

.drawer-item.active>.drawer-toggle::after {
  transform: rotate(-180deg);
  /* 위쪽 화살표 */
}


.drawer-panel {
  padding-left: 10px;
  background-color: #fcfcfc;
  /* 패널 숨기기 */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.drawer-panel a {
  display: block;
  padding: 12px 10px 12px 20px;
  /* 들여쓰기 */
  border-radius: 6px;
  font-family: 'Nanum Gothic';
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
}

.drawer-panel a:hover {
  background: rgba(0, 0, 0, .04);
  color: var(--text);
}

/* 단일 메뉴 (로그인, 회원가입) */
.drawer__menu a.drawer-item-single {
  padding: 14px 10px;
  border-radius: 10px;
  font-family: 'Nanum Gothic';
  font-size: 16px;
  text-decoration: none;
  color: var(--text);
}

.drawer__menu a.drawer-item-single:hover {
  background: rgba(0, 0, 0, .04);
}

.drawer__menu hr {
  border: none;
  border-top: 1px solid var(--white-1);
  margin: 8px 0;
}

/* 기존 drawer__menu a 스타일 제거 (아코디언 구조로 대체) */
/* .drawer__menu a {
  padding: 12px 10px;
  border-radius: 10px;
  font-family: 'Nanum Gothic'
}

.drawer__menu a:hover {
  background: rgba(0, 0, 0, .04)
} 
*/

/* 히어로 */
section#intro {
  height: 65dvh;
}

.hero {
  position: relative;
  margin-top: -98px;
  /* 헤더 초기 높이에 맞춤 */
  isolation: isolate;
  background: linear-gradient(0deg, rgba(166, 17, 24, .06), rgba(166, 17, 24, .06)), url('../images/back.gif') center/cover no-repeat;
}

/* 헤더 높이가 스크롤 시 98px -> 58px로 변경되므로 히어로 섹션의 마진탑도 조정 필요 */
/* JS에서 scrolled 클래스 추가 시 body에 클래스를 추가하여 제어하거나, 
   히어로 섹션 자체의 패딩으로 처리하는 것이 더 나을 수 있음 */
/* 여기서는 기존 구조 유지를 위해 margin-top 값을 유지 */


.hero__overlay {
  width: 750px;
  max-width: 750px;
  /* margin: 0 auto; */
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(231, 63, 63, .58);
}

.section {
  padding: clamp(56px, 8vw, 100px) 16px
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  /* gap: 20px; */
  place-items: center;
  text-align: center;
  padding: 20px 0 40px;
}

.hero h1 {
  font: 300 clamp(28px, 4vw, 48px)/1.2 'Noto Sans';
  margin: 14px 0 0
}

.hero h2 {
  font: 700 clamp(24px, 3.5vw, 48px)/1.2 'Nanum Gothic';
  margin: 0
}

.hero p {
  font: 100 clamp(14px, 2vw, 20px)/1.5 'Nanum Gothic';
  margin: 8px 0 18px;
  color: var(--white-1)
}

.hero .cta {
  width: 80%;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center
}

.hero .cta>a.hero-a {
  width: calc(50% - 8px);
  border-radius: 5px;
  line-height: 1.5;
  padding: 5px 0 8px;
  color: var(--white-1);
  border: 1px solid #fff;
}

/* 메시지 라인 */
.pitch {
  background: #fff;
  padding-bottom: 0;
}

.pitch__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 12px;
  place-items: center
}

.pitch__inner>img {
  height: 4px;
  opacity: .65
}

.pitch h4 {
  font: 700 clamp(20px, 3vw, 38px) 'Nanum Gothic';
  text-align: center;
  letter-spacing: -2px;
}

.pitch h5 {
  font: 400 clamp(14px, 2vw, 18px) 'Nanum Gothic';
  color: var(--muted);
  text-align: center
}

/* 카드 그리드(서비스/사례/안내) */
.cards {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))
}

.card {
  background: var(--white-1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  gap: 12px;
  min-height: 220px;
  position: relative;
  overflow: hidden
}

.card--brand {
  background: var(--brand);
  color: var(--white-1)
}

.card h6 {
  font: 700 clamp(16px, 2.5vw, 22px)/1.5 'Nanum Gothic';
}

.card p {
  font: 400 14px/1.6 'Nanum Gothic'
}

.card .btn {
  width: max-content
}

figure.fig-card {
  /*position:absolute; left:50%; transform: translateX(-50%); top:20px;*/
  width: 100%;
  opacity: 0.5;
  border-radius: 20px;
}

figure.fig-card>img {
  border-radius: 15px;
}

.main-signature {
  width: 100%;
  margin: 3rem auto 2rem;
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: repeat(auto-fit, minmax(calc(240px - 24px), 1fr));
  gap: 12px;
  padding-bottom: 8px;
}

.sign-cta {

  background: #fdf8f2;
  border-radius: 10px;
}

.sign-cta-wrap {
  display: flex;
  gap: 1rem;
  padding: 2rem;
  justify-content: space-between;
  align-items: center;
}

.sign-img {
  border-radius: 20px;
  box-shadow: 2px 2px 4px rgb(235 231 223);
}

.sign-img>img {
  width: 100%;
  border-radius: 20px;
}

/* 유틸영역 */
section.utilize {
  margin-top: 100px;
}

.utilize {
  padding-block: min(20vh, 2rem);
  width: calc(min(76.5rem, 100%));
  margin-inline: auto;

  color: #111;
}

.pitch .pitch__inner,
.utilize .util__head,
.signature .util__head,
.security .security__head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-transform: capitalize;
  letter-spacing: 0.025em;
  letter-spacing: -2px;
  font-weight: 600;
  position: relative;
  /* ::before를 위한 설정 */
}

.pitch .pitch__inner::before {
  content: '\2714  어디서나 가능한 서명';
  position: absolute;
  top: -35px;
  font: 800 clamp(14px, 3vw, 20px) 'Nanum Gothic';
  color: var(--brand);
  letter-spacing: 0.5px;
}

.signature .util__head::before {
  content: '\2714  나만의 도장/사인';
  position: absolute;
  top: -35px;
  font: 800 clamp(14px, 3vw, 20px) 'Nanum Gothic';
  color: var(--brand);
  letter-spacing: 0.5px;
}

.utilize .util__head::before {
  content: '\2714  다양한 활용도';
  position: absolute;
  top: -35px;
  font: 800 clamp(14px, 3vw, 20px) 'Nanum Gothic';
  color: var(--brand);
  letter-spacing: 0.5px;
}

.security .security__head::before {
  content: '\2714  안정성 확보';
  position: absolute;
  top: -35px;
  font: 800 clamp(14px, 3vw, 20px) 'Nanum Gothic';
  color: var(--security-1);
  letter-spacing: 0.5px;
}

.signature .util__head h4,
.utilize .util__head h4,
.security .security__head h4 {
  letter-spacing: -2px;
  font: 700 clamp(20px, 3vw, 38px) 'Nanum Gothic';
}

.security .security__head h4 {
  color: var(--white-1);
}

.utilize .util__head::after {
  /* content: "Compañías líderes han confiado en nosotros"; */
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.5em;
  font-weight: 400;
  color: #666;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: normal;
  margin-top: 5px;
}

.utilize a {
  display: inline-block;
  text-decoration: none;
}

/* Container Grid Layout */
.utilize .container {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem 2rem;
}

/* Card Theming (Class 기반으로 변경) */
.utilize .container .u-card.card-style-1 .box .icon .iconBox {
  background: var(--icon-bg-1);
}

.utilize .container .u-card.card-style-2 .box .icon .iconBox {
  background: var(--icon-bg-2);
}

.utilize .container .u-card.card-style-3 .box .icon .iconBox {
  background: var(--icon-bg-3);
}

.utilize .container .u-card.card-style-4 .box .icon .iconBox {
  background: var(--icon-bg-4);
}

/* List/Tag Styles */
.utilize .container .u-card ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.utilize .container .u-card ul li {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.375rem 0.625rem;
  border-radius: 0.188rem;
  /* Q1: 태그 전환 효과 추가 */
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* .utilize .container .u-card ul li:hover {
  filter: brightness(0.9);
  cursor: pointer;
} */

/* Individual Tag Colors */
.utilize .container .u-card ul li.branding {
  background: var(--tag-bg-branding);
  color: var(--tag-text-branding);
}

.utilize .container .u-card ul li.packaging {
  background: var(--tag-bg-packaging);
  color: var(--tag-text-packaging);
}

.utilize .container .u-card ul li.marketing {
  background: var(--tag-bg-marketing);
  color: var(--tag-text-marketing);
}

.utilize .container .u-card ul li.distributing {
  background: var(--tag-bg-distributing);
  color: var(--tag-text-distributing);
}

/* Card Content Styles */
.utilize .container .u-card .content {
  padding: 0.938rem 0.625rem;
}

.utilize .container .u-card .content h3 {
  text-transform: capitalize;
  font-family: 'Nanum Gothic', sans-serif;
  font-size: clamp(1.5rem, 1.3909rem + 0.4364vw, 0.8rem);

}

.utilize .container .u-card .content p {
  margin: 0.625rem 0 1.25rem;
  color: #565656;
}

/* Card Inner and Box Styles */
.utilize .container .u-card .card-inner {
  position: relative;
  width: inherit;
  /* Q3: Responsive height using clamp() */
  height: clamp(10rem, 24vw, 10rem);
  background: #fff;
  border-radius: 1.25rem;
  border-bottom-right-radius: 0;
  overflow: hidden;
}

.utilize .container .u-card .card-inner .box {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
}

.utilize .container .u-card .card-inner .box .imgBox {
  position: absolute;
  inset: 0;
}

.utilize .container .u-card .card-inner .box .imgBox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

/* Icon Wrapper Styles */
.utilize .container .u-card .card-inner .box .icon {
  position: absolute;
  bottom: -0.375rem;
  right: -0.375rem;
  width: 5rem;
  height: 5rem;
  background: #fff;
  border-top-left-radius: 50%;
}

.utilize .container .u-card .card-inner .box .icon:hover .iconBox {
  transform: scale(1.1);
}

/* Pseudo-elements for the diagonal cut-out effect */
.utilize .container .u-card .card-inner .box .icon::before {
  position: absolute;
  content: "";
  bottom: 0.375rem;
  left: -1.25rem;
  background: transparent;
  width: 1.25rem;
  height: 1.25rem;
  border-bottom-right-radius: 1.25rem;
  box-shadow: 0.313rem 0.313rem 0 0.313rem #fff;
}

.utilize .container .u-card .card-inner .box .icon::after {
  position: absolute;
  content: "";
  top: -1.25rem;
  right: 0.375rem;
  background: transparent;
  width: 1.25rem;
  height: 1.25rem;
  border-bottom-right-radius: 1.25rem;
  box-shadow: 0.313rem 0.313rem 0 0.313rem #fff;
}

.utilize .container .u-card .card-inner .box .icon .iconBox {
  position: absolute;
  inset: 0.625rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

.utilize .container .u-card .card-inner .box .icon .iconBox i {
  color: var(--white-1);
  font-size: 1.5rem;
}

/* 보안영역 */
section.security.section {
  background-color: #1F2833;
  background-image: linear-gradient(to bottom, #1F2833, #1A1A1A);
}

.security_wrap {
  margin: 20px auto;
  padding-block: min(20vh, 2rem);
  width: calc(min(76.5rem, 90%));
}

.security-tabs {
  /* width: 720px; */
  max-width: 90%;
  height: 400px;
  margin: 0 auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  position: relative;
}

.security .security__head {
  color: #f2f2f2;
}

.security-tabs .stic-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 0 0 10px;
}

.security-tabs .stic-title .s-title {
  font-size: clamp(1.5rem, 1.3909rem + 0.4364vw, 0.8rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--security-1);
}

.security-tabs .stic-title .s-summary {
  line-height: 1.3;
}

.security-tabs .tab-header {
  flex-shrink: 0;
  width: 400px;
  /* height: 100%; */
  border-right: 1px solid #e0e0e0;
  padding: 40px 0px;
}

.security-tabs .tab-header>div {
  height: 50px;
  line-height: 50px;
  font-size: 16px;
  font-weight: 600;
  color: #78909c;
  cursor: pointer;
  padding-left: 20px;
  transition: color 300ms, font-size 500ms ease-in-out;
  /* Add font-size transition */
  border-radius: 4px;
}

/* Hover effect is good for desktop, but active state is what the JS controls */
.security-tabs .tab-header>div:hover {
  color: var(--security-1);
}

.security-tabs .tab-header>div.active {
  color: var(--security-1);
  /* Brighter active color */
  font-size: 18px;
  /* Slightly larger active font */
  background-color: #f0f8ff;
}

.security-tabs .tab-header div i {
  display: inline-block;
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.security-tabs .tab-indicator {
  position: absolute;
  width: 4px;
  height: 50px;
  background: var(--security-1);
  left: 417px;
  /* Start position adjusted for new padding/border */
  top: 163px;
  /* Initial top position (40px padding + 20px container padding) */
  border-radius: 0 4px 4px 0;
  transition: all 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Smoother indicator movement */
}

.security-tabs .tab-content {
  flex-grow: 1;
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 20px;
}

.security-tabs .tab-content>div {
  position: absolute;
  width: 100%;
  text-align: center;
  padding: 20px;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(100px);
  transition: all 500ms ease-in-out;
}

.security-tabs .tab-content>div.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  /* Set active content back to normal flow */
}

.security-tabs .tab-content>div>i {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: var(--security-1);
  color: #f5f5f5;
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  line-height: 60px;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 188, 212, 0.4);
}

.security-tabs .tab-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: #37474f;
  margin-bottom: 15px;
}

.security-tabs .tab-content p {
  font-size: 16px;
  color: #607d8b;
  line-height: 1.6;
}

.security-tabs .tab-content a.btn.security-btn {
  margin-top: 20px;
  background: var(--security-1);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0, 188, 212, 0.4);
}

.security-tabs .tab-content a.btn.security-btn:hover {
  background: var(--security-1-dark);
  box-shadow: 0 6px 12px rgba(0, 188, 212, 0.6);
}

/* 스텝 영역 */
.steps {
  background: #fdf8f2;
}

.steps__head {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 10px
}

.steps__head h4 {
  font: 700 clamp(20px, 3vw, 32px)/1.5 'Nanum Gothic';
  letter-spacing: -2px;
}

.steps__head h9 {
  font: 400 clamp(14px, 2vw, 18px)/1.7 'Nanum Gothic'
}

.step-list {
  max-width: var(--container);
  margin: 20px auto 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px
}

.step {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 2px 2px 4px rgb(235 231 223);
  padding: 14px;
  display: grid;
  gap: 8px;
  place-items: center;
  text-align: center;
  min-height: 200px
}

.step figure {
  display: grid;
  place-items: center
}

.step figcaption {
  font: 600 16px/1.4 'Nanum Gothic'
}

/* 푸터 */
footer {
  background: var(--dark);
  color: #c3c3c3
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 16px;
  display: grid;
  gap: 14px
}

.footer__links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.footer__links .btn {
  border: 0;
  background: transparent;
  color: #c3c3c3;
  padding: 0 10px
}

.footer__bottom {
  font: 12px/1.7 'Nanum Gothic';
  color: #9a9a9a;
  text-align: center
}


#footer {
  background: #0d1117;
  padding: 64px 0 32px;
  color: rgba(255, 255, 255, .6);
}

#footer>.container {

  padding: 0 16px;

}

.footer-top {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-text {
  color: #fff;
  font-size: 1.3rem;
}

.footer-brand p {
  font-size: .88rem;
  margin-top: 14px;
  line-height: 1.8;
  max-width: 240px;
}

.footer-col h5 {
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: .86rem;
  color: rgba(255, 255, 255, .55);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-col ul li a.highlight {
  color: #F7E6CA;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin: 0 0 28px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: gap: 16px;
}

.footer-bottom .copy {
  font-size: .84rem;
}

.footer-bottom .links {
  display: flex;
  gap: 20px;
}

.footer-bottom .links a {
  font-size: .84rem;
  color: rgba(255, 255, 255, .4);
}

.footer-bottom .links a:hover {
  color: rgba(255, 255, 255, .8);
}

.footer-bottom .links a:hover {
  color: rgba(255, 255, 255, .8);
}

/* ─── MOBILE NAV ─── */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 100%);
  height: 100vh;
  background: #1a0305;
  backdrop-filter: blur(20px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  padding: 0 0 24px;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  box-shadow: -8px 0 40px rgba(0, 0, 0, .4);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 1000;
  backdrop-filter: blur(2px);
}

.mobile-nav-overlay.open {
  display: block;
}

.mobile-nav.open {
  transform: translateX(0);
}

/* 상단 헤더 */
.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  flex-shrink: 0;
}

.mobile-nav-head .logo-text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
}

.mobile-nav-head .logo-text span {
  color: var(--sub);
}

.mobile-close {
  background: rgba(255, 255, 255, .1);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-close:hover {
  background: rgba(255, 255, 255, .2);
}

/* 스크롤 영역 */
.mobile-nav>ul {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.mobile-nav>ul>li {
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.mobile-nav>ul>li>a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
  transition: var(--transition);
}

.mobile-nav>ul>li>a:hover {
  color: var(--tag-bg-branding);
}

/* 화살표 */
.mob-arrow {
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
  transition: transform .2s ease;
  display: inline-block;
}

.mobile-nav>ul>li.open>a .mob-arrow {
  transform: rotate(90deg);
  color: var(--tag-bg-branding);
}

.mobile-nav>ul>li.open>a {
  color: var(--tag-bg-branding);
}

/* 2depth 서브메뉴 */
.mobile-nav .sub-menu {
  padding: 0 0 8px 0;
  background: rgba(0, 0, 0, .2);
  border-top: 1px solid rgba(255, 255, 255, .05);
}

.mobile-nav .sub-menu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px 11px 36px;
  color: rgba(255, 255, 255, .6);
  font-size: .9rem;
  transition: var(--transition);
}

.mobile-nav .sub-menu li a::before {
  content: '—';
  font-size: .65rem;
  color: rgba(255, 255, 255, .25);
}

.mobile-nav .sub-menu li a:hover {
  color: var(--tag-bg-branding);
}

.mobile-nav .sub-menu li a.highlight {
  color: var(--tag-bg-branding);
  font-weight: 600;
}

/* 하단 버튼 */
.mobile-nav-btns {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  flex-shrink: 0;
}

.mobile-nav-btns .btn-login {
  width: 100%;
  text-align: center;
  margin-top: 10px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .7);
  border: 1.5px solid rgba(255, 255, 255, .2);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  display: block;
}

.mobile-nav-btns .btn-login:hover {
  border-color: var(--sub);
  color: var(--sub);
}

/* 브레이크포인트 */
@media (max-width: 960px) {
  .pc-none {
    display: block;
  }

  /* Header */
  .gnb,
  .header-actions .btn-login,
  .header-actions .btn-signup {
    display: none;
  }

  .menuback>a.btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-inner {
    gap: 16px;
  }

  .menu {
    display: none
  }

  /* GNB 드롭다운 모바일에서 숨기기 */
  .gnb-dropdown {
    display: none;
  }

  .hamburger {
    display: inline-flex
  }

  .brand__logo {
    width: 60px;
  }

  .brand {
    padding: 0;
  }

  .hero .cta {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .hero__overlay {
    width: 90%;
  }

  .main-signature {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
  }

  .sign-cta-wrap {
    flex-direction: column;
    text-align: center;
  }

  .security-tabs {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  .security-tabs .tab-header {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
    display: flex;
    /* Make headers horizontal */
    justify-content: space-around;
  }

  .security-tabs .tab-header>div {
    height: 40px;
    line-height: 40px;
    padding-left: 0;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    flex-grow: 1;
    margin: 0 5px;
  }

  .security-tabs .tab-header>div.active {
    font-size: 14px;
  }

  .security-tabs .tab-header div i {
    display: none;
    /* Hide icons on small screens for cleaner look */
  }

  .security-tabs .tab-indicator {
    display: none;
    /* Hide side indicator on mobile horizontal layout */
  }

  .security-tabs .tab-content {
    padding: 10px 0;
  }

  .security-tabs .tab-content>div {
    padding: 10px;
    /* Reset mobile transition state */
    transform: translateX(0);
    top: auto;
  }

  .security-tabs .tab-content>div>i {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 25px;
    margin-bottom: 10px;
  }

  #footer {
    padding: 48px 0 28px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.chat-widget {
  display: none;
}/*추후 챗봇 활성시 해당 엘레멘트 삭제  */