:root {
  --fb-blue: #0B1D3A;
  --fb-blue-1: #10234A;
  --fb-blue-2: #18345C;
  --fb-blue-3: #2A4B7C;
  --fb-light: #F5F8FC;
  --fb-neon: #00FFA3;
  --fb-orange: #FF5C00;
  --fb-text-dark: #1A1A1A;
  --fb-text-light: #FFFFFF;
  --fb-border: rgba(255, 255, 255, 0.12);
  --fb-border-strong: rgba(255, 255, 255, 0.24);
  --fb-font-heading: 'Arial Black', 'Helvetica Neue', sans-serif;
  --fb-font-body: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --fb-font-mono: 'Courier New', monospace;
  --fb-header-h: 76px;
  --fb-content-max: 1280px;
  --fb-radius: 20px;
  --fb-radius-sm: 12px;
  --fb-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --fb-gutter: 32px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--fb-font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fb-text-dark);
  background: var(--fb-light);
  min-height: 100vh;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--fb-neon);
  outline-offset: 4px;
  border-radius: 4px;
}

::selection {
  background: var(--fb-neon);
  color: var(--fb-blue);
}

#main-content {
  scroll-margin-top: calc(var(--fb-header-h) + 16px);
}

.fb-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  background: var(--fb-neon);
  color: var(--fb-blue);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.fb-skip-link:focus {
  transform: translateY(0);
}

.fb-header {
  background: var(--fb-blue);
  color: var(--fb-text-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--fb-border-strong);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.fb-header__inner {
  max-width: var(--fb-content-max);
  margin: 0 auto;
  padding: 0 var(--fb-gutter);
  height: var(--fb-header-h);
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}

.fb-brand-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.fb-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fb-text-light);
  transition: opacity 0.2s ease;
}

.fb-brand:hover {
  opacity: 0.85;
}

.fb-brand__mark {
  font-family: 'Arial Black', sans-serif;
  font-weight: 900;
  font-size: 20px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--fb-neon);
  color: var(--fb-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  letter-spacing: -0.02em;
  box-shadow: 0 0 24px rgba(0, 255, 163, 0.3);
}

.fb-brand__pulse {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--fb-orange);
  border-radius: 50%;
  top: -3px;
  right: -3px;
  border: 2px solid var(--fb-blue);
}

.fb-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.fb-brand__title {
  font-family: var(--fb-font-heading);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.fb-brand__slogan {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.08em;
}

.fb-header__meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fb-font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.06);
  padding: 8px 14px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fb-live-dot {
  width: 10px;
  height: 10px;
  background: var(--fb-neon);
  border-radius: 50%;
  display: inline-block;
  animation: fbPulse 1.8s infinite ease-in-out;
}

@keyframes fbPulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 255, 163, 0.6); }
  50% { opacity: 0.7; transform: scale(1.15); box-shadow: 0 0 0 6px rgba(0, 255, 163, 0); }
}

.fb-nav-wrap {
  display: flex;
  align-items: center;
}

.fb-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.fb-nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.fb-nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--fb-neon);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.fb-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

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

.fb-nav-link[aria-current="page"] {
  color: var(--fb-neon);
}

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

.fb-nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--fb-border-strong);
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.fb-nav-toggle__line {
  width: 20px;
  height: 2px;
  background: var(--fb-text-light);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.fb-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

.fb-nav-toggle[aria-expanded="true"] .fb-nav-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.fb-nav-toggle[aria-expanded="true"] .fb-nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.fb-nav-toggle[aria-expanded="true"] .fb-nav-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.fb-header__track {
  height: 4px;
  background: var(--fb-blue-1);
  display: flex;
  gap: 12px;
  padding: 0 var(--fb-gutter);
  max-width: var(--fb-content-max);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.fb-track-dash {
  width: 22px;
  height: 2px;
  background: var(--fb-neon);
  opacity: 0.4;
  margin-top: 1px;
  border-radius: 2px;
}

.fb-header__track .fb-track-dash:nth-child(2n) {
  background: var(--fb-orange);
  width: 36px;
  opacity: 0.35;
}

.fb-footer {
  background: var(--fb-blue);
  color: var(--fb-text-light);
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.fb-footer::before {
  content: "";
  position: absolute;
  right: -80px;
  top: 40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--fb-blue-1);
  opacity: 0.6;
  pointer-events: none;
}

.fb-footer__track {
  height: 6px;
  background: var(--fb-blue-2);
  display: flex;
  gap: 0;
  position: relative;
}

.fb-track-line {
  flex: 1;
  height: 2px;
  background: rgba(0, 255, 163, 0.5);
  align-self: center;
  margin: 0 2px;
}

.fb-track-line:nth-child(2) {
  background: rgba(255, 92, 0, 0.5);
  flex: 2;
}

.fb-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 48px;
  padding: 64px var(--fb-gutter) 40px;
  position: relative;
}

.fb-brand--footer {
  margin-bottom: 18px;
}

.fb-footer__desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.8;
  max-width: 340px;
}

.fb-footer__title {
  font-family: var(--fb-font-heading);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--fb-neon);
  margin-bottom: 18px;
  position: relative;
}

.fb-footer__title::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--fb-orange);
  margin-top: 8px;
}

.fb-footer__links li,
.fb-footer__contact li {
  margin-bottom: 10px;
  font-size: 14px;
}

.fb-footer__links a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.fb-footer__links a:hover {
  color: var(--fb-neon);
  padding-left: 6px;
}

.fb-footer__contact li {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  padding-left: 14px;
  position: relative;
}

.fb-footer__contact li::before {
  content: "//";
  position: absolute;
  left: 0;
  color: var(--fb-orange);
  font-family: var(--fb-font-mono);
  font-size: 12px;
}

.fb-footer__legal {
  grid-column: 1 / -1;
  border-top: 1px solid var(--fb-border);
  padding-top: 24px;
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.fb-footer__legal a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color 0.2s ease;
}

.fb-footer__legal a:hover {
  color: var(--fb-neon);
}

.fb-footer__sep {
  color: var(--fb-blue-3);
}

.fb-status-line {
  border-top: 1px solid var(--fb-border);
  background: rgba(0, 0, 0, 0.15);
  padding: 16px 0;
}

.fb-status-line__inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.fb-status-line__copy,
.fb-status-line__icp {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-family: var(--fb-font-mono);
}

.fb-status-line__icp {
  color: var(--fb-neon);
  letter-spacing: 0.08em;
}

.fb-container {
  max-width: var(--fb-content-max);
  margin: 0 auto;
  padding-left: var(--fb-gutter);
  padding-right: var(--fb-gutter);
}

.fb-shell {
  width: 100%;
  max-width: var(--fb-content-max);
  margin: 0 auto;
  padding: 0 var(--fb-gutter);
}

.fb-section {
  padding: 56px 0;
}

.fb-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.fb-card {
  background: var(--fb-blue-1);
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.fb-card:hover {
  border-color: rgba(0, 255, 163, 0.4);
  box-shadow: var(--fb-shadow);
  transform: translateY(-2px);
}

.fb-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--fb-border-strong);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fb-tag:hover {
  border-color: var(--fb-neon);
  color: var(--fb-neon);
}

.fb-tag.is-active {
  background: var(--fb-neon);
  color: var(--fb-blue);
  border-color: var(--fb-neon);
  font-weight: 700;
}

.fb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--fb-font-body);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.fb-btn--solid {
  background: var(--fb-neon);
  color: var(--fb-blue);
  box-shadow: 0 8px 24px rgba(0, 255, 163, 0.2);
}

.fb-btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 255, 163, 0.3);
}

.fb-btn--ghost {
  border-color: var(--fb-border-strong);
  color: var(--fb-text-light);
}

.fb-btn--ghost:hover {
  border-color: var(--fb-neon);
  color: var(--fb-neon);
  transform: translateY(-2px);
}

.fb-panel {
  background: var(--fb-blue-1);
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.fb-panel:hover {
  border-color: rgba(0, 255, 163, 0.4);
}

.fb-panel-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--fb-text-light);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--fb-font-body);
  text-align: left;
}

.fb-panel-header::after {
  content: "+";
  font-size: 22px;
  color: var(--fb-neon);
  font-family: var(--fb-font-mono);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.fb-panel[data-open] .fb-panel-header::after {
  transform: rotate(45deg);
}

.fb-panel-body {
  display: none;
  padding: 0 24px 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.8;
}

.fb-panel[data-open] .fb-panel-body {
  display: block;
}

.fb-data-number {
  font-family: var(--fb-font-mono);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fb-neon);
}

.fb-screen-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 255, 163, 0.08) 46%, rgba(0, 255, 163, 0.2) 50%, rgba(0, 255, 163, 0.08) 54%, transparent 100%);
  transform: translateY(-100%);
  transition: transform 0.6s ease;
}

.fb-card:hover .fb-screen-scan {
  transform: translateY(100%);
}

.fb-image-container {
  position: relative;
  border-radius: var(--fb-radius-sm);
  overflow: hidden;
  background: var(--fb-blue-2);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  border: 1px solid var(--fb-border);
  font-family: var(--fb-font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.fb-image-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
  background-size: 200% 200%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.fb-image-container:hover::after {
  opacity: 1;
}

@media (max-width: 1024px) {
  :root {
    --fb-gutter: 24px;
  }

  .fb-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .fb-footer__legal {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  :root {
    --fb-header-h: 64px;
    --fb-gutter: 20px;
  }

  .fb-header__meta {
    display: none;
  }

  .fb-nav-toggle {
    display: flex;
  }

  .fb-nav-wrap {
    position: fixed;
    top: var(--fb-header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--fb-blue);
    padding: 32px 24px;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: auto;
  }

  .fb-nav-wrap[data-open] {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .fb-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }

  .fb-nav-link {
    font-size: 20px;
    font-weight: 900;
    padding: 18px 16px;
    border-bottom: 1px solid var(--fb-border);
    border-radius: 0;
  }

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

  .fb-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .fb-nav-link[aria-current="page"] {
    color: var(--fb-neon);
    border-bottom-color: rgba(0, 255, 163, 0.25);
  }

  .fb-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 48px;
  }

  .fb-footer__legal {
    grid-column: 1;
  }

  .fb-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }
}

@media (max-width: 560px) {
  :root {
    --fb-gutter: 16px;
  }

  .fb-brand__slogan {
    display: none;
  }

  .fb-brand__title {
    font-size: 16px;
  }

  .fb-brand__mark {
    width: 42px;
    height: 42px;
    font-size: 17px;
    border-radius: 12px;
  }

  .fb-btn {
    width: 100%;
    padding: 13px 18px;
    font-size: 15px;
  }

  .fb-footer__grid {
    padding-top: 40px;
  }

  .fb-status-line__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .fb-section {
    padding: 40px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }

  .fb-screen-scan {
    display: none;
  }

  .fb-live-dot {
    animation: none;
  }
}
