@charset "UTF-8";

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

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

body {
  min-height: 100vh;
  background-color: #0A192F;
  background-image:
    linear-gradient(rgba(35, 53, 84, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 53, 84, 0.10) 1px, transparent 1px);
  background-size: 60px 60px;
  color: #F5F1E8;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

input,
button,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: #FF6B35;
  text-decoration: none;
}

a:hover {
  color: #FFD700;
}

strong {
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Impact, "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.15;
  color: #F5F1E8;
}

/* ============ VARIABLES ============ */
:root {
  --c-bg: #0A192F;
  --c-bg-light: #112240;
  --c-bg-mid: #233554;
  --c-accent: #FF6B35;
  --c-gold: #FFD700;
  --c-gold-deep: #E3B505;
  --c-body: #F5F1E8;
  --c-muted: #8892B0;
  --c-success: #A8E6CF;
  --c-white: #FFFFFF;

  --font-head: Impact, "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

  --rail-w: 240px;
  --header-h: 64px;
  --max-w: 1240px;
  --radius: 4px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.28s;

  --grad-accent: linear-gradient(135deg, #FF6B35 0%, #FF9A4D 60%, #FF6B35 100%);
  --grad-gold: linear-gradient(135deg, #FFD700 0%, #E3B505 100%);
  --glass: rgba(17, 34, 64, 0.6);
  --glass-border: rgba(35, 53, 84, 0.55);
}

/* ============ FOCUS & SELECTION ============ */
:focus-visible {
  outline: 2px solid #FFD700;
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: #FF6B35;
  color: #0A192F;
}

#main-content:focus {
  outline: none;
}

/* ============ SKIP LINK ============ */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  background: #FFD700;
  color: #0A192F;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 10px 16px;
  border-radius: 4px;
  transform: translateY(-180%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.skip-link:focus {
  transform: translateY(0);
  outline: none;
  box-shadow: 0 4px 18px rgba(255, 215, 0, 0.35);
}

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  height: 3px;
  z-index: 2600;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FF6B35 0%, #FFD700 60%, #FF6B35 100%);
  box-shadow: 0 0 8px rgba(255, 107, 53, 0.4);
}

/* ============ HEADER · DESKTOP LEFT RAIL ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 1200;
  background:
    linear-gradient(160deg, rgba(17, 34, 64, 0.55) 0%, transparent 60%),
    #0A192F;
  border-right: 1px solid #233554;
  display: flex;
  flex-direction: column;
}

.site-header::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #FF6B35 0%, #FFD700 45%, transparent 70%);
  opacity: 0.35;
  pointer-events: none;
}

.header-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 18px 24px;
  gap: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.nav-overlay {
  display: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid #233554;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  transition: filter 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-mark-svg {
  width: 100%;
  height: 100%;
}

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: Impact, "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  color: #F5F1E8;
  transition: color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-sub {
  font-size: 9px;
  letter-spacing: 3px;
  color: #8892B0;
  text-transform: uppercase;
  margin-top: 4px;
}

.brand:hover .brand-name {
  color: #FF6B35;
}

.brand:hover .brand-mark {
  filter: brightness(1.15);
}

/* ============ NAVIGATION ============ */
.site-nav {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

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

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 10px 11px 12px;
  color: #8892B0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  border-left: 2px solid transparent;
  transition: color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-index {
  font-family: Impact, "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  color: #E3B505;
  min-width: 20px;
}

.nav-text {
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #F5F1E8;
  background: rgba(255, 107, 53, 0.06);
  border-left-color: rgba(255, 107, 53, 0.4);
}

.nav-link[aria-current="page"] {
  color: #FF6B35;
  border-left-color: #FF6B35;
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.10), transparent);
}

.nav-link[aria-current="page"] .nav-index {
  color: #FFD700;
}

/* ============ HEADER TOOLS ============ */
.header-tools {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 4px 10px;
  transition: border-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-box:focus-within {
  border-color: #FF6B35;
}

.search-icon {
  width: 16px;
  height: 16px;
  color: #8892B0;
  flex-shrink: 0;
}

.search-input {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  outline: none;
  color: #F5F1E8;
  font-size: 13px;
  padding: 7px 0;
  width: 100%;
  min-width: 0;
}

.search-input::placeholder {
  color: #8892B0;
  opacity: 1;
}

.search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: Impact, "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 1;
  text-transform: uppercase;
  padding: 13px 20px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-label {
  display: inline-block;
}

.btn-arrow {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-accent {
  background: linear-gradient(135deg, #FF6B35 0%, #FF9A4D 60%, #FF6B35 100%);
  color: #0A192F;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.22);
}

.btn-accent:hover {
  color: #0A192F;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 107, 53, 0.35);
}

.btn-accent:hover .btn-arrow,
.btn-gold:hover .btn-arrow {
  transform: translate(3px, -3px);
}

.btn-gold {
  background: linear-gradient(135deg, #FFD700 0%, #E3B505 100%);
  color: #0A192F;
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.18);
}

.btn-gold:hover {
  color: #0A192F;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: #F5F1E8;
  border-color: #233554;
}

.btn-ghost:hover {
  border-color: #FF6B35;
  color: #FF6B35;
}

.btn-download {
  width: 100%;
}

/* ============ NAV TOGGLE ============ */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #233554;
  border-radius: 4px;
  flex-shrink: 0;
}

.nav-toggle-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background: #F5F1E8;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header[data-open] .nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header[data-open] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header[data-open] .nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============ BODY OFFSET ============ */
body {
  padding-left: var(--rail-w);
}

/* ============ FOOTER ============ */
.site-footer {
  position: relative;
  margin-top: 64px;
  background:
    linear-gradient(180deg, rgba(17, 34, 64, 0.7), transparent 100%),
    #0A192F;
  border-top: 1px solid #233554;
  color: #8892B0;
  overflow: hidden;
}

.footer-accent {
  position: absolute;
  top: -1px;
  right: 0;
  width: min(640px, 60vw);
  height: 3px;
  background: linear-gradient(90deg, transparent, #FF6B35 25%, #FFD700 70%, transparent 100%);
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 32px 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-name {
  font-family: Impact, "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 28px;
  letter-spacing: 3px;
  color: #F5F1E8;
  text-transform: uppercase;
}

.footer-brand-sub {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  color: #FF6B35;
  text-transform: uppercase;
  margin-top: 4px;
}

.footer-trust {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.9;
  color: #8892B0;
  max-width: 360px;
  border-left: 2px solid #FF6B35;
  padding-left: 14px;
}

.footer-nav,
.footer-policy,
.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-family: Impact, "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  letter-spacing: 3px;
  color: #F5F1E8;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 8px;
  position: relative;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: #FF6B35;
}

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

.footer-links a {
  color: #8892B0;
  font-size: 14px;
  transition: color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    padding-left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
  color: #FFD700;
  padding-left: 4px;
}

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

.footer-contact-item {
  font-size: 13px;
  line-height: 1.7;
  color: #8892B0;
  padding-left: 14px;
  position: relative;
}

.footer-contact-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  background: #FFD700;
  transform: rotate(45deg);
}

.footer-bottom {
  border-top: 1px solid #233554;
}

.footer-bottom-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copy,
.footer-icp {
  font-size: 13px;
  color: #8892B0;
}

.footer-icp {
  letter-spacing: 1px;
}

/* ============ COMMON COMPONENTS ============ */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 32px;
}

.section {
  padding-block: 64px;
}

.section-sm {
  padding-block: 32px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Impact, "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  letter-spacing: 4px;
  color: #FFD700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: #FF6B35;
  display: inline-block;
}

.section-title {
  font-family: Impact, "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: 2px;
  color: #F5F1E8;
  text-transform: uppercase;
}

.breadcrumb {
  padding: 16px 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #8892B0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: #233554;
}

.breadcrumb-link {
  color: #8892B0;
}

.breadcrumb-link:hover {
  color: #FF6B35;
}

.breadcrumb-item[aria-current="page"] {
  color: #FF6B35;
}

.img-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(35, 53, 84, 0.5) 0%, transparent 100%),
    #112240;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-frame:hover img {
  transform: scale(1.03);
}

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.tag,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 1px;
  background: #112240;
  border: 1px solid #233554;
  color: #8892B0;
  border-radius: 100px;
}

.tag {
  border-radius: 2px;
  border-left: 2px solid #FF6B35;
  color: #F5F1E8;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, #233554, transparent);
  border: none;
  margin-block: 32px;
}

.text-block p + p {
  margin-top: 1em;
}

.text-block ul {
  margin: 1em 0;
  padding-left: 1.2em;
  list-style: disc;
}

.text-block li {
  margin-bottom: 0.4em;
}

.text-block a {
  color: #FF6B35;
  border-bottom: 1px solid rgba(255, 107, 53, 0.35);
}

.text-block a:hover {
  color: #FFD700;
  border-bottom-color: #FFD700;
}

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

/* ============ RESPONSIVE · <1024px ============ */
@media (max-width: 1023.98px) {
  body {
    padding-left: 0;
    padding-top: var(--header-h);
  }

  .scroll-progress {
    left: 0;
  }

  .site-header {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: var(--header-h);
    background: rgba(10, 25, 47, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-right: none;
    border-bottom: 1px solid #233554;
  }

  .site-header::after {
    display: none;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    height: var(--header-h);
    padding: 0 16px;
    gap: 10px;
    overflow: visible;
  }

  .brand {
    margin-right: auto;
    margin-bottom: 0;
    border-bottom: none;
    padding: 0;
    flex-shrink: 0;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

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

  .brand-sub {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    bottom: 0;
    width: min(320px, 86vw);
    background: #112240;
    border-right: 1px solid #233554;
    padding: 24px 16px;
    box-shadow: 12px 0 32px rgba(0, 0, 0, 0.3);
    transform: translateX(-102%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1100;
  }

  .site-header[data-open] .site-nav {
    transform: translateX(0);
    box-shadow: 24px 0 48px rgba(0, 0, 0, 0.4);
  }

  .site-header[data-open] .nav-overlay {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(6, 16, 31, 0.62);
    z-index: 1000;
  }

  .header-tools {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .search-box {
    display: none;
  }

  .btn-download {
    width: auto;
    padding: 10px 14px;
    font-size: 13px;
  }

  .btn-arrow {
    font-size: 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 24px;
  }

  .footer-bottom-inner {
    padding: 18px 24px;
  }
}

/* ============ RESPONSIVE · <640px ============ */
@media (max-width: 639.98px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 20px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    padding: 14px 16px;
  }

  .container {
    padding-inline: 20px;
  }

  .section {
    padding-block: 40px;
  }
}

/* ============ RESPONSIVE · <480px ============ */
@media (max-width: 479.98px) {
  .header-inner {
    padding: 0 12px;
    gap: 6px;
  }

  .brand-name {
    font-size: 15px;
  }

  .btn-download {
    font-size: 13px;
    padding: 9px 10px;
  }

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

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .scroll-progress span {
    transition: none;
  }
}
