/**
 * AEROC (에어록) — 토스풍 라이트 UI
 * Primary #3075f0 · 배경 화이트
 */

:root {
  --ae-primary: #3075f0;
  --ae-primary-hover: #2563eb;
  --ae-primary-soft: rgba(48, 117, 240, 0.09);
  --ae-text: #191f28;
  --ae-text-sub: #6b7684;
  --ae-text-muted: #8b95a1;
  --ae-bg: #ffffff;
  --ae-bg-muted: #f2f4f6;
  --ae-border: #e5e8eb;
  --ae-shadow: 0 4px 24px rgba(25, 31, 40, 0.06);
  --ae-shadow-hover: 0 12px 40px rgba(48, 117, 240, 0.12);
  --ae-radius: 24px;
  --ae-radius-sm: 14px;
  --ae-max: 1180px;
  --ae-header-h: 72px;
  --ae-ease: cubic-bezier(0.4, 0, 0.2, 1);
  /* 섹션 스케일(여백·타이포 공통) */
  --ae-section-pad-y: 132px;
  --ae-section-pad-y-md: 108px;
  --ae-section-pad-y-sm: 88px;
  --ae-gap-md: 28px;
}

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

html {
  scroll-behavior: smooth;
  /* 100vw 풀블리드 섹션과 스크롤바 폭 미스매치 완화 */
  scrollbar-gutter: stable;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ae-text);
  background: var(--ae-bg);
  overflow-x: hidden;
  word-break: keep-all;
  transition:
    background-color 0.45s ease,
    color 0.45s ease;
}

/* 드라큘라 카드 호버·포커스: 전 페이지 다크 + 크림슨. @supports(:has(...:hover))는 일부 브라우저에서 false여서 규칙 전체가 빠지므로 사용하지 않음 */
body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) {
    --ae-text: #e8ebf0;
    --ae-text-sub: #9aa6b8;
    --ae-text-muted: #7d8a9c;
    --ae-bg: #0e1218;
    --ae-bg-muted: #171e2a;
    --ae-border: #2a3548;
    --ae-shadow: 0 6px 28px rgba(0, 0, 0, 0.42);
    --ae-shadow-hover: 0 14px 44px rgba(220, 60, 72, 0.32);
    --ae-primary: #ff5c5c;
    --ae-primary-hover: #ff8a8a;
    --ae-primary-soft: rgba(255, 75, 85, 0.22);
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-header {
    background: var(--ae-bg);
    border-bottom-color: var(--ae-border);
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-header.is-scrolled {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  /* 드라큘라 본인은 제외 — 호버 띄움·그라데이션·그림자가 덮이지 않도록 */
  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
    .ae-interview-marquee
    .ae-interview-card:not(.ae-interview-card--dracula) {
    background: var(--ae-bg-muted);
    border-color: var(--ae-border);
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.28);
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-hero--video .ae-kicker {
    color: #ffc4c8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) a.ae-hero-card-item:hover {
    background: rgba(255, 80, 95, 0.2);
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-nav-dropdown-menu {
    background: #221318;
    border: 1px solid rgba(255, 95, 105, 0.28);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-nav-dropdown-menu a:hover {
    background: rgba(255, 70, 85, 0.14);
    color: var(--ae-primary);
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-nav-dropdown-menu a.is-active {
    background: rgba(255, 70, 85, 0.12);
    color: var(--ae-primary);
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-nav .ae-nav-dropdown-menu a:hover {
    background: rgba(255, 70, 85, 0.16);
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-card:hover {
    border-color: rgba(255, 100, 110, 0.38);
    box-shadow: var(--ae-shadow);
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-interview-marquee .ae-interview-card:hover:not(.ae-interview-card--dracula),
  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
    .ae-interview-marquee
    .ae-interview-card:focus-within:not(.ae-interview-card--dracula) {
    box-shadow:
      0 8px 22px rgba(25, 31, 40, 0.085),
      0 2px 8px rgba(25, 31, 40, 0.045),
      0 0 0 1px rgba(255, 100, 110, 0.28);
    border-color: rgba(255, 115, 125, 0.42);
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-cta-band {
    box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.33);
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-cta-band .ae-btn:hover {
    background: #fff5f5;
    color: var(--ae-primary-hover);
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-footer {
    background: #06080e;
    color: rgba(255, 255, 255, 0.92);
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-footer a {
    color: rgba(255, 255, 255, 0.78);
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-footer a:hover {
    color: #fff;
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-footer-brand .ae-logo-text,
  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-footer-brand .ae-logo {
    color: #fff;
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-footer-brand .ae-logo-sub {
    color: rgba(255, 255, 255, 0.52);
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-footer-brand p {
    color: rgba(255, 255, 255, 0.68);
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-footer-col h4 {
    color: rgba(255, 255, 255, 0.52);
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.48);
  }

  /* 서브페이지 등: 요금 카드·포커스 링 파랑 → 빨강 */
  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
    .ae-web-plan-grid:not(.ae-web-plan-grid--hover)
    .ae-web-plan:not(.ae-hover-plan):hover,
  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
    .ae-web-plan-grid:not(.ae-web-plan-grid--hover)
    .ae-web-plan:not(.ae-hover-plan):focus-within {
    box-shadow:
      0 28px 64px rgba(25, 31, 40, 0.18),
      0 12px 28px rgba(220, 70, 82, 0.2),
      0 0 0 1px rgba(255, 100, 110, 0.22);
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
    .ae-web-plan-grid:not(.ae-web-plan-grid--hover)
    .ae-web-plan:not(.ae-hover-plan):focus-visible {
    outline: 2px solid rgba(255, 95, 105, 0.65);
  }

  /* 인터뷰 프로필: h1~h4·h6·h7(p) 단계가 다크 모드에서만 크기·계층으로 드러남 (드라큘라는 p 단독) */
  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
    .ae-interview-marquee
    .ae-interview-card__body
    h1.ae-interview-card__name {
    font-size: clamp(20px, 1.4vw, 23px);
    font-weight: 800;
    letter-spacing: -0.035em;
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
    .ae-interview-marquee
    .ae-interview-card__body
    h2.ae-interview-card__name {
    font-size: clamp(18.5px, 1.22vw, 20.5px);
    font-weight: 800;
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
    .ae-interview-marquee
    .ae-interview-card__body
    h3.ae-interview-card__name {
    font-size: clamp(17px, 1.08vw, 18.5px);
    font-weight: 800;
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
    .ae-interview-marquee
    .ae-interview-card__body
    h4.ae-interview-card__name {
    font-size: clamp(15.5px, 0.98vw, 17px);
    font-weight: 700;
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
    .ae-interview-marquee
    .ae-interview-card__body
    h6.ae-interview-card__name {
    font-size: clamp(14.5px, 0.92vw, 16px);
    font-weight: 700;
    opacity: 0.93;
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
    .ae-interview-marquee
    .ae-interview-card__body
    p.ae-interview-card__name.ae-interview-card__name--h7 {
    font-size: clamp(14px, 0.85vw, 15.5px);
    font-weight: 700;
    opacity: 0.84;
  }

body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
  .ae-interview-marquee
  .ae-interview-card:not(.ae-interview-card--dracula)
  .ae-interview-card__star {
  color: #ff6b6b;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ========== 레이아웃 ========== */
.ae-main {
  padding-top: var(--ae-header-h);
}

.ae-container {
  width: 100%;
  max-width: var(--ae-max);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 768px) {
  .ae-container {
    padding: 0 24px;
  }
}

@media (max-width: 480px) {
  .ae-container {
    padding: 0 22px;
  }
}

.ae-section {
  padding: var(--ae-section-pad-y) 0;
}

@media (max-width: 900px) {
  .ae-section {
    padding: var(--ae-section-pad-y-md) 0;
  }
}

@media (max-width: 480px) {
  .ae-section {
    padding: var(--ae-section-pad-y-sm) 0;
  }
}

.ae-section--muted {
  background: var(--ae-bg-muted);
}

/* CTA 섹션: 좌우 끝까지 · 하단은 푸터와 맞닿도록 패딩 없음 */
.ae-section.ae-section--cta-fullbleed {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-top: var(--ae-section-pad-y);
}

@media (max-width: 900px) {
  .ae-section.ae-section--cta-fullbleed {
    padding-top: var(--ae-section-pad-y-md);
  }
}

@media (max-width: 480px) {
  .ae-section.ae-section--cta-fullbleed {
    padding-top: var(--ae-section-pad-y-sm);
  }
}

.ae-kicker {
  font-size: 15px;
  font-weight: 600;
  color: var(--ae-primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.ae-h1 {
  font-size: clamp(38px, 5.5vw, 58px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: var(--ae-text);
}

.ae-h2 {
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.28;
  color: var(--ae-text);
}

.ae-lead {
  margin-top: 22px;
  font-size: clamp(17px, 1.35vw, 20px);
  color: var(--ae-text-sub);
  max-width: 600px;
  line-height: 1.65;
}

.ae-section-head {
  margin-bottom: 72px;
}

@media (max-width: 768px) {
  .ae-section-head {
    margin-bottom: 56px;
  }
}

.ae-section-head .ae-lead {
  max-width: 640px;
}

/* ========== 헤더 (라이트 바 · 로고 좌측 / 메뉴·CTA 우측) ========== */
.ae-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--ae-header-h);
  background: #ffffff;
  border-bottom: 1px solid var(--ae-border);
  transition: box-shadow 0.25s var(--ae-ease);
}

.ae-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.ae-header-inner {
  max-width: min(1540px, 100%);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ae-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.ae-logo-text {
  font-style: italic;
  font-weight: 800;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.02em;
  color: var(--ae-text);
  line-height: 1;
}

.ae-logo-sub {
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  color: var(--ae-text-muted);
  letter-spacing: -0.02em;
}

@media (max-width: 480px) {
  .ae-logo-sub {
    display: none;
  }
}

.ae-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(8px, 1.5vw, 28px);
}

.ae-nav a {
  padding: 8px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ae-text);
  opacity: 0.78;
  border-radius: 0;
  white-space: nowrap;
  transition: color 0.2s, opacity 0.2s;
}

.ae-nav a:hover {
  opacity: 1;
  color: var(--ae-text);
}

.ae-nav a.is-active:not(.ae-nav-cta) {
  opacity: 1;
  font-weight: 600;
  color: var(--ae-text);
}

.ae-nav .ae-nav-cta {
  margin-left: clamp(8px, 1.2vw, 20px);
  padding: 11px 26px;
  background: var(--ae-primary);
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  opacity: 1;
  border-radius: 999px;
  box-shadow: none;
  flex-shrink: 0;
}

.ae-nav .ae-nav-cta:hover {
  background: var(--ae-primary-hover);
  color: #fff !important;
}

.ae-nav .ae-nav-cta.is-active {
  box-shadow: 0 0 0 2px rgba(25, 31, 40, 0.12);
}

/* 서비스 안내 · 하위 메뉴 (데스크톱 호버 패널) */
.ae-nav-dropdown {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

@media (min-width: 1025px) {
  /* 트리거 ↔ 패널 사이 빈틈: 마우스가 지나갈 때 hover가 끊기지 않도록 호버 브릿지 */
  .ae-nav-dropdown::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    width: max(100%, 220px);
    height: 20px;
    pointer-events: auto;
  }
}

.ae-nav-dropdown-trigger {
  padding: 8px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ae-text);
  opacity: 0.78;
  white-space: nowrap;
  transition: color 0.2s, opacity 0.2s;
  text-decoration: none;
}

.ae-nav-dropdown:hover .ae-nav-dropdown-trigger,
.ae-nav-dropdown:focus-within .ae-nav-dropdown-trigger,
.ae-nav-dropdown-trigger:hover {
  opacity: 1;
  color: var(--ae-text);
}

.ae-nav-dropdown.is-active .ae-nav-dropdown-trigger,
.ae-nav-dropdown-trigger.is-active {
  opacity: 1;
  font-weight: 600;
  color: var(--ae-primary);
}

.ae-nav-dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 50%;
  /* translateY 간격이 크면 트리거와 패널 사이가 비어 hover가 끊김 — 살짝만 내림 */
  transform: translateX(-50%) translateY(2px);
  min-width: 216px;
  background: #f4f7fd;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(25, 31, 40, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s var(--ae-ease),
    visibility 0.2s,
    transform 0.2s var(--ae-ease);
  z-index: 3000;
  border: 1px solid rgba(48, 117, 240, 0.12);
}

.ae-nav-dropdown:hover .ae-nav-dropdown-menu,
.ae-nav-dropdown:focus-within .ae-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}

.ae-nav-dropdown-menu li {
  margin: 0;
}

.ae-nav-dropdown-menu a {
  display: block;
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ae-text);
  opacity: 0.9;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.ae-nav-dropdown-menu a:hover {
  background: rgba(48, 117, 240, 0.1);
  color: var(--ae-primary);
  opacity: 1;
}

.ae-nav-dropdown-menu a.is-active {
  font-weight: 600;
  color: var(--ae-primary);
  background: rgba(48, 117, 240, 0.06);
}

.ae-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--ae-bg-muted);
  border-radius: var(--ae-radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.ae-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ae-text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.ae-nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.ae-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.ae-nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .ae-nav-toggle {
    display: flex;
    margin-left: auto;
    flex-shrink: 0;
  }

  .ae-nav {
    position: fixed;
    top: var(--ae-header-h);
    left: 0;
    right: 0;
    background: var(--ae-bg);
    border-bottom: 1px solid var(--ae-border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    padding: 16px 20px 24px;
    column-gap: 12px;
    row-gap: 6px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ae-ease), opacity 0.3s;
  }

  .ae-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .ae-nav a {
    padding: 12px 14px;
    border-radius: var(--ae-radius-sm);
    opacity: 1;
    white-space: normal;
    text-align: center;
  }

  .ae-nav a:hover {
    background: var(--ae-bg-muted);
  }

  .ae-nav .ae-nav-cta {
    grid-column: 1 / -1;
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .ae-nav .ae-nav-dropdown {
    grid-column: 1 / -1;
    position: static;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .ae-nav .ae-nav-dropdown-trigger {
    padding: 12px 14px;
    border-radius: var(--ae-radius-sm);
    text-align: center;
    opacity: 1;
    font-size: 15px;
  }

  .ae-nav .ae-nav-dropdown-trigger:hover {
    background: var(--ae-bg-muted);
  }

  .ae-nav .ae-nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin: 2px 0 4px;
    padding: 6px 8px 8px;
    min-width: 0;
    width: 100%;
    background: var(--ae-bg-muted);
    border-radius: var(--ae-radius-sm);
    border: 1px solid var(--ae-border);
    box-shadow: none;
  }

  .ae-nav .ae-nav-dropdown-menu a {
    padding: 10px 12px;
    text-align: center;
    border-radius: 10px;
  }

  .ae-nav .ae-nav-dropdown-menu a:hover {
    background: rgba(48, 117, 240, 0.08);
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .ae-nav {
    gap: 14px;
  }

  .ae-nav a,
  .ae-nav-dropdown-trigger {
    font-size: 14px;
  }
}

/* ========== 히어로 ========== */
.ae-hero {
  position: relative;
  padding: 100px 0 128px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .ae-hero {
    padding: 80px 0 100px;
  }
}

@media (max-width: 480px) {
  .ae-hero {
    padding: 72px 0 88px;
  }
}

.ae-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse, var(--ae-primary-soft) 0%, transparent 65%);
  pointer-events: none;
}

.ae-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .ae-hero-inner {
    grid-template-columns: 1fr;
  }
}

.ae-hero-card {
  background: var(--ae-bg);
  border: 1px solid var(--ae-border);
  border-radius: var(--ae-radius);
  padding: 40px;
  box-shadow: var(--ae-shadow);
  display: grid;
  gap: 20px;
}

.ae-hero-card-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--ae-bg-muted);
  border-radius: var(--ae-radius-sm);
  font-size: 17px;
  font-weight: 500;
  transition: background 0.2s var(--ae-ease), transform 0.2s var(--ae-ease);
}

a.ae-hero-card-item:hover {
  background: rgba(48, 117, 240, 0.08);
  transform: translateX(4px);
}

.ae-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* 메인 히어로 · 배경 동영상 */
.ae-hero--video {
  position: relative;
  min-height: min(92vh, 720px);
  padding-top: calc(var(--ae-header-h) + 48px);
  padding-bottom: 96px;
  background: #141b24;
}

@media (max-width: 900px) {
  .ae-hero--video {
    min-height: auto;
    padding-top: calc(var(--ae-header-h) + 32px);
    padding-bottom: 80px;
  }
}

.ae-hero--video::before {
  display: none;
}

.ae-hero--video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(8, 12, 20, 0.3);
}

.ae-hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.ae-hero--video .ae-hero-inner {
  position: relative;
  z-index: 2;
}

.ae-hero--video .ae-kicker {
  color: #b8d4ff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.ae-hero--video .ae-h1 {
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.65),
    0 2px 20px rgba(0, 0, 0, 0.4);
}

.ae-hero--video .ae-lead {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.ae-hero--video .ae-btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}

.ae-hero--video .ae-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ========== Partner Opportunity (히어로 바로 아래) ========== */
.ae-partner-opp {
  --ae-partner-blue: #0055ff;
  position: relative;
  background: #ffffff;
  padding: 72px 0 88px;
  border-top: 1px solid var(--ae-border);
}

body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-partner-opp {
  --ae-partner-blue: var(--ae-primary);
  background: var(--ae-bg);
  border-top-color: var(--ae-border);
}

body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-partner-opp .ae-partner-opp__cta-line {
  color: var(--ae-text);
}

body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-partner-opp .ae-partner-opp__heading {
  color: var(--ae-partner-blue);
}

.ae-partner-opp__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) auto minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(20px, 2.8vw, 48px);
  row-gap: 36px;
}

/* 카톡 프레임 높이와 맞춰 CTA가 대화창 하단과 정렬되도록 */
.ae-partner-opp__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 428px;
  width: 100%;
  justify-self: start;
  min-height: 600px;
}

/* Interview 키커(.ae-kicker)와 동일 톤: 작은 라벨 + 브라이트 블루 */
.ae-partner-opp__heading {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #3b82f6;
  margin: 0 0 20px;
}

.ae-partner-opp__desc {
  font-size: 15px;
  line-height: 1.68;
  color: var(--ae-text-sub);
  margin: 0 0 32px;
}

.ae-partner-opp__lead {
  font-size: clamp(20px, 2.35vw, 26px);
  font-weight: 800;
  line-height: 1.55;
  color: var(--ae-text);
  margin: 0 0 24px;
}

.ae-partner-opp__cta-line {
  font-size: clamp(20px, 2.35vw, 26px);
  font-weight: 800;
  line-height: 1.55;
  color: #0f172a;
  margin: 0 0 28px;
}

.ae-partner-opp__accent {
  color: var(--ae-partner-blue);
}

.ae-partner-opp__apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--ae-partner-blue);
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 67, 180, 0.35);
  margin-top: auto;
  transform: translateY(-28px);
  transition:
    transform 0.2s var(--ae-ease),
    box-shadow 0.2s var(--ae-ease),
    background 0.2s var(--ae-ease);
}

.ae-partner-opp__apply:hover {
  transform: translateY(-30px);
  box-shadow: 0 12px 32px rgba(0, 85, 255, 0.35);
  background: #0048e0;
}

.ae-partner-opp__apply-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.95);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.ae-partner-opp__m1-wrap {
  justify-self: center;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 84px;
}

.ae-partner-opp__phone {
  justify-self: end;
  align-self: start;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  margin-left: clamp(12px, 2vw, 24px);
  /* translateX는 .ae-reveal과 합성 — 아래 .ae-partner-opp__phone.ae-reveal 참고 */
  --ae-partner-phone-shift-x: 72px;
}

.ae-partner-opp__m1 {
  width: clamp(200px, 24vw, 280px);
  height: auto;
  max-width: 280px;
  display: block;
  flex-shrink: 0;
  z-index: 1;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.12));
}

/* 카카오톡 스타일 채팅 mockup — 스마트폰 프레임 고정 크기 */
.ae-partner-chat {
  --ae-phone-w: 384px;
  --ae-phone-h: 600px;
  width: var(--ae-phone-w);
  height: var(--ae-phone-h);
  max-width: 100%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 20px 48px rgba(25, 31, 40, 0.14),
    0 6px 18px rgba(25, 31, 40, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
  font-family: inherit;
  display: flex;
  flex-direction: column;
}

.ae-partner-chat__head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 13px;
  background: #3075f0;
  color: #fff;
}

.ae-partner-chat__back {
  flex: 0 0 28px;
  text-align: center;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  color: #fff;
  opacity: 0.95;
}

.ae-partner-chat__head-text {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.ae-partner-chat__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.ae-partner-chat__menu {
  flex: 0 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: default;
}

.ae-partner-chat__menu span {
  display: block;
  width: 17px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  opacity: 0.95;
}

.ae-partner-chat__body {
  flex: 1 1 auto;
  min-height: 0;
  background: #f0f2f5;
  padding: 12px 18px 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

/* 순차 등장: 초기에는 숨김(JS가 제어) */
.ae-partner-chat__msg--live.ae-partner-chat__msg--await {
  display: none !important;
}

.ae-partner-chat__msg--in.is-live-visible {
  animation: ae-partner-chat-pop-in 0.4s cubic-bezier(0.34, 1.28, 0.64, 1) forwards;
}

.ae-partner-chat__msg--out.is-live-visible {
  animation: ae-partner-chat-pop-out 0.4s cubic-bezier(0.34, 1.28, 0.64, 1) forwards;
}

@keyframes ae-partner-chat-pop-in {
  from {
    opacity: 0;
    transform: translate3d(-18px, 8px, 0) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes ae-partner-chat-pop-out {
  from {
    opacity: 0;
    transform: translate3d(18px, 8px, 0) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.ae-partner-chat__date {
  margin: 2px 0 4px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.34);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.ae-partner-chat__msg {
  margin: 0;
  flex-shrink: 0;
}

/* 받는 메시지: 한 줄 전체를 쓰되 내용만 왼쪽 정렬 */
.ae-partner-chat__msg--in {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  width: 100%;
  min-width: 0;
}

.ae-partner-chat__msg--in .ae-partner-chat__in-wrap {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
}

/* 왼쪽 수신만: 프로필은 말풍선 옆(가로), 말풍선 위쪽에 맞춤 */
.ae-partner-chat__avatar {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  align-self: flex-start;
  margin-top: 10px;
}

/* 보낸이름 줄 + gap 만큼 내려 말풍선 모서리와 맞춤 */
.ae-partner-chat__in-wrap:has(.ae-partner-chat__sender) .ae-partner-chat__avatar {
  margin-top: calc(12px * 1.2 + 4px + 10px);
}

.ae-partner-chat__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ae-partner-chat__in-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
  max-width: calc(100% - 46px);
  width: auto;
}

.ae-partner-chat__sender {
  font-size: 12px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.42);
  line-height: 1.2;
  padding-left: 1px;
}

.ae-partner-chat__in-main--no-sender {
  padding-top: 0;
}

.ae-partner-chat__in-line {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  min-width: 0;
  width: 100%;
}

.ae-partner-chat__msg--out {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  width: 100%;
  min-width: 0;
}

.ae-partner-chat__out-line {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
}

.ae-partner-chat__time {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.36);
  white-space: nowrap;
  padding-bottom: 2px;
}

.ae-partner-chat__bubble {
  margin: 0;
  padding: 10px 18px 11px;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
  word-break: keep-all;
  letter-spacing: -0.02em;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* 논리적 2줄이 좁은 폭에서 추가 줄바꿈되지 않도록 */
.ae-partner-chat__bubble-line {
  display: block;
  white-space: nowrap;
  line-height: 1;
}

.ae-partner-chat__bubble-line + br + .ae-partner-chat__bubble-line {
  margin-top: -0.62em;
}

.ae-partner-chat__bubble br {
  display: block;
  height: 0;
  margin: -0.34em 0;
  line-height: 0;
}

/* 받는 말풍선: 왼쪽 위(프로필 방향)만 각지게 */
.ae-partner-chat__bubble--in {
  flex: 0 1 auto;
  max-width: min(252px, 100%);
  background: #fff;
  color: #191f28;
  border-radius: 2px 12px 12px 12px;
}

/* 보낸 말풍선: 오른쪽 위만 각지게 */
.ae-partner-chat__bubble--out {
  flex: 0 1 auto;
  max-width: min(288px, 100%);
  background: #3075f0;
  color: #fff;
  border-radius: 12px 2px 12px 12px;
}

/* 마지막 어구 + 이모지 GIF가 항상 한 줄로 붙도록 */
.ae-partner-chat__bubble--out .ae-partner-chat__bubble-tail {
  white-space: nowrap;
}

.ae-partner-chat__bubble--out .ae-partner-chat__emoji-gif {
  display: inline-block;
  width: 1.95em;
  height: 1.95em;
  max-width: 54px;
  max-height: 54px;
  margin: 0 0 0 4px;
  vertical-align: -0.28em;
  object-fit: contain;
}

/* 옆 이모지: 수신 말풍선과 동일 line-height */
.ae-partner-chat__bubble--out.ae-partner-chat__bubble--emoji-side {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  max-width: min(348px, 100%);
}

.ae-partner-chat__bubble--emoji-side .ae-partner-chat__bubble-lines {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1;
}

/* 두 줄(타이트 행간) 세로에 맞춤 */
.ae-partner-chat__bubble--emoji-side .ae-partner-chat__emoji-gif--side {
  display: block;
  flex-shrink: 0;
  width: 1.7em;
  height: 1.7em;
  max-width: 1.7em;
  max-height: 1.7em;
  margin: 0;
  object-fit: contain;
}

@media (max-width: 960px) {
  .ae-partner-opp {
    padding: 56px 0 64px;
  }

  .ae-partner-opp__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
  }

  .ae-partner-opp__copy {
    max-width: none;
    justify-self: auto;
    min-height: 0;
  }

  .ae-partner-opp__m1-wrap {
    justify-content: center;
    width: 100%;
    margin-top: 0;
  }

  .ae-partner-opp__phone {
    justify-content: center;
    width: 100%;
    margin-left: 0;
    --ae-partner-phone-shift-x: 40px;
  }

  .ae-partner-opp__m1 {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .ae-partner-opp__apply {
    width: 100%;
  }

  .ae-partner-chat {
    --ae-phone-w: 300px;
    --ae-phone-h: 530px;
  }
}

/* ========== 버튼 ========== */
.ae-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 32px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.ae-btn:active {
  transform: scale(0.98);
}

.ae-btn--primary {
  background: var(--ae-primary);
  color: #fff;
}

.ae-btn--primary:hover {
  background: var(--ae-primary-hover);
  box-shadow: var(--ae-shadow-hover);
}

.ae-btn--ghost {
  background: var(--ae-bg);
  color: var(--ae-text);
  border: 1px solid var(--ae-border);
}

.ae-btn--ghost:hover {
  background: var(--ae-bg-muted);
}

/* ========== 카드 그리드 ========== */
.ae-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ae-gap-md);
}

.ae-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ae-gap-md);
}

@media (max-width: 768px) {
  .ae-grid-3 {
    grid-template-columns: 1fr;
  }

  .ae-grid-2 {
    grid-template-columns: 1fr;
  }
}

.ae-card {
  background: var(--ae-bg);
  border: 1px solid var(--ae-border);
  border-radius: var(--ae-radius);
  padding: 36px;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.ae-card:hover {
  box-shadow: var(--ae-shadow);
  border-color: rgba(48, 117, 240, 0.25);
}

a.ae-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.ae-card-icon {
  width: 82px;
  height: 82px;
  border-radius: 20px;
  background: var(--ae-primary-soft);
  color: var(--ae-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin-bottom: 22px;
}

.ae-card-icon img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
}

.ae-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.ae-card p {
  font-size: 16px;
  color: var(--ae-text-sub);
  line-height: 1.7;
}

/* ========== 스텝 / 리스트 ========== */
.ae-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ae-gap-md);
}

@media (max-width: 900px) {
  .ae-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ae-steps {
    grid-template-columns: 1fr;
  }
}

.ae-step {
  background: var(--ae-bg);
  border: 1px solid var(--ae-border);
  border-radius: var(--ae-radius);
  padding: 32px;
  text-align: left;
}

.ae-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ae-primary);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 18px;
}

.ae-step h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.ae-step p {
  font-size: 15px;
  color: var(--ae-text-sub);
  line-height: 1.65;
}

/* ========== 서브페이지 히어로 ========== */
.ae-page-hero {
  padding: 88px 0 56px;
  background: linear-gradient(180deg, var(--ae-bg-muted) 0%, var(--ae-bg) 100%);
  border-bottom: 1px solid var(--ae-border);
}

@media (max-width: 768px) {
  .ae-page-hero {
    padding: 72px 0 48px;
  }
}

@media (max-width: 480px) {
  .ae-page-hero {
    padding: 64px 0 40px;
  }
}

.ae-page-hero .ae-h1 {
  margin-bottom: 16px;
}

.ae-page-hero .ae-lead {
  max-width: 680px;
}

/* 서브페이지 히어로 + 전면 동영상 */
.ae-page-hero--video {
  position: relative;
  padding: 0;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ae-bg-muted);
  border-bottom: 1px solid var(--ae-border);
}

@media (min-width: 769px) {
  .ae-page-hero--video {
    min-height: 460px;
  }
}

@media (max-width: 480px) {
  .ae-page-hero--video {
    min-height: 360px;
  }
}

.ae-page-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.ae-page-hero--video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(8, 12, 20, 0.32);
}

.ae-page-hero--video .ae-page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 88px 0 56px;
}

@media (max-width: 768px) {
  .ae-page-hero--video .ae-page-hero-content {
    padding: 72px 0 48px;
  }
}

@media (max-width: 480px) {
  .ae-page-hero--video .ae-page-hero-content {
    padding: 64px 0 40px;
  }
}

.ae-page-hero--video .ae-kicker {
  color: #b8d4ff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.ae-page-hero--video .ae-h1 {
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.65),
    0 2px 20px rgba(0, 0, 0, 0.4);
}

.ae-page-hero--video .ae-lead {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

/* ========== 포트폴리오 썸네일 ========== */
.ae-port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ae-gap-md);
}

@media (max-width: 768px) {
  .ae-port-grid {
    grid-template-columns: 1fr;
  }
}

.ae-port-item {
  border-radius: var(--ae-radius);
  overflow: hidden;
  border: 1px solid var(--ae-border);
  background: var(--ae-bg-muted);
  transition: box-shadow 0.25s;
}

.ae-port-item:hover {
  box-shadow: var(--ae-shadow);
}

.ae-port-item img {
  width: 100%;
  aspect-ratio: 16/10;
  min-height: 220px;
  object-fit: cover;
}

.ae-port-body {
  padding: 24px 26px;
}

.ae-port-body h3 {
  font-size: 18px;
  font-weight: 700;
}

.ae-port-body span {
  font-size: 15px;
  color: var(--ae-text-sub);
}

/* ========== 가격 카드 ========== */
.ae-price-card {
  border: 1px solid var(--ae-border);
  border-radius: var(--ae-radius);
  padding: 36px;
  background: var(--ae-bg);
  position: relative;
}

.ae-price-card.is-featured {
  border-color: var(--ae-primary);
  box-shadow: 0 0 0 1px var(--ae-primary);
}

.ae-price-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ae-primary);
  background: var(--ae-primary-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.ae-price-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.ae-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--ae-text);
  margin: 22px 0;
}

.ae-price-card ul {
  list-style: none;
  margin: 26px 0;
}

.ae-price-card li {
  font-size: 15px;
  color: var(--ae-text-sub);
  padding: 11px 0;
  border-bottom: 1px solid var(--ae-border);
  padding-left: 22px;
  position: relative;
}

.ae-price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ae-primary);
  font-weight: 700;
  font-size: 12px;
}

/* ========== CTA 띠 (전폭 · 히어로와 동일 높이감 · 배경 고정 · 딤 없음) ========== */
.ae-cta-band {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  color: #fff;
  text-align: left;
  border-radius: 0;
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: clamp(40px, 5vw, 72px) 0;
  background-color: #0d3a66;
  background-image: url("/images/light-speed-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  box-shadow: none;
}

@media (min-width: 769px) {
  .ae-cta-band {
    min-height: 460px;
  }
}

@media (max-width: 768px) {
  .ae-cta-band {
    padding: 48px 0 56px;
  }
}

@media (max-width: 480px) {
  .ae-cta-band {
    min-height: 360px;
  }
}

.ae-cta-band .ae-h2 {
  position: relative;
  z-index: 1;
  max-width: 22em;
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.5),
    0 4px 28px rgba(0, 0, 0, 0.35);
}

.ae-cta-band p {
  position: relative;
  z-index: 1;
  max-width: 36em;
  margin: 20px 0 0;
  opacity: 0.98;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.7;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.ae-cta-band p a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.ae-cta-band p a:hover {
  opacity: 0.88;
}

.ae-cta-band__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 28px;
}

.ae-cta-band .ae-btn {
  position: relative;
  z-index: 1;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 14px;
  background: #fff;
  color: var(--ae-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.ae-cta-band .ae-container > .ae-btn,
.ae-cta-band .ae-container > .ae-cta-band__actions {
  margin-top: 28px;
}

.ae-cta-band .ae-btn:hover {
  background: #f0f6ff;
  color: var(--ae-primary-hover);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
}

.ae-cta-band .ae-btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.ae-cta-band .ae-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: none;
}

/* ========== 푸터 ========== */
.ae-footer {
  background: var(--ae-text);
  color: #fff;
  padding: 96px 0 40px;
  margin-top: 0;
}

.ae-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.ae-footer a:hover {
  color: #fff;
}

.ae-footer-inner {
  max-width: var(--ae-max);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 56px;
}

@media (max-width: 768px) {
  .ae-footer-inner {
    grid-template-columns: 1fr;
  }
}

.ae-footer-brand .ae-logo {
  color: #fff;
}

.ae-footer-brand .ae-logo-text {
  color: #fff;
}

.ae-footer-brand .ae-logo-sub {
  color: rgba(255, 255, 255, 0.5);
}

.ae-footer-brand p {
  margin-top: 16px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.ae-footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.5);
}

.ae-footer-col ul {
  list-style: none;
}

.ae-footer-col li {
  margin-bottom: 12px;
  font-size: 16px;
}

/* 푸터 메뉴 항목이 많을 때 2열 */
.ae-footer-col:has(> ul > li:nth-child(6)) > ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  align-content: start;
}

.ae-footer-col:has(> ul > li:nth-child(6)) > ul > li {
  margin-bottom: 0;
}

.ae-footer-bottom {
  max-width: var(--ae-max);
  margin: 52px auto 0;
  padding: 28px 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ========== 모바일 하단 상담 ========== */
.ae-mcontact {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--ae-bg);
  border-top: 1px solid var(--ae-border);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
  justify-content: center;
}

@media (max-width: 768px) {
  .ae-mcontact {
    display: flex;
  }

  .ae-footer {
    padding: 80px 0 100px;
  }
}

.ae-mcontact a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--ae-radius-sm);
  max-width: 120px;
}

.ae-mcontact .ae-mc-phone {
  background: var(--ae-bg-muted);
  color: var(--ae-text);
}

.ae-mcontact .ae-mc-kakao {
  background: #fee500;
  color: #191919;
}

/* ========== 폼 ========== */
.ae-form {
  display: grid;
  gap: 26px;
}

.ae-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ae-text);
}

.ae-input,
.ae-textarea,
.ae-select {
  width: 100%;
  padding: 17px 18px;
  font-size: 17px;
  font-family: inherit;
  border: 1px solid var(--ae-border);
  border-radius: var(--ae-radius-sm);
  background: var(--ae-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ae-input:focus,
.ae-textarea:focus,
.ae-select:focus {
  outline: none;
  border-color: var(--ae-primary);
  box-shadow: 0 0 0 3px var(--ae-primary-soft);
}

.ae-textarea {
  min-height: 200px;
  resize: vertical;
}

.ae-form-submit {
  padding: 19px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background: var(--ae-primary);
  border: none;
  border-radius: var(--ae-radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}

.ae-form-submit:hover {
  background: var(--ae-primary-hover);
}

.ae-contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.ae-chip {
  display: inline-flex;
  align-items: center;
  padding: 16px 26px;
  background: var(--ae-bg-muted);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ae-text);
  border: 1px solid var(--ae-border);
}

.ae-chip:hover {
  border-color: var(--ae-primary);
  color: var(--ae-primary);
}

/* ========== 기타 ========== */
.ae-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ae-gap-md);
  margin-top: 56px;
}

@media (max-width: 640px) {
  .ae-stat-row {
    grid-template-columns: 1fr;
  }
}

.ae-stat {
  text-align: center;
  padding: 36px 28px;
  background: var(--ae-bg);
  border-radius: var(--ae-radius);
  border: 1px solid var(--ae-border);
}

.ae-stat strong {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: var(--ae-primary);
  letter-spacing: -0.03em;
}

.ae-stat span {
  font-size: 16px;
  color: var(--ae-text-sub);
  margin-top: 12px;
  display: block;
  line-height: 1.5;
}

.ae-section-head--interview {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Research (다크 설문 카드 · 인터뷰 하단 세로 스택) ---------- */
.ae-research {
  --ae-research-card-bg: #1c1f26;
  --ae-research-card-border: rgba(255, 255, 255, 0.06);
  --ae-research-bar-bg: #2f3540;
  --ae-research-pill-muted: #2a3038;
}

.ae-research-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(16px, 3vw, 36px);
  margin-bottom: clamp(28px, 4vw, 44px);
}

.ae-research-head__brand {
  flex: 0 0 auto;
}

.ae-research-kicker {
  color: var(--ae-primary);
  margin: 0 0 8px;
}

.ae-research-kicker-line {
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: var(--ae-primary);
}

.ae-research-intro {
  flex: 1 1 220px;
  margin: 0;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--ae-text);
  letter-spacing: -0.02em;
}

.ae-research-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
  max-width: 920px;
  margin: 0 auto;
}

.ae-research-cta {
  margin-top: clamp(28px, 4vw, 44px);
  text-align: center;
}

.ae-research-card {
  background: var(--ae-research-card-bg);
  border: 1px solid var(--ae-research-card-border);
  border-radius: var(--ae-radius);
  padding: clamp(22px, 3.2vw, 32px);
  color: #f2f4f6;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.ae-research-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.ae-research-card__title {
  flex: 1 1 240px;
  margin: 0;
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  letter-spacing: -0.02em;
}

.ae-research-card__note {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
}

.ae-research-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ae-research-card__body--bars {
  gap: clamp(14px, 2vw, 18px);
}

.ae-research-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--ae-research-pill-muted);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.ae-research-pill--primary {
  background: linear-gradient(135deg, #2563eb 0%, #3075f0 45%, #1d4ed8 100%);
  box-shadow:
    0 0 0 1px rgba(96, 165, 250, 0.35),
    0 4px 20px rgba(48, 117, 240, 0.45);
}

.ae-research-pill__value {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ae-research-card__reason {
  margin: clamp(18px, 2.5vw, 24px) 0 0;
  text-align: center;
}

.ae-research-card__reason span {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: #0a0c10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}

.ae-research-bar {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 16px);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.ae-research-bar__pct {
  flex: 0 0 2.75rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: #fff;
}

.ae-research-bar__track {
  flex: 1 1 auto;
  height: 13px;
  border-radius: 999px;
  background: var(--ae-research-bar-bg);
  overflow: hidden;
  min-width: 0;
}

.ae-research-bar__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #3d4554;
  transition: width 0.35s var(--ae-ease);
}

.ae-research-bar--highlight .ae-research-bar__fill {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  box-shadow: 0 0 14px rgba(96, 165, 250, 0.55);
}

.ae-research-bar__caption {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active))) .ae-research-intro {
  color: var(--ae-text);
}

@media (max-width: 640px) {
  .ae-research-head {
    flex-direction: column;
    align-items: stretch;
  }

  .ae-research-bar__caption {
    font-size: 12px;
  }
}

/*
 * 인터뷰 섹션: 드라큘라 박쥐가 위쪽(히어로·서비스 등) 콘텐츠에 가리지 않고 위로 겹쳐 보이게.
 * 패딩·마진·간격은 변경 없음(position만 지정). 인터뷰보다 뒤에 오는 섹션은 더 높은 z로 스크롤 시 정상 표시.
 */
.ae-section:has(.ae-interview-marquee) {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.ae-section:has(.ae-interview-marquee) ~ .ae-section {
  position: relative;
  z-index: 3;
}

.ae-section:has(.ae-interview-marquee) .ae-container {
  overflow: visible;
}

/* 인터뷰: 풀블리드 2줄 무한 마퀴 (콘텐츠 2배 복제 + translate -50%) */
@keyframes aeInterviewMarqueeX {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.ae-interview-marquee {
  margin-top: 12px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  overflow: visible;
}

/*
 * 마퀴 행: row에 mask를 쓰면 세로로 튀어나온 박쥐가 마스크 경계에서 잘림(가로 실선처럼 보임).
 * 가로 페이드만 ::before/::after 그라데이션으로 처리 — overflow는 잘리지 않음.
 */
.ae-interview-marquee__row {
  overflow: visible;
  padding-block: clamp(6px, 1.1vw, 14px);
  margin-bottom: 0;
  position: relative;
  -webkit-mask-image: none;
  mask-image: none;
}

.ae-interview-marquee__row::before,
.ae-interview-marquee__row::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 7vw, 88px);
  z-index: 4;
  pointer-events: none;
}

.ae-interview-marquee__row::before {
  left: 0;
  background: linear-gradient(90deg, var(--ae-bg) 0%, transparent 100%);
}

.ae-interview-marquee__row::after {
  right: 0;
  background: linear-gradient(270deg, var(--ae-bg) 0%, transparent 100%);
}

.ae-interview-marquee__row:last-child {
  margin-bottom: 0;
}

.ae-interview-marquee__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  will-change: transform;
}

.ae-interview-marquee__group {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: clamp(14px, 2vw, 20px);
  padding-right: clamp(14px, 2vw, 20px);
}

.ae-interview-marquee .ae-interview-marquee__group {
  align-items: flex-start;
  gap: clamp(12px, 1.6vw, 16px);
  padding-right: clamp(12px, 1.6vw, 16px);
}

.ae-interview-marquee__row--ltr .ae-interview-marquee__track {
  animation: aeInterviewMarqueeX 48s linear infinite;
}

.ae-interview-marquee__row--rtl .ae-interview-marquee__track {
  animation: aeInterviewMarqueeX 48s linear infinite reverse;
}

.ae-interview-card {
  position: relative;
  isolation: isolate;
  flex: 0 0 auto;
  width: clamp(300px, 34vw, 384px);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px clamp(18px, 2.4vw, 24px);
  background: #ffffff;
  border: 1px solid var(--ae-border);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(25, 31, 40, 0.06);
  transition:
    transform 0.45s var(--ae-ease),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.ae-interview-card__avatar {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ae-bg-muted);
  position: relative;
  z-index: 2;
}

.ae-interview-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ae-interview-card__body {
  min-width: 0;
  flex: 1 1 auto;
  position: relative;
  z-index: 2;
}

.ae-interview-card__name {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--ae-text);
  letter-spacing: -0.02em;
}

.ae-interview-card__role {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--ae-text-sub);
}

.ae-interview-card__quote {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ae-text);
  opacity: 0.92;
}

/* 마퀴: 통일된 카드 박스(고정 높이 · 짧은 글도 동일 크기) */
.ae-interview-marquee .ae-interview-card {
  box-sizing: border-box;
  --ae-interview-card-w: min(352px, calc(100vw - 28px));
  --ae-interview-card-h: 218px;
  flex: 0 0 var(--ae-interview-card-w);
  width: var(--ae-interview-card-w);
  max-width: var(--ae-interview-card-w);
  min-height: var(--ae-interview-card-h);
  height: auto;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: 1fr;
  align-items: stretch;
  column-gap: 16px;
  row-gap: 0;
  padding: 13px 24px;
  align-self: flex-start;
  background: #ffffff;
  border: 1px solid var(--ae-border);
  border-radius: 18px;
  box-shadow: 0 4px 22px rgba(25, 31, 40, 0.07);
}

.ae-interview-marquee .ae-interview-card--dracula {
  overflow: visible;
  /* 박쥐가 옆 카드 위로 지나가도록(레이아웃·간격은 그대로, 쌓임만 위로) */
  z-index: 6;
}

@media (max-width: 480px) {
  .ae-interview-marquee .ae-interview-card {
    --ae-interview-card-h: 208px;
    padding: 12px 22px;
  }
}

.ae-interview-marquee .ae-interview-card__avatar {
  grid-column: 1;
  grid-row: 1;
  width: 64px;
  height: 64px;
  margin-top: 0;
  flex-shrink: 0;
  align-self: center;
  position: relative;
}

/* 라이트: a*.gif / 드라큘라 호버·포커스 다크: 같은 카드의 h단계에 맞는 h*.gif */
.ae-interview-marquee .ae-interview-card:not(.ae-interview-card--dracula) .ae-interview-card__avatar .ae-interview-card__avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ae-interview-marquee .ae-interview-card:not(.ae-interview-card--dracula) .ae-interview-card__avatar-img--dark {
  display: none;
}

body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
  .ae-interview-marquee
  .ae-interview-card:not(.ae-interview-card--dracula)
  .ae-interview-card__avatar-img--light {
  display: none;
}

body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
  .ae-interview-marquee
  .ae-interview-card:not(.ae-interview-card--dracula)
  .ae-interview-card__avatar-img--dark {
  display: block;
}

.ae-interview-marquee .ae-interview-card__body {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  max-width: 100%;
  gap: 0;
  padding-top: 0;
}

.ae-interview-marquee .ae-interview-card__name,
.ae-interview-marquee .ae-interview-card__body :is(h1, h2, h3, h4, h6).ae-interview-card__name,
.ae-interview-marquee .ae-interview-card__body p.ae-interview-card__name.ae-interview-card__name--h7 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--ae-text);
}

.ae-interview-marquee .ae-interview-card__role {
  margin: 3px 0 0;
  font-size: 14px;
  line-height: 1.35;
  color: var(--ae-text-sub);
}

.ae-interview-marquee .ae-interview-card__stars {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 3px;
  margin: 7px 0 0;
  padding: 0;
  line-height: 1;
}

.ae-interview-marquee .ae-interview-card__star {
  flex: 0 0 auto;
  color: #f0b90b;
  font-size: 16px;
  line-height: 1;
  text-shadow: 0 0 0.5px rgba(184, 134, 0, 0.35);
}

.ae-interview-marquee .ae-interview-card--dracula .ae-interview-card__star {
  color: #d32f2f;
}

/* 드라큘라: bat.gif — 스캔(::before)보다 위에 두어 가림 최소화 */
.ae-interview-marquee .ae-interview-card--dracula .ae-interview-card__avatar,
.ae-interview-marquee .ae-interview-card--dracula .ae-interview-card__body {
  position: relative;
  z-index: 2;
}

.ae-dracula-bats {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  overflow: visible;
}

/* 그리드 전체 + 카드 밖으로 확장(위로 길게 날 때 상단 잘림 방지) */
.ae-interview-marquee .ae-interview-card--dracula .ae-dracula-bats {
  grid-column: 1 / -1;
  grid-row: 1;
  z-index: 12;
  inset: -280px -125px -100px -122px;
  width: auto;
  height: auto;
}

.ae-dracula-bat {
  position: absolute;
  width: clamp(48px, 12vw, 58px);
  height: clamp(48px, 12vw, 58px);
  background: url("/images/bat.gif") no-repeat center / contain;
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: transform, opacity;
}

/* 카드 면적 안에서 출발(넓어진 bats 박스 기준 %) → 우상단 밖으로 */
.ae-dracula-bat--1 {
  left: 24%;
  bottom: 14%;
}

.ae-dracula-bat--2 {
  left: 44%;
  bottom: 22%;
}

.ae-dracula-bat--3 {
  left: 52%;
  bottom: 20%;
}

/* 마퀴 카드: 인용문·하단 여백과 겹침 완화(카드 크기·패딩 동일) */
.ae-interview-marquee .ae-interview-card--dracula .ae-dracula-bat--1 {
  bottom: 17%;
}

.ae-interview-marquee .ae-interview-card--dracula .ae-dracula-bat--2 {
  bottom: 25%;
}

.ae-interview-marquee .ae-interview-card--dracula .ae-dracula-bat--3 {
  bottom: 23%;
}

@media (prefers-reduced-motion: no-preference) {
  /* linear: ease-in-out는 키마다 감속되어 멈췄다 가는 느낌이 남 */
  .ae-interview-marquee .ae-interview-card--dracula .ae-dracula-bat--1 {
    animation: aeDraculaBatAmbient1 9s linear infinite;
    animation-delay: 0s;
  }

  .ae-interview-marquee .ae-interview-card--dracula .ae-dracula-bat--2 {
    animation: aeDraculaBatAmbient2 9s linear infinite;
    animation-delay: 1.5s;
  }

  .ae-interview-marquee .ae-interview-card--dracula .ae-dracula-bat--3 {
    animation: aeDraculaBatAmbient3 9s linear infinite;
    animation-delay: 3s;
  }
}

/* Y는 항상 위로만(단조), X·회전은 살짝 — 바로 상승 */
@keyframes aeDraculaBatAmbient1 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5) rotate(-6deg);
  }
  5% {
    opacity: 0.75;
    transform: translate(0, 0) scale(0.5) rotate(-6deg);
  }
  8% {
    opacity: 1;
    transform: translate(0, 0) scale(0.5) rotate(-6deg);
  }
  18% {
    opacity: 1;
    transform: translate(3px, calc(-22px - 2.5vh)) scale(0.54) rotate(-4deg);
  }
  28% {
    opacity: 1;
    transform: translate(4px, calc(-34px - 4vh)) scale(0.57) rotate(-3deg);
  }
  38% {
    opacity: 1;
    transform: translate(5px, calc(-46px - 5.5vh)) scale(0.6) rotate(-2deg);
  }
  48% {
    opacity: 1;
    transform: translate(5px, calc(-56px - 6.8vh)) scale(0.63) rotate(-2deg);
  }
  54% {
    opacity: 1;
    transform: translate(6px, calc(-64px - 7.6vh)) scale(0.66) rotate(-2deg);
  }
  65% {
    opacity: 1;
    transform: translate(6px, calc(-70px - 8.2vh)) scale(0.655) rotate(-2deg);
  }
  72% {
    opacity: 1;
    transform: translate(6px, calc(-74px - 8.5vh)) scale(0.64) rotate(-2deg);
  }
  76% {
    opacity: 1;
    transform: translate(6px, calc(-76px - 8.5vh)) scale(0.63) rotate(-2deg);
  }
  79% {
    opacity: 0.42;
    transform: translate(6px, calc(-76px - 8.5vh)) scale(0.63) rotate(-2deg);
  }
  81% {
    opacity: 0;
    transform: translate(6px, calc(-76px - 8.5vh)) scale(0.63) rotate(-2deg);
  }
  82%,
  100% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5) rotate(-6deg);
  }
}

@keyframes aeDraculaBatAmbient2 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.52) rotate(5deg);
  }
  5% {
    opacity: 0.75;
    transform: translate(0, 0) scale(0.52) rotate(5deg);
  }
  8% {
    opacity: 1;
    transform: translate(0, 0) scale(0.52) rotate(5deg);
  }
  18% {
    opacity: 1;
    transform: translate(-4px, calc(-24px - 3vh)) scale(0.55) rotate(3deg);
  }
  28% {
    opacity: 1;
    transform: translate(-4px, calc(-36px - 4.5vh)) scale(0.58) rotate(2deg);
  }
  38% {
    opacity: 1;
    transform: translate(-5px, calc(-48px - 6.2vh)) scale(0.61) rotate(2deg);
  }
  48% {
    opacity: 1;
    transform: translate(-5px, calc(-58px - 7.3vh)) scale(0.64) rotate(2deg);
  }
  54% {
    opacity: 1;
    transform: translate(-6px, calc(-66px - 8.1vh)) scale(0.67) rotate(2deg);
  }
  65% {
    opacity: 1;
    transform: translate(-6px, calc(-74px - 8.9vh)) scale(0.66) rotate(2deg);
  }
  68% {
    opacity: 1;
    transform: translate(-7px, calc(-82px - 9vh)) scale(0.63) rotate(2deg);
  }
  70% {
    opacity: 0.4;
    transform: translate(-7px, calc(-82px - 9vh)) scale(0.63) rotate(2deg);
  }
  72% {
    opacity: 0;
    transform: translate(-7px, calc(-82px - 9vh)) scale(0.63) rotate(2deg);
  }
  73%,
  100% {
    opacity: 0;
    transform: translate(0, 0) scale(0.52) rotate(5deg);
  }
}

@keyframes aeDraculaBatAmbient3 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.48) rotate(4deg);
  }
  5% {
    opacity: 0.75;
    transform: translate(0, 0) scale(0.48) rotate(4deg);
  }
  8% {
    opacity: 1;
    transform: translate(0, 0) scale(0.48) rotate(4deg);
  }
  18% {
    opacity: 1;
    transform: translate(5px, calc(-24px - 3vh)) scale(0.52) rotate(4deg);
  }
  28% {
    opacity: 1;
    transform: translate(6px, calc(-38px - 4.6vh)) scale(0.55) rotate(4deg);
  }
  38% {
    opacity: 1;
    transform: translate(8px, calc(-50px - 6.2vh)) scale(0.58) rotate(3deg);
  }
  48% {
    opacity: 1;
    transform: translate(9px, calc(-60px - 7.4vh)) scale(0.61) rotate(3deg);
  }
  54% {
    opacity: 1;
    transform: translate(10px, calc(-68px - 8.2vh)) scale(0.64) rotate(3deg);
  }
  65% {
    opacity: 1;
    transform: translate(10px, calc(-78px - 9.2vh)) scale(0.625) rotate(3deg);
  }
  68% {
    opacity: 1;
    transform: translate(10px, calc(-84px - 9.5vh)) scale(0.62) rotate(3deg);
  }
  70% {
    opacity: 0.38;
    transform: translate(10px, calc(-84px - 9.5vh)) scale(0.62) rotate(3deg);
  }
  72% {
    opacity: 0;
    transform: translate(10px, calc(-84px - 9.5vh)) scale(0.62) rotate(3deg);
  }
  73%,
  100% {
    opacity: 0;
    transform: translate(0, 0) scale(0.48) rotate(4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ae-dracula-bats {
    display: none;
  }
}

/* 드라큘라 전역 다크(호버) 시 bat.gif 가독성 */
body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
  .ae-interview-marquee
  .ae-interview-card--dracula
  .ae-dracula-bat {
  filter: brightness(1.48) contrast(1.12);
}

/* 글로우용 ::after는 사용하지 않음(스캔은 ::before만) */
.ae-interview-marquee .ae-interview-card--dracula::after {
  display: none;
}

.ae-interview-marquee .ae-interview-card__quote {
  flex: 0 1 auto;
  min-height: 0;
  margin: 11px 0 0;
  padding: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.52;
  letter-spacing: -0.015em;
  color: var(--ae-text);
  opacity: 0.92;
  width: 100%;
  max-width: 100%;
  word-break: keep-all;
  overflow-wrap: anywhere;
  display: block;
  overflow: visible;
  align-self: stretch;
}

/* transform 제외: forwards 시 호버 translateY가 무시되는 브라우저 동작 방지 */
@keyframes aeDraculaCardEnter {
  0% {
    opacity: 0;
    filter: blur(5px);
    box-shadow: 0 4px 22px rgba(25, 31, 40, 0.03);
  }
  28% {
    opacity: 1;
    filter: blur(0);
    box-shadow:
      0 14px 34px rgba(25, 31, 40, 0.11),
      0 0 0 1px rgba(48, 48, 52, 0.1),
      0 4px 22px rgba(25, 31, 40, 0.06);
  }
  65% {
    box-shadow: 0 8px 26px rgba(25, 31, 40, 0.075), 0 4px 22px rgba(25, 31, 40, 0.07);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    box-shadow: 0 4px 22px rgba(25, 31, 40, 0.07);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ae-interview-marquee .ae-interview-card--dracula {
    opacity: 0;
    animation: aeDraculaCardEnter 0.88s cubic-bezier(0.34, 1.12, 0.64, 1) forwards;
    transition:
      background 0.55s cubic-bezier(0.33, 1, 0.68, 1),
      border-color 0.45s ease,
      box-shadow 0.55s cubic-bezier(0.33, 1.1, 0.68, 1),
      transform 0.65s cubic-bezier(0.33, 1.28, 0.55, 1);
  }

  /* 입장 animation forwards가 box-shadow 등을 점유 → 호버 스타일·transform 무력화 방지 */
  .ae-interview-marquee .ae-interview-card--dracula:hover,
  .ae-interview-marquee .ae-interview-card--dracula:focus-within {
    animation: none;
    opacity: 1;
    filter: none;
  }

  /* 마퀴에 드라큘라가 하나라도 호버/포커스면 나머지 드라큘라 카드도 입장 애니 해제(동기) */
  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
    .ae-interview-marquee
    .ae-interview-card--dracula {
    animation: none;
    opacity: 1;
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ae-interview-marquee .ae-interview-card--dracula {
    opacity: 1;
    animation: none;
    transition:
      background 0.45s ease,
      border-color 0.4s ease,
      box-shadow 0.45s ease,
      transform 0.45s ease;
  }
}

.ae-interview-marquee .ae-interview-card--dracula .ae-interview-card__name,
.ae-interview-marquee .ae-interview-card--dracula .ae-interview-card__role,
.ae-interview-marquee .ae-interview-card--dracula .ae-interview-card__quote {
  transition: color 0.45s ease, opacity 0.45s ease;
}

.ae-interview-marquee .ae-interview-card--dracula .ae-interview-card__avatar {
  transition: box-shadow 0.45s ease, transform 0.5s cubic-bezier(0.33, 1.15, 0.68, 1);
}

/* 드라큘라 띄움·다크 호버: (hover:hover) 밖 — 터치·포커스에도 동일 적용 */
.ae-interview-marquee .ae-interview-card--dracula:hover,
.ae-interview-marquee .ae-interview-card--dracula:focus-within {
  transform: translateY(-15px) scale(1.045) rotate(-0.35deg);
  background: linear-gradient(148deg, #454a55 0%, #323740 34%, #252930 68%, #30353e 100%);
  border-color: rgba(255, 95, 95, 0.62);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.55),
    0 14px 34px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 120, 120, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 8;
}

/* 한 카드만 호버해도 마퀴 안 드라큘라 카드는 모두 동일 다크·띄움 */
body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
  .ae-interview-marquee
  .ae-interview-card--dracula {
  transform: translateY(-15px) scale(1.045) rotate(-0.35deg);
  background: linear-gradient(148deg, #454a55 0%, #323740 34%, #252930 68%, #30353e 100%);
  border-color: rgba(255, 95, 95, 0.62);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.55),
    0 14px 34px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 120, 120, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 8;
}

@media (hover: hover) {
  .ae-interview-card:hover,
  .ae-interview-card:focus-within {
    transform: translateY(-5px);
    box-shadow:
      0 22px 48px rgba(25, 31, 40, 0.12),
      0 10px 24px rgba(48, 117, 240, 0.1),
      0 0 0 1px rgba(48, 117, 240, 0.1);
    border-color: rgba(48, 117, 240, 0.22);
    z-index: 3;
  }

  /* 마퀴: 컴팩트 카드 호버 (그림자 과하게 번지지 않게). 드라큘라는 아래 전역 규칙에서 처리 */
  .ae-interview-marquee .ae-interview-card:hover:not(.ae-interview-card--dracula),
  .ae-interview-marquee .ae-interview-card:focus-within:not(.ae-interview-card--dracula) {
    transform: translateY(-4px);
    box-shadow:
      0 8px 22px rgba(25, 31, 40, 0.085),
      0 2px 8px rgba(25, 31, 40, 0.045),
      0 0 0 1px rgba(48, 117, 240, 0.14);
    border-color: rgba(48, 117, 240, 0.24);
  }

  .ae-interview-marquee .ae-interview-card--dracula:hover .ae-interview-card__name,
  .ae-interview-marquee .ae-interview-card--dracula:focus-within .ae-interview-card__name {
    color: #faf8f6;
  }

  .ae-interview-marquee .ae-interview-card--dracula:hover .ae-interview-card__role,
  .ae-interview-marquee .ae-interview-card--dracula:focus-within .ae-interview-card__role {
    color: rgba(255, 255, 255, 0.62);
  }

  .ae-interview-marquee .ae-interview-card--dracula:hover .ae-interview-card__quote,
  .ae-interview-marquee .ae-interview-card--dracula:focus-within .ae-interview-card__quote {
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
  }

  .ae-interview-marquee .ae-interview-card--dracula:hover .ae-interview-card__avatar,
  .ae-interview-marquee .ae-interview-card--dracula:focus-within .ae-interview-card__avatar {
    transform: scale(1.06);
    box-shadow:
      0 0 0 2px rgba(255, 110, 110, 0.65),
      0 6px 22px rgba(0, 0, 0, 0.45);
  }

  .ae-interview-marquee .ae-interview-card--dracula:hover .ae-interview-card__star,
  .ae-interview-marquee .ae-interview-card--dracula:focus-within .ae-interview-card__star {
    color: #ff8a8a;
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
    .ae-interview-marquee
    .ae-interview-card--dracula
    .ae-interview-card__name {
    color: #faf8f6;
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
    .ae-interview-marquee
    .ae-interview-card--dracula
    .ae-interview-card__role {
    color: rgba(255, 255, 255, 0.62);
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
    .ae-interview-marquee
    .ae-interview-card--dracula
    .ae-interview-card__quote {
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
    .ae-interview-marquee
    .ae-interview-card--dracula
    .ae-interview-card__avatar {
    transform: scale(1.06);
    box-shadow:
      0 0 0 2px rgba(255, 110, 110, 0.65),
      0 6px 22px rgba(0, 0, 0, 0.45);
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
    .ae-interview-marquee
    .ae-interview-card--dracula
    .ae-interview-card__star {
    color: #ff8a8a;
  }
}

@media (hover: none) {
  .ae-interview-marquee .ae-interview-card--dracula:active {
    transform: translateY(-13px) scale(1.04) rotate(-0.25deg);
    background: linear-gradient(148deg, #454a55 0%, #323740 34%, #252930 68%, #30353e 100%);
    border-color: rgba(255, 95, 95, 0.62);
    box-shadow:
      0 18px 48px rgba(0, 0, 0, 0.55),
      0 6px 22px rgba(0, 0, 0, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    z-index: 8;
  }

  .ae-interview-marquee .ae-interview-card--dracula:active .ae-interview-card__name {
    color: #faf8f6;
  }

  .ae-interview-marquee .ae-interview-card--dracula:active .ae-interview-card__role {
    color: rgba(255, 255, 255, 0.62);
  }

  .ae-interview-marquee .ae-interview-card--dracula:active .ae-interview-card__quote {
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
  }

  .ae-interview-marquee .ae-interview-card--dracula:active .ae-interview-card__avatar {
    transform: scale(1.06);
    box-shadow:
      0 0 0 2px rgba(255, 110, 110, 0.65),
      0 6px 22px rgba(0, 0, 0, 0.45);
  }

  .ae-interview-marquee .ae-interview-card--dracula:active .ae-interview-card__star {
    color: #ff8a8a;
  }
}

/* 스캔: 좌상→우하 (입장 1회 + 호버 반복) — 대비 약간 강화 */
.ae-interview-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  mix-blend-mode: screen;
  background: linear-gradient(
    135deg,
    transparent 32%,
    rgba(255, 255, 255, 0.5) 44%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.52) 56%,
    transparent 68%
  );
  background-size: 280% 280%;
  background-position: 0% 0%;
  background-repeat: no-repeat;
}

@media (hover: hover) {
  .ae-interview-card:hover::before,
  .ae-interview-card:focus-within::before {
    animation: aePricingDiagonalShineHover 2s cubic-bezier(0.42, 0.02, 0.58, 1) infinite;
  }
}

@media (hover: none) {
  .ae-interview-card:active::before,
  .ae-interview-card:focus-within::before {
    animation: aePricingDiagonalShineHover 2s cubic-bezier(0.42, 0.02, 0.58, 1) infinite;
  }
}

/* 드라큘라 카드: 스캔 광택을 흰색 → 크림슨 레드 */
@media (hover: hover) {
  .ae-interview-marquee .ae-interview-card--dracula:hover::before,
  .ae-interview-marquee .ae-interview-card--dracula:focus-within::before {
    mix-blend-mode: screen;
    background: linear-gradient(
      135deg,
      transparent 28%,
      rgba(255, 45, 55, 0.52) 40%,
      rgba(255, 130, 140, 0.98) 50%,
      rgba(255, 35, 55, 0.58) 60%,
      transparent 72%
    );
    background-size: 280% 280%;
    background-repeat: no-repeat;
  }

  body:is(.ae-dracula-interview-hover, :has(.ae-interview-marquee .ae-interview-card--dracula:is(:hover, :focus-within, :active)))
    .ae-interview-marquee
    .ae-interview-card--dracula::before {
    mix-blend-mode: screen;
    background: linear-gradient(
      135deg,
      transparent 28%,
      rgba(255, 45, 55, 0.52) 40%,
      rgba(255, 130, 140, 0.98) 50%,
      rgba(255, 35, 55, 0.58) 60%,
      transparent 72%
    );
    background-size: 280% 280%;
    background-repeat: no-repeat;
  }
}

@media (hover: none) {
  .ae-interview-marquee .ae-interview-card--dracula:active::before,
  .ae-interview-marquee .ae-interview-card--dracula:focus-within::before {
    mix-blend-mode: screen;
    background: linear-gradient(
      135deg,
      transparent 28%,
      rgba(255, 45, 55, 0.52) 40%,
      rgba(255, 130, 140, 0.98) 50%,
      rgba(255, 35, 55, 0.58) 60%,
      transparent 72%
    );
    background-size: 280% 280%;
    background-repeat: no-repeat;
  }
}

.ae-interview-conclusion {
  margin-top: clamp(48px, 6vw, 72px);
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
}

.ae-interview-conclusion .ae-kicker {
  flex: 0 0 auto;
  margin: 0;
}

.ae-interview-conclusion__text {
  flex: 1 1 260px;
  margin: 0;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.65;
  color: var(--ae-text-sub);
  max-width: 720px;
}

@media (max-width: 600px) {
  .ae-interview-conclusion {
    flex-direction: column;
  }
}

.ae-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ae-ease), transform 0.55s var(--ae-ease);
}

.ae-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Partner 채팅 Mock: 같은 요소의 .ae-reveal이 translateX를 덮어쓰던 문제 → 한 transform으로 합성 */
.ae-partner-opp__phone.ae-reveal {
  transform: translate(var(--ae-partner-phone-shift-x, 0px), 16px);
}

.ae-partner-opp__phone.ae-reveal.is-visible {
  transform: translate(var(--ae-partner-phone-shift-x, 0px), 0);
}

/* CTA 띠: reveal에 transform 쓰면 background-attachment:fixed가 무력화됨 → 페이드만 */
.ae-cta-band.ae-reveal {
  transform: none;
  opacity: 0;
  transition: opacity 0.55s var(--ae-ease);
}

.ae-cta-band.ae-reveal.is-visible {
  transform: none;
  opacity: 1;
}

/* 요금 그리드: 부모는 바로 보이게, 카드별 착지 + 카드별 스캔 */
.ae-reveal.ae-reveal--pricing {
  opacity: 1;
  transform: none;
  transition: none;
  position: relative;
  overflow: visible;
  perspective: 1600px;
}

.ae-reveal.ae-reveal--pricing:not(.is-visible) > article {
  opacity: 0;
  transform: translate3d(0, min(-42vh, -220px), 180px) scale(0.52);
  filter: blur(12px);
  pointer-events: none;
}

.ae-reveal.ae-reveal--pricing.is-visible > article {
  pointer-events: auto;
}

/* 앱 등 비호버 요금 카드: 호버 시 부유 + 반복 스캔 */
.ae-web-plan-grid:not(.ae-web-plan-grid--hover) .ae-web-plan:not(.ae-hover-plan) {
  position: relative;
  isolation: isolate;
  transition:
    transform 0.55s cubic-bezier(0.18, 0.92, 0.22, 1),
    box-shadow 0.5s ease,
    border-color 0.35s ease;
}

@media (hover: hover) {
  .ae-web-plan-grid:not(.ae-web-plan-grid--hover) .ae-web-plan:not(.ae-hover-plan):hover,
  .ae-web-plan-grid:not(.ae-web-plan-grid--hover) .ae-web-plan:not(.ae-hover-plan):focus-within {
    transform: translateY(-22px) scale(1.03);
    box-shadow:
      0 28px 64px rgba(25, 31, 40, 0.18),
      0 12px 28px rgba(48, 117, 240, 0.12),
      0 0 0 1px rgba(48, 117, 240, 0.12);
    z-index: 4;
  }
}

.ae-web-plan-grid:not(.ae-web-plan-grid--hover) .ae-web-plan:not(.ae-hover-plan)::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  mix-blend-mode: screen;
  background: linear-gradient(
    135deg,
    transparent 34%,
    rgba(255, 255, 255, 0.42) 45%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.45) 55%,
    transparent 66%
  );
  background-size: 270% 270%;
  background-position: 0% 0%;
  background-repeat: no-repeat;
}

@media (hover: hover) {
  .ae-web-plan-grid:not(.ae-web-plan-grid--hover) .ae-web-plan:not(.ae-hover-plan):hover::before,
  .ae-web-plan-grid:not(.ae-web-plan-grid--hover) .ae-web-plan:not(.ae-hover-plan):focus-within::before {
    animation: aePricingDiagonalShineHover 2s cubic-bezier(0.42, 0.02, 0.58, 1) infinite;
  }
}

@media (hover: none) {
  .ae-web-plan-grid:not(.ae-web-plan-grid--hover) .ae-web-plan:not(.ae-hover-plan):active::before,
  .ae-web-plan-grid:not(.ae-web-plan-grid--hover) .ae-web-plan:not(.ae-hover-plan):focus-within::before {
    animation: aePricingDiagonalShineHover 2s cubic-bezier(0.42, 0.02, 0.58, 1) infinite;
  }
}

.ae-web-plan-grid:not(.ae-web-plan-grid--hover) .ae-web-plan:not(.ae-hover-plan) > * {
  position: relative;
  z-index: 4;
}

.ae-web-plan-grid:not(.ae-web-plan-grid--hover) .ae-web-plan:not(.ae-hover-plan):focus {
  outline: none;
}

.ae-web-plan-grid:not(.ae-web-plan-grid--hover) .ae-web-plan:not(.ae-hover-plan):focus-visible {
  outline: 2px solid rgba(48, 117, 240, 0.55);
  outline-offset: 3px;
}

/* 아이언맨식 급강하 후 착지(살짝 튀었다가 정착) */
@keyframes aePricingIronLandL {
  0% {
    opacity: 0;
    transform: translate3d(-17%, min(-90vh, -540px), 220px) scale(0.42) rotateZ(-9deg);
    filter: blur(18px);
  }
  46% {
    opacity: 1;
    filter: blur(0);
  }
  56% {
    transform: translate3d(0, 26px, 0) scale(1.11) rotateZ(0deg);
  }
  70% {
    transform: translate3d(0, -14px, 0) scale(0.92) rotateZ(0deg);
  }
  84% {
    transform: translate3d(0, 6px, 0) scale(1.04) rotateZ(0deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotateZ(0deg);
    filter: blur(0);
  }
}

@keyframes aePricingIronLandC {
  0% {
    opacity: 0;
    transform: translate3d(0, min(-94vh, -580px), 280px) scale(0.4) rotateZ(0deg);
    filter: blur(20px);
  }
  46% {
    opacity: 1;
    filter: blur(0);
  }
  56% {
    transform: translate3d(0, 28px, 0) scale(1.12) rotateZ(0deg);
  }
  70% {
    transform: translate3d(0, -15px, 0) scale(0.91) rotateZ(0deg);
  }
  84% {
    transform: translate3d(0, 7px, 0) scale(1.05) rotateZ(0deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotateZ(0deg);
    filter: blur(0);
  }
}

@keyframes aePricingIronLandR {
  0% {
    opacity: 0;
    transform: translate3d(17%, min(-90vh, -540px), 220px) scale(0.42) rotateZ(9deg);
    filter: blur(18px);
  }
  46% {
    opacity: 1;
    filter: blur(0);
  }
  56% {
    transform: translate3d(0, 26px, 0) scale(1.11) rotateZ(0deg);
  }
  70% {
    transform: translate3d(0, -14px, 0) scale(0.92) rotateZ(0deg);
  }
  84% {
    transform: translate3d(0, 6px, 0) scale(1.04) rotateZ(0deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotateZ(0deg);
    filter: blur(0);
  }
}

@keyframes aePricingIronLandHeavy {
  0% {
    opacity: 0;
    transform: translate3d(0, min(-52vh, -320px), 90px) scale(0.66);
    filter: blur(12px);
  }
  50% {
    opacity: 1;
    filter: blur(0);
  }
  62% {
    transform: translate3d(0, 18px, 0) scale(1.07);
  }
  76% {
    transform: translate3d(0, -9px, 0) scale(0.94);
  }
  90% {
    transform: translate3d(0, 4px, 0) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

/* 요금 스캔: 왼쪽 위 → 오른쪽 아래 대각선 1회(입장) */
@keyframes aePricingDiagonalShineIn {
  0% {
    background-position: -10% -10%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  76% {
    background-position: 110% 110%;
    opacity: 1;
  }
  100% {
    background-position: 110% 110%;
    opacity: 0;
  }
}

/* 호버: 같은 방향만 반복 — 끝에서 페이드 후 다시 좌상에서 시작 */
@keyframes aePricingDiagonalShineHover {
  0% {
    background-position: -14% -14%;
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  78% {
    background-position: 114% 114%;
    opacity: 1;
  }
  90% {
    opacity: 0;
  }
  100% {
    background-position: 114% 114%;
    opacity: 0;
  }
}

.ae-web-plan-grid--hover.ae-reveal--pricing.is-visible > .ae-hover-plan:nth-child(1) {
  animation: aePricingIronLandL 1.52s cubic-bezier(0.18, 0.82, 0.28, 1) 0s both;
  transform-style: preserve-3d;
}

.ae-web-plan-grid--hover.ae-reveal--pricing.is-visible > .ae-hover-plan:nth-child(2) {
  animation: aePricingIronLandC 1.52s cubic-bezier(0.18, 0.82, 0.28, 1) 0.78s both;
  transform-style: preserve-3d;
}

.ae-web-plan-grid--hover.ae-reveal--pricing.is-visible > .ae-hover-plan:nth-child(3) {
  animation: aePricingIronLandR 1.52s cubic-bezier(0.18, 0.82, 0.28, 1) 1.56s both;
  transform-style: preserve-3d;
}

/* 앱 등: 기본형(n=1)부터 한 대씩 순서대로 착지 */
.ae-web-plan-grid:not(.ae-web-plan-grid--hover).ae-reveal--pricing.is-visible > .ae-web-plan:nth-child(1) {
  animation: aePricingIronLandL 1.46s cubic-bezier(0.18, 0.82, 0.28, 1) 0s both;
  transform-style: preserve-3d;
}

.ae-web-plan-grid:not(.ae-web-plan-grid--hover).ae-reveal--pricing.is-visible > .ae-web-plan:nth-child(2) {
  animation: aePricingIronLandC 1.46s cubic-bezier(0.18, 0.82, 0.28, 1) 0.76s both;
  transform-style: preserve-3d;
}

.ae-web-plan-grid:not(.ae-web-plan-grid--hover).ae-reveal--pricing.is-visible > .ae-web-plan:nth-child(3) {
  animation: aePricingIronLandR 1.46s cubic-bezier(0.18, 0.82, 0.28, 1) 1.52s both;
  transform-style: preserve-3d;
}

.ae-web-plan-grid:not(.ae-web-plan-grid--hover).ae-reveal--pricing.is-visible > .ae-web-plan:nth-child(4) {
  animation: aePricingIronLandL 1.42s cubic-bezier(0.18, 0.82, 0.28, 1) 2.28s both;
  transform-style: preserve-3d;
}

.ae-web-plan-grid:not(.ae-web-plan-grid--hover).ae-reveal--pricing.is-visible > .ae-web-plan:nth-child(5) {
  animation: aePricingIronLandC 1.42s cubic-bezier(0.18, 0.82, 0.28, 1) 3.04s both;
  transform-style: preserve-3d;
}

.ae-web-plan-grid:not(.ae-web-plan-grid--hover).ae-reveal--pricing.is-visible > .ae-web-plan:nth-child(6) {
  animation: aePricingIronLandR 1.42s cubic-bezier(0.18, 0.82, 0.28, 1) 3.8s both;
  transform-style: preserve-3d;
}

.ae-web-plan-grid:not(.ae-web-plan-grid--hover).ae-reveal--pricing.is-visible > .ae-web-plan:nth-child(n + 7) {
  animation: aePricingIronLandHeavy 1.36s cubic-bezier(0.18, 0.82, 0.3, 1) 4.56s both;
  transform-style: preserve-3d;
}

/* 카드마다 착지 직후 사선 스캔 1회 — 호버 카드(셸) */
.ae-web-plan-grid--hover.ae-reveal--pricing.is-visible > .ae-hover-plan .ae-hover-plan__shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
  opacity: 0;
  background: linear-gradient(
    135deg,
    transparent 34%,
    rgba(255, 255, 255, 0.4) 45%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.42) 55%,
    transparent 66%
  );
  background-size: 270% 270%;
  background-position: 0% 0%;
  background-repeat: no-repeat;
  animation: aePricingDiagonalShineIn 0.95s cubic-bezier(0.42, 0.02, 0.48, 1) 0s both;
}

.ae-web-plan-grid--hover.ae-reveal--pricing.is-visible > .ae-hover-plan:nth-child(1) .ae-hover-plan__shell::after {
  animation-delay: 0.85s;
}

.ae-web-plan-grid--hover.ae-reveal--pricing.is-visible > .ae-hover-plan:nth-child(2) .ae-hover-plan__shell::after {
  animation-delay: 1.63s;
}

.ae-web-plan-grid--hover.ae-reveal--pricing.is-visible > .ae-hover-plan:nth-child(3) .ae-hover-plan__shell::after {
  animation-delay: 2.41s;
}

/* 앱 카드: 입장 스캔(::before는 호버 전용) */
.ae-web-plan-grid:not(.ae-web-plan-grid--hover).ae-reveal--pricing.is-visible > .ae-web-plan::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 5;
  mix-blend-mode: screen;
  opacity: 0;
  background: linear-gradient(
    135deg,
    transparent 34%,
    rgba(255, 255, 255, 0.38) 45%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.4) 55%,
    transparent 66%
  );
  background-size: 270% 270%;
  background-position: 0% 0%;
  background-repeat: no-repeat;
  animation: aePricingDiagonalShineIn 0.95s cubic-bezier(0.42, 0.02, 0.48, 1) 0s both;
}

.ae-web-plan-grid:not(.ae-web-plan-grid--hover).ae-reveal--pricing.is-visible > .ae-web-plan:nth-child(1)::after {
  animation-delay: 0.82s;
}

.ae-web-plan-grid:not(.ae-web-plan-grid--hover).ae-reveal--pricing.is-visible > .ae-web-plan:nth-child(2)::after {
  animation-delay: 1.58s;
}

.ae-web-plan-grid:not(.ae-web-plan-grid--hover).ae-reveal--pricing.is-visible > .ae-web-plan:nth-child(3)::after {
  animation-delay: 2.34s;
}

.ae-web-plan-grid:not(.ae-web-plan-grid--hover).ae-reveal--pricing.is-visible > .ae-web-plan:nth-child(4)::after {
  animation-delay: 3.07s;
}

.ae-web-plan-grid:not(.ae-web-plan-grid--hover).ae-reveal--pricing.is-visible > .ae-web-plan:nth-child(5)::after {
  animation-delay: 3.83s;
}

.ae-web-plan-grid:not(.ae-web-plan-grid--hover).ae-reveal--pricing.is-visible > .ae-web-plan:nth-child(6)::after {
  animation-delay: 4.59s;
}

.ae-web-plan-grid:not(.ae-web-plan-grid--hover).ae-reveal--pricing.is-visible > .ae-web-plan:nth-child(n + 7)::after {
  animation-delay: 5.28s;
}

@media (prefers-reduced-motion: reduce) {
  .ae-reveal.ae-reveal--pricing {
    perspective: none;
  }

  .ae-reveal.ae-reveal--pricing:not(.is-visible) > article {
    opacity: 1;
    transform: none;
    filter: none;
    pointer-events: auto;
  }

  .ae-reveal.ae-reveal--pricing.is-visible > article,
  .ae-web-plan-grid--hover.ae-reveal--pricing.is-visible > .ae-hover-plan,
  .ae-web-plan-grid:not(.ae-web-plan-grid--hover).ae-reveal--pricing.is-visible > .ae-web-plan {
    animation: none !important;
  }

  .ae-web-plan-grid--hover.ae-reveal--pricing.is-visible > .ae-hover-plan .ae-hover-plan__shell::after,
  .ae-web-plan-grid:not(.ae-web-plan-grid--hover).ae-reveal--pricing.is-visible > .ae-web-plan::after {
    animation: none !important;
    opacity: 0 !important;
    content: none !important;
  }

  .ae-hover-plan__shell::before {
    animation: none !important;
    opacity: 0 !important;
  }

  .ae-web-plan-grid:not(.ae-web-plan-grid--hover) .ae-web-plan:not(.ae-hover-plan)::before {
    animation: none !important;
    opacity: 0 !important;
  }

  .ae-hover-plan__drawer::before {
    animation: none !important;
    opacity: 0 !important;
  }

  .ae-web-plan-grid:not(.ae-web-plan-grid--hover) .ae-web-plan:not(.ae-hover-plan):hover,
  .ae-web-plan-grid:not(.ae-web-plan-grid--hover) .ae-web-plan:not(.ae-hover-plan):focus-within {
    transform: none;
    box-shadow: 0 4px 20px rgba(25, 31, 40, 0.07);
    z-index: auto;
  }

  .ae-interview-marquee__row--ltr .ae-interview-marquee__track,
  .ae-interview-marquee__row--rtl .ae-interview-marquee__track {
    animation: none !important;
  }

  .ae-interview-marquee__row {
    -webkit-mask-image: none;
    mask-image: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .ae-interview-card::before {
    animation: none !important;
    opacity: 0 !important;
  }

  .ae-interview-card:hover,
  .ae-interview-card:focus-within {
    transform: none;
    box-shadow: 0 4px 24px rgba(25, 31, 40, 0.06);
    border-color: var(--ae-border);
    z-index: auto;
  }
}

/* 호버 요금 그리드: 펼침 패널 transform은 카드 자체에만 적용 */
.ae-web-plan-grid--hover.ae-reveal.is-visible {
  transform: none;
}

.ae-note {
  font-size: 16px;
  color: var(--ae-text-muted);
  line-height: 1.7;
}

.ae-map-placeholder {
  background: var(--ae-bg-muted);
  border: 1px dashed var(--ae-border);
  border-radius: var(--ae-radius);
  aspect-ratio: 21/9;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ae-text-muted);
  font-size: 17px;
}

@media (max-width: 768px) {
  .ae-map-placeholder {
    aspect-ratio: 4/3;
  }
}

.ae-faq-item {
  border-bottom: 1px solid var(--ae-border);
  padding: 28px 0;
}

.ae-faq-item strong {
  display: block;
  font-size: 18px;
  margin-bottom: 12px;
}

.ae-faq-item p {
  font-size: 16px;
  color: var(--ae-text-sub);
  line-height: 1.65;
}

/* 홈페이지 제작 — 요금제 테이블 카드 (3×2 그리드) */
.ae-web-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
  align-items: start;
}

@media (max-width: 1100px) {
  .ae-web-plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .ae-web-plan-grid {
    grid-template-columns: 1fr;
  }
}

.ae-web-plan-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 720px) {
  .ae-web-plan-grid--2 {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

.ae-web-plan {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ae-border);
  background: #fff;
  box-shadow: 0 4px 20px rgba(25, 31, 40, 0.07);
}

.ae-web-plan-head {
  margin: 0;
  padding: 11px 12px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.ae-web-plan--basic .ae-web-plan-head {
  background: var(--ae-primary);
}

.ae-web-plan--premium .ae-web-plan-head {
  background: #1b2233;
}

.ae-web-plan-sub {
  margin: 0;
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ae-text-sub);
  background: #eef1f6;
  text-align: center;
  line-height: 1.35;
  border-bottom: 1px solid var(--ae-border);
}

.ae-web-plan-body {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.ae-web-plan-kv {
  display: grid;
  grid-template-columns: minmax(72px, 27.5%) 1fr;
  font-size: 12.5px;
  line-height: 1.38;
  border-top: 1px solid var(--ae-border);
}

.ae-web-plan-body > .ae-web-plan-kv:first-child {
  border-top: none;
}

.ae-web-plan-k {
  padding: 7px 8px;
  background: #e8eaee;
  color: var(--ae-text);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: -0.02em;
}

.ae-web-plan-v {
  padding: 7px 9px;
  background: #fff;
  color: var(--ae-text);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.ae-web-plan-kv--price .ae-web-plan-v {
  font-weight: 700;
  font-size: 14px;
  color: var(--ae-primary);
  line-height: 1.35;
}

.ae-web-plan-note {
  margin: 0;
  padding: 7px 10px 9px;
  font-size: 10.5px;
  color: var(--ae-text-muted);
  text-align: center;
  background: #f7f8fa;
  border-top: 1px solid var(--ae-border);
  line-height: 1.38;
  flex-shrink: 0;
}

/* 요금 카드 맨 하단 — 본문 radius와 맞춤 */
.ae-web-plan > .ae-web-plan-note:last-child {
  border-radius: 0 0 11px 11px;
}

.ae-web-plan-sub-tag {
  color: var(--ae-primary);
  font-weight: 700;
}

.ae-web-plan-kv--accent .ae-web-plan-v {
  color: var(--ae-primary);
  font-weight: 600;
}

.ae-web-plan-kv--price .ae-web-plan-vat {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.92;
}

.ae-web-plan-tip {
  display: block;
  margin-top: 4px;
  font-size: 9.5px;
  font-weight: 400;
  color: var(--ae-text-muted);
  line-height: 1.42;
}

/* 요금 카드 — 요약면 + 호버·포커스 시 세부사항 펼침 */
.ae-web-plan-grid--hover {
  position: relative;
  z-index: 5;
  overflow: visible;
  align-items: stretch;
}

.ae-web-plan-grid--hover > .ae-web-plan.ae-hover-plan {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ae-web-plan-grid--hover .ae-hover-plan__shell {
  flex: 1 1 auto;
  height: 100%;
  min-height: 100%;
}

/* 세부사항 드로어가 아래 섹션(CTA 등)에 가리지 않도록 섹션 전체 스택 상승 */
.ae-section:has(.ae-web-plan-grid--hover) {
  position: relative;
}

.ae-section:has(.ae-web-plan-grid--hover):has(.ae-hover-plan:hover),
.ae-section:has(.ae-web-plan-grid--hover):has(.ae-hover-plan:focus-within),
.ae-section:has(.ae-web-plan-grid--hover):has(.ae-hover-plan.is-touch-open) {
  z-index: 900;
}

.ae-hover-plan.ae-web-plan {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

/* 같은 z-index → DOM 뒤(오른쪽/아래 카드)가 앞에 그려져 세부사항이 옆 카드 뒤로 깔림 */
.ae-hover-plan {
  position: relative;
  z-index: 1;
}

.ae-hover-plan__shell {
  position: relative;
  isolation: isolate;
  border-radius: 14px;
  border: 1px solid var(--ae-border);
  background: #fff;
  box-shadow:
    0 6px 28px rgba(25, 31, 40, 0.09),
    0 2px 8px rgba(25, 31, 40, 0.04);
  overflow: visible;
  display: flex;
  flex-direction: column;
  transform: translateY(-4px);
  transition:
    box-shadow 0.52s cubic-bezier(0.18, 0.92, 0.22, 1),
    border-radius 0.42s ease,
    border-color 0.35s ease,
    transform 0.52s cubic-bezier(0.18, 0.92, 0.22, 1);
}

.ae-hover-plan__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  mix-blend-mode: screen;
  background: linear-gradient(
    135deg,
    transparent 34%,
    rgba(255, 255, 255, 0.4) 45%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.42) 55%,
    transparent 66%
  );
  background-size: 270% 270%;
  background-position: 0% 0%;
  background-repeat: no-repeat;
}

.ae-hover-plan__surface,
.ae-hover-plan__hint {
  position: relative;
  z-index: 1;
}

@media (hover: hover) {
  .ae-hover-plan:hover,
  .ae-hover-plan:focus-within {
    z-index: 14;
  }

  .ae-hover-plan:hover .ae-hover-plan__shell,
  .ae-hover-plan:focus-within .ae-hover-plan__shell {
    border-radius: 14px 14px 0 0;
    border-color: rgba(48, 117, 240, 0.35);
    transform: translateY(-28px) scale(1.035);
    box-shadow:
      0 36px 72px rgba(25, 31, 40, 0.2),
      0 16px 36px rgba(48, 117, 240, 0.18),
      0 0 0 1px rgba(48, 117, 240, 0.16);
  }

  .ae-hover-plan:hover .ae-hover-plan__shell::before,
  .ae-hover-plan:focus-within .ae-hover-plan__shell::before {
    animation: aePricingDiagonalShineHover 2s cubic-bezier(0.42, 0.02, 0.58, 1) infinite;
  }
}

@media (hover: none) {
  .ae-hover-plan.is-touch-open {
    z-index: 14;
  }

  .ae-hover-plan.is-touch-open .ae-hover-plan__shell {
    border-radius: 14px 14px 0 0;
    border-color: rgba(48, 117, 240, 0.35);
    transform: translateY(-28px) scale(1.035);
    box-shadow:
      0 36px 72px rgba(25, 31, 40, 0.2),
      0 16px 36px rgba(48, 117, 240, 0.18),
      0 0 0 1px rgba(48, 117, 240, 0.16);
  }

  .ae-hover-plan.is-touch-open .ae-hover-plan__shell::before {
    animation: aePricingDiagonalShineHover 2s cubic-bezier(0.42, 0.02, 0.58, 1) infinite;
  }
}

.ae-hover-plan__surface {
  padding: 22px 20px 18px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* 요금 카드 상단 — 메인 컬러, 좌(기본)→우(최고급)로 단계적으로 어두움 */
.ae-hover-plan__cap {
  margin: -22px -20px 0;
  padding: 20px 20px 16px;
  border-radius: 13px 13px 0 0;
  text-align: center;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.22);
}

.ae-web-plan-grid--hover > .ae-hover-plan:nth-child(1) .ae-hover-plan__cap {
  background: linear-gradient(165deg, #93b7fb, #74a6f6);
}

.ae-web-plan-grid--hover > .ae-hover-plan:nth-child(2) .ae-hover-plan__cap {
  background: linear-gradient(165deg, #3075f0, #2563eb);
}

.ae-web-plan-grid--hover > .ae-hover-plan:nth-child(3) .ae-hover-plan__cap {
  background: linear-gradient(165deg, #2457b8, #1a458f);
}

@supports (color: color-mix(in srgb, white, black)) {
  .ae-web-plan-grid--hover > .ae-hover-plan:nth-child(1) .ae-hover-plan__cap {
    background: linear-gradient(
      165deg,
      color-mix(in srgb, var(--ae-primary) 58%, white 42%),
      color-mix(in srgb, var(--ae-primary) 72%, white 28%)
    );
  }

  .ae-web-plan-grid--hover > .ae-hover-plan:nth-child(2) .ae-hover-plan__cap {
    background: linear-gradient(
      165deg,
      var(--ae-primary),
      color-mix(in srgb, var(--ae-primary) 88%, #0f172a 12%)
    );
  }

  .ae-web-plan-grid--hover > .ae-hover-plan:nth-child(3) .ae-hover-plan__cap {
    background: linear-gradient(
      165deg,
      color-mix(in srgb, var(--ae-primary) 72%, #0f172a 28%),
      color-mix(in srgb, var(--ae-primary) 52%, #0f172a 48%)
    );
  }
}

.ae-hover-plan__cap .ae-hover-plan__title {
  color: #fff;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.18);
}

.ae-hover-plan__cap .ae-hover-plan__lead {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.92);
}

.ae-hover-plan__cap .ae-web-plan-sub-tag {
  color: rgba(255, 255, 255, 0.98);
}

.ae-hover-plan__title {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ae-text);
  text-align: center;
  line-height: 1.2;
}

.ae-hover-plan__lead {
  margin: 0 0 16px;
  text-align: center;
  font-size: 13px;
  color: var(--ae-text-sub);
  line-height: 1.45;
}

.ae-hover-plan__rule {
  margin: 0 0 0;
  border: none;
  border-top: 1px solid var(--ae-border);
}

.ae-hover-plan__summary {
  margin: 14px 0 0;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* 카드 높이가 같을 때 힌트를 하단에 정렬 */
.ae-hover-plan__surface::after {
  content: "";
  flex: 1 1 0;
  min-height: 0;
}

.ae-hover-plan__sum-row {
  display: grid;
  grid-template-columns: minmax(5.5rem, 32%) 1fr;
  column-gap: 12px;
  align-items: start;
  padding: 11px 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  border-bottom: 1px solid rgba(25, 31, 40, 0.07);
}

.ae-hover-plan__sum-row:first-of-type {
  padding-top: 4px;
}

.ae-hover-plan__sum-row:last-of-type {
  border-bottom: none;
  padding-bottom: 4px;
}

.ae-hover-plan__sum-row dt {
  margin: 0;
  padding-top: 1px;
  color: var(--ae-text-muted);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ae-hover-plan__sum-row dd {
  margin: 0;
  text-align: right;
  color: var(--ae-text);
  font-weight: 500;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.ae-hover-plan__sum-row--price dd {
  display: block;
}

/* 가격 영역 — 우측 정렬 스택 */
.ae-hover-plan__price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  width: 100%;
}

.ae-hover-plan__price-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: 6px 8px;
}

.ae-hover-plan__price-wrap .ae-web-plan-priceval {
  font-size: 17px;
  font-weight: 800;
  color: var(--ae-text);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

/* 최고급형 · 단일 문의가 등 (메인 금액과 동일 위계) */
.ae-hover-plan__price-hero {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ae-text);
  line-height: 1.25;
}

.ae-hover-plan__price-caption {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--ae-text-sub);
  line-height: 1.4;
}

/* 보조 · 총액·조건 안내 */
.ae-hover-plan__total-muted {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: right;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--ae-text-muted);
  opacity: 0.82;
}

.ae-hover-plan__total-muted .ae-web-plan-totalval {
  font-weight: 600;
  color: inherit;
}

.ae-hover-plan__cta {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 11px 14px;
  border-radius: 8px;
  background: #5d6778;
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.ae-hover-plan__cta:hover {
  background: #4c5362;
  color: #fff;
}

.ae-hover-plan__hint {
  flex-shrink: 0;
  margin: 0;
  padding-top: 18px;
  font-size: 11px;
  color: var(--ae-text-muted);
  text-align: center;
  line-height: 1.45;
  opacity: 0.9;
}

@media (hover: none) {
  .ae-hover-plan__hint {
    font-size: 10.5px;
  }
}

/* 세부사항: 위→아래 커튼처럼 clip-path로 펼침 */
.ae-hover-plan__drawer {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 100;
  margin-top: -1px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  overflow-x: hidden;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transform: translateZ(0);
  isolation: isolate;
  transition:
    clip-path 0.48s cubic-bezier(0.32, 0.72, 0, 1),
    max-height 0.48s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.2s ease 0.08s,
    visibility 0s linear 0.48s,
    box-shadow 0.32s ease 0.06s,
    border-color 0.2s ease;
  border: 1px solid var(--ae-border);
  border-top: 1px solid rgba(25, 31, 40, 0.06);
  border-radius: 0 0 14px 14px;
  background: #f6f7f9;
  box-shadow: none;
  pointer-events: none;
  will-change: clip-path, max-height, opacity;
}

.ae-hover-plan__drawer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0 0 14px 14px;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  mix-blend-mode: screen;
  background: linear-gradient(
    135deg,
    transparent 34%,
    rgba(255, 255, 255, 0.36) 45%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.38) 55%,
    transparent 66%
  );
  background-size: 270% 270%;
  background-position: 0% 0%;
  background-repeat: no-repeat;
}

.ae-hover-plan__drawer-inner {
  position: relative;
  z-index: 2;
  padding: 14px 14px 16px;
  background: #f6f7f9;
  border-radius: 0 0 13px 13px;
  overflow: hidden;
}

.ae-hover-plan__drawer-label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ae-text-muted);
  text-align: center;
}

.ae-hover-plan__drawer .ae-web-plan-body {
  margin-top: 8px;
  border: 1px solid var(--ae-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.ae-hover-plan__drawer .ae-web-plan-kv {
  font-size: 13px;
  line-height: 1.42;
}

.ae-hover-plan__drawer .ae-web-plan-body > .ae-web-plan-kv:first-child {
  border-top: none;
}

.ae-hover-plan__drawer .ae-web-plan-note {
  margin-top: 8px;
  margin-bottom: 0;
  border-radius: 10px 10px 12px 12px;
  border: 1px solid var(--ae-border);
  background: #fff;
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.45;
}

@media (hover: hover) {
  .ae-hover-plan:hover .ae-hover-plan__drawer,
  .ae-hover-plan:focus-within .ae-hover-plan__drawer {
    visibility: visible;
    transition-delay: 0s, 0s, 0s, 0s, 0s, 0s;
    clip-path: inset(0 0 0 0);
    max-height: min(960px, 85vh);
    opacity: 1;
    box-shadow:
      0 18px 48px rgba(25, 31, 40, 0.16),
      0 0 0 1px rgba(25, 31, 40, 0.05);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
    will-change: auto;
  }

  .ae-hover-plan:hover .ae-hover-plan__drawer::before,
  .ae-hover-plan:focus-within .ae-hover-plan__drawer::before {
    animation: aePricingDiagonalShineHover 2s cubic-bezier(0.42, 0.02, 0.58, 1) infinite;
  }
}

@media (hover: none) {
  .ae-hover-plan.is-touch-open .ae-hover-plan__drawer {
    visibility: visible;
    transition-delay: 0s, 0s, 0s, 0s, 0s, 0s;
    clip-path: inset(0 0 0 0);
    max-height: min(960px, 85vh);
    opacity: 1;
    box-shadow:
      0 18px 48px rgba(25, 31, 40, 0.16),
      0 0 0 1px rgba(25, 31, 40, 0.05);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
    will-change: auto;
  }

  .ae-hover-plan.is-touch-open .ae-hover-plan__drawer::before {
    animation: aePricingDiagonalShineHover 2s cubic-bezier(0.42, 0.02, 0.58, 1) infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ae-hover-plan__shell {
    transition: none;
    transform: translateY(-4px);
  }

  .ae-hover-plan__shell::before {
    animation: none !important;
    opacity: 0 !important;
  }

  .ae-hover-plan__drawer::before {
    animation: none !important;
    opacity: 0 !important;
  }

  .ae-hover-plan__drawer {
    clip-path: none;
    transition:
      opacity 0.15s ease,
      max-height 0.22s ease,
      visibility 0s linear 0.22s,
      box-shadow 0.18s ease;
    will-change: auto;
  }

  @media (hover: hover) {
    .ae-hover-plan:hover .ae-hover-plan__shell,
    .ae-hover-plan:focus-within .ae-hover-plan__shell {
      transform: translateY(-4px) scale(1);
      box-shadow:
        0 6px 28px rgba(25, 31, 40, 0.09),
        0 2px 8px rgba(25, 31, 40, 0.04);
    }

    .ae-hover-plan:hover .ae-hover-plan__drawer,
    .ae-hover-plan:focus-within .ae-hover-plan__drawer {
      max-height: min(960px, 85vh);
      opacity: 1;
      visibility: visible;
      clip-path: none;
    }
  }

  @media (hover: none) {
    .ae-hover-plan.is-touch-open .ae-hover-plan__shell {
      transform: translateY(-4px) scale(1);
      box-shadow:
        0 6px 28px rgba(25, 31, 40, 0.09),
        0 2px 8px rgba(25, 31, 40, 0.04);
    }

    .ae-hover-plan.is-touch-open .ae-hover-plan__drawer {
      max-height: min(960px, 85vh);
      opacity: 1;
      visibility: visible;
      clip-path: none;
    }
  }
}

/* 쇼핑몰 — PRO / PREMIUM / BRAND (오렌지 톤 카드) */
.ae-shop-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
  align-items: stretch;
}

@media (max-width: 1100px) {
  .ae-shop-plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .ae-shop-plan-grid {
    grid-template-columns: 1fr;
  }
}

.ae-shop-plan {
  --ae-shop-orange: #e94a18;
  --ae-shop-orange-deep: #c73a0f;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(233, 74, 24, 0.22);
  background: #fff;
  box-shadow: 0 6px 28px rgba(25, 31, 40, 0.1);
}

.ae-shop-plan-head {
  margin: 0;
  padding: 18px 16px 17px;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  background: linear-gradient(165deg, #ff6b2e 0%, var(--ae-shop-orange) 45%, var(--ae-shop-orange-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.2;
}

.ae-shop-plan-best {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 11px 4px 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #1a1a1a;
  background: linear-gradient(180deg, #ffe566 0%, #ffd23a 100%);
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.ae-shop-plan-best-icon {
  font-size: 13px;
  line-height: 1;
}

.ae-shop-plan-sub {
  margin: 0;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  text-align: center;
  line-height: 1.55;
  background: #e4ecf5;
  border-bottom: 1px solid #c8d4e4;
}

.ae-shop-plan-sub-tag {
  color: var(--ae-shop-orange-deep);
  font-weight: 800;
}

.ae-shop-plan-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.ae-shop-plan-kv {
  display: grid;
  grid-template-columns: minmax(86px, 30%) 1fr;
  font-size: 12.5px;
  line-height: 1.55;
  border-top: 1px solid var(--ae-border);
}

.ae-shop-plan-body > .ae-shop-plan-kv:first-child {
  border-top: none;
}

.ae-shop-plan-k {
  padding: 10px 11px;
  background: #eef1f5;
  color: var(--ae-text);
  font-weight: 700;
  display: flex;
  align-items: center;
}

.ae-shop-plan-v {
  padding: 10px 11px;
  background: #fff;
  color: var(--ae-text);
}

.ae-shop-plan-kv--accent .ae-shop-plan-v {
  color: var(--ae-shop-orange-deep);
  font-weight: 600;
}

.ae-shop-plan-kv--price .ae-shop-plan-v {
  font-weight: 800;
  font-size: 15px;
  color: var(--ae-shop-orange-deep);
}

.ae-shop-plan-vat {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.9;
}

.ae-shop-plan-foot {
  margin: 0;
  margin-top: auto;
  padding: 12px 14px 14px;
  font-size: 11px;
  color: var(--ae-text-muted);
  line-height: 1.5;
  text-align: left;
  background: #fafbfd;
  border-top: 1px solid var(--ae-border);
  border-radius: 0 0 12px 12px;
  flex-shrink: 0;
}
