:root {
  --bg-light: #F2F4F8;
  --orange: #FF6B00;
  --navy: #0A1E3C;
  --navy-deep: #060f1f;
  --green: #00E676;
  --blue: #1E88E5;
  --red: #FF3B30;
  --success: #34C759;
  --gray: #6B7280;
  --border: #E5E7EB;
  --text: #111827;
  --font-display: Impact, 'Arial Black', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --container: 1200px;
  --header-h: 116px;
  --radius: 0px;
}

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

html {
  scroll-behavior: smooth;
}

@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;
  }
}

body {
  font-family: var(--font-body);
  background: var(--bg-light);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 2000;
  background: var(--orange);
  color: #fff;
  padding: 12px 24px;
  font-weight: 700;
  transition: top 0.2s ease;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

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

/* ===== Site Header ===== */
.site-header {
  position: relative;
  background: var(--navy);
  color: #fff;
  border-bottom: 4px solid var(--orange);
}

.header-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--navy-deep);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transform: skewX(-8deg);
  flex-shrink: 0;
}

.logo-svg {
  transform: skewX(8deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
  border-left: 3px solid var(--orange);
  padding-left: 6px;
  margin-top: 2px;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  margin-right: 12px;
}

.update-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(0, 230, 118, 0.12);
  color: var(--green);
  border: 1px solid rgba(0, 230, 118, 0.4);
  padding: 6px 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.update-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
  flex-shrink: 0;
}

.update-pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.9; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

.header-tagline {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  height: 60px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  padding-right: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.support-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  padding: 8px 0;
  white-space: nowrap;
}

.header-bottom {
  position: relative;
}

.nav-list {
  display: flex;
  align-items: stretch;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-block;
  padding: 14px 18px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, background-color 0.2s ease;
  position: relative;
}

.nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  background: var(--orange);
  transition: height 0.2s ease;
  z-index: -1;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}

.nav-link:hover::before,
.nav-link[aria-current="page"]::before {
  height: 100%;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: #fff;
}

.nav-link[aria-current="page"] {
  font-weight: 700;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  color: #fff;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 107, 0, 0.2);
  border-color: var(--orange);
}

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

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

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

.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: translateY(-7px) rotate(-45deg);
}

.nav-toggle-text {
  font-size: 0.8125rem;
  font-weight: 600;
}

.scroll-progress {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 10;
  pointer-events: none;
}

.scroll-progress::before {
  content: "";
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--orange) 0%, var(--green) 100%);
  transition: width 0.05s linear;
}

body.has-scrolled .scroll-progress::before {
  width: var(--scroll-width, 0%);
}

/* ===== Site Footer ===== */
.site-footer {
  position: relative;
  background: var(--navy);
  color: #fff;
  margin-top: 80px;
}

.footer-statement {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--navy-deep);
}

.statement-text {
  padding: 18px 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 900px;
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.6;
}

.statement-mark {
  display: inline-block;
  width: 14px;
  height: 36px;
  background: var(--orange);
  flex-shrink: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 10px));
}

.footer-main {
  padding: 56px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 0.9fr;
  gap: 40px;
}

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

.footer-note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 300px;
  border-left: 2px solid rgba(255, 107, 0, 0.7);
  padding-left: 14px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 107, 0, 0.7);
  display: inline-block;
  color: #fff;
}

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

.foot-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  padding-left: 12px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.foot-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  background: var(--orange);
  transform: rotate(45deg);
  transition: background-color 0.2s ease;
}

.foot-link:hover {
  color: #fff;
  padding-left: 18px;
}

.foot-link:hover::before {
  background: var(--green);
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.contact-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-note {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
  padding-top: 12px;
}

.footer-update {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--green);
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.25);
  padding: 8px 12px;
}

.footer-bottom {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.footer-copy,
.footer-icp {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.speed-stripe {
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 16px, transparent 16px 28px);
}

/* ===== Shared Layout ===== */
.section {
  padding: 72px 0;
}

.section + .section {
  padding-top: 0;
}

.page-header {
  background: var(--navy);
  color: #fff;
  padding: 48px 0 64px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 0 100%);
  margin-bottom: 32px;
}

.page-header .container {
  position: relative;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.page-title::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 0.6em;
  background: var(--orange);
  margin-right: 14px;
  transform: skewX(-12deg) translateY(0.05em);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumbs li + li::before {
  content: "→";
  display: inline-block;
  margin-right: 4px;
  color: rgba(255, 255, 255, 0.3);
}

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

.breadcrumbs [aria-current="page"] {
  color: rgba(255, 255, 255, 0.9);
}

.page-body {
  padding: 40px 0 80px;
}

/* ===== Common Buttons & Links ===== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  font-size: 0.9375rem;
  font-weight: 700;
  border: 2px solid transparent;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  background: var(--orange);
  color: #fff;
}

.button:hover {
  background: #e55f00;
  transform: translateX(3px);
}

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

.button-outline:hover {
  background: var(--navy);
  color: #fff;
}

.underline-link {
  position: relative;
}

.underline-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.25s ease;
}

.underline-link:hover::after,
.underline-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ===== Card / Visual Components ===== */
.tilt-block {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  padding: 8px 16px;
  transform: skewX(-10deg);
  letter-spacing: 0.06em;
}

.tilt-block > * {
  display: inline-block;
  transform: skewX(10deg);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}

.note-card {
  background: #fff;
  border-left: 4px solid var(--orange);
  padding: 20px 22px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  border: 1px solid var(--border);
  border-left-width: 4px;
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.65;
}

.note-card-title {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.note-card-title::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--orange);
  transform: rotate(45deg);
}

/* ===== Reusable Image Container ===== */
.img-container {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0%, transparent 40%, rgba(0, 230, 118, 0.04) 100%);
  pointer-events: none;
  transition: background-color 0.3s ease;
}

.img-container:hover {
  border-color: rgba(255, 107, 0, 0.7);
}

.img-container + .img-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.08em;
}

.img-label::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--orange);
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 500;
  background: var(--navy);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 10px 14px;
  border: 2px solid var(--orange);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--orange);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: auto;
  }

  .header-meta {
    display: none;
  }

  .header-top-inner {
    min-height: 68px;
  }

  .brand-name {
    font-size: 1.4rem;
  }

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

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

  .header-bottom {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
    z-index: 500;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .site-header[data-open] .header-bottom {
    max-height: 450px;
    overflow-y: auto;
  }

  .nav-list {
    flex-direction: column;
    padding: 12px 0;
    gap: 2px;
  }

  .nav-link {
    display: block;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

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

  .nav-link[aria-current="page"] {
    background: var(--orange);
    color: #fff;
    clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-top-inner {
    flex-wrap: nowrap;
  }

  .brand-sub {
    display: none;
  }

  .support-link {
    display: none;
  }

  .footer-statement .statement-text {
    font-size: 0.875rem;
  }

  .footer-main {
    padding: 40px 0 28px;
  }

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

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

  .page-title {
    font-size: clamp(1.75rem, 8vw, 2.6rem);
  }

  .page-header {
    padding: 32px 0 48px;
  }

  .back-to-top {
    right: 12px;
    bottom: 16px;
    padding: 8px 12px;
    font-size: 0.75rem;
  }
}
