/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Sans KR', sans-serif;
  background: #F0F1F5;
  color: #1A1A1A;
  min-height: 100vh;
}

/* ===== Layout ===== */
.page-wrapper {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: #F0F1F5;
}

/* ===== 메인 헤더 ===== */
.main-header {
  padding: 60px 24px 36px;
}

.main-title {
  font-size: 30px;
  font-weight: 900;
  color: #1A1A1A;
  line-height: 1.35;
  letter-spacing: -1px;
}

.main-title .highlight {
  color: #7B5CF0;
}

/* ===== 메뉴 카드 ===== */
.menu-list {
  padding: 0 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease;
}

.menu-card:hover,
.menu-card:focus {
  transform: scale(1.01);
  outline: none;
}

.menu-card-left { flex: 1; }

.menu-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 6px;
}

.menu-card-title .arrow {
  font-weight: 400;
  color: #888;
  margin-left: 4px;
}

.menu-card-sub {
  font-size: 13px;
  color: #666;
  font-weight: 400;
  line-height: 1.4;
}

.menu-card-icon {
  font-size: 44px;
  flex-shrink: 0;
  margin-left: 12px;
  line-height: 1;
}

/* ===== 상세 페이지 헤더 ===== */
.detail-header {
  padding: 50px 24px 30px;
  background: #F0F1F5;
}

.detail-header-title {
  font-size: 26px;
  font-weight: 900;
  color: #1A1A1A;
  line-height: 1.35;
  text-align: center;
  letter-spacing: -0.5px;
}

.detail-header-title .highlight {
  color: #7B5CF0;
}

/* ===== 뒤로가기 버튼 ===== */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  text-decoration: none;
  margin-bottom: 20px;
}

/* ===== 흰색 카드 프레임 (상세 페이지 콘텐츠 영역) ===== */
.content-frame {
  background: #fff;
  border-radius: 32px 32px 0 0;
  margin: 0 12px;
  padding: 28px 20px 48px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}

/* ===== 섹션 제목 ===== */
.section-title {
  font-size: 20px;
  font-weight: 900;
  color: #1A1A1A;
  margin-bottom: 16px;
  line-height: 1.4;
  letter-spacing: -0.5px;
}

.section-title .highlight {
  color: #7B5CF0;
}

/* ===== 정보 박스 ===== */
.info-box {
  background: #F8F8FB;
  border-radius: 12px;
  padding: 18px 16px;
  margin-bottom: 16px;
}

.info-box-label {
  font-size: 13px;
  font-weight: 700;
  color: #7B5CF0;
  margin-bottom: 12px;
}

.info-row {
  margin-bottom: 10px;
}

.info-row:last-child { margin-bottom: 0; }

.info-row-title {
  font-size: 14px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 2px;
}

.info-row-sub {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
}

/* ===== 설명 박스 (제도 설명) ===== */
.desc-box {
  background: #F8F8FB;
  border-radius: 12px;
  border-left: 3px solid #7B5CF0;
  padding: 18px 16px;
  margin-bottom: 16px;
}

.desc-box-label {
  font-size: 14px;
  font-weight: 700;
  color: #7B5CF0;
  margin-bottom: 10px;
}

.desc-box-text {
  font-size: 13px;
  color: #333;
  line-height: 1.7;
}

.desc-box-text strong {
  color: #1A1A1A;
}

/* ===== 통계 텍스트 ===== */
.stat-text {
  font-size: 22px;
  font-weight: 900;
  color: #1A1A1A;
  text-align: center;
  line-height: 1.4;
  margin: 20px 0 16px;
  letter-spacing: -0.5px;
}

.stat-text .highlight { color: #7B5CF0; }

/* ===== CTA 버튼 ===== */
.cta-btn {
  background: #7B5CF0;
  color: #fff;
  border: none;
  border-radius: 12px;
  width: 100%;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Noto Sans KR', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 16px 0;
  cursor: pointer;
  letter-spacing: -0.3px;
  text-decoration: none;
}

.cta-btn .arrow { font-size: 18px; }

/* ===== 아웃라인 버튼 ===== */
.outline-btn {
  background: #fff;
  color: #1A1A1A;
  border: 1.5px solid #E0E0E0;
  border-radius: 12px;
  width: 100%;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Noto Sans KR', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
  cursor: pointer;
  letter-spacing: -0.3px;
  text-decoration: none;
}

.outline-btn .arrow { font-size: 18px; }

/* ===== 보라 배너 ===== */
.purple-banner {
  background: #7B5CF0;
  border-radius: 16px;
  padding: 20px;
  color: #fff;
  margin: 16px 0;
}

.purple-banner-title {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 14px;
}

.purple-banner-list {
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.purple-banner-list li::before { content: "· "; }

/* ===== 날짜 박스 ===== */
.date-box {
  background: #FFF9E6;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.date-box-badge {
  font-size: 13px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 6px;
}

.date-box-date {
  font-size: 18px;
  font-weight: 900;
  color: #7B5CF0;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.date-box-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

.date-box-icon {
  font-size: 48px;
  flex-shrink: 0;
  margin-left: 12px;
  line-height: 1;
}

/* ===== 버튼 그룹 (세로 연결) ===== */
.btn-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
}

.btn-group .cta-btn {
  margin: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.btn-group .cta-btn:first-child { border-radius: 12px 12px 0 0; }
.btn-group .cta-btn:last-child  { border-radius: 0 0 12px 12px; border-bottom: none; }

/* ===== 상시 안내 텍스트 ===== */
.always-open {
  font-size: 14px;
  color: #7B5CF0;
  font-weight: 700;
  text-align: center;
  padding: 16px;
  background: #F0ECFF;
  border-radius: 12px;
  margin-bottom: 16px;
}

/* ===== 개인정보처리방침 / 404 페이지 ===== */
.simple-page {
  padding: 60px 24px;
}

.simple-page h1 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.simple-page h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 8px;
  color: #7B5CF0;
}

.simple-page p {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 12px;
}

.simple-page .date {
  font-size: 13px;
  color: #888;
  margin-bottom: 32px;
}
