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

:root {
  --bg-void: #0A0A0F;
  --bg-deep: #0B0B12;
  --bg-panel: #12121B;
  --bg-raised: #171723;
  --flame-orange: #FF5C00;
  --volt-violet: #8A2BE2;
  --copper-amber: #B87333;
  --text-primary: #F5F5F7;
  --text-secondary: #A3A3B3;
  --text-muted: #6E6E80;
  --line-edge: #2C2C3A;
  --positive: #00C853;
  --caution: #FFD600;
  --negative: #FF3B30;
  --nav-rail-width: 284px;
  --header-mobile-height: 68px;
  --content-max: 1280px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --ease: 160ms ease;
  --ease-smooth: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --font-title: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --z-header: 1000;
  --z-drawer: 1100;
  --z-skip: 2000;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-title);
  color: var(--text-primary);
  line-height: 1.2;
}

a {
  color: inherit;
}

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

ul,
ol {
  list-style: none;
}

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

address {
  font-style: normal;
}

::selection {
  background: rgba(255, 92, 0, 0.85);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

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

:focus-visible {
  outline: 2px solid var(--flame-orange);
  outline-offset: 4px;
  border-radius: 2px;
}

[hidden] {
  display: none !important;
}

@supports (backdrop-filter: blur(1px)) {
  .site-header {
    backdrop-filter: blur(10px);
  }
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: var(--z-skip);
  background: var(--flame-orange);
  color: #fff;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transform: translateY(-300%);
  transition: transform var(--ease);
}

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

.main-content-area {
  min-height: 60vh;
}

@media (min-width: 992px) {
  .main-content-area {
    margin-left: var(--nav-rail-width);
  }
}

@media (max-width: 991.98px) {
  .main-content-area {
    padding-top: var(--header-mobile-height);
  }
}

.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: 28px;
}

.section {
  padding-block: 80px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 22px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--flame-orange), #e85600);
  color: #fff;
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(255, 92, 0, 0.28);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--line-edge);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.btn-cta {
  background: linear-gradient(120deg, #ff3d00, #8a2be2);
  color: #fff;
  box-shadow: 0 0 24px rgba(255, 92, 0, 0.16);
  width: 100%;
}

.btn-cta:hover {
  box-shadow: 0 0 36px rgba(138, 43, 226, 0.28);
  transform: translateY(-2px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--ease);
}

.breadcrumb a:hover {
  color: var(--flame-orange);
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--text-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--flame-orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--flame-orange), transparent);
}

.display-title {
  font-family: var(--font-title);
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 900;
  line-height: 1.2;
}

.subsection-title {
  font-family: var(--font-title);
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 700;
  line-height: 1.3;
}

.title-gradient {
  background: linear-gradient(90deg, var(--flame-orange) 10%, var(--volt-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-muted {
  color: var(--text-muted);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: var(--z-header);
  width: var(--nav-rail-width);
  padding: 32px 20px 24px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(138, 43, 226, 0.13), transparent 50%),
    radial-gradient(160% 100% at 100% 100%, rgba(255, 92, 0, 0.08), transparent 55%),
    var(--bg-deep);
  border-right: 1px solid var(--line-edge);
  overflow-x: hidden;
  overflow-y: auto;
}

.site-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 92, 0, 0.45), rgba(138, 43, 226, 0.18), transparent 90%);
  pointer-events: none;
}

.brand {
  padding: 0 4px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-glyph {
  font-family: var(--font-title);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--flame-orange) 0%, var(--volt-violet) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 92, 0, 0.35));
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.brand-sub {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.28em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.brand-slogan {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.nav-rail {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.nav-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: background-color var(--ease), color var(--ease);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.nav-index {
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  min-width: 22px;
}

.nav-label {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-link[aria-current="page"] {
  background: linear-gradient(90deg, rgba(255, 92, 0, 0.14), rgba(255, 255, 255, 0.02));
  color: #fff;
}

.nav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  border-radius: 0 3px 3px 0;
  background: var(--flame-orange);
  box-shadow: 0 0 14px rgba(255, 92, 0, 0.65);
}

.nav-link[aria-current="page"] .nav-index {
  color: var(--flame-orange);
}

.header-bottom {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.scroll-readout {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 12px;
}

.scroll-readout__label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.scroll-readout__value {
  font-size: 12px;
  font-weight: 700;
  text-align: right;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.scroll-readout__bar {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.scroll-readout__bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--flame-orange), var(--volt-violet));
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line-edge);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color var(--ease), background-color var(--ease);
}

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

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-primary);
  transition: transform var(--ease-smooth), opacity var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-drawer) - 1);
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease-smooth), visibility var(--ease-smooth);
}

.nav-rail[data-open] ~ .nav-scrim {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (min-width: 992px) {
  .nav-toggle,
  .nav-scrim {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: var(--header-mobile-height);
    padding: 0 16px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-right: 0;
    border-bottom: 1px solid var(--line-edge);
    background: rgba(10, 10, 15, 0.88);
    overflow: visible;
  }

  .site-header::after {
    content: "";
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 92, 0, 0.4), rgba(138, 43, 226, 0.15), transparent);
  }

  .brand {
    border-bottom: 0;
    padding: 0;
  }

  .brand-slogan {
    display: none;
  }

  .brand-sub {
    display: none;
  }

  .nav-rail {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: var(--z-drawer);
    width: min(84vw, 340px);
    height: 100dvh;
    margin: 0;
    padding: 32px 24px 24px;
    background:
      radial-gradient(120% 120% at 0% 0%, rgba(138, 43, 226, 0.13), transparent 50%),
      radial-gradient(160% 100% at 100% 100%, rgba(255, 92, 0, 0.08), transparent 55%),
      var(--bg-deep);
    border-right: 1px solid var(--line-edge);
    transform: translateX(-105%);
    transition: transform var(--ease-smooth);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
  }

  .nav-rail[data-open] {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .nav-list {
    gap: 4px;
  }

  .nav-link {
    padding: 12px 14px;
  }
}

.site-footer {
  margin-left: var(--nav-rail-width);
  position: relative;
  border-top: 1px solid var(--line-edge);
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    #08080c;
  background-size: 32px 32px;
  padding: 56px 0 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--flame-orange) 0%, var(--volt-violet) 55%, transparent 90%);
  opacity: 0.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .brand-link {
  margin-bottom: 16px;
}

.footer-slogan {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.footer-trust {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--ease);
}

.footer-links a::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 92, 0, 0.4);
  flex-shrink: 0;
}

.footer-links a:hover {
  color: var(--flame-orange);
}

.footer-links a:hover::before {
  background: var(--flame-orange);
  box-shadow: 0 0 8px rgba(255, 92, 0, 0.5);
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.footer-address span {
  padding-left: 10px;
  border-left: 2px solid rgba(184, 115, 51, 0.5);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copyright,
.footer-icp {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

.footer-legal a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--ease);
}

.footer-legal a:hover {
  color: var(--flame-orange);
}

@media (max-width: 991.98px) {
  .site-footer {
    margin-left: 0;
    padding-top: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    gap: 12px;
  }

  .footer-legal {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 16px;
  }

  .section {
    padding-block: 48px;
  }

  .page-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.media-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 10, 15, 0.75));
  pointer-events: none;
}

.media-frame--hero {
  aspect-ratio: 16 / 8;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

.media-frame--tall {
  aspect-ratio: 3 / 4;
}

.stat-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.metric-cell {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-edge);
  border-radius: 16px;
  padding: 22px;
}

.metric-cell__value {
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.metric-cell__value--accent {
  background: linear-gradient(135deg, var(--flame-orange), var(--volt-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric-cell__label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-edge);
  white-space: nowrap;
}

.status-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-tag--live {
  color: var(--positive);
  border-color: rgba(0, 200, 83, 0.3);
}

.status-tag--done {
  color: var(--text-muted);
}

.status-tag--hot {
  color: var(--flame-orange);
  border-color: rgba(255, 92, 0, 0.35);
}

.tag-pill {
  display: inline-block;
  font-size: 12px;
  color: var(--text-secondary);
  border: 1px solid var(--line-edge);
  padding: 4px 12px;
  border-radius: 30px;
  white-space: nowrap;
}

.hero-frame {
  position: relative;
  border: 1px solid var(--line-edge);
  border-radius: 16px;
  padding: 36px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 60px rgba(255, 92, 0, 0.06);
}

.hero-frame > * {
  position: relative;
  z-index: 1;
}

.hero-frame__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
}

.hero-frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--flame-orange);
  border-left: 2px solid var(--flame-orange);
}

.hero-frame::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--volt-violet);
  border-right: 2px solid var(--volt-violet);
}

.ruler-edge {
  height: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(184, 115, 51, 0.6) 0 2px, transparent 2px 12px),
    rgba(255, 255, 255, 0.04);
}

.glow-seed {
  position: relative;
  overflow: hidden;
}

.glow-seed::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -160px;
  top: -160px;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.25), transparent 65%);
  pointer-events: none;
}

.glow-seed::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  left: -120px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(255, 92, 0, 0.14), transparent 65%);
  pointer-events: none;
}

.diagonal-slice {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 32px));
}

.speed-lines {
  background: repeating-linear-gradient(-55deg, rgba(255, 92, 0, 0.08) 0 1px, transparent 1px 16px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .nav-rail,
  .nav-scrim,
  .skip-link {
    transition: none !important;
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 16px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }
}
