/* BioHelix page — Singapore hub companion page styles */

.biohelix-page {
  --sg-red: #c0392b;
  --sg-red-soft: #fdf2f1;
  --teal-mid: #085041;
}

.biohelix-page h2 em {
  font-style: normal;
  color: var(--teal);
  font-weight: 600;
}

.biohelix-page .hero {
  margin: 40px 0 48px;
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.biohelix-page .hero-left {
  padding: 40px 36px;
  border-right: 1.5px solid var(--ink);
}
.biohelix-page .hero-right {
  padding: 40px 36px;
  background: var(--ink);
  color: #fff;
}
.biohelix-page .page-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 500;
}
.biohelix-page .hero h1 {
  font-size: 38px;
  font-weight: 300;
  letter-spacing: -1.5px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 14px;
}
.biohelix-page .hero h1 strong { font-weight: 700; }
.biohelix-page .hero-sub {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.65;
}
.biohelix-page .hero-right .hero-kpi-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.biohelix-page .hero-kpi { margin-bottom: 20px; }
.biohelix-page .hero-kpi-num {
  font-size: 32px;
  font-weight: 300;
  color: #fff;
  letter-spacing: -1px;
}
.biohelix-page .hero-kpi-num strong { font-weight: 700; color: #f97c52; }
.biohelix-page .hero-kpi-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
  line-height: 1.4;
}

.biohelix-page .mirxes-card {
  border: 2px solid var(--teal);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  margin: 24px 0;
}
.biohelix-page .mirxes-header {
  background: var(--teal);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.biohelix-page .mirxes-logo-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  flex-shrink: 0;
}
.biohelix-page .mirxes-header-text h3 { color: #fff; margin: 0 0 2px; font-size: 17px; }
.biohelix-page .mirxes-header-text p { color: rgba(255,255,255,0.75); font-size: 12px; margin: 0; }
.biohelix-page .mirxes-body { padding: 24px 28px; }
.biohelix-page .mirxes-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin: 16px 0 20px;
}
.biohelix-page .mirxes-stat {
  background: var(--teal-soft);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}
.biohelix-page .mirxes-stat-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--teal-mid);
  letter-spacing: -0.5px;
}
.biohelix-page .mirxes-stat-label { font-size: 11px; color: var(--teal); margin-top: 2px; line-height: 1.3; }
.biohelix-page .i4-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 10px 4px 8px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.biohelix-page .i4-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7be8c8;
  flex-shrink: 0;
}

.biohelix-page .ecosystem {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin: 20px 0;
}
.biohelix-page .eco-node {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}
.biohelix-page .eco-node-icon { font-size: 20px; margin-bottom: 6px; }
.biohelix-page .eco-node-title { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.biohelix-page .eco-node-desc { font-size: 11px; color: var(--ink-muted); line-height: 1.4; }

.biohelix-page .model {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
  margin: 24px 0;
}
.biohelix-page .model-box {
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.biohelix-page .model-box.india {
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
}
.biohelix-page .model-box.singapore {
  background: var(--teal-soft);
  border: 1.5px solid var(--teal);
}
.biohelix-page .model-box h4 { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.biohelix-page .model-box.india h4 { color: var(--accent-mid); }
.biohelix-page .model-box.singapore h4 { color: var(--teal-mid); }
.biohelix-page .model-box p { font-size: 12px; line-height: 1.5; margin: 0; color: var(--ink-secondary); }
.biohelix-page .model-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}
.biohelix-page .model-arrow-line {
  width: 36px;
  height: 1px;
  background: var(--border-strong);
}
.biohelix-page .model-arrow-label {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}

.biohelix-page .tier-table { width: 100%; border-collapse: collapse; margin: 0; font-size: 13px; }
.biohelix-page .badge-teal { background: var(--teal-soft); color: var(--teal-mid); }
.biohelix-page .badge-purple { background: var(--purple-soft); color: var(--purple); }

.biohelix-page .card-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.biohelix-page .card-dark h4 { color: #f97c52; }
.biohelix-page .card-dark p { color: rgba(255,255,255,0.8); }

.biohelix-page .callout strong { color: #7be8c8; font-weight: 600; }
.biohelix-page .verdict {
  background: var(--teal);
  color: #fff;
}
.biohelix-page .verdict p { color: #fff; font-size: 14px; line-height: 1.6; }
.biohelix-page .phase-num { background: var(--teal); }

.biohelix-page .reg-bridge {
  display: flex;
  gap: 0;
  align-items: stretch;
  margin: 20px 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.biohelix-page .reg-node {
  flex: 1;
  padding: 18px 14px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.biohelix-page .reg-node:last-child { border-right: none; }
.biohelix-page .reg-node.primary { background: var(--teal); }
.biohelix-page .reg-node.primary .reg-label { color: rgba(255,255,255,0.7); }
.biohelix-page .reg-node.primary .reg-body { color: #fff; }
.biohelix-page .reg-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.biohelix-page .reg-body { font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.biohelix-page .reg-flag { font-size: 18px; margin-bottom: 4px; }

@media (max-width: 600px) {
  .biohelix-page .hero { grid-template-columns: 1fr; }
  .biohelix-page .hero-left { border-right: none; border-bottom: 1.5px solid var(--ink); }
  .biohelix-page .hero h1 { font-size: 28px; }
}
@media (max-width: 580px) {
  .biohelix-page .model { grid-template-columns: 1fr; }
  .biohelix-page .model-arrow { flex-direction: row; }
}
@media (max-width: 550px) {
  .biohelix-page .ecosystem { grid-template-columns: 1fr 1fr; }
}

@media print {
  .biohelix-page .hero-right {
    background: var(--bg-soft);
    color: var(--ink);
  }
  .biohelix-page .hero-kpi-num,
  .biohelix-page .hero-kpi-desc,
  .biohelix-page .hero-right .hero-kpi-label {
    color: var(--ink-secondary);
  }
}
