/* ── 히어로 섹션 ──────────────────────────────────────────────────────── */
.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 30%, rgba(124, 58, 237, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(167, 139, 250, 0.10) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(167,139,250,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,139,250,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a78bfa;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-eyebrow::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: #a78bfa;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #f0eeff;
  margin-bottom: 1.5rem;
}

.hero-title .accent {
  background: linear-gradient(135deg, #a78bfa 0%, #f59e7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #a89fc0;
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: #a78bfa;
  color: #0f0f1a !important;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 8px;
  border-bottom: none !important;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary-custom:hover {
  background: #c4b5fd;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

.btn-secondary-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: #a89fc0 !important;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-secondary-custom:hover {
  border-color: #a78bfa;
  color: #a78bfa !important;
  background: rgba(167, 139, 250, 0.08);
}

/* ── 스탯 바 ────────────────────────────────────────────────────────────── */
.stat-bar {
  display: flex;
  gap: 3rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(167, 139, 250, 0.12);
  margin-top: 3rem;
}

.stat-item .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #a78bfa;
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.8rem;
  color: #6b6484;
  margin-top: 0.25rem;
}

/* ── 섹션 공통 ──────────────────────────────────────────────────────────── */
.section { padding: 5rem 0; }

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a78bfa;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #f0eeff;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: #a89fc0;
  max-width: 560px;
  line-height: 1.8;
}

/* ── 카드 그리드 ────────────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.feature-card {
  background: #17172a;
  border: 1px solid rgba(167, 139, 250, 0.12);
  border-radius: 12px;
  padding: 1.75rem;
  transition: all 0.25s;
  text-decoration: none !important;
  border-bottom: none !important;
  display: block;
  color: inherit !important;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(167,139,250,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
}

.feature-card:hover {
  border-color: rgba(167, 139, 250, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(167,139,250,0.1);
}

.feature-card:hover::before { opacity: 1; }

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: block;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f0eeff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 0.875rem;
  color: #6b6484;
  line-height: 1.65;
}

.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: #a78bfa;
  margin-top: 1rem;
  font-weight: 600;
}

/* ── 프로세스 스텝 ──────────────────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,0.3), transparent);
}

.process-step {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: #17172a;
  border: 2px solid rgba(167, 139, 250, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: #a78bfa;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
}

.step-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #f0eeff;
  margin-bottom: 0.4rem;
}

.step-desc {
  font-size: 0.8rem;
  color: #6b6484;
  line-height: 1.6;
}

/* ── CTA 배너 ───────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #17172a 0%, #1e1535 100%);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 16px;
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.12) 0%, transparent 55%);
  pointer-events: none;
}

/* ── 페이지 내부 콘텐츠 ─────────────────────────────────────────────────── */
#quarto-content main {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

/* 페이지 헤더 배너 */
.page-header {
  padding: 3rem 0 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(167, 139, 250, 0.12);
  position: relative;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header .subtitle {
  color: #a89fc0;
  font-size: 1.05rem;
}

/* ── 애니메이션 ─────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.6s ease forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ── 반응형 ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 4rem 0 3rem; min-height: auto; }
  .stat-bar { gap: 1.5rem; flex-wrap: wrap; }
  .cta-banner { padding: 2.5rem 1.5rem; }
  .process-steps::before { display: none; }
}

/* ── 네비게이션 바 로고 크기 ─────────────────────────────────────────────── */
.navbar-brand img,
.navbar-logo {
  height: 34px !important;
  max-height: 34px !important;
  width: auto !important;
  max-width: none !important;
}
