/*
 * DocPack — Bento Soft Grid Design System
 */

/* ── Design Tokens ── */
:root {
  /* Page */
  --bg: #F8F7F4;
  --card-bg: #ffffff;
  --card-border: 0.5px solid #E5E3DC;
  --border-color: #E5E3DC;

  /* Text */
  --text: #1A1918;
  --text-sub: #6B6963;

  /* Status */
  --success: #16a34a;
  --danger: #dc2626;

  /* Service: Compress (Teal) */
  --compress: #0A6E8A;
  --compress-light: #E1F5F9;
  --compress-text: #07596F;

  /* Service: PDF (Amber) */
  --pdf: #F59E0B;
  --pdf-light: #FEF3C7;
  --pdf-text: #92400E;

  /* Service: Social (Purple) */
  --social: #7C3AED;
  --social-light: #EDE9FE;
  --social-text: #4C1D95;

  /* Radius */
  --r-card: 20px;
  --r-btn: 12px;
  --r-icon: 14px;
  --r-chip: 20px;
  --r-banner: 14px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ── Top Bar ── */
.top-bar {
  background: var(--card-bg);
  border-bottom: var(--card-border);
  padding: 0.75rem 1.5rem;
}
.top-bar-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.btn-lang {
  padding: 0.35rem 0.8rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-sub);
  background: var(--bg);
  border: var(--card-border);
  border-radius: var(--r-chip);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-lang:hover {
  color: var(--compress);
  border-color: var(--compress);
  background: var(--compress-light);
}

/* ── Bookmark Banner ── */
.bookmark-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 16px;
  background: #E1F5F9;
  color: #07596F;
  font-size: 13px;
  line-height: 1.4;
}
.bookmark-banner-icon {
  font-size: 16px;
  color: #0A6E8A;
  flex-shrink: 0;
}
.bookmark-banner-text { flex: 1; }
.bookmark-banner-close {
  background: none;
  border: none;
  color: #07596F;
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.6;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.bookmark-banner-close:hover { opacity: 1; }

/* ── Container ── */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* ── Typography ── */
h1 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
}
p {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-sub);
  line-height: 1.55;
  margin-bottom: 1rem;
}

/* ── Back Button ── */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.25rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--r-btn);
  text-decoration: none;
  transition: all 0.2s;
}
.btn-back:hover {
  color: var(--text);
  border-color: #ccc;
  transform: translateX(-2px);
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 2.5rem 0 1rem;
}
.hero h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hero p {
  font-size: 14px;
  max-width: 400px;
  margin: 0.5rem auto 0;
}
.hero-keyword {
  color: var(--compress);
  font-weight: 700;
}

/* ── Feature Cards (Home) ── */
.feature-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--r-card);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.feature-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-icon);
  font-size: 20px;
}
.feature-card-tag {
  display: inline-block;
  padding: 0.2rem 0.625rem;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--r-chip);
}
.feature-card-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.feature-card-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.5;
  margin: 0;
}
.feature-card-btn {
  display: inline-block;
  padding: 0.5rem 1.125rem;
  border-radius: var(--r-btn);
  font-size: 13px;
  font-weight: 600;
  color: white;
  margin-top: auto;
  transition: opacity 0.15s;
}
.feature-card:hover .feature-card-btn { opacity: 0.88; }

/* Service colors for cards */
.feature-card--compress .feature-card-icon { background: var(--compress-light); color: var(--compress); }
.feature-card--compress .feature-card-tag { background: var(--compress-light); color: var(--compress-text); }
.feature-card--compress .feature-card-btn { background: var(--compress); }

.feature-card--pdf .feature-card-icon { background: var(--pdf-light); color: var(--pdf); }
.feature-card--pdf .feature-card-tag { background: var(--pdf-light); color: var(--pdf-text); }
.feature-card--pdf .feature-card-btn { background: var(--pdf); }

.feature-card--social .feature-card-icon { background: var(--social-light); color: var(--social); }
.feature-card--social .feature-card-tag { background: var(--social-light); color: var(--social-text); }
.feature-card--social .feature-card-btn { background: var(--social); }

/* ── Page Header Accent ── */
.page-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.375rem;
}
.page-header-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-icon);
  font-size: 20px;
  flex-shrink: 0;
}

/* ── Upload Zone ── */
.upload-zone {
  border: 2px dashed var(--border-color);
  border-radius: var(--r-card);
  padding: 2.5rem;
  text-align: center;
  background: var(--card-bg);
  margin: 1rem 0;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.upload-zone p { font-size: 13px; margin-bottom: 0; }
.upload-zone input[type="file"] { margin-top: 0.875rem; }
.upload-hint {
  margin-top: 0.75rem !important;
  font-size: 11px !important;
  color: #9B9990 !important;
  letter-spacing: 0.01em;
}

/* Service-specific upload borders */
.upload-zone--compress:hover { border-color: var(--compress); background: var(--compress-light); }
.upload-zone--pdf:hover { border-color: var(--pdf); background: var(--pdf-light); }
.upload-zone--social:hover { border-color: var(--social); background: var(--social-light); }

/* ── Quality Slider ── */
.quality-slider {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--r-card);
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}
.quality-slider-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 0.75rem;
}
.quality-slider-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.quality-slider-min,
.quality-slider-max {
  font-size: 11px;
  color: var(--text-sub);
  white-space: nowrap;
  flex-shrink: 0;
}
.quality-slider-input {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  outline: none;
}
.quality-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--compress);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  transition: transform 0.15s;
}
.quality-slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.quality-slider-input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--compress);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.quality-slider-value {
  font-size: 12px;
  color: var(--text-sub);
  text-align: center;
  margin-top: 0.75rem;
}
.quality-slider-value strong {
  color: var(--compress);
  font-size: 14px;
}
.quality-slider-hint {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.5rem;
  background: var(--compress-light);
  color: var(--compress-text);
  border-radius: var(--r-chip);
  font-size: 10px;
  font-weight: 600;
}
.quality-slider-desc {
  font-size: 11px !important;
  color: #9B9990 !important;
  text-align: center;
  margin-top: 0.5rem !important;
  margin-bottom: 0 !important;
}

/* ── Preset Options ── */
.preset-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin: 1rem 0;
}
.preset-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.875rem;
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--r-btn);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.15s;
}
.preset-option:hover { border-color: var(--social); background: var(--social-light); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.65rem 1.375rem;
  border: none;
  border-radius: var(--r-btn);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.88; }
.btn-primary { background: var(--compress); color: white; }

/* Service-specific buttons */
.btn--compress { background: var(--compress); color: white; }
.btn--pdf { background: var(--pdf); color: white; }
.btn--social { background: var(--social); color: white; }

/* ── Result Card ── */
.result-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--r-card);
  padding: 1.5rem;
  margin: 1rem 0;
}
.size-comparison {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.75rem 0;
  font-size: 13px;
}
.reduction { color: var(--success); font-weight: 600; }

.status-done { color: var(--success); }
.status-failed { color: var(--danger); }
.status-pending { color: var(--text-sub); }

.result-actions { margin-top: 1rem; }
.back-link { margin-top: 2rem; }
.back-link a {
  font-size: 13px;
  color: var(--text-sub);
  text-decoration: none;
}
.back-link a:hover { color: var(--text); }
.error-message { color: var(--danger); font-size: 13px; }

/* ── Progress Bar ── */
.progress-area {
  display: none;
  margin: 1rem 0;
}
.progress-track {
  width: 100%;
  height: 8px;
  background: #EEEDE9;
  border-radius: 4px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  transition: width 0.2s ease;
}
.progress-bar--compress { background: var(--compress); }
.progress-bar--pdf { background: var(--pdf); }
.progress-bar--social { background: var(--social); }
/* fallback */
.progress-bar { background: var(--compress); }
.progress-text {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 0.375rem;
  text-align: center;
}

/* ── Processing Spinner ── */
.processing-area {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  margin: 1rem 0;
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--r-card);
}
.spinner {
  width: 22px;
  height: 22px;
  border: 2.5px solid #EEEDE9;
  border-top-color: var(--compress);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.spinner--compress { border-top-color: var(--compress); }
.spinner--pdf { border-top-color: var(--pdf); }
.spinner--social { border-top-color: var(--social); }
@keyframes spin { to { transform: rotate(360deg); } }
.processing-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
}

/* ── Toast ── */
.toast {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--r-banner);
  background: var(--card-bg);
  border: var(--card-border);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.3s ease;
}
.toast-visible { transform: translateX(0); }
.toast-success { border-left: 3px solid var(--success); }
.toast-error { border-left: 3px solid var(--danger); }
.toast-icon { font-size: 1.125rem; font-weight: 700; }
.toast-success .toast-icon { color: var(--success); }
.toast-error .toast-icon { color: var(--danger); }
.toast-message { font-size: 13px; color: var(--text); }

/* ── Disabled Button ── */
.btn-disabled { opacity: 0.45; cursor: not-allowed; }

/* ── Banners (Bento Soft) ── */
.banners-section {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.75rem;
}
.banner-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--r-banner);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s, box-shadow 0.15s;
}
.banner-card:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.banner-icon-box {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-icon);
  font-size: 18px;
  flex-shrink: 0;
}
.banner-content { flex: 1; }
.banner-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.banner-desc {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 0.125rem;
}
.banner-btn {
  flex-shrink: 0;
  padding: 0.375rem 0.875rem;
  border-radius: var(--r-btn);
  font-size: 12px;
  font-weight: 600;
  color: white;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.banner-card:hover .banner-btn { opacity: 0.88; }

/* Per-banner colors */
.banner-card--teal .banner-icon-box { background: var(--compress-light); color: var(--compress); }
.banner-card--teal .banner-btn { background: var(--compress); }

.banner-card--gold .banner-icon-box { background: var(--pdf-light); color: var(--pdf); }
.banner-card--gold .banner-btn { background: var(--pdf); }

.banner-card--purple .banner-icon-box { background: var(--social-light); color: var(--social); }
.banner-card--purple .banner-btn { background: var(--social); }

.banner-adsense { margin: 0.5rem 0; }

/* ── FAQ Accordion ── */
.faq-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.accordion-item {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--r-banner);
  overflow: hidden;
}
.accordion-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 1rem;
  letter-spacing: -0.01em;
}
.accordion-question:hover { background: #FDFCFA; }
.accordion-arrow {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-sub);
  border-bottom: 2px solid var(--text-sub);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.accordion-item--open .accordion-arrow {
  transform: rotate(-135deg);
}
.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 1.25rem;
}
.accordion-item--open .accordion-answer {
  max-height: 200px;
  padding: 0 1.25rem 1rem;
}
.accordion-answer p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
  margin: 0;
}

/* ── Footer ── */
.site-footer {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: var(--card-border);
  text-align: center;
}
.site-footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.site-footer-links a {
  font-size: 12px;
  color: var(--text-sub);
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer-links a:hover { color: var(--text); }

/* ── Responsive ── */
@media (max-width: 640px) {
  .hero h1 { font-size: 22px; }
  .feature-nav { grid-template-columns: 1fr; }
  .preset-options { flex-direction: column; }
  .banner-card { flex-direction: column; text-align: center; gap: 0.5rem; }
  .banner-card:hover { transform: translateY(-2px); }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-show-title { font-size: 20px; }
}

/* ── Top Bar Nav ── */
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.top-bar-nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
  text-decoration: none;
  transition: color 0.15s;
}
.top-bar-nav-link:hover { color: var(--compress); }

/* ── Blog ── */
.blog-categories {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.blog-cat-chip {
  padding: 0.3rem 0.75rem;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-sub);
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--r-chip);
  text-decoration: none;
  transition: all 0.15s;
}
.blog-cat-chip:hover {
  color: var(--compress);
  border-color: var(--compress);
}
.blog-cat-chip--active {
  background: var(--compress);
  color: white;
  border-color: var(--compress);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.blog-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.blog-card-cover {
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-cover svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-cover--placeholder {
  background: linear-gradient(135deg, var(--compress-light), var(--bg));
}
.blog-card-body {
  padding: 1rem 1.25rem 1.25rem;
}
.blog-card-cat {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: var(--r-chip);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--compress-light);
  color: var(--compress-text);
  margin-bottom: 0.5rem;
}
.blog-card-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.375rem;
  line-height: 1.35;
}
.blog-card-title a {
  color: var(--text);
  text-decoration: none;
}
.blog-card-title a:hover { color: var(--compress); }
.blog-card-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.55;
  margin-bottom: 0.5rem;
}
.blog-card-date {
  font-size: 11px;
  color: var(--text-sub);
  opacity: 0.7;
}

.blog-empty {
  text-align: center;
  padding: 3rem;
  color: var(--text-sub);
}

/* ── Blog Show ── */
.blog-show-header { margin-bottom: 1.5rem; }
.blog-show-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0.5rem 0;
  line-height: 1.3;
}
.blog-show-meta {
  display: flex;
  gap: 1rem;
  font-size: 12px;
  color: var(--text-sub);
}
.blog-show-cover {
  margin-bottom: 1.5rem;
  border-radius: var(--r-card);
  overflow: hidden;
  border: var(--card-border);
}
.blog-show-cover svg {
  width: 100%;
  height: auto;
  display: block;
}
.blog-show-body {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--r-card);
  padding: 2rem;
  margin-bottom: 2rem;
  line-height: 1.75;
  font-size: 14px;
}
.blog-show-body h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 1.5rem 0 0.75rem;
}
.blog-show-body h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
}
.blog-show-body p { margin-bottom: 0.75rem; }
.blog-show-body ul, .blog-show-body ol {
  margin: 0.5rem 0 1rem 1.5rem;
}
.blog-show-body li { margin-bottom: 0.375rem; }
.blog-show-body strong { font-weight: 600; }

.blog-cta {
  margin-bottom: 2rem;
}
.blog-cta-inner {
  background: var(--compress-light);
  border: 1px solid rgba(10,110,138,0.15);
  border-radius: var(--r-card);
  padding: 2rem;
  text-align: center;
}
.blog-cta-inner h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.blog-cta-inner p {
  color: var(--text-sub);
  margin-bottom: 1rem;
}
.blog-cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.blog-related {
  margin-bottom: 2rem;
}
.blog-related h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 1rem;
}
.blog-back {
  text-align: center;
  margin-bottom: 2rem;
}
.btn-back {
  font-size: 13px;
  color: var(--text-sub);
  text-decoration: none;
}
.btn-back:hover { color: var(--compress); }

/* ===== 블로그 포스트 전용 스타일 (v2) ===== */

/* Trust Bar */
.blog-trust-bar {
  background: #0A6E8A;
  color: #fff;
  text-align: center;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 500;
}
.blog-trust-bar b { font-weight: 700; }

/* Pain Tag */
.blog-pain-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FCEBEB;
  color: #A32D2D;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #F7C1C1;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Subhead */
.blog-subhead {
  font-size: 15px;
  color: #6B6963;
  margin-bottom: 12px;
  line-height: 1.55;
}

/* Meta */
.blog-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #9B9990;
  margin-bottom: 24px;
}

/* 에러 Mockup */
.blog-error-mockup {
  background: #fff;
  border: 1px solid #E5E3DC;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.blog-browser-bar {
  background: #F1F0ED;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #E5E3DC;
}
.blog-browser-dots { display: flex; gap: 5px; }
.blog-dot { width: 10px; height: 10px; border-radius: 50%; }
.blog-dot-r { background: #FF5F56; }
.blog-dot-y { background: #FFBD2E; }
.blog-dot-g { background: #27C93F; }
.blog-url-bar {
  background: #fff;
  border: 1px solid #E5E3DC;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 12px;
  color: #6B6963;
  flex: 1;
}
.blog-error-body { padding: 20px; }
.blog-error-alert {
  background: #FCEBEB;
  border: 1px solid #F7C1C1;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.blog-error-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.blog-error-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #791F1F;
  margin-bottom: 3px;
}
.blog-error-desc { font-size: 13px; color: #A32D2D; line-height: 1.55; }
.blog-error-code {
  background: #F7C1C1;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 11px;
  font-family: monospace;
}
.blog-file-row {
  background: #F8F7F4;
  border: 1px solid #E5E3DC;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.blog-file-icon {
  width: 36px; height: 42px;
  background: #E8E5E0;
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #6B6963;
  flex-shrink: 0;
}
.blog-file-name { display: block; font-size: 13px; font-weight: 600; }
.blog-file-date { font-size: 12px; color: #6B6963; }
.blog-size-badge {
  margin-left: auto;
  background: #E24B4A; color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 5px;
  white-space: nowrap;
}

/* Recognition Box */
.blog-recognition {
  background: #FAEEDA;
  border-left: 3px solid #EF9F27;
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
}
.blog-recognition b { color: #633806; }

/* Loss Box */
.blog-loss-box {
  background: #fff;
  border: 1px solid #F7C1C1;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.blog-loss-title {
  font-size: 13px; font-weight: 700;
  color: #A32D2D; margin-bottom: 12px;
}
.blog-loss-box ul { padding-left: 0; list-style: none; }
.blog-loss-box li {
  display: flex; align-items: flex-start;
  gap: 8px; font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid #F8F7F4;
}
.blog-loss-box li:last-child { border-bottom: none; }
.blog-loss-dot {
  width: 7px; height: 7px;
  border-radius: 50%; background: #E24B4A;
  flex-shrink: 0; margin-top: 6px;
}

/* Inline CTA */
.blog-cta-inline-v2 {
  background: #0A6E8A;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-decoration: none;
}
.blog-cta-inline-text strong {
  color: #fff; display: block;
  font-size: 15px; font-weight: 700; margin-bottom: 2px;
}
.blog-cta-inline-text span { color: rgba(255,255,255,.8); font-size: 13px; }
.blog-cta-inline-btn {
  background: #fff; color: #0A6E8A;
  font-weight: 800; font-size: 14px;
  padding: 9px 18px; border-radius: 8px;
  white-space: nowrap; flex-shrink: 0;
  text-decoration: none;
}

/* Stats Row */
.blog-stats-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin: 20px 0;
}
.blog-stat-card {
  background: #fff;
  border: 1px solid #E5E3DC;
  border-radius: 10px;
  padding: 14px; text-align: center;
}
.blog-stat-num {
  font-size: 24px; font-weight: 700;
  color: #0A6E8A; line-height: 1;
}
.blog-stat-label {
  font-size: 11px; color: #6B6963;
  margin-top: 4px; line-height: 1.4;
  white-space: pre-line;
}

/* H2 스타일 */
.blog-post-body h2 {
  font-size: 19px; font-weight: 700;
  margin: 28px 0 12px;
  letter-spacing: -.01em;
  display: flex; align-items: center; gap: 8px;
}
.blog-post-body h2::before {
  content: '';
  display: inline-block;
  width: 3px; height: 20px;
  background: #0A6E8A;
  border-radius: 2px; flex-shrink: 0;
}

/* Cause Cards */
.blog-cause-list {
  display: flex; flex-direction: column;
  gap: 8px; margin-bottom: 20px;
}
.blog-cause-card {
  background: #fff;
  border: 1px solid #E5E3DC;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex; gap: 12px; align-items: flex-start;
}
.blog-cause-num {
  width: 28px; height: 28px;
  border-radius: 50%; background: #FCEBEB;
  color: #A32D2D; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.blog-cause-card strong {
  display: block; font-size: 14px;
  font-weight: 700; margin-bottom: 2px;
}
.blog-cause-card p { font-size: 13px; color: #6B6963; margin: 0; }

/* Steps */
.blog-steps-v2 {
  display: flex; flex-direction: column;
  gap: 14px; margin-bottom: 20px;
}
.blog-step {
  display: flex; gap: 14px; align-items: flex-start;
}
.blog-step-num {
  width: 32px; height: 32px;
  border-radius: 50%; background: #0A6E8A;
  color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.blog-step strong {
  display: block; font-size: 15px;
  font-weight: 700; margin-bottom: 3px;
}
.blog-step p { font-size: 13px; color: #6B6963; margin: 0 0 4px; }
.blog-step-tip {
  display: inline-block;
  background: #EAF3DE; color: #3B6D11;
  font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 5px;
}

/* Situation Grid */
.blog-situation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 20px;
}
.blog-situation-card {
  background: #fff;
  border: 1px solid #E5E3DC;
  border-radius: 10px; padding: 14px;
}
.blog-situation-card h3 {
  font-size: 13px; font-weight: 700;
  margin-bottom: 8px;
}
.blog-situation-card ul {
  padding: 0; list-style: none;
}
.blog-situation-card li {
  font-size: 12px; color: #6B6963;
  padding: 3px 0;
  display: flex; align-items: flex-start; gap: 6px;
}
.blog-situation-arrow { color: #0A6E8A; flex-shrink: 0; font-size: 11px; }

/* Checklist */
.blog-checklist-v2 {
  background: #fff;
  border: 1px solid #E5E3DC;
  border-radius: 12px;
  overflow: hidden; margin-bottom: 20px;
}
.blog-checklist-head {
  background: #EAF3DE;
  padding: 12px 18px;
  font-size: 13px; font-weight: 700;
  color: #27500A;
  border-bottom: 1px solid #C0DD97;
}
.blog-checklist-item {
  padding: 11px 18px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid #E5E3DC;
  font-size: 13px;
}
.blog-checklist-item:last-child { border-bottom: none; }
.blog-check-icon { color: #3B6D11; font-size: 15px; flex-shrink: 0; }

/* FAQ */
.blog-faq-v2 { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.blog-faq-item-v2 {
  background: #fff;
  border: 1px solid #E5E3DC;
  border-radius: 10px; overflow: hidden;
}
.blog-faq-q-v2 {
  padding: 14px 18px; font-weight: 700;
  font-size: 14px; display: flex;
  gap: 10px; align-items: flex-start;
}
.blog-faq-badge {
  min-width: 22px; height: 22px;
  border-radius: 50%; background: #E1F5F9;
  color: #0F6E56; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.blog-faq-a-v2 {
  padding: 0 18px 14px 50px;
  font-size: 13px; color: #6B6963; line-height: 1.6;
}

/* Bottom CTA */
.blog-cta-bottom-v2 {
  background: #fff;
  border: 1px solid #E5E3DC;
  border-radius: 16px;
  padding: 28px; text-align: center; margin-top: 32px;
}
.blog-cta-bottom-v2 h3 {
  font-size: 20px; font-weight: 800; margin-bottom: 6px;
}
.blog-cta-bottom-v2 p {
  font-size: 14px; color: #6B6963; margin-bottom: 18px;
}
.blog-btn-group {
  display: flex; gap: 10px;
  justify-content: center; flex-wrap: wrap;
}
.blog-btn-primary {
  background: #0A6E8A; color: #fff;
  font-weight: 700; font-size: 14px;
  padding: 12px 26px; border-radius: 10px;
  display: inline-block; text-decoration: none;
}
.blog-btn-primary:hover { opacity: 0.88; }
.blog-btn-secondary {
  background: #F8F7F4; color: #1A1918;
  font-weight: 600; font-size: 14px;
  padding: 12px 26px; border-radius: 10px;
  display: inline-block;
  border: 1px solid #E5E3DC; text-decoration: none;
}
.blog-btn-secondary:hover { background: #F0EFEB; }

/* Before/After */
.blog-ba-wrap {
  background: #fff;
  border: 1px solid #E5E3DC;
  border-radius: 12px; padding: 20px; margin: 20px 0;
}
.blog-ba-title {
  font-size: 13px; font-weight: 700;
  color: #6B6963; text-align: center;
  margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: .06em;
}
.blog-ba-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 10px; align-items: center;
}
.blog-ba-before {
  background: #FCEBEB; border: 1px solid #F7C1C1;
  border-radius: 10px; padding: 16px; text-align: center;
}
.blog-ba-after {
  background: #EAF3DE; border: 1px solid #C0DD97;
  border-radius: 10px; padding: 16px; text-align: center;
}
.blog-ba-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; margin-bottom: 6px;
}
.blog-ba-before .blog-ba-label { color: #791F1F; }
.blog-ba-after .blog-ba-label { color: #27500A; }
.blog-ba-size {
  font-size: 28px; font-weight: 800;
  line-height: 1; margin-bottom: 4px;
}
.blog-ba-before .blog-ba-size { color: #A32D2D; }
.blog-ba-after .blog-ba-size { color: #3B6D11; }
.blog-ba-sub { font-size: 12px; color: #6B6963; line-height: 1.5; }
.blog-ba-arrow { text-align: center; color: #0A6E8A; font-weight: 700; font-size: 18px; }
.blog-ba-pct { font-size: 11px; font-weight: 700; color: #0A6E8A; display: block; }

@media (max-width: 600px) {
  .blog-stats-v2 { grid-template-columns: repeat(3, 1fr); }
  .blog-situation-grid { grid-template-columns: 1fr; }
  .blog-cta-inline-v2 { flex-direction: column; }
  .blog-ba-grid { grid-template-columns: 1fr 30px 1fr; }
  .blog-ba-size { font-size: 22px; }
}
