:root {
  --navy: #0A1F44;
  --navy-deep: #071530;
  --navy-light: #1D3557;
  --red: #E63946;
  --gold: #F4A261;
  --green: #7F9D6B;
  --white-soft: #F5F5F5;
  --white: #FFFFFF;
  --gray: #444444;
  --gray-border: #E8ECF1;
  --font-heading: "Noto Sans CJK SC Heavy", "Source Han Sans SC Heavy", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Roboto Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --container-width: 1240px;
  --header-height: 76px;
  --radius-pill: 999px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 6px;
  --shadow-card: 6px 6px 0 rgba(10, 31, 68, 0.9);
  --shadow-float: 0 12px 32px rgba(10, 31, 68, 0.18);
  --ease-standard: cubic-bezier(0.2, 0.6, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray);
  background: var(--white-soft);
  min-height: 100vh;
}

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

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

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}

.section-head {
  margin-bottom: 32px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.section-desc {
  font-size: 16px;
  color: var(--gray);
  max-width: 65ch;
  margin-top: 8px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-standard), box-shadow 0.2s var(--ease-standard), background 0.2s var(--ease-standard);
}

.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 4px 4px 0 rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
  background: #d43a47;
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(230, 57, 70, 0.3);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white-soft);
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.site-header {
  position: relative;
  z-index: 100;
  background: var(--navy);
  color: var(--white-soft);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.06);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, transparent 40%, rgba(230, 57, 70, 0.08) 40.5%, transparent 41.5%),
    linear-gradient(65deg, transparent 65%, rgba(244, 162, 97, 0.06) 65.5%, transparent 66.5%);
  background-size: 320px 100%, 420px 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: var(--scroll-progress, 0%);
  background: var(--white-soft);
  z-index: 2;
  transition: width 0.05s linear;
}

.header-track {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--header-height);
}

.header-decor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--gold) 55%, var(--green) 100%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 60px) 100%, 0 100%);
  pointer-events: none;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 10px 20px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.header-brand {
  position: relative;
  flex-shrink: 0;
  padding-right: 16px;
  margin-right: 8px;
}

.header-brand::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.12);
}

.brand-link {
  display: flex;
  align-items: baseline;
  gap: 5px;
  text-decoration: none;
  color: var(--white-soft);
}

.brand-mark {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--white-soft);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
  border: 1px solid rgba(230, 57, 70, 0.45);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  margin-left: 4px;
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: block;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--white-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s var(--ease-standard), color 0.2s var(--ease-standard);
}

.nav-link:hover {
  background: rgba(244, 162, 97, 0.18);
  color: var(--gold);
}

.nav-link[aria-current="page"] {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(230, 57, 70, 0.35);
}

.header-search {
  position: relative;
  flex-shrink: 0;
}

.search-input {
  display: block;
  width: 220px;
  padding: 9px 16px 9px 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white-soft);
  font-size: 14px;
  line-height: 1.4;
  transition: border-color 0.2s var(--ease-standard), background 0.2s var(--ease-standard), box-shadow 0.2s var(--ease-standard);
  -webkit-appearance: none;
  appearance: none;
}

.search-input::placeholder {
  color: rgba(245, 245, 245, 0.5);
  opacity: 1;
}

.search-input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.15);
  outline: none;
}

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

.search-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(245, 245, 245, 0.65);
  border-radius: 50%;
  transform: translateY(-62%);
  pointer-events: none;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  background: rgba(245, 245, 245, 0.65);
  transform: rotate(45deg);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s var(--ease-standard), background 0.2s var(--ease-standard);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--gold);
}

.toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white-soft);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-standard), opacity 0.2s var(--ease-standard);
}

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

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

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

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: rgba(245, 245, 245, 0.72);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--gold) 45%, var(--green) 100%);
  z-index: 1;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.025) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.025) 75%);
  background-position: 0 0, 24px 24px;
  background-size: 48px 48px;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 56px 24px 28px;
}

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

.footer-logo {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 900;
  color: var(--white-soft);
  text-decoration: none;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(245, 245, 245, 0.5);
  max-width: 240px;
  margin-bottom: 16px;
}

.footer-seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(127, 157, 107, 0.4);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
}

.seal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: seal-pulse 2s ease infinite;
}

.seal-text {
  font-size: 12px;
  letter-spacing: 0.04em;
}

@keyframes seal-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.75);
  }
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col {
  padding-top: 2px;
}

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

.footer-list a,
.footer-legal a,
.contact-line a {
  color: rgba(245, 245, 245, 0.72);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-list a:hover,
.footer-legal a:hover,
.contact-line a:hover {
  color: var(--gold);
}

.footer-contact {
  padding-top: 2px;
}

.contact-line {
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.contact-address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(245, 245, 245, 0.45);
  margin-top: 12px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(245, 245, 245, 0.4);
}

.footer-icp {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-decor {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border: 2px solid rgba(244, 162, 97, 0.12);
  border-radius: 28px;
  transform: rotate(45deg);
  pointer-events: none;
}

.footer-decor::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px solid rgba(230, 57, 70, 0.12);
  border-radius: 20px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 0;
  font-size: 14px;
}

.breadcrumb-item a {
  color: var(--gray);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--red);
}

.breadcrumb-item[aria-current="page"] {
  color: var(--red);
  font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 6px;
  color: var(--gray-border);
}

.card {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.2s var(--ease-standard), box-shadow 0.2s var(--ease-standard);
}

.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 12px 12px 0 var(--navy);
}

.card-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  overflow: hidden;
}

.card-body {
  padding: 20px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}

.card-text {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.5;
}

.img-placeholder {
  position: relative;
  min-height: 160px;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.img-placeholder::before {
  content: attr(data-label);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.35);
  z-index: 1;
}

.img-placeholder::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(244, 162, 97, 0.15);
  border-radius: 20px;
  transform: rotate(45deg);
}

.tabs {
  margin: 24px 0;
}

.tabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 2px solid var(--gray-border);
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--gray);
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: background 0.2s var(--ease-standard), color 0.2s var(--ease-standard);
}

.tab-btn:hover {
  background: rgba(10, 31, 68, 0.05);
  color: var(--navy);
}

.tab-btn[aria-selected="true"] {
  background: var(--navy);
  color: var(--white-soft);
}

.tab-panel {
  padding: 20px 0;
}

.tab-panel[hidden] {
  display: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.tag-red {
  background: rgba(230, 57, 70, 0.1);
  color: var(--red);
  border: 1px solid rgba(230, 57, 70, 0.2);
}

.tag-gold {
  background: rgba(244, 162, 97, 0.12);
  color: #a5641a;
  border: 1px solid rgba(244, 162, 97, 0.3);
}

.tag-green {
  background: rgba(127, 157, 107, 0.12);
  color: var(--green);
  border: 1px solid rgba(127, 157, 107, 0.3);
}

.tag-navy {
  background: rgba(10, 31, 68, 0.06);
  color: var(--navy);
  border: 1px solid rgba(10, 31, 68, 0.15);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  background: var(--navy);
  color: var(--white-soft);
}

.badge-red {
  background: var(--red);
  color: var(--white);
}

.badge-gold {
  background: var(--gold);
  color: var(--navy);
}

.divider {
  height: 1px;
  background: var(--gray-border);
  border: none;
  margin: 24px 0;
}

.stat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  padding: 16px 24px;
  background: var(--navy);
  border-radius: var(--radius-md);
  color: var(--white-soft);
  min-width: 120px;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.stat-label {
  font-size: 13px;
  opacity: 0.7;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--navy);
  color: var(--white-soft);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--gray-border);
  font-family: var(--font-mono);
}

.data-table tbody tr:nth-child(even) td {
  background: rgba(232, 236, 241, 0.4);
}

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

@media (max-width: 1024px) {
  .search-input {
    width: 180px;
  }

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

  .brand-sub {
    font-size: 10px;
  }
}

@media (max-width: 900px) {
  .header-track {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    padding: 8px 16px;
  }

  .header-brand {
    margin-right: 0;
    padding-right: 0;
  }

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

  .site-nav {
    grid-column: 1 / -1;
    order: 3;
    display: none;
    margin-top: 4px;
    background: var(--navy-light);
    border-radius: var(--radius-lg);
    padding: 8px;
    box-shadow: var(--shadow-float);
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-link {
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .header-search {
    margin-left: 0;
  }

  .search-input {
    width: 160px;
  }

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

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .header-track {
    grid-template-columns: 1fr auto auto;
    gap: 6px;
  }

  .brand-mark {
    font-size: 28px;
  }

  .brand-name {
    font-size: 16px;
    letter-spacing: 0.06em;
  }

  .brand-sub {
    display: none;
  }

  .search-input {
    width: 120px;
    padding: 8px 12px 8px 36px;
  }

  .search-icon {
    left: 14px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 40px 16px 20px;
  }

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

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

  .section {
    padding: 40px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
