/* =============================================================
   BSPORTAPP Site Kit 共享样式
   深海蓝数据流 + 电光绿/活力橙强调 + 运动速度语言
   ============================================================= */

/* ---------- 1. CSS Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #F2EFE9;
  background-color: #0A192F;
  background-image:
    linear-gradient(rgba(0, 255, 135, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 135, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.25s ease;
}

a:hover {
  color: #00FF87;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

::selection {
  background: rgba(0, 255, 135, 0.3);
  color: #FFFFFF;
}

/* ---------- 2. CSS Variables ---------- */
:root {
  --bg-deep: #0A192F;
  --bg-card: #1B2A41;
  --bg-card-hover: #22334D;
  --accent-green: #00FF87;
  --accent-orange: #FF6B00;
  --mineral-grey: #7A8B6F;
  --mineral-green: #5C6B4A;
  --mineral-clay: #C19A6B;
  --base-light: #F2EFE9;
  --font-headline: 'Arial Black', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'Courier New', monospace;
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 3. Base Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headline);
  line-height: 1.25;
  font-weight: 900;
  color: var(--base-light);
}

h1 {
  font-size: 34px;
  letter-spacing: 0.01em;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 22px;
}

p {
  color: var(--base-light);
}

:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 4. Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 64px;
}

.section-title {
  margin-bottom: 24px;
  font-family: var(--font-headline);
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.page-title {
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 2000;
  background: var(--accent-green);
  color: #05241A;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 2px;
  transition: top 0.25s ease;
}

.skip-link:focus {
  top: 8px;
  color: #05241A;
}

/* ---------- 5. Shared Components ---------- */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  border-radius: 2px;
  min-height: 44px;
  text-align: center;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, clip-path 0.25s ease, box-shadow 0.25s ease;
}

.btn-accent {
  background: var(--accent-green);
  color: #05241A;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  padding-left: 26px;
  padding-right: 18px;
}

.btn-accent:hover {
  background: #4DFF9F;
  color: #05241A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 255, 135, 0.25);
}

.btn-outline {
  border: 1px solid rgba(0, 255, 135, 0.5);
  color: var(--accent-green);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(0, 255, 135, 0.08);
  border-color: var(--accent-green);
  color: var(--accent-green);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--mineral-grey);
  margin-bottom: 20px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb li + li::before {
  content: '/';
  display: inline-block;
  margin-inline: 6px;
  color: rgba(242, 239, 233, 0.35);
}

.breadcrumb a {
  color: rgba(242, 239, 233, 0.7);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--accent-green);
}

.breadcrumb [aria-current='page'] {
  color: var(--base-light);
  font-weight: 600;
}

/* Grid */
.grid {
  display: grid;
  gap: 24px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Card */
.card {
  background: var(--bg-card);
  border: 1px solid rgba(242, 239, 233, 0.08);
  padding: 28px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: rgba(0, 255, 135, 0.18);
}

/* Data KPI */
.data-kpi {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--accent-green);
  white-space: nowrap;
}

.kpi-label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(242, 239, 233, 0.55);
  margin-top: 4px;
}

/* Tag */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 4px 14px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--accent-orange);
  background: rgba(255, 107, 0, 0.1);
  border-left: 2px solid var(--accent-orange);
  border-radius: 0 2px 2px 0;
  letter-spacing: 0.04em;
}

/* Notice */
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 20px;
  border-left: 3px solid var(--accent-orange);
  background: rgba(255, 107, 0, 0.07);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(242, 239, 233, 0.85);
}

.notice-info {
  border-left-color: var(--accent-green);
  background: rgba(0, 255, 135, 0.06);
}

/* Figure / image container */
.figure {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(0, 255, 135, 0.09), transparent 55%),
    var(--bg-card);
  border: 1px solid rgba(242, 239, 233, 0.1);
}

.figure-aspect {
  aspect-ratio: 16 / 9;
}

.figure-aspect-wide {
  aspect-ratio: 21 / 9;
}

.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.figure:hover img {
  transform: scale(1.04);
}

.figure-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 120px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(242, 239, 233, 0.4);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(0, 255, 135, 0.04) 0 12px,
      transparent 12px 24px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(242, 239, 233, 0.02) 0 1px,
      transparent 1px 12px
    ),
    var(--bg-card);
}

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1001;
  background:
    repeating-linear-gradient(
      -60deg,
      transparent 0 6px,
      rgba(0, 255, 135, 0.015) 6px 12px
    ),
    linear-gradient(180deg, #0B1A32 0%, #0A192F 78%, #0D1E3A 100%);
  border-bottom: 1px solid rgba(0, 255, 135, 0.12);
}

/* scroll progress bar */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 5;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-orange));
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

/* Top strip */
.header-top {
  background: rgba(4, 11, 23, 0.85);
  border-bottom: 1px solid rgba(0, 255, 135, 0.1);
}

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

.header-meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(242, 239, 233, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(242, 239, 233, 0.8);
  white-space: nowrap;
}

.status-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .status-pulse {
    animation: statusPulse 2s ease-in-out infinite;
  }
}

@keyframes statusPulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 255, 135, 0.55);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 6px rgba(0, 255, 135, 0);
  }
}

/* Main bar */
.header-main-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand-logo {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--base-light);
  white-space: nowrap;
}

.brand-logo em {
  font-style: normal;
  color: var(--accent-green);
}

.brand-data {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}

.brand-data i {
  display: block;
  width: 3px;
  border-radius: 1px;
  background: var(--accent-green);
  transform-origin: bottom;
}

.brand-data i:nth-child(1) {
  height: 6px;
  animation-delay: -0.15s;
}

.brand-data i:nth-child(2) {
  height: 12px;
  animation-delay: -0.6s;
}

.brand-data i:nth-child(3) {
  height: 8px;
  animation-delay: -1s;
}

.brand-data i:nth-child(4) {
  height: 14px;
  animation-delay: -0.4s;
}

@media (prefers-reduced-motion: no-preference) {
  .brand-data i {
    animation: brandBars 1.1s ease-in-out infinite alternate;
  }
}

@keyframes brandBars {
  0% {
    transform: scaleY(0.4);
    opacity: 0.6;
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.9), 0 0 24px rgba(255, 107, 0, 0.3);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .brand-dot {
    animation: brandDotPulse 1.7s ease-in-out infinite;
  }
}

@keyframes brandDotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.6);
    opacity: 0.65;
  }
}

/* Navigation (desktop) */
.nav {
  margin-inline: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: block;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(242, 239, 233, 0.82);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 1px;
  background: var(--accent-green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out-expo);
}

.nav-link:hover {
  color: var(--accent-green);
}

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

.nav-link[aria-current='page'] {
  color: var(--accent-green);
}

.nav-link[aria-current='page']::after {
  background: linear-gradient(90deg, var(--accent-green), var(--accent-orange));
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-cta {
  font-size: 13px;
  padding-top: 9px;
  padding-bottom: 9px;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px 9px;
  flex-shrink: 0;
  border: 1px solid rgba(242, 239, 233, 0.2);
  border-radius: 4px;
  background: rgba(242, 239, 233, 0.04);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.nav-toggle:hover {
  border-color: rgba(0, 255, 135, 0.5);
  background: rgba(0, 255, 135, 0.06);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: var(--base-light);
  transition: transform 0.32s var(--ease-out-expo), opacity 0.2s ease, background 0.25s ease;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--accent-green);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--accent-orange);
}

/* Mobile drawer close button */
.nav-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(242, 239, 233, 0.2);
  border-radius: 4px;
  background: rgba(8, 18, 35, 0.7);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.nav-close::before,
.nav-close::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--base-light);
  transition: background 0.25s ease;
}

.nav-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-close:hover {
  border-color: rgba(0, 255, 135, 0.5);
  background: rgba(0, 255, 135, 0.08);
}

.nav-close:hover::before,
.nav-close:hover::after {
  background: var(--accent-green);
}

/* ---------- 7. Footer ---------- */
.site-footer {
  margin-top: auto;
  background:
    repeating-linear-gradient(
      120deg,
      transparent 0 8px,
      rgba(0, 255, 135, 0.013) 8px 16px
    ),
    linear-gradient(180deg, #0B1A32 0%, #081223 100%);
  border-top: 1px solid rgba(0, 255, 135, 0.18);
}

/* Data stream line */
.footer-speed {
  position: relative;
  height: 3px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 255, 135, 0.7) 30%,
    rgba(255, 107, 0, 0.6) 70%,
    transparent 100%
  );
}

.footer-speed::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80px;
  width: 60px;
  height: 100%;
  background: rgba(242, 239, 233, 0.55);
  filter: blur(5px);
}

@media (prefers-reduced-motion: no-preference) {
  .footer-speed::before {
    animation: speedScan 3.2s ease-in-out infinite;
  }
}

@keyframes speedScan {
  0% {
    left: -80px;
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

/* Footer grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 1fr;
  gap: 48px;
  padding-block: 64px 48px;
}

/* Brand column */
.footer-brand .brand-footer {
  margin-bottom: 20px;
}

.brand-footer .brand-logo {
  font-size: 23px;
}

.footer-trust {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(242, 239, 233, 0.6);
  margin-bottom: 24px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-green);
  background: rgba(0, 255, 135, 0.07);
  border: 1px solid rgba(0, 255, 135, 0.28);
  border-radius: 2px;
}

.trust-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 6px rgba(0, 255, 135, 0.8);
  flex-shrink: 0;
}

/* Footer nav / contact columns */
.footer-title {
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--base-light);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 255, 135, 0.16);
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-green), transparent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-links li {
  font-size: 14px;
  color: rgba(242, 239, 233, 0.72);
  transition: color 0.2s ease, padding-left 0.25s ease;
}

.footer-links a {
  position: relative;
  padding-left: 0;
}

.footer-links a:hover {
  color: var(--accent-green);
  padding-left: 6px;
}

.footer-contact .footer-links li {
  line-height: 1.8;
  color: rgba(242, 239, 233, 0.72);
  word-break: break-all;
}

.footer-contact-btn {
  margin-top: 22px;
  font-size: 13px;
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(242, 239, 233, 0.08);
  padding-block: 20px;
  font-size: 13px;
  color: rgba(242, 239, 233, 0.5);
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(242, 239, 233, 0.5);
  letter-spacing: 0.03em;
}

/* ---------- 8. Reveal / Scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out-expo);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 9. Responsive ---------- */
/* Tablet and below */
@media (max-width: 991px) {
  /* Navigation becomes mobile drawer */
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1002;
    width: min(340px, 86vw);
    height: 100vh;
    height: 100dvh;
    padding: 92px 28px 36px;
    background:
      repeating-linear-gradient(
        -60deg,
        transparent 0 6px,
        rgba(0, 255, 135, 0.02) 6px 12px
      ),
      linear-gradient(180deg, #0D2038 0%, #0A192F 65%, #081223 100%);
    border-left: 1px solid rgba(0, 255, 135, 0.24);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.5);
    transform: translateX(104%);
    visibility: hidden;
    transition: transform 0.5s var(--ease-out-expo), visibility 0s linear 0.5s;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .nav[data-open] {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.5s var(--ease-out-expo);
  }

  .nav-close {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-top: 12px;
  }

  .nav-item {
    border-bottom: 1px solid rgba(242, 239, 233, 0.07);
  }

  .nav-link {
    font-size: 16px;
    font-weight: 600;
    padding: 16px 20px;
    color: rgba(242, 239, 233, 0.85);
    border-left: 3px solid transparent;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover {
    color: var(--accent-green);
    background: rgba(0, 255, 135, 0.04);
  }

  .nav-link[aria-current='page'] {
    color: var(--accent-green);
    background: rgba(0, 255, 135, 0.07);
    border-left-color: var(--accent-green);
  }

  /* Toggle */
  .nav-toggle {
    display: flex;
  }

  .header-actions {
    margin-left: auto;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Small screens */
@media (max-width: 767px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 48px;
  }

  .page-title {
    font-size: 28px;
  }
}

/* Extra small */
@media (max-width: 560px) {
  .container {
    padding-inline: 18px;
  }

  .header-meta {
    display: none;
  }

  .header-top-inner {
    justify-content: center;
  }

  .header-main-inner {
    min-height: 68px;
    gap: 12px;
  }

  .brand-logo {
    font-size: 18px;
  }

  .brand-data {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 48px 36px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* Dense-fit for narrow desktop nav */
@media (min-width: 992px) and (max-width: 1150px) {
  .nav-link {
    font-size: 14px;
    padding-inline: 10px;
  }

  .header-cta {
    font-size: 12px;
    padding-inline: 14px;
  }

  .brand-data {
    display: none;
  }
}

/* ---------- 10. Body lock / drawer backdrop ---------- */
body.nav-locked {
  overflow: hidden;
}

body.nav-locked::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(3, 10, 22, 0.66);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

@media (max-width: 991px) {
  body.nav-locked .site-header {
    border-bottom-color: transparent;
  }
}

/* ---------- 11. Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .brand-dot,
  .brand-data i,
  .status-pulse,
  .footer-speed::before {
    animation: none !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .nav {
    transition: transform 0.2s linear, visibility 0s;
  }

  .nav[data-open] {
    transition: transform 0.2s linear;
  }

  .card:hover,
  .btn-accent:hover,
  .btn-outline:hover {
    transform: none;
  }

  .figure img {
    transition: none;
  }
}

/* ---------- 12. Scrollbar (surface polish) ---------- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: #253655;
  border-radius: 5px;
  border: 2px solid var(--bg-deep);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 135, 0.4);
}
