/* Page-specific styles */

/* ===== HERO THEME ===== */
.article-hero { background: linear-gradient(160deg, #0a0a1e 0%, #0d1535 55%, #101e40 100%); }
.article-tag-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 20px; }
.tag-explainer { background: #1a3a6a; }
.tag-quantum   { background: #5a20a0; }
.article-hero-sub { color: #8eadc8; }
.article-meta-author { color: #d1db24; }
.article-meta-date, .article-meta-read { color: #6a8aaa; }
.article-meta-sep { color: #3a5a7a; }
.article-cta { background: linear-gradient(135deg, #0a0a1e 0%, #1a0a35 100%); border: 2px solid #5a20a0; }
.article-cta p { color: #8eadc8; }
.article-cta a.secondary { color: #8eadc8; border: 2px solid #5a30a0; }

/* ===== BIT vs QUBIT comparison ===== */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid #dde8c8;
  margin: 36px 0;
}
.compare-col {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.compare-col.col-classic { background: #f8f8f8; border-right: 2px solid #dde8c8; }
.compare-col.col-quantum { background: #f4f0ff; }
.compare-label {
  font-size: 10px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 2px;
}
.col-classic .compare-label { color: #888; }
.col-quantum .compare-label { color: #7a30c0; }
.compare-title {
  font-size: 20px; font-weight: 900;
}
.col-classic .compare-title { color: #2a2a2a; }
.col-quantum .compare-title { color: #5a10a0; }
.compare-visual {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.bit-box {
  width: 44px; height: 44px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900;
}
.bit-box.on  { background: #2a2a2a; color: #fff; }
.bit-box.off { background: #e8e8e8; color: #aaa; border: 2px solid #ccc; }
.qubit-sphere {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #c090ff, #7030c0 60%, #3a0080);
  box-shadow: 0 0 20px rgba(130,60,220,0.4);
  position: relative;
  flex-shrink: 0;
}
.qubit-sphere::after {
  content: '';
  position: absolute;
  top: 14px; left: 14px;
  width: 18px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: rotate(-30deg);
}
.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.compare-list li {
  font-size: 13px; font-weight: 700; color: #444;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.compare-list li::before {
  content: '→';
  position: absolute; left: 0;
  font-weight: 900;
}
.col-classic .compare-list li::before { color: #888; }
.col-quantum .compare-list li::before { color: #8040c0; }
@media (max-width: 600px) {
  .compare-grid { grid-template-columns: 1fr; }
  .compare-col.col-classic { border-right: none; border-bottom: 2px solid #dde8c8; }
}

/* ===== CONCEPT CARDS (superposition / entanglement / interference) ===== */
.concept-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 36px 0;
}
.concept-card {
  background: #fff;
  border-radius: 14px;
  border: 2px solid #dde8c8;
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
}
.concept-visual {
  background: #0d1535;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-height: 140px;
}
.concept-body {
  padding: 24px 26px;
}
.concept-number {
  font-size: 9px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 2px; color: #aaa; margin-bottom: 6px;
}
.concept-name {
  font-size: 20px; font-weight: 900; margin-bottom: 8px;
}
.concept-tagline {
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 10px;
}
.concept-desc {
  font-size: 14px; color: #555; line-height: 1.7;
}
.concept-card.c-superposition .concept-name { color: #7030c0; }
.concept-card.c-superposition .concept-tagline { color: #9060d0; }
.concept-card.c-entanglement  .concept-name { color: #1a5a8a; }
.concept-card.c-entanglement  .concept-tagline { color: #3a7aaa; }
.concept-card.c-interference  .concept-name { color: #2a7a0a; }
.concept-card.c-interference  .concept-tagline { color: #4a9a2a; }
@media (max-width: 700px) {
  .concept-card { grid-template-columns: 1fr; }
  .concept-visual { min-height: 120px; }
}

/* ===== WHERE QUANTUM WINS grid ===== */
.wins-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.win-card {
  background: #fff;
  border: 2px solid #dde8c8;
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.win-icon { font-size: 26px; flex-shrink: 0; }
.win-title { font-size: 15px; font-weight: 900; color: #1a1a1a; margin-bottom: 5px; }
.win-desc  { font-size: 13px; color: #555; line-height: 1.65; }
.win-horizon {
  font-size: 11px; font-weight: 800;
  margin-top: 8px; padding: 3px 8px;
  border-radius: 5px; display: inline-block;
}
.horizon-near { background: #edfde8; color: #2a7a0a; }
.horizon-mid  { background: #fff8e0; color: #7a5a00; }
.horizon-far  { background: #f4f0ff; color: #5a20a0; }
@media (max-width: 600px) { .wins-grid { grid-template-columns: 1fr; } }

/* ===== BARRIERS (the catch) ===== */
.barrier-list {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.barrier-row {
  background: #fff;
  border: 2px solid #f0d8d8;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.barrier-icon { font-size: 22px; flex-shrink: 0; }
.barrier-title { font-size: 14px; font-weight: 900; color: #8a1a1a; margin-bottom: 4px; }
.barrier-desc  { font-size: 13px; color: #555; line-height: 1.6; }

/* ===== TIMELINE ===== */
.timeline {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 36px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 16px; bottom: 16px;
  width: 3px;
  background: linear-gradient(to bottom, #7030c0, #1a5a8a, #2a7a0a);
  border-radius: 2px;
}
.tl-item {
  position: relative;
  padding: 0 0 28px 20px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -26px; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #aaa;
}
.tl-year {
  font-size: 11px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 4px;
}
.tl-title { font-size: 15px; font-weight: 900; color: #1a1a1a; margin-bottom: 4px; }
.tl-desc  { font-size: 13px; color: #555; line-height: 1.6; }

/* ===== STAT TRIO ===== */
.stat-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.stat-card {
  background: #0d1535;
  border-radius: 12px;
  padding: 22px 20px;
  text-align: center;
}
.stat-num  { font-size: 36px; font-weight: 900; color: #d1db24; line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 12px; font-weight: 700; color: #8eadc8; line-height: 1.4; }
@media (max-width: 600px) { .stat-trio { grid-template-columns: 1fr; } }
