/* Minimal Floating Header (GNB) + Mobile Menu Drawer + Official Minimal Footer */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: 68px;
  display: flex;
  align-items: center;
  transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(15, 23, 42, 0.07);
}

body.has-dark-hero .site-header:not(.is-scrolled) .hdr-stamp {
  mix-blend-mode: screen;
  filter: invert(1) brightness(1.15);
}

body.has-dark-hero .site-header:not(.is-scrolled) .hdr-wordmark {
  color: #FFFFFF;
}

body.has-dark-hero .site-header:not(.is-scrolled) .hdr-nav a:not(.hdr-cta) {
  color: rgba(232, 238, 248, 0.82);
}

body.has-dark-hero .site-header:not(.is-scrolled) .hdr-nav a:not(.hdr-cta):hover {
  color: #FFFFFF;
}

body.has-dark-hero .site-header:not(.is-scrolled) .hdr-menu-btn,
body.page-ahn-life .hdr-menu-btn {
  color: #FFFFFF;
}

.hdr-inner {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hdr-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #11151B;
}

.hdr-stamp {
  width: 24px;
  height: 30px;
  object-fit: contain;
  mix-blend-mode: multiply;
  display: block;
}

.hdr-wordmark {
  font-family: 'Kaushan Script', cursive;
  font-size: 24px;
  line-height: 1;
  color: #11151B;
  letter-spacing: -0.01em;
}

.hdr-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 36px);
}

.hdr-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 520;
  letter-spacing: -0.02em;
  color: #2B3442;
  transition: color 0.16s ease;
}

.hdr-nav a:hover {
  color: #11151B;
}

/* Clean Borderless Rounded CTA with Subtle Internal Galaxy S25-Style Luminous Surface Sheen */
.hdr-nav .hdr-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 19px;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
  background: #141A24;
  color: #FFFFFF;
  font-weight: 560;
  box-shadow: 0 6px 18px -10px rgba(15, 23, 42, 0.45);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.hdr-nav .hdr-cta::before {
  content: "";
  position: absolute;
  inset: -45%;
  z-index: -1;
  background:
    radial-gradient(48% 58% at 24% 34%, rgba(125, 178, 255, 0.36), transparent 70%),
    radial-gradient(44% 54% at 78% 72%, rgba(167, 152, 255, 0.28), transparent 72%);
  filter: blur(10px);
  animation: s25InnerAura 7.5s ease-in-out infinite alternate;
  pointer-events: none;
}

.hdr-nav .hdr-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    115deg,
    transparent 24%,
    rgba(255, 255, 255, 0.14) 48%,
    rgba(196, 224, 255, 0.12) 54%,
    transparent 76%
  );
  transform: translateX(-115%);
  animation: s25InnerSheen 6.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes s25InnerAura {
  0% { transform: translate(-8%, -4%) scale(1); opacity: 0.72; }
  50% { transform: translate(6%, 5%) scale(1.06); opacity: 0.96; }
  100% { transform: translate(10%, -3%) scale(1.02); opacity: 0.78; }
}

@keyframes s25InnerSheen {
  0%, 58% { transform: translateX(-115%); }
  88%, 100% { transform: translateX(115%); }
}

.hdr-nav .hdr-cta:hover {
  transform: translateY(-1px);
  color: #FFFFFF;
  background: #1B2332;
  box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.36);
}

/* Mobile Menu Button (Hidden on Desktop, Replaces CTA on Mobile) */
.hdr-menu-btn {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 4px;
  cursor: pointer;
  color: #11151B;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 540;
  letter-spacing: -0.02em;
}

.hdr-menu-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.hdr-menu-bars span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}

/* Full-Screen Frosted Mobile Drawer */
.mobile-drawer[hidden] {
  display: none;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(11, 15, 22, 0.94);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 24px;
  opacity: 0;
  transition: opacity 0.26s ease;
}

.mobile-drawer.is-open {
  opacity: 1;
}

.mobile-drawer-close {
  position: absolute;
  top: 16px;
  right: 20px;
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  padding: 8px;
  cursor: pointer;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  transform: translateY(12px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-drawer.is-open .mobile-drawer-nav {
  transform: translateY(0);
}

.mobile-drawer-nav a {
  text-decoration: none;
  font-size: 26px;
  font-weight: 540;
  letter-spacing: -0.036em;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.18s ease;
}

.mobile-drawer-nav a:hover {
  color: #FFFFFF;
}

.mobile-drawer-nav .md-cta {
  margin-top: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 560;
  color: #11151B;
  background: #FFFFFF;
}

/* Official Minimal Footer */
.site-footer {
  position: relative;
  z-index: 12;
  background: #F6F8FB;
  border-top: 1px solid #E7ECF2;
  color: #6B7684;
  padding: 40px 0 44px;
}

.ftr-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ftr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.ftr-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #141920;
  font-size: 15px;
  font-weight: 640;
  letter-spacing: -0.025em;
}

.ftr-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.ftr-links a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: #4E5968;
}

.ftr-links a:hover {
  color: #141920;
}

.ftr-meta {
  font-size: 12.5px;
  line-height: 1.75;
  letter-spacing: -0.015em;
  color: #7B8694;
}

.ftr-copy {
  font-size: 12px;
  color: #95A0AE;
}

@media (max-width: 780px) {
  .site-header { height: 58px; }
  .hdr-nav { display: none; }
  .hdr-menu-btn { display: inline-flex; }
}
