:root {
  color-scheme: dark;
  --blue: #1e6fff;
  --blue-2: #1459cc;
  --blue-3: #0d3a8a;
  --blue-soft: rgba(30, 111, 255, 0.14);
  --cyan: #00cfff;
  --green: #00e59b;
  --orange: #ff8b3d;
  --black: #030610;
  --dark: #070d1e;
  --dark-2: #0a1228;
  --dark-3: #0d1535;
  --text: #e4eeff;
  --muted: rgba(160, 190, 255, 0.66);
  --muted-2: rgba(210, 226, 255, 0.42);
  --line: rgba(30, 111, 255, 0.18);
  --line-strong: rgba(0, 207, 255, 0.32);
  --panel: rgba(10, 18, 40, 0.78);
  --panel-2: rgba(255, 255, 255, 0.045);
  --shadow-blue: 0 0 0 1px rgba(30, 111, 255, 0.18), 0 24px 80px rgba(3, 6, 16, 0.48);
  --radius: 8px;
  --h: "Outfit", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --b: "Noto Sans SC", "Outfit", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: #3d84ff rgba(6, 9, 15, 0.96);
  scrollbar-gutter: stable;
  scrollbar-width: auto;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #030610;
  color: var(--text);
  font-family: var(--b);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.site-header,
main,
.site-footer,
.company-dialog {
  position: relative;
  z-index: 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 50% 8%, rgba(0, 207, 255, 0.1) 0%, transparent 64%),
    radial-gradient(ellipse 42% 42% at 15% 20%, rgba(30, 111, 255, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #030610 0%, #030610 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 6, 16, 0) 0%, rgba(3, 6, 16, 0.48) 100%);
}

.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

::-webkit-scrollbar {
  width: 14px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(6, 9, 15, 0.96);
}

::-webkit-scrollbar-thumb {
  border: 3px solid rgba(6, 9, 15, 0.96);
  border-radius: 999px;
  background: linear-gradient(180deg, #3d84ff, var(--blue));
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #66dfff, #3d84ff);
}

.wrap {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.nav.solid {
  border-bottom: 1px solid rgba(30, 111, 255, 0.15);
  background: rgba(6, 9, 15, 0.96);
  box-shadow: 0 1px 0 rgba(30, 111, 255, 0.15);
  backdrop-filter: blur(20px);
}

.nav-logo,
.nav-right {
  position: relative;
  z-index: 2;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  height: 76px;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateX(-50%);
}

.nav-link {
  position: relative;
  display: flex;
  height: 76px;
  align-items: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 600;
  padding: 0 11px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 2px;
  border-radius: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-nav {
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font-family: var(--b);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 8px 20px;
  transition: all 0.22s ease;
  backdrop-filter: blur(6px);
}

.btn-nav:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-nav-cta {
  border: none;
  border-radius: 7px;
  background: linear-gradient(135deg, #2979ff 0%, var(--blue) 60%, var(--blue-2) 100%);
  box-shadow: 0 0 0 1px rgba(30, 111, 255, 0.6), 0 4px 18px rgba(30, 111, 255, 0.5), 0 1px 0 rgba(255, 255, 255, 0.15) inset;
  color: #fff;
  cursor: pointer;
  font-family: var(--b);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 8px 22px;
  transition: all 0.25s ease;
}

.btn-nav-cta:hover {
  background: linear-gradient(135deg, #3d8aff 0%, #2979ff 60%, var(--blue) 100%);
  box-shadow: 0 0 0 1px rgba(30, 111, 255, 0.8), 0 6px 24px rgba(30, 111, 255, 0.6), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
  transform: translateY(-1px);
}

.nav-hamburger {
  z-index: 1001;
  display: none;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 6px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.mobile-menu {
  position: fixed;
  top: 64px;
  right: 0;
  left: 0;
  z-index: 999;
  display: none;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid rgba(30, 111, 255, 0.2);
  background: rgba(6, 9, 15, 0.97);
  padding: 20px 24px 28px;
  backdrop-filter: blur(20px);
}

.mobile-menu.open {
  display: flex;
}

.mm-link {
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--h);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 14px 0;
}

.mm-link:last-of-type {
  border-bottom: none;
}

.mm-link:hover {
  color: var(--cyan);
}

main {
  padding-top: 76px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(30, 111, 255, 0.16);
  background: rgba(6, 9, 15, 0.94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 4px 18px rgba(30, 111, 255, 0.42);
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 23px;
  height: 23px;
  fill: #fff;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: #fff;
  font-family: var(--h);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--h);
  font-size: 11px;
  letter-spacing: 0;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.top-nav a {
  position: relative;
  display: flex;
  height: 76px;
  align-items: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 600;
  padding: 0 13px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.top-nav a::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 2px;
  border-radius: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.24s ease;
}

.top-nav a:hover {
  color: #fff;
}

.top-nav a:hover::after,
.top-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.top-nav a[aria-current="page"] {
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(30, 111, 255, 0.12);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(0, 207, 255, 0.1) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 15% 20%, rgba(30, 111, 255, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 40%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(6, 9, 15, 0.48), transparent);
  opacity: 0.32;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 540px;
  grid-template-columns: 1fr;
  justify-items: center;
  padding: 112px 0 72px;
  text-align: center;
}

.hero-copy {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  border: 1px solid rgba(30, 111, 255, 0.32);
  border-radius: 999px;
  background: rgba(30, 111, 255, 0.14);
  color: #6aadff;
  font-family: var(--h);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 6px 16px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6aadff;
  box-shadow: 0 0 8px #6aadff;
  animation: pulseDot 2.4s ease-in-out infinite;
}

@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.hero h1 {
  max-width: none;
  margin: 0 auto;
  background: linear-gradient(100deg, #ffffff 0%, #7abfff 36%, var(--cyan) 62%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--h);
  font-size: clamp(38px, 5.2vw, 76px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.06;
  white-space: nowrap;
}

.hero-text {
  max-width: 720px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 300;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 30px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.primary-action {
  border: 1px solid rgba(30, 111, 255, 0.65);
  background: linear-gradient(135deg, #2979ff 0%, var(--blue) 60%, var(--blue-2) 100%);
  color: #fff;
  box-shadow: 0 6px 28px rgba(30, 111, 255, 0.42);
}

.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(30, 111, 255, 0.56);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.78);
}

.secondary-action:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.hero-panel {
  display: grid;
  align-content: center;
  gap: 14px;
}

.hero-panel > div {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(30, 111, 255, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(30, 111, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(10, 18, 40, 0.78);
  box-shadow: var(--shadow-blue);
  padding: 20px;
}

.hero-panel > div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%);
  pointer-events: none;
}

.panel-label {
  position: relative;
  display: block;
  margin-bottom: 8px;
  color: #6aadff;
  font-family: var(--h);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-panel strong {
  position: relative;
  display: block;
  color: #fff;
  font-family: var(--h);
  font-size: 20px;
  font-weight: 800;
}

.hero-panel p {
  position: relative;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
}

.stats-section {
  padding: 24px 0 8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-card,
.summary-card,
.company-card,
.detail-item {
  border: 1px solid rgba(30, 111, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.stat-card {
  padding: 18px;
}

.stat-card span,
.company-meta span,
.source-label {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 500;
}

.stat-card strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-family: var(--h);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.controls {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 48px));
  margin: 28px auto 36px;
  border: 1px solid rgba(30, 111, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(7, 13, 30, 0.86);
  box-shadow: 0 14px 50px rgba(3, 6, 16, 0.24);
  padding: 18px;
  backdrop-filter: blur(18px);
}

.hero,
.controls,
.company-section {
  scroll-margin-top: 96px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
  color: #fff;
  font-family: var(--h);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
}

.section-heading.compact {
  margin-top: 36px;
}

.filter-block {
  margin-top: 14px;
}

.filter-label {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.36);
  font-family: var(--h);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.chain-tabs,
.category-strip,
.city-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-button,
.category-button,
.city-button {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  padding: 9px 12px;
  transition: all 0.2s ease;
}

.tab-button:hover,
.category-button:hover,
.city-button:hover {
  border-color: rgba(30, 111, 255, 0.4);
  color: #fff;
}

.tab-button[aria-pressed="true"],
.category-button[aria-pressed="true"],
.city-button[aria-pressed="true"] {
  border-color: rgba(30, 111, 255, 0.62);
  background: rgba(30, 111, 255, 0.18);
  color: #fff;
  box-shadow: 0 0 18px rgba(30, 111, 255, 0.22);
}

.company-section {
  padding-bottom: 74px;
  padding-top: 4px;
}

.chain-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.data-status {
  margin: -8px 0 18px;
  border: 1px solid rgba(30, 111, 255, 0.18);
  border-radius: 8px;
  background: rgba(30, 111, 255, 0.08);
  color: rgba(210, 226, 255, 0.76);
  font-size: 13px;
  line-height: 1.6;
  padding: 10px 12px;
}

.summary-card {
  min-height: 100px;
  padding: 16px;
}

.summary-card strong {
  display: block;
  color: #fff;
  font-family: var(--h);
  font-size: 20px;
  font-weight: 900;
}

.summary-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.group {
  margin-bottom: 36px;
}

.group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.group-header h3 {
  margin: 0;
  color: #fff;
  font-family: var(--h);
  font-size: 22px;
  font-weight: 900;
}

.group-count {
  color: var(--muted-2);
  font-family: var(--h);
  font-size: 12px;
  white-space: nowrap;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.company-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  cursor: pointer;
  padding: 16px;
  text-align: left;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.company-card:hover {
  border-color: rgba(0, 207, 255, 0.42);
  background: rgba(30, 111, 255, 0.085);
  box-shadow: 0 18px 50px rgba(3, 6, 16, 0.42), 0 0 0 1px rgba(0, 207, 255, 0.12) inset;
  transform: translateY(-2px);
}

.company-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.company-title h4 {
  margin: 0;
  color: #fff;
  font-family: var(--h);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.28;
}

.name-cn {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--b);
  font-size: 13px;
  font-weight: 400;
}

.chain-pill {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #fff;
  font-family: var(--h);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  white-space: nowrap;
}

.chain-energy {
  background: rgba(255, 139, 61, 0.18);
  color: #ffd1b4;
}

.chain-chip {
  background: rgba(30, 111, 255, 0.2);
  color: #9fc4ff;
}

.chain-infra {
  background: rgba(106, 90, 205, 0.24);
  color: #c8c0ff;
}

.chain-model {
  background: rgba(0, 207, 255, 0.18);
  color: #9defff;
}

.chain-app {
  background: rgba(0, 229, 155, 0.15);
  color: #99ffd9;
}

.company-desc {
  flex: 1;
  margin: 13px 0 15px;
  color: rgba(228, 238, 255, 0.62);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
}

.company-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.company-meta strong {
  display: block;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--h);
  font-size: 12px;
  font-weight: 700;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  border: 1px solid rgba(30, 111, 255, 0.16);
  border-radius: 999px;
  background: rgba(30, 111, 255, 0.08);
  color: rgba(210, 226, 255, 0.74);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 8px;
}

.company-dialog {
  width: min(720px, calc(100% - 28px));
  border: 1px solid rgba(30, 111, 255, 0.22);
  border-radius: 8px;
  background: rgba(7, 13, 30, 0.97);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.56), 0 0 0 1px rgba(0, 207, 255, 0.12) inset;
  color: var(--text);
  padding: 0;
}

.company-dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.dialog-body {
  padding: 28px;
}

.dialog-body h3 {
  margin: 0;
  padding-right: 44px;
  color: #fff;
  font-family: var(--h);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
}

.dialog-subtitle {
  margin: 6px 0 18px;
  color: var(--muted);
}

.dialog-body p {
  color: rgba(228, 238, 255, 0.7);
  line-height: 1.85;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.detail-item {
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
}

.detail-item span {
  display: block;
  color: var(--muted-2);
  font-size: 12px;
}

.detail-item strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-family: var(--h);
  font-size: 15px;
}

.source-links {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.source-links a {
  overflow-wrap: anywhere;
  border: 1px solid rgba(30, 111, 255, 0.18);
  border-radius: 8px;
  background: rgba(30, 111, 255, 0.08);
  color: #7abfff;
  padding: 10px 12px;
}

.empty-state {
  border: 1px dashed rgba(30, 111, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 24px;
}

.site-footer {
  border-top: 1px solid rgba(30, 111, 255, 0.1);
  background: rgba(2, 4, 7, 0.92);
  color: rgba(255, 255, 255, 0.3);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  font-family: var(--h);
  font-size: 12px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 980px) {
  .nav {
    padding: 0 24px;
  }

  .nav-link {
    padding: 0 8px;
  }

  .btn-nav {
    padding: 8px 14px;
  }

  .btn-nav-cta {
    padding: 8px 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 64px;
  }

  .stats-grid,
  .company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .controls {
    margin-bottom: 28px;
  }
}

@media (max-width: 680px) {
  .nav {
    height: 64px;
    padding: 0 20px;
  }

  .nav-logo img {
    height: 46px !important;
  }

  .nav-links {
    display: none;
  }

  .nav .btn-nav {
    display: none;
  }

  .nav .btn-nav-cta {
    padding: 9px 18px;
    font-size: 13px;
  }

  .nav-hamburger {
    display: flex;
  }

  .mobile-menu .btn-nav,
  .mobile-menu .btn-nav-cta {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  main {
    padding-top: 64px;
  }

  .wrap,
  .controls {
    width: min(100% - 24px, 1200px);
  }

  .header-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0 10px;
  }

  .brand small {
    display: none;
  }

  .top-nav {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .top-nav::-webkit-scrollbar {
    display: none;
  }

  .top-nav a {
    flex: 0 0 auto;
    height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .top-nav a::after {
    right: 10px;
    left: 10px;
  }

  .brand strong {
    font-size: 14px;
  }

  .hero-grid {
    padding: 44px 0 36px;
  }

  .hero h1 {
    font-size: 38px;
    white-space: normal;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-actions,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .stats-grid,
  .company-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    font-size: 23px;
  }

  .chain-tabs,
  .category-strip,
  .city-strip {
    flex-wrap: nowrap;
    margin-right: -18px;
    margin-left: -18px;
    overflow-x: auto;
    padding: 0 18px 5px;
    scrollbar-width: none;
  }

  .chain-tabs::-webkit-scrollbar,
  .category-strip::-webkit-scrollbar,
  .city-strip::-webkit-scrollbar {
    display: none;
  }

  .tab-button,
  .category-button,
  .city-button {
    flex: 0 0 auto;
  }

  .company-card {
    min-height: 0;
  }

  .footer-inner {
    display: block;
  }

  .footer-inner p + p {
    margin-top: 6px;
  }
}
