:root {
  --bg: #0a0e1a;
  --surface: #0d1220;
  --muted: #1a1f2e;
  --card: #121825;
  --text: #e8edf5;
  --text-dim: #bac4d8;
  --primary: #6ee7ff;
  --primary-2: #3b82f6;
  --accent: #22d3ee;
  --success: #34d399;
  --border: #1f2942;
  --ring: 0 0 0 3px rgba(110, 231, 255, 0.25);
}

* {
  box-sizing: border-box;
  cursor: default;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: #000000;
  color: var(--text);
  font-family: "Inter", "Noto Sans KR", system-ui, -apple-system, Segoe UI,
    Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  padding-top: 64px; /* 고정 헤더와 겹침 방지 */
  scroll-padding-top: 80px; /* 앵커 링크로 스크롤 시 헤더 높이만큼 여백 추가 */
}
body > * {
  position: relative;
  z-index: 1;
}

button * {
  cursor: pointer;
}

.container {
  width: min(1100px, 96%);
  margin: 0 auto;
}

p {
  word-break: keep-all;
}

/* Header - Modern & Clean */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  backdrop-filter: saturate(180%) blur(20px);
  background: rgba(10, 14, 26, 0.6);
  border-bottom: 1px solid rgba(110, 231, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-header.scrolled {
  background: rgba(10, 14, 26, 0.92);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(110, 231, 255, 0.1);
  border-bottom-color: rgba(110, 231, 255, 0.15);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.brand__logo,
.brand__fallback,
.brand strong {
  cursor: pointer;
}
.brand:hover {
  opacity: 0.85;
}
.brand strong {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding-left: 10px;
}
.brand__logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.brand__fallback {
  color: var(--primary);
}
.nav {
  display: none;
  gap: 4px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.nav a {
  color: var(--text-dim);
  text-decoration: none;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav a:hover {
  color: var(--text);
  background: rgba(110, 231, 255, 0.05);
}
.nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}
.nav button {
  white-space: nowrap;
  font-size: 0.9rem;
  padding: 8px 18px;
  height: 38px;
}
.header__cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* User Dropdown - Modern */
.user-dropdown {
  position: relative;
}

.user-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(110, 231, 255, 0.04);
  border: 1px solid rgba(110, 231, 255, 0.12);
  border-radius: 12px;
  padding: 10px 16px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-dropdown__trigger:hover {
  border-color: rgba(110, 231, 255, 0.3);
  background: rgba(110, 231, 255, 0.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 211, 238, 0.15);
}

.user-dropdown__chevron {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.7;
  transform-origin: center;
}

.user-dropdown__trigger:hover .user-dropdown__chevron {
  opacity: 1;
}

.user-dropdown__trigger.is-open .user-dropdown__chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.user-dropdown__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 180px;
  background: rgba(15, 19, 30, 0.98);
  border: 1px solid rgba(110, 231, 255, 0.15);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(110, 231, 255, 0.08);
  backdrop-filter: saturate(180%) blur(20px);
  overflow: hidden;
  z-index: 100;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-dropdown__item {
  display: block;
  width: 100%;
  padding: 14px 18px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(110, 231, 255, 0.05);
}

.user-dropdown__item:last-child {
  border-bottom: none;
}

.user-dropdown__item:hover {
  background: rgba(110, 231, 255, 0.08);
  color: var(--primary);
  padding-left: 22px;
}

.user-dropdown__item--danger {
  color: rgba(239, 68, 68, 0.9);
}

.user-dropdown__item--danger:hover {
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
}

/* Mobile Menu Toggle (Hamburger) - Modern */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle:hover {
  background: rgba(110, 231, 255, 0.08);
}

.mobile-menu-toggle .bar {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Menu Layout - Modern Design */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}

.mobile-menu.hidden {
  display: none;
}

.mobile-menu.open {
  pointer-events: auto;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open .mobile-menu__overlay {
  opacity: 1;
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(90vw, 380px);
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(15, 19, 30, 0.98) 0%,
    rgba(10, 14, 26, 0.98) 100%
  );
  border-left: 1px solid rgba(110, 231, 255, 0.2);
  box-shadow: -20px 0 80px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(110, 231, 255, 0.1);
  backdrop-filter: saturate(180%) blur(20px);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}

.mobile-menu.open .mobile-menu__panel {
  transform: translateX(0%);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 20px 16px;
  position: sticky;
  top: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 19, 30, 0.95) 0%,
    transparent 100%
  );
  z-index: 10;
  backdrop-filter: blur(10px);
}

.mobile-menu__close {
  background: rgba(110, 231, 255, 0.05);
  border: 1px solid rgba(110, 231, 255, 0.15);
  color: var(--text-dim);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu__close:hover {
  background: rgba(110, 231, 255, 0.1);
  border-color: rgba(110, 231, 255, 0.3);
  color: var(--primary);
  transform: rotate(90deg);
}

/* Auth Section - Modern Card Design */
.mobile-menu__auth {
  padding: 24px 16px 20px;
}

.mobile-menu__auth-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(110, 231, 255, 0.1) 0%,
    rgba(34, 211, 238, 0.05) 100%
  );
  border: 1.5px solid rgba(110, 231, 255, 0.2);
  border-radius: 20px;
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.15);
}

.mobile-menu__auth-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.5;
  text-align: center;
  color: var(--text);
}

/* User Card - Premium Feel */
.mobile-menu__user-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(
    135deg,
    rgba(110, 231, 255, 0.08) 0%,
    rgba(34, 211, 238, 0.04) 100%
  );
  border: 1.5px solid rgba(110, 231, 255, 0.15);
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.mobile-menu__user-avatar {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    rgba(34, 211, 238, 0.8) 100%
  );
  border-radius: 14px;
  color: #000;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(34, 211, 238, 0.3);
}

.mobile-menu__user-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu__user-info strong {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.mobile-menu__user-info span {
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* User Menu Items - Icon + Text */
.mobile-user-menu {
  display: grid;
  gap: 10px;
}

.mobile-user-menu__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(110, 231, 255, 0.08);
  color: var(--text);
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 500;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
}

.mobile-user-menu__item svg {
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.25s ease;
}

.mobile-user-menu__item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(110, 231, 255, 0.14);
  color: var(--text);
}

.mobile-user-menu__item:hover svg {
  opacity: 0.85;
}

.mobile-user-menu__item--wallet {
  background: rgba(110, 231, 255, 0.14);
  border-color: rgba(110, 231, 255, 0.35);
  color: var(--primary);
}

.mobile-user-menu__item--wallet:hover {
  background: rgba(110, 231, 255, 0.18);
  border-color: rgba(110, 231, 255, 0.45);
  color: var(--primary);
}

.mobile-user-menu__item--reserve {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.mobile-user-menu__item--reserve:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--text);
}

.mobile-user-menu__item--logout {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #ef4444;
}

.mobile-user-menu__item--logout:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.45);
  color: #f87171;
}

/* Divider - Subtle */
.mobile-menu__divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(110, 231, 255, 0.15) 50%,
    transparent 100%
  );
  margin: 16px 24px;
}

/* CTA Section */
.mobile-menu__cta {
  padding: 12px 16px;
}

/* Nav Section - Simple List */
.mobile-menu__nav {
  display: block;
  padding: 8px 0 12px;
}

.mobile-menu__nav a {
  display: block;
  padding: 14px 20px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid rgba(110, 231, 255, 0.08);
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-menu__nav a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.mobile-menu__nav a:last-child {
  border-bottom: 0;
}

/* Prevent body scroll when mobile menu is open */
body.no-scroll {
  overflow: hidden;
  touch-action: none;
}

/* Buttons - Modern Design System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    rgba(34, 211, 238, 0.9) 100%
  );
  color: #000;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 2px 12px rgba(34, 211, 238, 0.25),
    0 0 0 1px rgba(110, 231, 255, 0.1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  height: 40px;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}
.btn:hover::before {
  opacity: 1;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 211, 238, 0.4),
    0 0 0 1px rgba(110, 231, 255, 0.2);
}
.btn:active {
  transform: translateY(0);
}
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(110, 231, 255, 0.3);
}
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(110, 231, 255, 0.2);
  box-shadow: none;
}
.btn--outline::before {
  display: none;
}
.btn--outline:hover {
  background: rgba(110, 231, 255, 0.06);
  border-color: rgba(110, 231, 255, 0.4);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.15);
}
.btn--ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid rgba(110, 231, 255, 0.1);
  box-shadow: none;
  padding: 10px 20px;
}
.btn--ghost::before {
  display: none;
}
.btn--ghost:hover {
  color: var(--text);
  border-color: rgba(110, 231, 255, 0.25);
  background: rgba(110, 231, 255, 0.05);
}
.btn--block {
  width: 100%;
}
.btn--lg {
  height: 56px;
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: 14px;
}
.btn--md {
  padding: 12px px;
  font-size: 0.9rem;
  border-radius: 10px;
}
.btn--sm {
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: 6px;
}

.btn--wallet-register {
  color: var(--primary);
  padding-inline: 4rem;
}

/* Hero */
.hero {
  padding: 64px 0 32px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  margin: 0 0 10px;
}
.lead {
  color: var(--text-dim);
  font-size: 1.125rem;
  margin: 0 0 20px;
}
.actions {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}
.hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
}
.icon {
  display: inline-flex;
  color: var(--accent);
}

.hero__visual {
  display: grid;
  place-items: center;
  perspective: 1000px;
}
.coin {
  /* width: min(360px, 80%); */
  aspect-ratio: 1/1;
  position: relative;
  animation: coinFloat 6s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes coinFloat {
  0%,
  100% {
    transform: translateY(0) rotateY(0deg);
  }
  25% {
    transform: translateY(-20px) rotateY(5deg);
  }
  50% {
    transform: translateY(0) rotateY(0deg);
  }
  75% {
    transform: translateY(-20px) rotateY(-5deg);
  }
}
.coin::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  opacity: 0.7;
  z-index: -1;
  filter: blur(30px);
  background: radial-gradient(
    circle at 50% 50%,
    rgba(253, 167, 102, 0.55) 0%,
    /* 연한 오렌지 */ rgba(243, 186, 47, 0.45) 40%,
    /* 골드(노란빛) */ rgba(255, 98, 0, 0.35) 60%,
    /* 강렬한 오렌지 */ rgba(236, 165, 45, 0.2) 80%,
    transparent 100%
  );
}
.coin::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 40px;
  background: radial-gradient(
    ellipse at center,
    rgba(243, 186, 47, 0.35),
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.5;
}
.coin img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(243, 186, 47, 0.45)) /* 골드 */
    drop-shadow(0 10px 30px rgba(255, 98, 0, 0.35));
  transition: transform 0.3s ease;
}

.coin:hover img {
  transform: scale(1.05) rotateY(15deg);
  filter: drop-shadow(0 40px 80px rgba(243, 186, 47, 0.6))
    drop-shadow(0 20px 50px rgba(255, 98, 0, 0.55)) brightness(1.15);
}
.coin__fallback {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(253, 167, 102, 0.4));
}

/* Sections */
.section {
  padding: 80px 0;
  opacity: 0;
  animation: sectionFadeIn 0.8s ease forwards;
}
/* 앵커 섹션에 스크롤 여백 추가 */
#hero,
#intro,
#benefits,
#tiers,
#process,
#faq,
#notice {
  scroll-margin-top: 80px; /* 헤더 높이만큼 여백 */
}
@keyframes sectionFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.section__title {
  font-size: clamp(1.6rem, 4vw, 2rem);
  margin: 0 0 56px;
  text-align: center;
  position: relative;
  display: inline-block;
  width: 100%;
  font-weight: 800;
  animation: titleSlideIn 0.8s ease 0.3s both;
}

@keyframes titleSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#intro .section__title {
  word-break: keep-all;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  background: linear-gradient(
    135deg,
    var(--text) 0%,
    var(--primary) 50%,
    var(--accent) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  animation: titleSlideIn 0.8s ease 0.3s both;
}
#intro .section__title::after {
  word-break: keep-all;
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary-2));
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(110, 231, 255, 0.4);
  animation: underlineExpand 0.8s ease 0.6s both;
}
@keyframes underlineExpand {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 80px;
    opacity: 1;
  }
}
.section__lead {
  font-size: 1.125rem;
  color: var(--text-dim);
  margin: 0 0 32px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.compare {
  display: none;
}
/* 공통 혜택 박스 */
.common-benefits {
  margin-top: 8px;
  margin-bottom: 24px;
}
.common-benefits__title {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: var(--text);
}
.common-benefits__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--text-dim);
}
.common-benefits__list li::before {
  content: "- ";
  color: var(--text-dim);
}

/* 4단 등급 비교 테이블 */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(18px, 3vw, 32px);
  margin: 0 auto 16px;
  width: 100%;
  max-width: 960px;
  align-items: stretch;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 20px 16px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s;
}
.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(110, 231, 255, 0.35);
  box-shadow: 0 14px 40px rgba(34, 211, 238, 0.18);
}
.plan-card--muted {
  opacity: 0.9;
}
.plan-card--featured {
  border-color: rgba(110, 231, 255, 0.5);
  box-shadow: 0 18px 48px rgba(34, 211, 238, 0.25);
  background: linear-gradient(
    180deg,
    rgba(110, 231, 255, 0.06),
    rgba(59, 130, 246, 0.04)
  );
}
.plan-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
  color: #071017;
  border: none;
  box-shadow: 0 6px 20px rgba(34, 211, 238, 0.3);
}
.plan-card__head {
  text-align: center;
}
.plan-card__name {
  margin: 0 0 6px;
  font-size: 1.2rem;
}
.plan-card__price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.plan-card__price .num {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.plan-card__price .unit,
.plan-card__price .cycle {
  color: var(--text-dim);
  font-size: 0.95rem;
}
.plan-card__sub {
  color: var(--text-dim);
  margin: 0;
}
.plan-card__features {
  margin: 8px 0 0;
  display: grid;
  gap: 10px;
  padding: 0 10px;
}
.plan-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* 체크 아이콘 */
.plan-card__features li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(110,231,255)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}
/* 비활성: 회색 대시 아이콘 */
.plan-card__features .is-disabled {
  color: var(--text-dim);
}
.plan-card__features .is-disabled::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(148,163,184,0.6)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='5' y1='12' x2='19' y2='12'/></svg>");
}
.plan-card__cta {
  margin-top: auto;
}
.plan-table {
  display: grid;
  gap: 8px;
}
.plan-table__row {
  display: grid;
  grid-template-columns: 220px repeat(4, 1fr);
  gap: 8px;
  align-items: stretch;
}
.plan-table__row--head .plan-table__cell {
  background: transparent;
  border: none;
  padding: 0 8px 8px;
}
.plan-table__cell {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  text-align: center;
}
.plan-table__cell--label {
  text-align: left;
  font-weight: 600;
  color: var(--text);
}
.plan-table__plan-name {
  font-weight: 700;
}
.plan-table__plan-sub {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 4px;
}
.plan-table__plan--primary .plan-table__plan-name {
  color: var(--accent);
}
.plan-table__plan--non .plan-table__plan-name {
  color: var(--text-dim);
}
.plan-table__row--price .plan-table__cell {
  background: transparent;
  border: none;
  font-weight: 600;
}
.plan-table__price {
  background: linear-gradient(
    145deg,
    rgba(110, 231, 255, 0.12),
    rgba(59, 130, 246, 0.08)
  );
  border: 1px solid rgba(110, 231, 255, 0.25);
  color: var(--text);
}
.plan-table__row--cta .plan-table__cell {
  background: transparent;
  border: none;
  padding-top: 4px;
}
.plan-table__cta .btn {
  width: 100%;
}

/* 모바일 전용 아코디언 */
.plan-accordion {
  display: none;
}

/* 체크/비가시 값 표시 스타일 */
.plan-table__row .plan-table__cell:not(.plan-table__cell--label) {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.plan-table__row .plan-table__cell:not(.plan-table__cell--label):contains("●") {
  color: var(--accent);
}
.plan-note {
  color: var(--text-dim);
  margin: 0 0 12px;
}
.list--compact li {
  margin: 6px 0;
}

/* 반응형 */
@media (max-width: 980px) {
  .plan-table__row {
    grid-template-columns: 160px repeat(4, 1fr);
  }
}
@media (max-width: 860px) {
  .plan-grid {
    display: none;
  }
  .plan-table {
    display: none;
  }
  .plan-accordion {
    display: block;
    margin-top: 20px;
  }
  /* 모바일 아코디언 리스트에도 같은 아이콘 적용 */
  .plan-accordion .list--compact li {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .plan-accordion .list--compact li::before {
    content: "";
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(110,231,255)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  }
  .plan-accordion .list--compact li.is-disabled {
    color: var(--text-dim);
  }
  .plan-accordion .list--compact li.is-disabled::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(148,163,184,0.6)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='5' y1='12' x2='19' y2='12'/></svg>");
  }
}
.card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  width: inherit;
}
.card:hover {
  border-color: rgba(110, 231, 255, 0.2);
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.08);
}
.card--muted {
  opacity: 0.85;
}
.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--text-dim);
}
.list--check li {
  position: relative;
  padding-left: 24px;
}
.list--check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    var(--accent),
    var(--primary-2)
  );
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05);
}

.plan__head,
.price__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.price {
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.price:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.15);
}
.price--primary {
  border-color: rgba(110, 231, 255, 0.5);
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.2),
    inset 0 0 0 1px rgba(110, 231, 255, 0.2);
}
.price--primary:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 32px rgba(34, 211, 238, 0.3),
    inset 0 0 0 1px rgba(110, 231, 255, 0.3);
}
.price__head {
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}
.price__head h3 {
  font-size: 1.3rem;
  margin: 0 0 8px;
}
.price__value {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price__value::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary-2));
  margin-top: 8px;
  opacity: 0.6;
  border-radius: 2px;
}

.grid {
  display: grid;
  gap: 24px;
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid > * {
  animation: cardFadeIn 0.6s ease both;
}
.grid > *:nth-child(1) {
  animation-delay: 0.1s;
}
.grid > *:nth-child(2) {
  animation-delay: 0.2s;
}
.grid > *:nth-child(3) {
  animation-delay: 0.3s;
}
.grid > *:nth-child(4) {
  animation-delay: 0.4s;
}
.grid > *:nth-child(5) {
  animation-delay: 0.5s;
}
.grid > *:nth-child(6) {
  animation-delay: 0.6s;
}
.grid > *:nth-child(7) {
  animation-delay: 0.7s;
}
.grid > *:nth-child(8) {
  animation-delay: 0.8s;
}
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.feature {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature:hover {
  border-color: rgba(110, 231, 255, 0.2);
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.08);
  transform: translateY(-4px);
}
.feature h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--text);
}
.feature p {
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}
.feature__icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: linear-gradient(
    135deg,
    rgba(110, 231, 255, 0.1),
    rgba(59, 130, 246, 0.1)
  );
  border-radius: 12px;
  transition: all 0.3s;
}
.feature:hover .feature__icon {
  transform: scale(1.05);
  background: linear-gradient(
    135deg,
    rgba(110, 231, 255, 0.15),
    rgba(59, 130, 246, 0.15)
  );
}
.feature__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.cta-inline {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}

/* Process Timeline */
.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto 48px;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 60px 80px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
  padding: 28px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}
/* 제거: 기존 하단 구분선 */
.process-step::after {
  content: none;
  opacity: 0.5;
}
.process-step:last-child::after {
  display: none;
}

/* 기본 상태는 평범, 호버 시 강조 */
.process-step:hover {
  border-left-width: 5px;
  border-left-color: rgba(110, 231, 255, 0.8);
  background: linear-gradient(
    145deg,
    rgba(110, 231, 255, 0.1),
    rgba(59, 130, 246, 0.05)
  );
  box-shadow: -4px 0 16px rgba(110, 231, 255, 0.15);
}

.process-step__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(110, 231, 255, 0.15),
    rgba(59, 130, 246, 0.15)
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}
.process-step__icon::before {
  content: "";
  position: absolute;
  inset: -3px;
  background: linear-gradient(
    135deg,
    rgba(110, 231, 255, 0.4),
    rgba(59, 130, 246, 0.4)
  );
  border-radius: 18px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}
.process-step:hover .process-step__icon {
  transform: scale(1.05) rotate(-5deg);
  background: linear-gradient(
    135deg,
    rgba(110, 231, 255, 0.25),
    rgba(59, 130, 246, 0.25)
  );
}
.process-step:hover .process-step__icon::before {
  opacity: 1;
}
.process-step__icon svg {
  width: 36px;
  height: 36px;
  color: var(--accent);
  filter: drop-shadow(0 2px 8px rgba(110, 231, 255, 0.4));
}

.process-step__content h3 {
  font-size: 1.3rem;
  margin: 0 0 12px;
  color: var(--text);
  font-weight: 700;
}
.process-step__content p {
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.process-step__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.tag {
  display: inline-flex;
  padding: 6px 12px;
  background: rgba(110, 231, 255, 0.1);
  border: 1px solid rgba(110, 231, 255, 0.2);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: all 0.3s;
}
.tag--primary {
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
  color: #071017;
  border: none;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(34, 211, 238, 0.3);
}
.process-step:hover .tag {
  background: rgba(110, 231, 255, 0.15);
  border-color: rgba(110, 231, 255, 0.3);
}

.process-step__number {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
  color: #071017;
  align-self: start;
  text-align: center;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(34, 211, 238, 0.3);
  position: relative;
  margin-top: 4px;
  flex-shrink: 0;
  z-index: 2;
}
.process-step__number::before {
  content: "";
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
  filter: blur(8px);
}
/* 연결선 - 다음 단계로 이어지는 선 */
.process-step__number::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 80px;
  background: linear-gradient(
    180deg,
    var(--accent) 0%,
    rgba(110, 231, 255, 0.5) 50%,
    rgba(110, 231, 255, 0.2) 100%
  );
  opacity: 0.6;
  z-index: 1;
}
/* 마지막 단계는 연결선 없음 */
.process-step:last-of-type .process-step__number::after {
  display: none;
}
/* 호버 시 연결선 강조 */
.process-step:hover .process-step__number::after {
  opacity: 1;
  animation: lineFlow 1.5s ease infinite;
}
@keyframes lineFlow {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.5) drop-shadow(0 0 4px rgba(110, 231, 255, 0.8));
  }
}
.process-step:hover .process-step__number {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 6px 16px rgba(34, 211, 238, 0.5);
}
.process-step:hover .process-step__number {
  box-shadow: 0 6px 20px rgba(34, 211, 238, 0.5);
  animation: numberPulse 2s ease-in-out infinite;
}
@keyframes numberPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Process Info Cards */
.process-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.info-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: start;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.info-card:hover {
  border-color: rgba(110, 231, 255, 0.3);
  background: linear-gradient(
    145deg,
    rgba(110, 231, 255, 0.05),
    rgba(59, 130, 246, 0.02)
  );
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.15);
}
.info-card__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(
    135deg,
    rgba(110, 231, 255, 0.15),
    rgba(59, 130, 246, 0.15)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.info-card:hover .info-card__icon {
  transform: scale(1.1);
  background: linear-gradient(
    135deg,
    rgba(110, 231, 255, 0.25),
    rgba(59, 130, 246, 0.25)
  );
}
.info-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}
.info-card__content h4 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--text);
  font-weight: 700;
}
.info-card__content p {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.6;
  font-size: 0.95rem;
}
.info-card__content strong {
  color: var(--primary);
  font-weight: 700;
}

.note {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Value Points (소개 섹션) */
#intro {
  position: relative;
  overflow: hidden;
}

.value-points {
  margin-bottom: 48px;
}
.value-point {
  text-align: center;
  padding: 28px 20px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.value-point::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(110, 231, 255, 0.06),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.4s;
}
.value-point:hover::before {
  opacity: 1;
}
.value-point:hover {
  transform: translateY(-8px);
  border-color: rgba(110, 231, 255, 0.3);
  box-shadow: 0 20px 40px rgba(34, 211, 238, 0.15),
    inset 0 0 0 1px rgba(110, 231, 255, 0.1);
}

.value-point__icon {
  width: 72px;
  height: 72px;
  color: var(--accent);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  background: linear-gradient(
    135deg,
    rgba(110, 231, 255, 0.15),
    rgba(59, 130, 246, 0.15)
  );
  border-radius: 18px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.value-point__icon::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(110, 231, 255, 0.4),
    rgba(59, 130, 246, 0.4)
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}
.value-point:hover .value-point__icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(
    135deg,
    rgba(110, 231, 255, 0.25),
    rgba(59, 130, 246, 0.25)
  );
}
.value-point:hover .value-point__icon::after {
  opacity: 1;
}
.value-point__icon svg {
  width: 38px;
  height: 38px;
  stroke-width: 2;
  filter: drop-shadow(0 2px 8px rgba(110, 231, 255, 0.3));
  transition: all 0.3s;
}
.value-point:hover .value-point__icon svg {
  filter: drop-shadow(0 4px 12px rgba(110, 231, 255, 0.5));
}

.value-point h3 {
  font-size: 1.25rem;
  margin: 0 0 12px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text), var(--text-dim));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s;
}
.value-point:hover h3 {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.value-point p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
  transition: color 0.3s;
}
.value-point:hover p {
  color: var(--text);
}

.intro-details {
  margin-top: 56px;
  position: relative;
}
.intro-details::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent),
    var(--primary-2),
    transparent
  );
  border-radius: 2px;
  opacity: 0.4;
  box-shadow: 0 0 12px rgba(110, 231, 255, 0.3);
}

.accordion--intro {
  animation: fadeInUp 0.5s ease;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.accordion--intro .accordion__panel {
  text-align: left;
  font-size: 0.98rem;
  line-height: 1.7;
}
.accordion--intro .accordion__panel p {
  margin-bottom: 14px;
  color: var(--text);
}
.accordion--intro .accordion__panel p:last-child {
  margin-bottom: 0;
}
.accordion--intro .accordion__panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.accordion--intro .accordion__panel li {
  padding-left: 0;
  margin-bottom: 14px;
  color: var(--text);
  position: relative;
  padding-left: 28px;
}
.accordion--intro .accordion__panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
  border-radius: 4px;
  opacity: 0.8;
}
.accordion--intro .accordion__panel li:last-child {
  margin-bottom: 0;
}
.accordion--intro .accordion__panel strong {
  color: var(--primary);
  font-weight: 600;
}

/* Accordion */
.accordion {
  display: grid;
  gap: 12px;
}
.accordion__item {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion__item:hover {
  border-color: rgba(110, 231, 255, 0.2);
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.08);
}
.accordion__item.is-open {
  border-color: rgba(110, 231, 255, 0.3);
  background: linear-gradient(
    145deg,
    rgba(110, 231, 255, 0.04),
    rgba(59, 130, 246, 0.02)
  );
}
.accordion__header {
  width: 100%;
  text-align: left;
  padding: 16px 48px 16px 20px;
  background: transparent;
  color: var(--text);
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  transition: color 0.3s ease, background 0.3s ease;
}
.accordion__header::after {
  content: "›";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}
.accordion__item.is-open .accordion__header::after {
  transform: translateY(-50%) rotate(-90deg);
  color: var(--primary);
}
.accordion__header:hover {
  color: var(--primary);
}
.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  padding: 0 20px;
  color: var(--text-dim);
  opacity: 0;
  will-change: max-height, opacity, padding;
}
.accordion__item.is-open .accordion__panel {
  max-height: 1000px;
  padding: 0 20px 20px;
  opacity: 1;
  transition: max-height 0.6s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
    padding 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

/* Forms / Modal */
.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

/* Label 텍스트와 helper 텍스트를 한 줄로 표시 */
.form label > span {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  flex-wrap: wrap;
}

/* helper 텍스트가 길어서 줄바꿈될 때 아래로 배치 */
.form label > span > small.form__help {
  display: inline-block;
  margin-top: 2px;
  font-size: 0.75rem;
}
.form input,
.form select {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: text;
}
.form select {
  cursor: pointer;
}
.form input:focus,
.form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(110, 231, 255, 0.1);
}
.form input::placeholder {
  color: var(--text-dim);
  opacity: 0.2;
}
.form__fine {
  color: var(--text-dim);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: -4px;
}

/* Helper 메시지 스타일 - label 옆에 작게 항상 표시 */
.form__help {
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.8;
}

/* 에러 메시지 스타일 - 기본적으로 숨김 */
.form__error {
  color: #ff4444;
  font-size: 0.8125rem;
  line-height: 1.4;
  margin-top: 4px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease, margin-top 0.3s ease;
  display: none;
}

/* 제출 시 에러 메시지 표시 (form-submitted 클래스가 있을 때만) */
.form.submitted label:has(input.error) .form__error,
.form.submitted label:has(select.error) .form__error {
  display: block;
  opacity: 1;
  max-height: 100px;
  margin-top: 4px;
}

/* 입력 필드 에러 상태 스타일 - submitted 상태일 때만 표시 */
.form.submitted input.error,
.form.submitted select.error {
  border-color: #ff4444 !important;
  box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.15) !important;
}

/* 개인정보 동의 체크박스 */
.privacy-consent {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
}

a {
  cursor: pointer;
}

.privacy-consent input[type="checkbox"] {
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.privacy-consent span {
  flex: 1;
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.privacy-consent a {
  color: var(--primary);
  text-decoration: none;
}

.privacy-consent a:hover {
  text-decoration: underline;
}

.privacy-consent .required {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
  animation: fadeIn 0.3s ease;
}

/* 캘린더 모달은 다른 모달보다 위에 표시 */
#modal-calendar {
  z-index: 200;
}

/* 알림 모달은 캘린더 위에 표시 */
#modal-alert {
  z-index: 300;
}

/* 개인정보 약관 모달은 다른 모달보다 더 위에 표시 */
#modal-privacy {
  z-index: 300;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 팝업 공지사항 */
.popup-notice {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

/* 팝업 열림 시 body 스크롤 방지 */

body.popup-open {
  overflow: hidden;
  touch-action: none;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* 팝업 열림 시 외부 요소의 포인터 이벤트 차단 */
body.popup-open > *:not(.popup-notice) {
  pointer-events: none;
}

/* 팝업 자체는 클릭 가능하도록 */
.popup-notice {
  pointer-events: auto;
}

/* 모달 열림 시 body 스크롤 방지 및 백그라운드 인터랙션 차단 */
body.modal-open {
  overflow: hidden;
  touch-action: none;
}

body.modal-open > *:not(.modal) {
  pointer-events: none;
}

.popup-notice__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
}

.popup-notice__content {
  position: relative;
  background: linear-gradient(
    145deg,
    rgba(20, 24, 35, 0.98),
    rgba(15, 18, 28, 0.98)
  );
  border: 1px solid rgba(110, 231, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(110, 231, 255, 0.08);
  width: min(500px, 90vw);
  max-height: min(80vh, 720px);
  overflow: hidden;
  transform: none;
  display: flex;
  flex-direction: column;
}

/* 팝업 헤더 */
.popup-notice__header {
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(110, 231, 255, 0.1);
  background: linear-gradient(
    135deg,
    rgba(110, 231, 255, 0.05),
    rgba(255, 110, 199, 0.05)
  );
  flex-shrink: 0;
}

.popup-notice__header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #6ee7ff, #ff6ec7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.popup-notice__content .popup-text {
  padding: 32px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1;
  white-space: pre-wrap;
  font-size: 15px;
  overflow-y: auto;
  flex: 1;
}

/* 팝업 내부 마크다운 요소 기본 줄간격 통일 */

/* 문단과 목록 간 여백 축소 */
.popup-notice__content .popup-text p {
  margin: 3px 0;
}
.popup-notice__content .popup-text ul,
.popup-notice__content .popup-text ol {
  margin: 2px 0 2px 18px;
  padding-left: 18px;
}
.popup-notice__content .popup-text li {
  margin: 2px 0;
}

.popup-notice__body {
  overflow-y: auto;
  flex: 1;
  overflow-x: hidden;
  max-height: 100%;
  height: 100%;
}

/* 스크롤바 커스터마이징 */
.popup-notice__body::-webkit-scrollbar,
.popup-notice__content .popup-text::-webkit-scrollbar {
  width: 6px;
}

.popup-notice__body::-webkit-scrollbar-track,
.popup-notice__content .popup-text::-webkit-scrollbar-track {
  background: transparent;
}

.popup-notice__body::-webkit-scrollbar-thumb,
.popup-notice__content .popup-text::-webkit-scrollbar-thumb {
  background: rgba(110, 231, 255, 0.3);
  border-radius: 3px;
}

.popup-notice__body::-webkit-scrollbar-thumb:hover,
.popup-notice__content .popup-text::-webkit-scrollbar-thumb:hover {
  background: rgba(110, 231, 255, 0.5);
}

/* Firefox 스크롤바 */
.popup-notice__body,
.popup-notice__content .popup-text {
  scrollbar-width: thin;
  scrollbar-color: rgba(110, 231, 255, 0.3) transparent;
}

.popup-notice__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.95);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  pointer-events: auto;
  transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.popup-notice__close:hover {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 팝업 버튼 영역 */
.popup-notice__actions {
  padding: 16px 24px 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  border-top: 1px solid rgba(110, 231, 255, 0.1);
  flex-shrink: 0;
}

.popup-notice__actions button {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.popup-notice__btn-dismiss {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-notice__btn-dismiss:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

.popup-notice__btn-close {
  background: linear-gradient(135deg, #6ee7ff, #ff6ec7);
  color: #0a0e1a;
  font-weight: 700;
}

.popup-notice__btn-close:hover {
  box-shadow: 0 0 20px rgba(110, 231, 255, 0.4);
  transform: translateY(-1px);
}

/* 위치별 스타일 - 애니메이션 없이 즉시 고정 */
.popup-notice[data-position="top"] .popup-notice__content {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

.popup-notice[data-position="bottom"] .popup-notice__content {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

.popup-notice[data-position="left"] .popup-notice__content {
  position: fixed;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}

.popup-notice[data-position="right"] .popup-notice__content {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}

.popup-notice[data-position="center"] .popup-notice__content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

.popup-notice__content a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.popup-notice__content img {
  width: 100%;
  height: auto;
  display: block;
}

/* 태블릿 이하 반응형 */
@media (max-width: 1024px) {
  .popup-notice__content {
    width: min(520px, 88vw);
    max-height: 85vh;
    border-radius: 18px;
  }
}

@media (max-width: 768px) {
  .popup-notice {
    padding: 24px 16px;
    align-items: flex-start;
  }

  .popup-notice__content {
    width: min(420px, 92vw);
    max-height: 88vh;
    border-radius: 16px;
    margin-top: calc(env(safe-area-inset-top, 0px) + 24px);
  }

  .popup-notice__content .popup-text {
    padding: 20px;
    font-size: 14px;
  }

  .popup-notice__actions {
    flex-direction: column;
    padding: 14px 20px 18px;
  }

  .popup-notice__actions button {
    width: 100%;
  }

  .popup-notice[data-position="left"] .popup-notice__content,
  .popup-notice[data-position="right"] .popup-notice__content,
  .popup-notice[data-position="top"] .popup-notice__content,
  .popup-notice[data-position="bottom"] .popup-notice__content {
    left: 50%;
    right: auto;
    top: auto;
    bottom: auto;
    transform: translate(-50%, 0);
    position: relative;
  }
}

@media (max-width: 480px) {
  .popup-notice {
    padding: 16px 12px;
  }

  .popup-notice__content {
    width: min(360px, 94vw);
    max-height: 88vh;
    border-radius: 14px;
  }

  .popup-notice__header {
    padding: 14px 18px 10px;
  }

  .popup-notice__content .popup-text {
    padding: 16px 18px;
    font-size: 13.5px;
  }

  .popup-notice__close {
    width: 32px;
    height: 32px;
    font-size: 24px;
  }

  .popup-notice__actions {
    padding: 12px 18px 16px;
    gap: 10px;
  }

  .popup-notice__actions button {
    padding: 11px 18px;
    font-size: 13.5px;
  }
}
.modal[aria-hidden="false"] {
  display: flex;
}
.modal__dialog {
  background: rgba(17, 21, 29, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: min(480px, 90%);
  padding: 24px;
  /* 기존 그림자 + 스크롤 시 상/하단 페이드 느낌의 인셋 그림자 */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
    inset 0 12px 12px -12px rgba(255, 255, 255, 0.06),
    inset 0 -12px 12px -12px rgba(255, 255, 255, 0.06);
  animation: slideUp 0.3s ease;
  /* 스크롤 관련 */
  max-height: 80vh;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: auto;
}

.modal__dialog ul {
  font-size: 0.725rem;
}

/* Calendar modal specific */
.modal__dialog--calendar {
  width: min(400px, 92%);
  padding: 24px;
}
.date-picker-container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.date-picker-container input[readonly] {
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}
.calendar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;
}
.calendar-container {
  margin-top: 12px;
}
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 12px;
}
.calendar-month-year {
  font-weight: 700;
}
.calendar-nav-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}
.calendar-grid {
  border-top: 1px solid var(--border);
}
.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  padding-top: 10px;
}
.calendar-weekday {
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
}
.calendar-day {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  user-select: none;
}
.calendar-day--today {
  outline: 2px solid rgba(110, 231, 255, 0.35);
}
.calendar-day--selected {
  background: rgba(110, 231, 255, 0.15);
  border-color: rgba(110, 231, 255, 0.4);
}
.calendar-day--other-month {
  opacity: 0.35;
}
.calendar-day--disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.calendar-day--weekend {
  color: #9aa6bf;
}
.calendar-footer {
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 12px;
}
.calendar-footer span {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 1.25em;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal__dialog h3 {
  margin: 0 0 20px;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--text), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}
.modal__dialog p {
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0 0 20px;
}
.modal__dialog .list {
  margin: 16px 0;
}
.modal__dialog .list li {
  color: var(--text);
  padding: 8px 0;
}
.modal__dialog h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--text);
}

.modal__dialog p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.modal__dialog .actions {
  margin-top: 20px;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-direction: row-reverse; /* 동의 버튼을 오른쪽에 배치 */
}

.modal__close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 28px;
  line-height: 1;
  float: right;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  margin: -4px -4px 4px 0;
}
.modal__close:hover {
  color: var(--text);
}

.toast {
  position: fixed;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 15, 22, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 18px;
  border-radius: 14px;
  color: var(--text);
  display: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  font-size: 0.95rem;
  min-width: 280px;
  max-width: 420px;
  z-index: 2000;
  pointer-events: none;
  line-height: 1.4;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
  align-items: flex-start;
  gap: 12px;
}
.toast.is-show {
  display: flex;
  align-items: center;
}

.toast__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}
.toast__icon svg {
  width: 18px;
  height: 18px;
}

.toast__message {
  flex: 1;
  text-align: left;
}
.toast[data-type="success"] .toast__icon {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}
.toast[data-type="warning"] .toast__icon {
  background: rgba(250, 204, 21, 0.2);
  color: #fbbf24;
}
.toast[data-type="error"] .toast__icon {
  background: rgba(248, 113, 113, 0.2);
  color: #f87171;
}

@media (min-width: 641px) and (max-width: 1024px) {
  .toast {
    bottom: 40px;
    padding: 12px 16px;
    min-width: auto;
    width: min(75vw, 420px);
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .toast {
    top: auto;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 28px);
    width: calc(100% - 32px);
    min-width: auto;
    font-size: 0.85rem;
    border-radius: 12px;
    padding: 14px 16px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Footer */
.footer {
  padding: 72px 0 32px;
  border-top: 1px solid rgba(110, 231, 255, 0.1);
  background: rgba(10, 14, 26, 0.6);
  margin-top: 80px;
}
.footer__main {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  margin-bottom: 48px;
}
.footer__brand .brand__title {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.footer__brand .brand__desc {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.75;
  margin: 0 0 24px;
  max-width: 420px;
}
.footer__social {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(110, 231, 255, 0.05);
  border: 1px solid rgba(110, 231, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all 0.3s ease;
  cursor: pointer;
}
.social-link:hover {
  background: rgba(110, 231, 255, 0.1);
  border-color: rgba(110, 231, 255, 0.3);
  color: var(--primary);
  transform: translateY(-2px);
}
.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.footer__column h4 {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0 0 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}
.footer__column nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__column nav a {
  color: var(--text-dim);
  text-decoration: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  position: relative;
  width: fit-content;
}
.footer__column nav a:hover {
  color: var(--primary);
  padding-left: 8px;
}
.footer__divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(110, 231, 255, 0.2) 50%,
    transparent
  );
  margin: 48px 0;
}
.footer__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}
.footer__info {
  text-align: left;
}
.footer__info p {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.8;
  margin: 0 0 6px;
}
.footer__info p:first-child {
  margin-bottom: 12px;
}
.footer__info strong {
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
}
.footer__copyright {
  text-align: right;
}
.footer__copyright p {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin: 0 0 12px;
}
.footer__legal-links {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.footer__legal-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
  cursor: pointer;
}
.footer__legal-links a:hover {
  color: var(--primary);
}

/* Responsive */
@media (min-width: 860px) {
  .nav {
    display: flex;
  }
}

/* Tablet & Mobile (max-width: 860px) */
@media (max-width: 860px) {
  body {
    padding-top: 64px;
  }

  .site-header {
    top: 0px;
  }

  .header__inner {
    height: 64px;
  }

  .header__cta {
    display: none; /* 모바일에서는 헤더 버튼 숨김 */
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero {
    padding: 40px 0 32px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(24px, 6vw, 32px);
    text-align: center;
  }

  .lead {
    text-align: center;
    font-size: 1rem;
  }

  .actions {
    flex-direction: column;
    gap: 10px;
  }

  .actions .btn {
    width: 100%;
  }

  .hero__bullets {
    font-size: 0.9rem;
  }

  .hero__visual {
    order: -1; /* 이미지를 텍스트 위로 */
  }

  /* .coin { width: min(280px, 70%); } */

  .section {
    padding: 60px 0;
  }

  .section__title {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    margin-bottom: 32px;
  }

  .section__lead {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  /* 그리드 레이아웃 조정 */
  .compare {
    grid-template-columns: 1fr;
  }

  .grid--2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .grid--3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .grid--4 {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* 멤버십 카드 */
  .plan-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .plan-card {
    padding: 24px 20px;
  }

  .plan-card__price {
    font-size: 1.8rem;
  }

  /* 아코디언 (모바일에서만 표시) */
  .plan-accordion {
    display: block;
  }

  .pricing {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* 프로세스 타임라인 */
  .process-step {
    grid-template-columns: 44px 60px 1fr;
    gap: 12px;
    padding: 20px;
    margin-bottom: 32px;
  }

  .process-step__icon {
    width: 60px;
    height: 60px;
  }

  .process-step__icon svg {
    width: 28px;
    height: 28px;
  }

  .process-step__number {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    margin-top: 8px;
  }

  .process-step__number::after {
    height: 60px;
  }

  .process-step__content h3 {
    font-size: 1.1rem;
  }

  .process-step__content p {
    font-size: 0.9rem;
  }

  .process-step__tags {
    flex-wrap: wrap;
    gap: 6px;
  }

  .tag {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .process-info {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .info-card {
    padding: 20px;
  }

  /* Value Points */
  .value-points {
    margin-bottom: 32px;
  }

  .value-point {
    padding: 24px 16px;
  }

  .value-point__icon {
    width: 60px;
    height: 60px;
  }

  .value-point__icon svg {
    width: 32px;
    height: 32px;
  }

  .value-point h3 {
    font-size: 1.1rem;
  }

  .value-point p {
    font-size: 0.9rem;
  }

  /* Feature 카드 */
  .feature {
    padding: 24px 20px;
  }

  .feature__icon {
    width: 50px;
    height: 50px;
  }

  .feature__icon svg {
    width: 24px;
    height: 24px;
  }

  .feature h3 {
    font-size: 1.1rem;
  }

  .feature p {
    font-size: 0.9rem;
  }

  /* 모달 */
  .modal__dialog {
    width: 95%;
    max-width: none;
    padding: 24px 20px;
    margin: 20px;
    max-height: 85vh;
  }

  .modal__dialog--calendar {
    width: 90%;
    padding: 20px;
  }

  .modal__dialog h3 {
    font-size: 1.3rem;
  }

  .form {
    gap: 16px;
  }

  .form label {
    gap: 6px;
  }

  .form input,
  .form select {
    font-size: 16px; /* iOS 줌 방지 */
    padding: 12px 14px;
  }

  .btn {
    height: 44px;
    font-size: 0.95rem;
    padding: 0 20px;
  }

  .btn--lg {
    height: 50px;
    font-size: 1rem;
  }

  .btn--sm {
    height: 36px;
    font-size: 0.85rem;
  }

  /* 캘린더 */
  .calendar-grid {
    font-size: 0.9rem;
  }

  .calendar-day {
    height: 38px;
    font-size: 0.85rem;
  }

  /* CTA 인라인 */
  .cta-inline {
    flex-direction: column;
    gap: 12px;
  }

  .cta-inline .btn {
    width: 100%;
  }

  /* FAQ 아코디언 */
  .accordion__header {
    font-size: 1rem;
    padding: 16px 20px;
  }

  .accordion__panel {
    padding: 16px 20px;
    font-size: 0.9rem;
  }

  /* 푸터 */
  .footer {
    padding: 48px 0 32px;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__brand .brand__title {
    font-size: 1.2rem;
  }

  .footer__brand .brand__desc br {
    display: none;
  }

  .footer__brand .brand__desc {
    font-size: 0.75rem;
    line-height: 1.65;
  }

  .footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .footer__column h4 {
    font-size: 0.95rem;
  }

  .footer__column a {
    font-size: 0.85rem;
  }

  .footer__social {
    gap: 16px;
  }

  .footer__bottom {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__info,
  .footer__copyright {
    text-align: left;
  }

  .footer__legal-links {
    justify-content: flex-start;
    gap: 12px;
  }

  .footer__info p,
  .footer__copyright p {
    font-size: 0.8rem;
  }
}

/* Mobile Small (max-width: 480px) */
/* 모바일에서 예약 모달 전체 화면처럼 보이게 */
@media (max-width: 480px) {
  #modal-reserve {
    padding: 0;
    align-items: flex-end;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: none;
  }

  #modal-reserve .modal__dialog {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border: none;
    padding: 1.5rem 1rem;
    padding-top: calc(env(safe-area-inset-top, 0px) + 1.5rem);
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 1.5rem);
    box-shadow: none;
    margin: 0;
    animation: slideUpFull 0.3s ease;
    background: rgba(17, 21, 29, 0.98);
  }

  #modal-reserve .modal__dialog h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
  }

  #modal-reserve .modal__close {
    top: calc(env(safe-area-inset-top, 0px) + 1rem);
    right: 1rem;
    z-index: 10;
  }
}

/* 전체 화면 슬라이드 업 애니메이션 */
@keyframes slideUpFull {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 60px;
  }

  .header__inner {
    height: 60px;
  }

  .brand strong {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 22px;
  }

  .section {
    padding: 48px 0;
  }

  .section__title {
    font-size: 1.4rem;
    margin-bottom: 24px;
  }

  /* 모든 그리드를 단일 컬럼으로 */
  .grid--4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .footer__links {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* 프로세스 스텝 간소화 */
  .process-step {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 16px;
  }

  .process-step__icon {
    display: none; /* 아이콘 숨김 */
  }

  .process-step__number {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .process-step__content h3 {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .process-step__content p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .process-step__tags {
    gap: 4px;
  }

  .tag {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  /* 모달 더 작게 */
  .modal__dialog {
    padding: 20px 16px;
    margin: 16px;
  }

  .modal__dialog h3 {
    font-size: 1.2rem;
  }

  .form__help {
    font-size: 0.7rem;
  }

  .form__error {
    font-size: 0.75rem;
  }

  /* 캘린더 더 작게 */
  .calendar-day {
    height: 34px;
    font-size: 0.8rem;
  }

  .calendar-header {
    font-size: 0.95rem;
  }

  /* 버튼 */
  .btn {
    height: 42px;
    font-size: 0.9rem;
  }

  .btn--lg {
    height: 48px;
  }
}

.hidden {
  display: none !important;
}

/* Modal scrollbars */
.modal__dialog::-webkit-scrollbar {
  width: 8px;
}
.modal__dialog::-webkit-scrollbar-track {
  background: transparent;
}
.modal__dialog::-webkit-scrollbar-thumb {
  background: rgba(110, 231, 255, 0.28);
  border-radius: 4px;
}
.modal__dialog::-webkit-scrollbar-thumb:hover {
  background: rgba(110, 231, 255, 0.45);
}
.modal__dialog {
  scrollbar-width: thin;
  scrollbar-color: rgba(110, 231, 255, 0.28) transparent;
}

/* Scrollable children (e.g., long content areas inside modal) */
.modal__dialog *::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.modal__dialog *::-webkit-scrollbar-thumb {
  background: rgba(110, 231, 255, 0.24);
  border-radius: 4px;
}
.modal__dialog * {
  scrollbar-width: thin;
  scrollbar-color: rgba(110, 231, 255, 0.24) transparent;
}

.no-underline {
  text-decoration: none;
}

.flex-column {
  flex-direction: column;
  align-items: flex-start !important;
}

.flex-row {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.primary-text {
  color: var(--primary);
  font-weight: 600;
}

/* 이메일 입력 그룹 (예약 폼용) */
.email-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.email-input-group input[type="text"] {
  flex: 1 1 50%;
  min-width: 0;
  min-height: 48px;
  box-sizing: border-box;
}

.email-at {
  color: #bac4d8;
  font-size: 1.1rem;
  font-weight: 500;
  flex-shrink: 0;
  padding: 0 4px;
  margin-bottom: 0;
}

/* 이메일 도메인 커스텀 드롭다운 */
.email-domain-wrapper {
  flex: 1 1 50%;
  min-width: 0;
  position: relative;
}

.email-domain-select-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.email-domain-button {
  width: 100%;
  min-height: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(110, 231, 255, 0.15);
  color: #e8edf5;
  padding: 14px 16px;
  padding-right: 40px;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: inherit;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.email-domain-button.hidden {
  display: none;
}

.email-domain-button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(110, 231, 255, 0.25);
}

.email-domain-button:focus {
  outline: none;
  border-color: #6ee7ff;
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(110, 231, 255, 0.25);
}

.email-domain-button[aria-expanded="true"] {
  border-color: #6ee7ff;
  background-color: rgba(255, 255, 255, 0.08);
}

.email-domain-button[aria-expanded="true"] .email-domain-chevron {
  top: 40%;
  transform: rotate(180deg);
}

.email-domain-chevron {
  position: absolute;
  right: 16px;
  top: 40%;
  transition: transform 0.3s ease;
  color: #bac4d8;
  pointer-events: none;
  flex-shrink: 0;
}

.email-domain-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: rgba(18, 24, 37, 0.98);
  border: 1px solid rgba(110, 231, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  overflow: hidden;
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
  margin: 0;
  padding: 4px;
  list-style: none;
}

.email-domain-dropdown.hidden {
  display: none;
}

.email-domain-option {
  padding: 12px 16px;
  color: #e8edf5;
  cursor: pointer;
  transition: all 0.15s ease;
  border-radius: 6px;
  font-size: 1rem;
  user-select: none;
  -webkit-user-select: none;
}

.email-domain-option:hover {
  background: rgba(110, 231, 255, 0.1);
  color: #6ee7ff;
}

.email-domain-option:active {
  background: rgba(110, 231, 255, 0.15);
}

#reserveEmailDomainText,
#emailDomainText {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.email-custom-domain-wrapper {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.email-custom-domain-wrapper.hidden {
  display: none;
}

.email-custom-domain {
  flex: 1;
  min-width: 0;
  width: 100%;
  min-height: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(110, 231, 255, 0.15);
  color: #e8edf5;
  padding: 14px 16px;
  padding-right: 50px;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.email-custom-domain:focus {
  outline: none;
  border-color: #6ee7ff;
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(110, 231, 255, 0.25);
}

.email-custom-domain::placeholder {
  color: #94a3b8;
}

.email-cancel-custom-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  z-index: 1;
}

.email-cancel-custom-btn:hover {
  color: #6ee7ff;
  background: rgba(110, 231, 255, 0.1);
}

.email-cancel-custom-btn:active {
  background: rgba(110, 231, 255, 0.15);
}

.email-cancel-custom-btn svg {
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.email-help-text {
  display: block;
  color: #94a3b8;
  font-size: 0.8rem;
  margin-top: 6px;
  line-height: 1.4;
}

/* 모바일에서 이메일 입력 그룹 스타일 조정 */
@media (max-width: 480px) {
  .email-input-group {
    flex-direction: row;
    gap: 6px;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow: visible;
  }

  .email-input-group input[type="text"] {
    flex: 1 1 50%;
    min-width: 0;
    min-height: 48px;
    box-sizing: border-box;
  }

  .email-at {
    display: inline;
    flex-shrink: 0;
    padding: 0 2px;
    font-size: 1rem;
  }

  .email-domain-wrapper {
    flex: 1 1 50%;
    min-width: 0;
  }

  .email-domain-button {
    width: 100%;
    min-height: 48px;
    height: 48px;
  }

  .email-domain-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    width: 100%;
  }

  .email-custom-domain-wrapper {
    flex: 1 1 50%;
    min-width: 0;
  }

  .email-custom-domain {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .email-cancel-custom-btn {
    right: 8px;
    padding: 6px;
  }

  .email-cancel-custom-btn svg {
    width: 18px;
    height: 18px;
  }
}
