/* ==========================================================================
   [AeroScale AI] 공식 웹사이트 메인 스타일시트
   도메인: aeroscale.evercode.me
   검색 키워드: [AEROSCALE_WEB_CSS], [DARK_THEME_SYSTEM], [GLASSMORPHISM]
   중복 정의 없음, 바닐라 CSS 최고 성능 및 Rich Visuals 구현
   ========================================================================== */

/* --------------------------------------------------------------------------
   [DESIGN_TOKENS] 디자인 시스템 CSS 변수 정의
   -------------------------------------------------------------------------- */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: rgba(22, 22, 32, 0.75);
  --bg-card-hover: rgba(30, 30, 44, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(41, 151, 255, 0.3);
  
  --text-main: #f5f5f7;
  --text-muted: #86868b;
  --text-sub: #a1a1a6;
  
  --accent-blue: #2997ff;
  --accent-blue-glow: rgba(41, 151, 255, 0.4);
  --accent-cyan: #00f2fe;
  --accent-orange: #ff9f0a;
  --accent-orange-glow: rgba(255, 159, 10, 0.35);
  --accent-green: #30d158;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
  --font-mono: "SF Mono", Menlo, Consolas, Monaco, monospace;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   [RESET_AND_BASE] 기본 리셋 및 전역 스타일
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 링크 및 버튼 커서 pointer 강제 (사용자 규칙 준수) */
a, button, input[type="button"], input[type="submit"], .btn, .interactive-tag {
  cursor: pointer;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   [TYPOGRAPHY] 텍스트 및 헤딩 스타일
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, #a1a1a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-accent {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-orange {
  background: linear-gradient(135deg, #ff9f0a 0%, #ff375f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   [NAVIGATION_BAR] 상단 GNB 네비게이션
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 10, 15, 0.75);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(41, 151, 255, 0.3);
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.apple-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #30d158;
  background: rgba(48, 209, 88, 0.12);
  border: 1px solid rgba(48, 209, 88, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-main);
}

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

/* 4개국어 언어 셀렉터 스타일 (cursor pointer 적용) */
.lang-select {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.lang-select:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.lang-select option {
  background: #181822;
  color: #ffffff;
  padding: 8px;
}

/* --------------------------------------------------------------------------
   [BUTTONS] 버튼 시스템
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, #0071e3 0%, #2997ff 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px var(--accent-blue-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(41, 151, 255, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   [HERO_SECTION] 히어로 섹션
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 170px 0 100px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(41, 151, 255, 0.18) 0%, rgba(0, 242, 254, 0.05) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-sub);
  margin-bottom: 36px;
  line-height: 1.7;
  /* 한글 어절 줄바꿈 유지: 단어 잘림 방지 */
  word-break: keep-all;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-main);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   [MULTIMODEL_SHOWCASE_TABS] 4대 전문 AI 모델 쇼케이스 탭 바 및 인터랙션 스타일
   -------------------------------------------------------------------------- */
.showcase-section {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
  word-break: keep-all; /* 단어 단위 줄바꿈으로 한 글자 분리 방지 */
}

.section-desc {
  color: var(--text-sub);
  font-size: 1.05rem;
  line-height: 1.6;
  /* 한글 어절 줄바꿈 유지: 단어 잘림 방지 */
  word-break: keep-all;
}

.showcase-tabs-container {
  max-width: 900px;
  margin: 0 auto 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.showcase-tabs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(22, 22, 29, 0.85);
  backdrop-filter: blur(16px);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  max-width: 100%;
}

.showcase-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  color: var(--text-sub);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer; /* 버튼 cursor pointer 필수 규칙 준수 */
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  user-select: none;
}

.showcase-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.showcase-tab.active {
  background: linear-gradient(135deg, rgba(41, 151, 255, 0.22) 0%, rgba(0, 242, 254, 0.15) 100%);
  border-color: rgba(41, 151, 255, 0.5);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(41, 151, 255, 0.25);
}

.showcase-tab .tab-icon {
  font-size: 1.1rem;
}

.model-badge-info {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--text-sub);
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.model-info-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 10px var(--accent-blue);
  flex-shrink: 0;
}

.model-info-text {
  line-height: 1.4;
}

.compare-card {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.compare-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  user-select: none;
}

.compare-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.compare-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
  border-right: 2px solid #ffffff;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.4);
}

.compare-overlay img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 900px;
  max-width: none;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.compare-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #ffffff;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  color: #121217;
  font-weight: 800;
  font-size: 14px;
}

.badge-label {
  position: absolute;
  bottom: 20px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 10;
}

.badge-before {
  left: 20px;
  color: #ff453a;
}

.badge-after {
  right: 20px;
  color: #30d158;
}

/* --------------------------------------------------------------------------
   [FEATURES_GRID] 4대 핵심 기능 그리드
   -------------------------------------------------------------------------- */
.features-section {
  padding: 90px 0;
  background: var(--bg-secondary);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  background: rgba(41, 151, 255, 0.12);
  color: var(--accent-blue);
  border: 1px solid rgba(41, 151, 255, 0.25);
}

.feature-card.orange .feature-icon {
  background: rgba(255, 159, 10, 0.12);
  color: var(--accent-orange);
  border-color: rgba(255, 159, 10, 0.25);
}

.feature-card.green .feature-icon {
  background: rgba(48, 209, 88, 0.12);
  color: var(--accent-green);
  border-color: rgba(48, 209, 88, 0.25);
}

/* [FEATURE_HIGHLIGHT_CARD] 1번 4K 초해상화 메인 기능 강조 카드 스타일 */
.feature-card.highlight {
  border-color: rgba(41, 151, 255, 0.35);
  background: linear-gradient(180deg, rgba(41, 151, 255, 0.08) 0%, rgba(22, 22, 32, 0.8) 100%);
}


.feature-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   [FAQ_SECTION] 자주 묻는 질문(FAQ) 스타일시트
   검색 키워드: [FAQ_SECTION], [ACCORDION_OR_CARDS]
   사용자 규칙 준수: 중복 정의 없음, 버튼/링크/헤더 cursor pointer 적용
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 100px 0;
}

.faq-grid {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 30px;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), background var(--transition-smooth);
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
}

.faq-q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(41, 151, 255, 0.15);
  color: var(--accent-blue);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  flex-shrink: 0;
}

.faq-answer {
  margin-top: 14px;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-sub);
  padding-left: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 14px;
}

/* --------------------------------------------------------------------------
   [CLI_SHOWCASE] 터미널 CLI 파이프라인 소개
   -------------------------------------------------------------------------- */
.cli-section {
  padding: 90px 0;
  background: var(--bg-secondary);
}

.terminal-card {
  max-width: 820px;
  margin: 0 auto;
  background: #0d0d12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #181822;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: var(--radius-full);
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.8;
  color: #e6edf3;
  overflow-x: auto;
}

.terminal-cmd {
  color: var(--accent-cyan);
}

.terminal-comment {
  color: #6e7681;
}

.terminal-success {
  color: #30d158;
}

/* --------------------------------------------------------------------------
   [PRICING_SECTION] 가격 정책 (Free vs $99 vs $199)
   -------------------------------------------------------------------------- */
.pricing-section {
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1050px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.pricing-card.featured {
  border-color: var(--accent-blue);
  box-shadow: 0 16px 40px rgba(41, 151, 255, 0.2);
  transform: scale(1.03);
}

.pricing-card:hover {
  transform: translateY(-6px);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0071e3 0%, #2997ff 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(41, 151, 255, 0.4);
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-main);
}

.plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-sub);
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-sub);
  margin-bottom: 14px;
}

.check-icon {
  color: var(--accent-green);
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   [FOOTER] 푸터 및 법적 고지
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  color: var(--text-sub);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-main);
}

.footer-bottom {
  text-align: center;
  font-size: 0.82rem;
  color: #636366;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 24px;
}

/* --------------------------------------------------------------------------
   [RESPONSIVE] 모바일 및 태블릿 반응형 미디어 쿼리
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .showcase-tabs {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: var(--radius-md);
  }

  .showcase-tab {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .model-badge-info {
    border-radius: var(--radius-md);
    padding: 8px 14px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }
}

/* ==========================================================================
   [MODAL_COMING_SOON] Mac App Store 출시 준비 중 안내 모달 스타일
   검색 키워드: [MODAL_STYLES], [APPSTORE_POPUP], [CURSOR_POINTER]
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 14, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 20px;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  background: linear-gradient(145deg, rgba(22, 28, 45, 0.96), rgba(12, 16, 28, 0.98));
  border: 1px solid rgba(0, 113, 227, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 32px rgba(0, 113, 227, 0.2);
  border-radius: var(--radius-lg, 18px);
  max-width: 480px;
  width: 100%;
  padding: 38px 32px 30px;
  text-align: center;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-muted, #86868b);
  font-size: 1.6rem;
  line-height: 1;
  padding: 6px;
  cursor: pointer; /* 버튼 cursor pointer 필수 규칙 준수 */
  transition: color 0.15s ease, transform 0.15s ease;
}

.modal-close:hover {
  color: var(--text-main, #f5f5f7);
  transform: scale(1.1);
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 999px;
  margin-bottom: 16px;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main, #f5f5f7);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.modal-desc {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-muted, #a1a1aa);
  margin-bottom: 26px;
  word-break: keep-all;
}

.modal-action {
  display: flex;
  justify-content: center;
}

.modal-btn {
  min-width: 140px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer; /* 버튼 cursor pointer 필수 규칙 준수 */
}

/* 가격표 하단 인앱결제 안내 보조 텍스트 */
.plan-note {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-muted, #86868b);
  text-align: center;
  line-height: 1.4;
}

/* 다운로드/구매 트리거 버튼 커서 pointer 강제 */
.btn-appstore-trigger {
  cursor: pointer; /* 버튼 cursor pointer 필수 규칙 준수 */
}
