/* ═══ 헤더 ═══ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 4px 24px rgba(23, 24, 29, 0.05);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.logo__mark {
  width: 30px;
  height: auto;
  flex: none;
}

.logo__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad);
  align-self: center;
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.35);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(124, 58, 237, 0);
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav__link:hover {
  color: var(--text);
  background: rgba(124, 58, 237, 0.07);
}

.nav__link.is-current {
  color: var(--violet-deep);
  background: var(--violet-bg);
  font-weight: 700;
}

.nav__cta {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

/* 모바일 오버레이 메뉴 */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: none;
  padding: 96px var(--gutter) 40px;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu__list {
  display: grid;
  gap: 4px;
}

.mobile-menu__list a {
  display: block;
  padding: 15px 8px;
  font-size: 1.3rem;
  font-weight: 700;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
}

.mobile-menu__list a.is-current {
  color: var(--violet);
}

.mobile-menu__stores {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══ 그라데이션 오브 배경 (히어로·서브 히어로 공용) ═══ */
.orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: drift 14s ease-in-out infinite alternate;
}

.orb--violet {
  width: 420px;
  height: 420px;
  background: rgba(167, 139, 250, 0.55);
  top: -120px;
  right: 4%;
}

.orb--cyan {
  width: 340px;
  height: 340px;
  background: rgba(0, 240, 255, 0.32);
  bottom: -80px;
  left: -60px;
  animation-delay: -6s;
}

.orb--pink {
  width: 260px;
  height: 260px;
  background: rgba(240, 171, 252, 0.5);
  top: 30%;
  left: 34%;
  animation-delay: -3s;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(36px, -28px) scale(1.12);
  }
}

/* ═══ 서브페이지 히어로 ═══ */
.page-hero {
  position: relative;
  padding: 150px 0 var(--sec-y);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.page-hero__lead {
  margin-top: 18px;
  color: var(--text-2);
  font-size: var(--fs-lead);
  max-width: 480px;
}

.page-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

/* ═══ 피처 스플릿(좌우 교차) ═══ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.split + .split {
  margin-top: clamp(64px, 9vw, 110px);
}

.split--flip .split__media {
  order: -1;
}

.split__body h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin-bottom: 14px;
}

.split__body > p {
  color: var(--text-2);
  margin-bottom: 20px;
}

.split__points {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.split__points li {
  position: relative;
  padding-left: 24px;
  color: var(--text-2);
  font-size: 0.95rem;
}

.split__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: var(--violet-bg);
  border: 1px solid var(--violet-line);
}

.split__points li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(0.42em + 4px);
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--violet);
}

.split__media {
  display: flex;
  justify-content: center;
}

/* ═══ 푸터 ═══ */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 40px;
  background: var(--bg-raise);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.footer__brand p {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer__nav {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}

.footer__col h4 {
  font-size: var(--fs-cap);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: 12px;
}

.footer__col a {
  display: block;
  padding: 4px 0;
  color: var(--text-2);
  font-size: 0.92rem;
}

.footer__col a:hover {
  color: var(--violet);
}

.footer__bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-3);
  font-size: var(--fs-cap);
}

.footer__legal {
  display: flex;
  gap: 18px;
}

.footer__legal a:hover {
  color: var(--text-2);
}

/* ═══ 반응형 ═══ */
@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .page-hero {
    padding-top: 120px;
  }

  .page-hero__grid,
  .split {
    grid-template-columns: 1fr;
  }

  .split--flip .split__media {
    order: 0;
  }

  .split__media {
    justify-content: flex-start;
  }
}
