/* BioScanPro Blog — SEO Optimizado */
:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --bg: #f8fafc;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --white: #ffffff;
  --green: #10b981;
  --cta-bg: linear-gradient(135deg, #0ea5e9, #6366f1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; font-size: 17px; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* NAV */
nav { background: var(--white); border-bottom: 1px solid var(--border); padding: 0 1rem; position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 1.5rem; height: 60px; }
.nav-logo { font-weight: 800; font-size: 1.1rem; color: var(--primary); }
.nav-logo span { color: var(--text); }
.nav-cta { margin-left: auto; background: var(--primary); color: #fff; padding: 0.45rem 1.1rem; border-radius: 6px; font-size: 0.9rem; font-weight: 600; white-space: nowrap; }
.nav-cta:hover { background: var(--primary-dark); text-decoration: none; }

/* HERO (index) */
.hero { background: linear-gradient(135deg, #0f172a, #1e3a5f); color: #fff; padding: 4rem 1rem; text-align: center; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; max-width: 800px; margin: 0 auto 1rem; }
.hero p { font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; color: #94a3b8; }
.hero-cta { display: inline-block; background: var(--primary); color: #fff; padding: 0.9rem 2rem; border-radius: 8px; font-weight: 700; font-size: 1.05rem; }
.hero-cta:hover { background: var(--primary-dark); text-decoration: none; }

/* ARTICLE GRID (index) */
.section { max-width: 1100px; margin: 0 auto; padding: 3rem 1rem; }
.section-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 2rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.09); transform: translateY(-2px); }
.card-body { padding: 1.25rem; }
.card-tag { display: inline-block; background: #e0f2fe; color: var(--primary); font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 4px; margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: .05em; }
.card-title { font-size: 1.05rem; font-weight: 700; line-height: 1.4; margin-bottom: 0.5rem; color: var(--text); }
.card-excerpt { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-footer { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--muted); }
.card-read { margin-left: auto; color: var(--primary); font-weight: 600; font-size: 0.85rem; }

/* ARTICLE PAGE */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 2.5rem 1rem 4rem; }
.article-tag { display: inline-block; background: #e0f2fe; color: var(--primary); font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.7rem; border-radius: 4px; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .05em; }
.article-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; line-height: 1.25; margin-bottom: 1rem; }
.article-meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.article-meta strong { color: var(--text); }
.article-body h2 { font-size: 1.4rem; font-weight: 700; margin: 2.2rem 0 .8rem; color: var(--text); }
.article-body h3 { font-size: 1.15rem; font-weight: 700; margin: 1.8rem 0 .6rem; }
.article-body p { margin-bottom: 1.2rem; }
.article-body ul, .article-body ol { margin: 0.8rem 0 1.2rem 1.5rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body blockquote { border-left: 4px solid var(--primary); padding: 0.8rem 1.2rem; background: #f0f9ff; border-radius: 0 8px 8px 0; margin: 1.5rem 0; color: var(--text); }
.article-body strong { font-weight: 700; }

/* STAT BOXES */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin: 2rem 0; }
.stat-box { background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 10px; padding: 1rem; text-align: center; }
.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.stat-lbl { font-size: 0.82rem; color: var(--muted); margin-top: 0.2rem; }

/* CTA BOX */
.cta-box { background: var(--cta-bg); border-radius: 16px; padding: 2.5rem 2rem; text-align: center; color: #fff; margin: 3rem 0; }
.cta-box h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.8rem; }
.cta-box p { font-size: 1rem; margin-bottom: 1.8rem; color: rgba(255,255,255,.85); }
.cta-btn { display: inline-block; background: #fff; color: var(--primary); padding: 0.9rem 2.2rem; border-radius: 8px; font-weight: 800; font-size: 1.05rem; box-shadow: 0 4px 15px rgba(0,0,0,.15); }
.cta-btn:hover { background: #f0f9ff; text-decoration: none; }
.cta-badge { display: inline-block; background: rgba(255,255,255,.2); border-radius: 20px; padding: 0.25rem 0.8rem; font-size: 0.8rem; margin-bottom: 1rem; }

/* CTA INLINE */
.cta-inline { background: #f0f9ff; border: 2px solid var(--primary); border-radius: 10px; padding: 1.2rem 1.5rem; margin: 2rem 0; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cta-inline p { margin: 0; flex: 1; min-width: 200px; font-size: 0.95rem; }
.cta-inline a { background: var(--primary); color: #fff; padding: 0.6rem 1.3rem; border-radius: 6px; font-weight: 700; white-space: nowrap; font-size: 0.9rem; }
.cta-inline a:hover { background: var(--primary-dark); text-decoration: none; }

/* FAQ */
.faq { margin: 2rem 0; }
.faq h2 { margin-bottom: 1.2rem; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 0.75rem; overflow: hidden; }
.faq-q { padding: 1rem 1.2rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 1rem; }
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--primary); font-weight: 300; }
.faq-a { padding: 0 1.2rem 1rem; font-size: 0.95rem; color: var(--muted); border-top: 1px solid var(--border); }
details[open] .faq-q::after { content: '−'; }

/* FOOTER */
footer { background: #0f172a; color: #94a3b8; padding: 2rem 1rem; text-align: center; font-size: 0.85rem; }
footer a { color: #38bdf8; }

@media (max-width: 640px) {
  .article-title { font-size: 1.5rem; }
  .cta-box { padding: 1.8rem 1.2rem; }
  .nav-inner { gap: 0.8rem; }
}
