/* Fonts */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700;900&display=swap');

/* Design Tokens */
:root {
  --color-primary: #006BF3;
  --color-accent: #FFEB3B;
  --color-danger: #FF3B30;
  --color-bg: #f8f9fa;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-text-muted: #666666;
  --radius-card: 8px;
  --radius-badge: 20px;
  --max-width: 480px;
  --font-base: 'Pretendard', 'Noto Sans KR', sans-serif;
}

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

body {
  font-family: var(--font-base);
  background: var(--color-bg);
  color: var(--color-black);
  min-height: 100vh;
}

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

/* Layout wrapper */
.page-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--color-white);
  min-height: 100vh;
  box-shadow: 0 0 20px rgba(0,0,0,0.08);
}

/* Header */
.header {
  background: var(--color-primary);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__logo {
  color: var(--color-white);
  font-weight: 700;
  font-size: 15px;
}

.header__menu-btn {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 20px;
  cursor: pointer;
}

/* Nav */
.nav {
  background: var(--color-primary);
  display: none;
  flex-direction: column;
  padding: 0 16px 12px;
}

.nav.is-open {
  display: flex;
}

.nav__item {
  color: rgba(255,255,255,0.85);
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.nav__item:last-child {
  border-bottom: none;
}

/* Hero */
.hero {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: 36px 24px 40px;
}

.hero__badge {
  display: inline-block;
  background: var(--color-danger);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-badge);
  margin-bottom: 16px;
}

.hero__title {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero__sub {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero__cta {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-black);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius-card);
}

/* Sections */
.section {
  padding: 20px 16px;
}

.section--gray {
  background: var(--color-bg);
}

.section--white {
  background: var(--color-white);
}

.section__title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.card {
  background: var(--color-white);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-card);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: box-shadow 0.15s;
}

.card:hover {
  box-shadow: 0 2px 8px rgba(0,107,243,0.15);
}

.card__icon {
  font-size: 22px;
}

.card__name {
  font-size: 13px;
  font-weight: 700;
  color: #222;
}

.card__link {
  font-size: 11px;
  color: var(--color-primary);
}

/* Target Audience */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.audience-btn {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 14px 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  transition: opacity 0.15s;
}

.audience-btn:hover {
  opacity: 0.85;
}

/* Full-width Button List */
.btn-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 700;
  transition: opacity 0.15s;
}

.btn-list__item:hover {
  opacity: 0.88;
}

.btn-list__arrow {
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* Stats Highlight Box */
.stats-box {
  margin: 0 16px 16px;
  background: var(--color-accent);
  border-radius: var(--radius-card);
  padding: 18px 16px;
}

.stats-box__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 6px;
}

.stats-box__amount {
  font-size: 28px;
  font-weight: 900;
  color: var(--color-black);
  margin-bottom: 4px;
}

.stats-box__sub {
  font-size: 12px;
  color: #333;
}

/* Info Box */
.info-box {
  background: var(--color-white);
  border: 1px solid #e8e8e8;
  border-left: 4px solid var(--color-primary);
  margin: 0 16px 12px;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 14px 14px 14px 16px;
}

.info-box--blue {
  border-left-color: #00A8FF;
  background: #f0f8ff;
}

.info-box__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.info-box__tag {
  font-size: 13px;
  font-weight: 700;
  color: #222;
}

.info-box__amount {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
}

.info-box__text {
  font-size: 12px;
  color: #555;
  line-height: 1.7;
}

/* Article Section */
.article-section {
  background: var(--color-white);
  padding: 8px 0;
}

.article-item {
  padding: 16px 16px 14px;
  border-bottom: 1px solid #f0f0f0;
}

.article-item__title {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-item__body {
  font-size: 13px;
  color: #444;
  line-height: 1.8;
}

.article-item__body strong {
  color: #111;
  font-weight: 700;
}

/* Content Pages */
.content-header {
  background: var(--color-primary);
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.content-header__back {
  color: var(--color-white);
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.content-hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 20px 16px 24px;
}

.content-hero__label {
  font-size: 11px;
  opacity: 0.75;
  margin-bottom: 6px;
}

.content-hero__title {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1.3;
}

.content-hero__desc {
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.6;
}

.content-body {
  background: var(--color-white);
  padding: 20px 16px;
}

.content-body__h2 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.content-body__h2:first-child {
  padding-top: 0;
  border-top: none;
}

.content-body__p {
  font-size: 13px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 14px;
}

.content-body__list {
  font-size: 13px;
  color: #444;
  line-height: 1.9;
  margin-bottom: 14px;
  padding-left: 4px;
  list-style: none;
}

.content-body__list li::before {
  content: "✔ ";
  color: var(--color-primary);
}

.content-cta {
  padding: 16px;
  background: var(--color-bg);
}

.content-cta__btn {
  display: block;
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-card);
  font-weight: 700;
  font-size: 14px;
  transition: opacity 0.15s;
}

.content-cta__btn:hover {
  opacity: 0.88;
}

/* Footer */
.footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.85);
  padding: 20px 16px;
  font-size: 11px;
  line-height: 1.7;
}

.footer p + p {
  margin-top: 4px;
}

/* ===== Interstitial Ad Overlay ===== */
#ad-interstitial {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-interstitial__inner {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  max-width: 360px;
  width: 92%;
  text-align: center;
}

.ad-interstitial__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.ad-interstitial__label {
  font-size: 11px;
  color: #aaa;
}

.ad-interstitial__close {
  background: none;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 13px;
  cursor: pointer;
  color: #333;
}

.ad-interstitial__close:hover {
  background: #f5f5f5;
}

.ad-interstitial__ad {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-interstitial__footer {
  margin-top: 10px;
  font-size: 13px;
  color: #888;
}
