:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --header-bg: #18181b;
  --accent: #2563eb;
  --text: #18181b;
  --text2: #333;
  --muted: #71717a;
  --border: #e4e4e7;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Pretendard', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}


/*=====================================
 hero
=====================================*/
.hero {
  background: var(--header-bg);
  color: #fff;
  padding: 80px 24px 60px;
  text-align: center;
}
.hero-name { font-size: 32px; font-weight: 800; letter-spacing: -0.5px; }
.hero-name span { color: #60a5fa; }
.hero-tagline { margin-top: 10px; font-size: 16px; color: rgba(255,255,255,0.6); }



/*=====================================
 section
=====================================*/
.section { max-width: 860px; margin: 0 auto; padding: 60px 24px; border-bottom: 1px solid var(--border); }
.section:last-child { border-bottom: none; }
.section-num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 1px; margin-bottom: 8px; }
.section-title { font-size: 32px; font-weight: 800; margin-bottom: 20px; }
.section-body { font-size: 16px; color: var(--text2); }
.placeholder { color: var(--muted); font-size: 15px; padding: 24px; border: 1.5px dashed var(--border); border-radius: 10px; text-align: center; }


/* 01. about 자기소개 */
.intro-flex { display: flex; gap: 32px; align-items: stretch; }
.intro-photo { width: 42%; flex-shrink: 0; flex-grow: 0; border-radius: 14px; object-fit: cover; }
.intro-text { flex: 1; min-width: 0; }

.intro-text strong { display: block; font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 16px; }
.intro-text strong span { margin-left: 6px; font-size: 14px; font-weight: 700; color: var(--accent); background: rgba(37,99,235,0.08); padding: 4px 10px; border-radius: 999px; vertical-align: middle; }
.intro-text p { font-size: 16px; color: var(--text2); margin-bottom: 14px; }
.intro-text p:last-of-type { margin-bottom: 0; }

.intro-hashtag { display: flex; flex-wrap: nowrap; gap: 10px; margin-top: 20px; overflow-x: auto; }
.hashtag { font-size: 13px; font-weight: 600; color: var(--muted); }
.hashtag::before { content: "#"; color: var(--accent); }

@media (max-width: 640px) {
  .intro-flex { flex-direction: column; }
  .intro-photo { width: 100%; max-width: 260px; aspect-ratio: 1 / 1; }
}


/* 02. stats */
.stats-highlights { display: flex; gap: 12px; margin-bottom: 40px; }
.stats-highlight-card { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px 16px; text-align: center; }
.stats-highlight-value { font-size: 26px; font-weight: 800; color: var(--accent); }
.stats-highlight-label { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }

.stats-trend { margin-bottom: 40px; }
.stats-trend:last-child { margin-bottom: 0; }
.stats-trend-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.stats-graph { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }

.stats-graph-inner { position: relative; width: 100%; aspect-ratio: 600 / 200; }
.stats-graph-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stats-graph-svg .stats-baseline { stroke: var(--border); stroke-width: 1; }
.stats-graph-svg .stats-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.stats-graph-svg .stats-point { fill: var(--surface); stroke: var(--accent); stroke-width: 3; }
.stats-graph-svg .stats-gradient-start { stop-color: var(--accent); stop-opacity: 0.18; }
.stats-graph-svg .stats-gradient-end { stop-color: var(--accent); stop-opacity: 0; }

.stats-graph-point { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); }
.stats-point-month { font-size: 12px; color: var(--muted); font-weight: 600; }
.stats-point-value { font-size: 14px; color: var(--text); font-weight: 800; }

/* 02. stats - 유입 분석 */
.stats-referral { display: flex; gap: 12px; align-items: stretch; }
.stats-referral-main { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px 20px; display: flex; flex-direction: column; justify-content: center; }
.stats-referral-value { font-size: 40px; font-weight: 800; color: var(--accent); line-height: 1.2; }
.stats-referral-label { font-size: 18px; font-weight: 800; color: var(--text); }
.stats-referral-note { margin-top: 10px; font-size: 13px; color: var(--muted); }

.stats-referral-proof { flex: 0 0 38%; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px; display: flex; align-items: center; justify-content: center; }
.stats-referral-proof img { width: 100%; height: auto; border-radius: 8px; display: block; }

@media (max-width: 640px) {
  .stats-referral { flex-direction: column; }
  .stats-referral-proof { flex: 1; }
}

@media (max-width: 480px) {
  .stats-highlights { gap: 8px; }
  .stats-highlight-card { padding: 16px 6px; }
  .stats-highlight-value { font-size: 20px; }
}


/* 03. content */
.content-tabs { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 28px; border-bottom: 1px solid var(--border); }
.content-tab { font-family: inherit; cursor: pointer; background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 0 0 12px; color: var(--muted); font-size: 14px; font-weight: 600; transition: color .15s, border-color .15s; }
.content-tab:hover { color: var(--text); }
.content-tab.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 700; }

.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.content-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.content-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }

.content-thumb { position: relative; aspect-ratio: 1/ 1; background: var(--bg); overflow: hidden; }
.content-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.content-card-body { padding: 14px 16px; }
.content-card-cat { display: block; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase; }
.content-card-title { margin-top: 6px; font-size: 16px; font-weight: 800; color: var(--text); line-height: 1.45; }
.content-card-desc { margin-top: 10px; font-size: 11px; font-weight: 600; color: var(--muted); text-align: right; }

@media (max-width: 640px) {
  .content-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 420px) {
  .content-grid { grid-template-columns: 1fr; }
}
