/* ==========================================================================
   Page-specific styles
   ========================================================================== */

/* ---------- Tech platform cards ---------- */
.tech-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-2xl);
  padding: var(--s-7);
  overflow: hidden;
  transition: all var(--t-med) var(--ease);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.tech-card::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, transparent 60%, rgba(0,180,216,.20));
  pointer-events: none;
  opacity: 0; transition: opacity var(--t-med) var(--ease);
}
.tech-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: var(--c-primary-200); }
.tech-card:hover::after { opacity: 1; }
.tech-card .platform-mark {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  color: var(--c-accent-700);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: var(--s-2);
}
.tech-card h3 { margin: 0; }
.tech-card .tagline { color: var(--text-muted); font-size: .98rem; }
.tech-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.tech-card li { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; color: var(--text-muted); }
.tech-card li::before { content: "→"; color: var(--c-accent-500); font-weight: 700; }

/* ---------- Clinical comparison bar ---------- */
.bar-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-4); }
.bar-label { display: flex; justify-content: space-between; align-items: center; font-size: .88rem; color: var(--c-ink-800); font-weight: 500; }
.bar-track { height: 8px; background: var(--c-ink-100); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--c-primary-600), var(--c-accent-500)); transition: width 1s var(--ease); }
.bar-fill.danger { background: linear-gradient(90deg, #B91C1C, #F59E0B); }
.bar-fill.muted { background: var(--c-ink-300); }
.bar-val { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Specs grid ---------- */
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--border-soft); border-radius: var(--r-lg); overflow: hidden; }
.specs > div { padding: 14px 18px; border-bottom: 1px solid var(--border-soft); }
.specs > div:nth-last-child(-n+2) { border-bottom: 0; }
.specs .k { font-size: .82rem; color: var(--text-muted); display: block; }
.specs .v { font-weight: 600; color: var(--c-ink-900); }
@media (max-width: 600px) { .specs { grid-template-columns: 1fr; } .specs > div { border-bottom: 1px solid var(--border-soft); } .specs > div:last-child { border-bottom: 0; } }

/* ---------- News card ---------- */
.news-card {
  display: flex; flex-direction: column; gap: var(--s-3);
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: all var(--t-med) var(--ease);
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-primary-200); }
.news-meta { display: flex; gap: var(--s-3); align-items: center; font-size: .82rem; color: var(--text-faint); }
.news-thumb {
  aspect-ratio: 16/9;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--c-primary-100), var(--c-accent-100));
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-primary-700);
  font-weight: 700; font-size: .9rem;
  overflow: hidden; position: relative;
}
.news-thumb svg { width: 60%; height: 60%; opacity: .6; }
.news-card h3 { font-size: 1.1rem; margin: 0; }
.news-card p { color: var(--text-muted); font-size: .92rem; margin: 0; }

/* ---------- Leader card ---------- */
.leader {
  display: flex; flex-direction: column; gap: var(--s-2);
  padding: var(--s-5);
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  transition: all var(--t-med) var(--ease);
}
.leader:hover { box-shadow: var(--shadow-md); border-color: var(--c-primary-200); }
.leader .avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary-600), var(--c-accent-500));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.3rem;
  margin-bottom: var(--s-2);
}
.leader h4 { margin: 0; }
.leader .role { color: var(--c-accent-700); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.leader p { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* ---------- Map placeholder ---------- */
.world-map {
  aspect-ratio: 2/1;
  background: linear-gradient(135deg, var(--c-primary-50), var(--c-accent-100));
  border-radius: var(--r-xl);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-primary-700);
}
.world-map svg { width: 100%; height: 100%; }

/* ---------- Article body ---------- */
.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { font-size: 1.6rem; margin-top: var(--s-8); }
.article-body h3 { font-size: 1.25rem; margin-top: var(--s-6); }
.article-body p { font-size: 1.05rem; line-height: 1.75; color: var(--c-ink-800); }
.article-body ul, .article-body ol { margin: 0 0 var(--s-4); }
.article-body li { margin-bottom: 8px; color: var(--c-ink-800); }
.article-body blockquote {
  margin: var(--s-5) 0;
  padding: var(--s-4) var(--s-5);
  border-left: 3px solid var(--c-accent-500);
  background: var(--c-primary-50);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--c-ink-800);
  font-style: italic;
}

/* ---------- Insight card ---------- */
.insight-card {
  display: flex; flex-direction: column; gap: var(--s-3);
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--r-lg);
  padding: var(--s-5);
  text-decoration: none; color: inherit;
  transition: all var(--t-med) var(--ease);
}
.insight-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-primary-200); color: inherit; }
.insight-card .cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--c-accent-700); }
.insight-card h3 { font-size: 1.05rem; margin: 0; }
.insight-card p { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* ---------- Product hero ---------- */
.product-hero {
  background: linear-gradient(180deg, var(--c-primary-50), #fff);
  border-bottom: 1px solid var(--border-soft);
  padding: var(--s-10) 0;
  position: relative;
  overflow: hidden;
}
.product-hero::before {
  content: ""; position: absolute; right: -100px; top: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,.18), transparent 60%);
  pointer-events: none;
}
.product-hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: var(--s-9); align-items: center;
  position: relative;
}
@media (max-width: 900px) { .product-hero-grid { grid-template-columns: 1fr; } }
.product-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: var(--s-3); }
.product-hero p.lead { font-size: 1.12rem; }

/* ---------- Diagram block ---------- */
.diagram {
  background: linear-gradient(135deg, var(--c-primary-50), #fff);
  border: 1px solid var(--c-primary-100);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  overflow: hidden;
}
.diagram svg { width: 100%; height: auto; }

/* ---------- KOL card ---------- */
.kol-card {
  display: flex; gap: var(--s-3);
  align-items: center;
  padding: var(--s-4);
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  transition: all var(--t-med) var(--ease);
}
.kol-card:hover { box-shadow: var(--shadow-sm); border-color: var(--c-primary-200); }
.kol-card .avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent-500), var(--c-primary-600));
  color: #fff; font-weight: 700; font-size: .9rem;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.kol-card .name { font-weight: 600; color: var(--c-ink-900); font-size: .95rem; }
.kol-card .aff { color: var(--text-muted); font-size: .82rem; }

/* ---------- Region / market block ---------- */
.region {
  padding: var(--s-5);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  background: #fff;
  display: flex; flex-direction: column; gap: 6px;
}
.region .country { font-weight: 700; color: var(--c-primary-800); font-size: 1.1rem; }
.region .gpo { font-size: .85rem; color: var(--text-muted); }
.region ul { list-style: none; padding: 0; margin: var(--s-2) 0 0; display: flex; flex-direction: column; gap: 4px; }
.region li { font-size: .85rem; color: var(--text-muted); padding-left: 14px; position: relative; }
.region li::before { content: "▸"; color: var(--c-accent-500); position: absolute; left: 0; }

/* ---------- Compare table highlight ---------- */
.tbl .highlight { background: linear-gradient(180deg, var(--c-accent-100) 0%, transparent 100%); font-weight: 700; color: var(--c-primary-800); }
.tbl .check { color: var(--c-success); font-weight: 700; }
.tbl .cross { color: var(--c-danger); }

/* ---------- Callout box ---------- */
.callout {
  display: flex; gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  border-left: 3px solid var(--c-accent-500);
  background: var(--c-accent-100);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--c-ink-800);
  font-size: .94rem;
}
.callout.warn { background: #FEF3C7; border-color: #F59E0B; }
.callout.info { background: var(--c-primary-50); border-color: var(--c-primary-500); }
.callout.danger { background: #FEE2E2; border-color: #EF4444; }
.callout strong { color: var(--c-ink-900); }

/* ---------- Quick facts ---------- */
.qf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
@media (max-width: 768px) { .qf-grid { grid-template-columns: 1fr; } }
.qf {
  padding: var(--s-5);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  background: #fff;
  display: flex; flex-direction: column; gap: 4px;
}
.qf .v { font-size: 1.4rem; font-weight: 800; color: var(--c-primary-800); }
.qf .k { font-size: .82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Process visual ---------- */
.process-vis {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: var(--s-6);
}
@media (max-width: 900px) { .process-vis { grid-template-columns: 1fr; } }
.process-step {
  padding: var(--s-5);
  position: relative;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-right: 0;
}
.process-step:last-child { border-right: 1px solid var(--border-soft); }
.process-step .n {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--c-primary-50); color: var(--c-primary-800);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: var(--s-2);
}
.process-step h4 { font-size: 1rem; margin: 0 0 4px; }
.process-step p { font-size: .85rem; color: var(--text-muted); margin: 0; }
@media (max-width: 900px) {
  .process-step { border-right: 1px solid var(--border-soft); border-bottom: 0; }
  .process-step:last-child { border-bottom: 1px solid var(--border-soft); }
}

/* ---------- Section divider w/ accent ---------- */
.accent-divider {
  display: flex; align-items: center; gap: var(--s-3); margin: var(--s-7) 0;
}
.accent-divider::before, .accent-divider::after { content: ""; flex: 1; height: 1px; background: var(--border-soft); }
.accent-divider .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent-500); }
