/* === BlogGosu Common Style v1.0 === */
/* Ref: 20_IMPLEMENTATION_ROADMAP.md STEP 5 */
/* Design: 미니멀, 깔끔한 정보성 블로그 */

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

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: #2563eb; text-decoration: none; }
a:hover { color: #1d4ed8; }
img { max-width: 100%; height: auto; display: block; }

/* --- Layout --- */
.container { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* --- Section 공통 (ULS data-section 대응) --- */
.section { padding: 48px 0; }
.section-alt { background: #f8f9fa; }

/* --- Hero --- */
.hero { padding: 64px 0 48px; text-align: center; }
.hero h1 { font-size: 2rem; font-weight: 700; line-height: 1.3; margin-bottom: 12px; color: #111; }
.hero .subtitle { font-size: 1.1rem; color: #666; margin-bottom: 24px; }
.hero-image { width: 100%; max-height: 400px; object-fit: cover; border-radius: 12px; margin-top: 24px; }

/* --- Trust (저자/통계) --- */
.trust { padding: 24px 0; border-bottom: 1px solid #eee; }
.trust-inner { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: #888; }
.trust-avatar { width: 36px; height: 36px; border-radius: 50%; background: #e5e7eb; display: flex; align-items: center; justify-content: center; font-weight: 600; color: #666; font-size: 0.8rem; }
.trust-meta span { margin-right: 16px; }

/* --- Content (본문) --- */
.content h2 { font-size: 1.5rem; font-weight: 700; margin: 40px 0 16px; color: #111; }
.content h3 { font-size: 1.2rem; font-weight: 600; margin: 32px 0 12px; color: #222; }
.content p { margin-bottom: 20px; color: #333; }
.content ul, .content ol { margin: 0 0 20px 24px; color: #333; }
.content li { margin-bottom: 8px; }
.content blockquote { border-left: 3px solid #2563eb; padding: 12px 20px; margin: 24px 0; background: #f0f7ff; color: #444; border-radius: 0 8px 8px 0; }
.content code { background: #f3f4f6; padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
.content strong { font-weight: 600; color: #111; }

/* --- Proof (데이터/사례) --- */
.proof { background: #f8f9fa; }
.proof-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 24px; margin-bottom: 16px; }
.proof-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: #111; }
.proof-card p { color: #555; font-size: 0.95rem; }

/* --- FAQ --- */
.faq-item { border-bottom: 1px solid #eee; padding: 20px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: 600; color: #111; margin-bottom: 8px; }
.faq-a { color: #555; }

/* --- CTA --- */
.cta { text-align: center; padding: 64px 0; }
.cta h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; color: #111; }
.cta p { color: #666; margin-bottom: 28px; }
.cta-button {
  display: inline-block; padding: 16px 40px;
  background: #2563eb; color: #fff; font-size: 1.1rem; font-weight: 600;
  border-radius: 8px; transition: background 0.2s;
  cursor: pointer;
}
.cta-button:hover { background: #1d4ed8; color: #fff; }

/* --- Footer --- */
.footer { padding: 32px 0; border-top: 1px solid #eee; text-align: center; font-size: 0.85rem; color: #999; }

/* --- Homepage 전용 --- */
.home-hero { padding: 80px 0 60px; }
.home-hero h1 { font-size: 2.4rem; }
.post-list { list-style: none; padding: 0; margin: 0; }
.post-card { border-bottom: 1px solid #eee; padding: 24px 0; }
.post-card:last-child { border-bottom: none; }
.post-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.post-card h3 a { color: #111; }
.post-card h3 a:hover { color: #2563eb; }
.post-card .excerpt { color: #666; font-size: 0.95rem; margin-bottom: 6px; }
.post-card .meta { font-size: 0.85rem; color: #999; }

/* --- Landing 전용 --- */
.landing-hero { padding: 100px 0 80px; background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%); }
.landing-hero h1 { font-size: 2.4rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-item { text-align: center; padding: 32px 20px; }
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-item h3 { font-size: 1.1rem; margin-bottom: 8px; color: #111; }
.feature-item p { font-size: 0.95rem; color: #555; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero h1, .home-hero h1, .landing-hero h1 { font-size: 1.6rem; }
  .section { padding: 36px 0; }
  .cta { padding: 48px 0; }
  .cta-button { padding: 14px 32px; font-size: 1rem; }
  .container { padding: 0 16px; }
}
