/* datapages.css — v3 light data products: gold-numeral stat cards, neon timeline, glowing icon tiles */

.stat-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 26px 0; }
.stat-card { position: relative; overflow: hidden; border: 1px solid #E3DDD2; border-radius: 16px; padding: 22px 20px 18px; background: #FFFFFF; box-shadow: 0 8px 26px rgba(26, 35, 50, 0.06); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.stat-card:hover { transform: translateY(-3px); border-color: rgba(224, 49, 49, 0.45); box-shadow: 0 16px 40px rgba(26, 35, 50, 0.12); }
.stat-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, #E03131 0%, #F2A413 70%, rgba(242, 164, 19, 0) 100%); }
.stat-card .stat-card-value { font-size: 36px; line-height: 40px; font-weight: 800; letter-spacing: -1.4px; font-variant-numeric: tabular-nums; background: linear-gradient(110deg, #E03131 0%, #F2A413 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin: 0; }
.stat-card .stat-card-label { font-size: 15px; font-weight: 700; line-height: 23px; margin: 8px 0 8px; color: #1A2332; }
.stat-card .stat-card-detail { font-size: 13px; line-height: 20px; color: #5B6573; margin: 0 0 10px; }
.stat-card .stat-card-source { font-size: 12px; color: #8B94A3; margin: 0; padding-top: 10px; border-top: 1px dashed #E8E2D7; }
.stat-card .stat-card-source .stat-card-source-label { font-weight: 800; color: #168A50; text-transform: uppercase; letter-spacing: 0.8px; font-size: 10px; margin-right: 4px; }

@media (min-width: 768px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .stat-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.timeline { position: relative; margin: 30px 0; padding: 0; list-style: none; }
.timeline .timeline-entry { position: relative; margin: 0; padding: 0 0 30px 30px; }
.timeline .timeline-entry::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: -8px; width: 2px; background: linear-gradient(180deg, #E03131 0%, #ECE7DD 100%); }
.timeline .timeline-entry:last-child::before { display: none; }
.timeline .timeline-entry::after { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #E03131; box-shadow: 0 0 0 4px rgba(224, 49, 49, 0.15); }
.timeline .timeline-entry.timeline-upcoming::after { background: #F2A413; box-shadow: 0 0 0 4px rgba(242, 164, 19, 0.18); }
.timeline .timeline-card { background: #FFFFFF; border: 1px solid #E3DDD2; border-radius: 14px; padding: 16px 18px; transition: border-color 0.18s ease, box-shadow 0.18s ease; }
.timeline .timeline-card:hover { border-color: rgba(224, 49, 49, 0.45); box-shadow: 0 10px 28px rgba(26, 35, 50, 0.1); }
.timeline .timeline-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.timeline .timeline-date { font-size: 12px; font-weight: 800; color: #C42525; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.timeline .timeline-jurisdiction { margin-left: 0; }
.timeline .timeline-title { font-size: 17px; font-weight: 800; letter-spacing: -0.2px; margin: 6px 0 7px; color: #1A2332; }
.timeline .timeline-summary { font-size: 14px; line-height: 22px; color: #5B6573; margin: 0 0 8px; }
.timeline .timeline-source { font-size: 12px; color: #8B94A3; margin: 0; padding-top: 8px; border-top: 1px dashed #E8E2D7; }

.data-card-row { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 26px 0; }
.data-card { position: relative; border: 1px solid #E3DDD2; border-radius: 16px; padding: 20px; background: #FFFFFF; box-shadow: 0 8px 26px rgba(26, 35, 50, 0.06); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.data-card:hover { transform: translateY(-3px); border-color: rgba(224, 49, 49, 0.45); box-shadow: 0 16px 40px rgba(26, 35, 50, 0.12); }
.data-card .data-card-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(242, 164, 19, 0.1); border: 1px solid rgba(242, 164, 19, 0.45); box-shadow: 0 0 18px rgba(242, 164, 19, 0.12); margin: 0 0 12px; }
.data-card .data-card-icon .icon { width: 22px; height: 22px; }
.data-card .data-card-title { font-size: 17px; font-weight: 800; letter-spacing: -0.2px; margin: 0 0 6px; color: #1A2332; }
.data-card .data-card-desc { font-size: 14px; line-height: 21px; color: #5B6573; margin: 0 0 14px; }
.data-card .data-card-actions { margin: 0; }

@media (min-width: 768px) {
  .data-card-row { grid-template-columns: 1fr 1fr; }
}

.matrix-yes { color: #168A50; font-weight: 800; }
.matrix-yes::before { content: ""; display: inline-block; width: 13px; height: 13px; margin-right: 6px; vertical-align: -2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23168A50' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") no-repeat center; background-size: contain; }
.matrix-no { color: #8B94A3; }
.matrix-soon { color: #B97D08; font-weight: 800; }
.matrix-soon::before { content: ""; display: inline-block; width: 13px; height: 13px; margin-right: 6px; vertical-align: -2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B97D08' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3.5 2'/%3E%3C/svg%3E") no-repeat center; background-size: contain; }
.download-chip { display: inline-block; background: linear-gradient(135deg, #1A2332 0%, #2A3852 100%); color: #FFFFFF; font-size: 13px; font-weight: 800; border-radius: 8px; padding: 9px 16px; box-shadow: 0 4px 14px rgba(26, 35, 50, 0.25); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.download-chip::before { content: ""; display: inline-block; width: 13px; height: 13px; margin-right: 7px; vertical-align: -2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m0 0l-4.5-4.5M12 15l4.5-4.5M4.5 20h15'/%3E%3C/svg%3E") no-repeat center; background-size: contain; }
.download-chip:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(26, 35, 50, 0.35); text-decoration: none; color: #FFFFFF; }
