:root {
  --color-primary: #E60012;
  --color-accent: #FF6A00;
  --color-highlight: #FFD100;
  --color-navy: #0A2540;
  --color-green: #1F5A3B;
  --color-bg: #F5F5F5;
  --color-line: #CCCCCC;
  --color-text: #333333;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --font-heading: Impact, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-number: Consolas, "Courier New", monospace;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --transition: 0.2s ease;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent);
}

ul,
ol {
  list-style: none;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 12px 0;
  z-index: 9999;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 32px;
  line-height: 1.25;
  letter-spacing: 0.5px;
  position: relative;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 30px;
  background: var(--color-primary);
  border-radius: 6px;
  margin-right: 14px;
  vertical-align: -4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: #c5000f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 0, 18, 0.3);
}

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

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

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(10, 37, 64, 0.06);
  box-shadow: 0 2px 12px rgba(10, 37, 64, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(10, 37, 64, 0.12);
}

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

.media-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-navy), #1a3a5f);
  aspect-ratio: 16 / 9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-frame::after {
  content: "IMAGE";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 6px;
}

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

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

.breadcrumb a {
  color: var(--color-navy);
  font-weight: 500;
}

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

.breadcrumb-sep {
  color: var(--color-line);
}

.site-header {
  background: var(--color-navy);
  color: #fff;
  position: relative;
  z-index: 100;
  border-bottom: 4px solid var(--color-primary);
}

.site-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 106, 0, 0.12) 40%, rgba(255, 106, 0, 0.12) 100%);
  pointer-events: none;
  z-index: 0;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.header-brand:hover {
  color: #fff;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary);
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.2);
}

.brand-icon::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  border-top-color: transparent;
  border-right-color: transparent;
  transform: rotate(45deg);
}

.brand-icon::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 7px;
  width: 8px;
  height: 8px;
  background: var(--color-highlight);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.brand-group {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
}

.brand-domain {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
}

.site-nav {
  margin-left: auto;
}

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

.nav-item a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-item a:hover {
  color: #fff;
  background: rgba(255, 106, 0, 0.25);
}

.nav-item a[aria-current="page"] {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(230, 0, 18, 0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 10px;
  margin-left: auto;
  z-index: 2;
}

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

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

.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);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  z-index: 1000;
  pointer-events: none;
  border-radius: 0 3px 3px 0;
}

.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.8);
  border-top: 4px solid var(--color-accent);
  position: relative;
  flex-shrink: 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-highlight));
  opacity: 0.6;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 32px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.2);
}

.footer-logo::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  border-top-color: transparent;
  transform: rotate(45deg);
}

.footer-logo::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 7px;
  width: 8px;
  height: 8px;
  background: var(--color-highlight);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

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

.footer-name {
  font-family: var(--font-heading);
  font-size: 24px;
  color: #fff;
  letter-spacing: 1px;
}

.footer-domain {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
}

.footer-description {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 360px;
}

.footer-trust {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  border-left: 3px solid var(--color-primary);
  padding-left: 12px;
  max-width: 360px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

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

.footer-link-list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-link-list a:hover {
  color: var(--color-accent);
  padding-left: 6px;
}

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

.contact-item {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

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

.footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-copyright,
.footer-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1023px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .header-inner {
    padding: 12px 16px;
    gap: 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-navy);
    border-top: 2px solid var(--color-primary);
    border-bottom: 4px solid var(--color-primary);
    padding: 12px 16px;
    margin: 0;
  }

  .site-nav[data-open="true"] {
    display: block;
  }

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

  .nav-item a {
    display: block;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 16px;
  }

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

  .brand-icon {
    width: 38px;
    height: 38px;
  }

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

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

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 26px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nav-item a {
    padding: 8px 12px;
    font-size: 13px;
  }

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