﻿:root {
  --bg: #0c1116;
  --bg-alt: #121821;
  --card: rgba(18, 24, 33, 0.9);
  --card-soft: rgba(18, 24, 33, 0.72);
  --stroke: rgba(255, 255, 255, 0.08);
  --ink: #f2f6f9;
  --ink-muted: #9fb0bf;
  --teal: #35d2c8;
  --coral: #ff7b5b;
  --gold: #f7c66b;
  --lime: #b8ff6f;
  --shadow: rgba(0, 0, 0, 0.4);
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  background: radial-gradient(circle at top, #1b2430 0%, #0c1116 58%, #07090d 100%);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

.ambient,
.mesh,
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ambient {
  background: radial-gradient(circle at 12% 20%, rgba(53, 210, 200, 0.18), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(255, 123, 91, 0.14), transparent 45%),
    radial-gradient(circle at 40% 85%, rgba(247, 198, 107, 0.12), transparent 45%);
}

.mesh {
  background-image: linear-gradient(transparent 0%, rgba(12, 17, 22, 0.85) 70%),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 32px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 32px
    );
  opacity: 0.45;
}

.grain {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.5;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 6vw;
  background: rgba(8, 12, 18, 0.78);
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(14px);
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: contain;
  display: block;
}

.brand-title {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
}

.menu-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(10, 15, 22, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.top-nav {
  display: flex;
  gap: 14px;
  font-size: 12px;
  flex: 1;
  min-width: 0;
  justify-content: center;
}

.topbar-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.top-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.top-nav a:hover {
  color: var(--ink);
  border-color: rgba(53, 210, 200, 0.35);
  background: rgba(53, 210, 200, 0.08);
}

.top-nav a.active {
  color: var(--ink);
  border-color: rgba(255, 123, 91, 0.45);
  background: rgba(255, 123, 91, 0.16);
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(53, 210, 200, 0.12);
  border: 1px solid rgba(53, 210, 200, 0.28);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(10, 15, 22, 0.9);
}

.lang-btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  transition: 0.2s ease;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.active {
  color: var(--ink);
  border-color: rgba(53, 210, 200, 0.45);
  background: rgba(53, 210, 200, 0.16);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(53, 210, 200, 0.8);
  animation: pulseGlow 1.6s ease-in-out infinite;
}

.page {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 64px;
  padding: 36px 6vw 100px;
  max-width: 1400px;
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  animation: fadeRise 0.8s ease-out both;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--teal);
}

.hero-copy h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(30px, 3.3vw, 48px);
  margin: 12px 0 18px;
}

.hero-copy p {
  color: var(--ink-muted);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}

.btn {
  border: none;
  cursor: pointer;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 11px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background: linear-gradient(135deg, #35d2c8, #ff7b5b);
  color: #081015;
  box-shadow: 0 16px 28px rgba(53, 210, 200, 0.2);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary:hover {
  box-shadow: 0 18px 36px rgba(53, 210, 200, 0.35), 0 6px 14px rgba(255, 123, 91, 0.2);
}

.hero-panel {
  background: var(--card);
  border-radius: 24px;
  border: 1px solid var(--stroke);
  padding: 24px;
  box-shadow: 0 24px 40px var(--shadow);
  display: grid;
  gap: 16px;
  animation: fadeRise 0.9s ease-out both;
}

.panel-head {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

.panel-title {
  font-family: "Syne", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.panel-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 8px;
}

.panel-metric {
  padding: 14px;
  border-radius: 14px;
  background: var(--card-soft);
  border: 1px solid var(--stroke);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  min-width: 0;
}

.panel-value {
  display: block;
  font-size: 34px;
  line-height: 1.15;
  color: var(--lime);
  font-family: "Syne", sans-serif;
}

.panel-value-date {
  font-size: clamp(14px, 1.5vw, 20px);
  letter-spacing: 0.3px;
  word-break: break-word;
}

.bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.bento-card {
  padding: 22px;
  border-radius: 20px;
  background: var(--card-soft);
  border: 1px solid var(--stroke);
  display: grid;
  gap: 10px;
  animation: fadeRise 0.9s ease-out both;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 210, 200, 0.28);
}

.bento-card h3 {
  font-family: "Syne", sans-serif;
  font-size: 18px;
}

.bento-card p {
  color: var(--ink-muted);
  line-height: 1.6;
  font-size: 14px;
}

.bento-card.accent {
  background: linear-gradient(135deg, rgba(53, 210, 200, 0.2), rgba(18, 24, 33, 0.9));
}

.bento-card.accent-soft {
  background: linear-gradient(135deg, rgba(247, 198, 107, 0.2), rgba(18, 24, 33, 0.9));
}

.section {
  display: grid;
  gap: 24px;
  background: var(--card);
  padding: 30px;
  border-radius: 26px;
  border: 1px solid var(--stroke);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.section.alt {
  background: rgba(14, 20, 28, 0.92);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.section-head h2 {
  font-family: "Syne", sans-serif;
  font-size: 22px;
  margin-top: 10px;
}

.section-title-with-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #081015;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  border: 1px solid rgba(247, 198, 107, 0.72);
  box-shadow: 0 8px 18px rgba(247, 198, 107, 0.22);
}

.section-sub {
  color: var(--ink-muted);
  line-height: 1.6;
  margin-top: 8px;
}

.section-alert {
  margin-top: 10px;
  max-width: 840px;
  font-size: 12px;
  line-height: 1.65;
  color: #ffe3bc;
  background: rgba(247, 198, 107, 0.12);
  border: 1px solid rgba(247, 198, 107, 0.35);
  border-radius: 12px;
  padding: 10px 12px;
}

.material-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.material-pills button {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(53, 210, 200, 0.12);
  border: 1px solid rgba(53, 210, 200, 0.35);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: 0.2s ease;
  appearance: none;
  font-family: inherit;
}

.material-pills .pill.active {
  background: rgba(255, 123, 91, 0.2);
  border-color: rgba(255, 123, 91, 0.6);
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  align-items: end;
}

.filters-panel {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(16, 22, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.filters-panel summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink);
}

.filters-panel[open] summary {
  margin-bottom: 16px;
}

.filters-panel summary::-webkit-details-marker {
  display: none;
}

.filters-panel summary span:last-child {
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0.2px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-muted);
}

.filters input,
.filters select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 18, 26, 0.9);
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
}

.filters select {
  cursor: pointer;
}

.checkbox-field {
  gap: 10px;
}

.checkbox-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.checkbox {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--ink);
}

.checkbox input {
  accent-color: rgba(53, 210, 200, 0.9);
}

.filters-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.filament-meta,
.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
}

.muted {
  color: var(--ink-muted);
}

.catalog-grid,
.data-grid,
.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.catalog-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(16, 22, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 210, 200, 0.35);
}

.catalog-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-muted);
}

.catalog-top span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-top span:last-child {
  text-align: right;
}

.catalog-title {
  font-family: "Syne", sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.catalog-image {
  height: 160px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(11, 16, 23, 0.85);
  display: grid;
  place-items: center;
}

.catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink);
}

.chip.good {
  color: var(--lime);
  border-color: rgba(184, 255, 111, 0.5);
}

.chip.alert {
  color: var(--coral);
  border-color: rgba(255, 123, 91, 0.5);
}

.catalog-price {
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.catalog-price strong {
  font-size: 20px;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(53, 210, 200, 0.5);
  background: rgba(53, 210, 200, 0.12);
  color: var(--teal);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.catalog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.text-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.data-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(16, 22, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 10px;
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.card-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal);
  border: 1px solid rgba(53, 210, 200, 0.4);
  padding: 4px 8px;
  border-radius: 999px;
}

.data-card h4 {
  font-family: "Syne", sans-serif;
  font-size: 16px;
}

.data-card p {
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.6;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.delta {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.delta.up {
  color: var(--coral);
  border-color: rgba(255, 123, 91, 0.45);
}

.delta.down {
  color: var(--teal);
  border-color: rgba(53, 210, 200, 0.45);
}

.legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-muted);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
}

.dot.teal {
  background: var(--teal);
}

.dot.coral {
  background: var(--coral);
}

.history-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(16, 22, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 12px;
}

.history-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.history-card h4 {
  font-family: "Syne", sans-serif;
  font-size: 16px;
}

.history-pill {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  border: 1px solid rgba(247, 198, 107, 0.45);
  padding: 4px 8px;
  border-radius: 999px;
}

.history-pill.down {
  color: var(--teal);
  border-color: rgba(53, 210, 200, 0.55);
}

.history-pill.up {
  color: var(--coral);
  border-color: rgba(255, 124, 112, 0.55);
}

.history-pill.neutral {
  color: var(--ink-muted);
  border-color: rgba(204, 214, 219, 0.45);
}

.history-card p {
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.6;
}

.history-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-muted);
}

.history-avg {
  font-size: 12px;
  letter-spacing: 0.4px;
}

.history-avg.down {
  color: var(--teal);
}

.history-avg.up {
  color: var(--coral);
}

.history-avg.neutral {
  color: var(--ink-muted);
}

.sparkline {
  display: grid;
  grid-auto-flow: column;
  gap: 6px;
  align-items: end;
  height: 28px;
}

.sparkline span {
  width: 6px;
  border-radius: 6px;
  background: linear-gradient(180deg, #35d2c8, transparent);
  animation: barPulse 1.4s ease-in-out infinite;
}

.sparkline.up span {
  background: linear-gradient(180deg, #ff7c70, transparent);
}

.sparkline.neutral span {
  background: linear-gradient(180deg, #9fb1bb, transparent);
}

.sparkline span:nth-child(2) {
  animation-delay: 0.2s;
}

.sparkline span:nth-child(3) {
  animation-delay: 0.4s;
}

.sparkline span:nth-child(4) {
  animation-delay: 0.6s;
}

.sparkline span:nth-child(5) {
  animation-delay: 0.8s;
}

.history-meta {
  font-size: 11px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.history-details {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: rgba(16, 22, 30, 0.75);
  padding: 10px 12px;
}

.history-details summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ink);
}

.history-details summary::-webkit-details-marker {
  display: none;
}

.history-details[open] summary {
  margin-bottom: 10px;
}

.contact-card {
  max-width: 980px;
  width: 100%;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(53, 210, 200, 0.28);
  background: rgba(53, 210, 200, 0.08);
  transition: 0.2s ease;
}

.contact-links a:hover {
  color: var(--teal);
  border-color: rgba(53, 210, 200, 0.5);
  transform: translateY(-1px);
}

.contact-links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.history-changes {
  display: grid;
  gap: 10px;
}

.history-change-group {
  display: grid;
  gap: 8px;
}

.history-change-group h5 {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.history-change-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.change-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 8px 9px;
  background: rgba(12, 18, 24, 0.72);
}

.change-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.change-main strong {
  font-size: 12px;
  line-height: 1.3;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-item-link {
  color: inherit;
  text-decoration: none;
}

.history-item-link:hover {
  color: var(--teal);
}

.change-main small {
  font-size: 11px;
  color: var(--ink-muted);
}

.change-side {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.change-price {
  font-size: 11px;
  color: var(--ink-muted);
}

.change-pct {
  border: 1px solid var(--stroke);
  border-radius: 999px;
  font-size: 11px;
  padding: 2px 8px;
}

.change-pct.down {
  color: var(--teal);
  border-color: rgba(53, 210, 200, 0.5);
}

.change-pct.up {
  color: var(--coral);
  border-color: rgba(255, 124, 112, 0.5);
}

.change-pct.neutral {
  color: var(--ink-muted);
}

.footer {
  border-top: 1px solid var(--stroke);
  padding: 32px 6vw 50px;
  color: var(--ink-muted);
  font-size: 12px;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.footer-brand p {
  margin-top: 6px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-links svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-note {
  text-align: center;
  margin-top: 8px;
}

.footer-disclaimer {
  max-width: 920px;
  margin: 8px auto 0;
  text-align: center;
  line-height: 1.7;
  color: var(--ink-muted);
  border: 1px solid var(--stroke);
  background: rgba(16, 22, 30, 0.55);
  border-radius: 14px;
  padding: 12px 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}

@keyframes barPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }
  50% {
    opacity: 0.9;
    transform: scaleY(1);
  }
}

@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .topbar {
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .top-nav {
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
  }

  .topbar-actions {
    margin-left: 0;
  }

  .hero {
    gap: 32px;
  }
}

@media (max-width: 720px) {
  .topbar {
    gap: 12px;
    flex-wrap: nowrap;
  }

  .top-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 10px 6vw 14px;
    background: rgba(8, 12, 18, 0.96);
    border-bottom: 1px solid var(--stroke);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 11px;
  }

   .top-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .panel-metrics {
    grid-template-columns: 1fr;
  }

  .panel-value {
    font-size: 28px;
  }

  .page {
    padding: 28px 5vw 70px;
    gap: 36px;
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-links a {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 20px 4vw 60px;
    gap: 30px;
  }

  .section {
    padding: 16px;
    border-radius: 20px;
  }

  .hero-copy h1 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .section-title-with-badge {
    gap: 8px;
  }

  .beta-badge {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}


