/* ===== Quality Prototype — Blog Styles ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #0a0a12;
  color: #e0e0f0;
  line-height: 1.7;
}

/* NAV */
.blog-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 64px;
  background: rgba(10,10,18,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,30,140,0.18);
}
.blog-nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem; font-weight: 700; color: #fff;
  text-decoration: none; display: flex; align-items: center; gap: 10px;
}
.logo-box {
  width: 28px; height: 28px; background: #FF1E8C;
  border-radius: 6px; display: flex; align-items: center;
  justify-content: center; font-size: 12px; font-weight: 900; color: #fff;
}
.blog-nav-cta {
  background: #FF1E8C; color: #fff; text-decoration: none;
  padding: 9px 22px; border-radius: 8px; font-size: 0.875rem;
  font-weight: 700; transition: background 0.2s;
}
.blog-nav-cta:hover { background: #C4006B; }

/* MAIN */
.blog-main { max-width: 780px; margin: 0 auto; padding: 64px 24px 80px; }

/* HEADER */
.blog-header { margin-bottom: 48px; }
.blog-tag-pill {
  display: inline-block;
  background: rgba(255,30,140,0.12); color: #FF6BB5;
  border: 1px solid rgba(255,30,140,0.3);
  padding: 4px 14px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 20px;
}
.blog-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; line-height: 1.12;
  color: #fff; margin-bottom: 20px;
}
.blog-byline { color: #666688; font-size: 0.875rem; }

/* BODY */
.blog-body { font-size: 1rem; color: #b8b8d0; }
.blog-body .lead {
  font-size: 1.15rem; color: #d0d0e8; line-height: 1.75;
  border-left: 3px solid #FF1E8C; padding-left: 20px;
  margin-bottom: 40px;
}
.blog-body h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem; font-weight: 700; color: #fff;
  margin-top: 48px; margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.blog-body h3 {
  font-size: 1.05rem; font-weight: 700; color: #e0e0f0;
  margin-top: 28px; margin-bottom: 10px;
}
.blog-body p { margin-bottom: 18px; }
.blog-body ul, .blog-body ol { padding-left: 24px; margin-bottom: 18px; }
.blog-body li { margin-bottom: 8px; }
.blog-body strong { color: #e0e0f0; }
.blog-body em { color: #FF6BB5; font-style: normal; font-weight: 600; }

/* CALLOUTS */
.callout {
  border-radius: 12px; padding: 24px 28px; margin: 32px 0;
}
.callout-pink {
  background: rgba(255,30,140,0.08);
  border: 1px solid rgba(255,30,140,0.25);
  color: #d0d0e8;
}
.callout-dark {
  background: #10101e; border: 1px solid rgba(255,255,255,0.08);
  color: #d0d0e8;
}
.callout strong { color: #fff; display: block; margin-bottom: 8px; font-size: 1rem; }

/* CTA BUTTON */
.cta-btn {
  display: inline-block; margin-top: 14px;
  background: #FF1E8C; color: #fff; text-decoration: none;
  padding: 13px 28px; border-radius: 8px; font-weight: 700;
  font-size: 0.95rem; transition: background 0.2s;
}
.cta-btn:hover { background: #C4006B; }

/* SPEC TABLE */
.spec-table {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; overflow: hidden;
  margin: 24px 0; font-size: 0.875rem;
}
.spec-row {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.spec-row:last-child { border-bottom: none; }
.spec-row span { padding: 12px 16px; }
.spec-header { background: rgba(255,30,140,0.12); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; color: #FF6BB5; }
.spec-row:not(.spec-header):nth-child(even) { background: rgba(255,255,255,0.02); }
.highlight-val { color: #FF6BB5; font-weight: 700; }
.risk { font-weight: 700; }
.risk.high { color: #ff6b6b; }
.risk.med  { color: #ffcc00; }
.risk.low  { color: #44cc88; }

/* TWO-COL CARDS */
.two-col-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.col-card {
  border-radius: 12px; padding: 24px; font-size: 0.875rem;
}
.col-card-green { background: rgba(68,204,136,0.06); border: 1px solid rgba(68,204,136,0.2); }
.col-card-pink  { background: rgba(255,30,140,0.06); border: 1px solid rgba(255,30,140,0.25); }
.col-card-title { font-weight: 700; color: #fff; margin-bottom: 12px; font-size: 0.9rem; }
.col-card ul { padding-left: 18px; }
.col-card li { margin-bottom: 6px; color: #b8b8d0; }

/* CODE BLOCK */
.code-block {
  background: #060610; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; padding: 20px 24px;
  font-family: 'Courier New', monospace; font-size: 0.82rem;
  color: #aaaacc; white-space: pre-wrap; margin: 24px 0;
  line-height: 1.7;
}

/* TIMELINE */
.timeline { display: flex; flex-direction: column; gap: 0; margin: 24px 0; }
.timeline-item {
  display: grid; grid-template-columns: 90px 1fr;
  gap: 0; border-left: 2px solid rgba(255,255,255,0.08);
  margin-left: 45px; padding: 0 0 0 20px; position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute; left: -7px; top: 14px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #333355; border: 2px solid #666688;
}
.timeline-problem::before { background: rgba(255,100,100,0.3); border-color: #ff6b6b; }
.timeline-good::before    { background: rgba(68,204,136,0.3); border-color: #44cc88; }
.timeline-day {
  font-size: 0.75rem; font-weight: 700; color: #666688;
  padding: 12px 0; white-space: nowrap;
}
.timeline-content { padding: 10px 0 10px 16px; font-size: 0.875rem; color: #b8b8d0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.timeline-problem .timeline-content { color: #ff9999; }
.timeline-good .timeline-content    { color: #88ddaa; }

/* CHECKLIST */
.checklist { display: flex; flex-direction: column; gap: 0; margin: 32px 0; }
.checklist-item {
  display: flex; gap: 20px; padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.checklist-item:last-child { border-bottom: none; }
.check-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  color: rgba(255,30,140,0.25); flex-shrink: 0;
  width: 40px; line-height: 1.3;
}
.check-title {
  font-weight: 700; color: #e0e0f0; margin-bottom: 6px; font-size: 0.95rem;
}
.check-desc { font-size: 0.875rem; color: #888899; line-height: 1.7; }

/* FOOTER */
.blog-footer {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 780px; margin: 0 auto; padding: 24px 24px 48px;
  border-top: 1px solid rgba(255,255,255,0.06); flex-wrap: wrap; gap: 12px;
}
.blog-footer a { color: #FF6BB5; text-decoration: none; font-size: 0.875rem; }
.blog-footer a:hover { color: #FF1E8C; }
.blog-footer span { color: #555577; font-size: 0.8rem; }

@media (max-width: 600px) {
  .two-col-cards { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1.2fr 1fr 1fr; }
  .timeline-item { grid-template-columns: 70px 1fr; }
}
