:root {
  --bg: #f4f6fb;
  --bg-alt: #ffffff;
  --bg-elevated: rgba(255, 255, 255, 0.72);
  --bg-glass: rgba(255, 255, 255, 0.55);
  --border: rgba(26, 43, 76, 0.12);
  --border-strong: rgba(26, 43, 76, 0.22);
  --text: #16233d;
  --text-soft: #48566f;
  --text-muted: #6b7890;
  --primary: #1a2b4c;
  --primary-2: #2b4a86;
  --accent: #f5a623;
  --accent-2: #ff7a59;
  --accent-soft: rgba(245, 166, 35, 0.14);
  --gradient-hero: linear-gradient(135deg, #1a2b4c 0%, #2b4a86 48%, #4a6fb8 100%);
  --gradient-accent: linear-gradient(135deg, #f5a623 0%, #ff7a59 100%);
  --gradient-card: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(244, 246, 251, 0.75));
  --shadow-sm: 0 2px 8px rgba(22, 35, 61, 0.06);
  --shadow-md: 0 10px 30px rgba(22, 35, 61, 0.1);
  --shadow-lg: 0 24px 60px rgba(22, 35, 61, 0.16);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --header-h: 72px;
  --max-w: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html[data-theme="dark"] {
  --bg: #0d1424;
  --bg-alt: #131c30;
  --bg-elevated: rgba(24, 34, 56, 0.78);
  --bg-glass: rgba(19, 28, 48, 0.6);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --text: #e8edf7;
  --text-soft: #b3bfd4;
  --text-muted: #8695b0;
  --primary: #e8edf7;
  --primary-2: #9fb6e0;
  --accent: #ffb43d;
  --accent-2: #ff8a66;
  --accent-soft: rgba(255, 180, 61, 0.16);
  --gradient-hero: linear-gradient(135deg, #0b1222 0%, #17274a 50%, #24406f 100%);
  --gradient-card: linear-gradient(160deg, rgba(30, 42, 68, 0.9), rgba(19, 28, 48, 0.8));
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, var(--accent-soft), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(74, 111, 184, 0.16), transparent 46%);
  background-attachment: fixed;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  overflow-x: hidden;
}

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

a {
  color: var(--primary-2);
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--accent-2);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  line-height: 1.3;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
  font-weight: 800;
}

h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
}

h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  position: relative;
  padding-left: 18px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 6px;
  border-radius: var(--radius-pill);
  background: var(--gradient-accent);
}

h3 {
  font-size: clamp(1.1rem, 1.9vw, 1.3rem);
}

h4 {
  font-size: 1rem;
  color: var(--text-soft);
}

p {
  margin: 0 0 1em;
  color: var(--text-soft);
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
  color: var(--text-soft);
}

li {
  margin-bottom: 0.45em;
}

strong {
  color: var(--text);
}

time {
  color: var(--text-muted);
  font-size: 0.9em;
}

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

/* ============ Header ============ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

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

.brand a {
  display: inline-flex;
  border-radius: 14px;
  transition: transform 0.35s var(--ease);
}

.brand a:hover {
  transform: rotate(-6deg) scale(1.06);
}

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

.brand-text strong {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

nav[aria-label="主导航"] {
  flex: 1 1 auto;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: inline-block;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
  position: relative;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--text);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header-tools form {
  display: flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.header-tools form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

#site-search {
  border: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  padding: 6px 10px;
  width: 190px;
  min-width: 0;
  outline: none;
}

#site-search::placeholder {
  color: var(--text-muted);
}

.header-tools button {
  font: inherit;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.header-tools form button {
  background: var(--gradient-accent);
  color: #1a1200;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 7px 16px;
}

.header-tools form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 166, 35, 0.4);
}

#theme-toggle,
#menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
}

#theme-toggle:hover,
#menu-toggle:hover {
  background: var(--accent-soft);
  transform: translateY(-2px) rotate(8deg);
}

#menu-toggle {
  display: none;
}

/* ============ Main layout ============ */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 26px 22px 40px;
}

main > section {
  margin-bottom: 56px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

main > section > article,
main > section > details,
main > section > ul,
main > section > ol,
main > section > p,
main > section > address,
main > section > blockquote {
  margin-bottom: 16px;
}

/* ============ Hero ============ */
#hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: stretch;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--gradient-hero);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(245, 166, 35, 0.3), transparent 46%),
    radial-gradient(circle at 8% 92%, rgba(255, 122, 89, 0.22), transparent 50%);
  z-index: -1;
  pointer-events: none;
}

.hero-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(10, 18, 34, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.slide {
  display: none;
  flex: 1;
  flex-direction: column;
  animation: fadeSlide 0.6s var(--ease) both;
}

.slide.active {
  display: flex;
}

.slide svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius) var(--radius) 0 0;
}

.slide-caption {
  padding: 16px 20px 20px;
  color: #f2f6ff;
}

.slide-caption h2 {
  color: #ffffff;
  font-size: 1.15rem;
  padding-left: 0;
  margin-bottom: 0.4em;
}

.slide-caption h2::before {
  display: none;
}

.slide-caption p {
  color: rgba(242, 246, 255, 0.82);
  font-size: 0.92rem;
  margin-bottom: 0.9em;
}

.slide-caption a {
  display: inline-block;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  background: var(--gradient-accent);
  color: #1a1200;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 8px 22px rgba(245, 166, 35, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.slide-caption a:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(245, 166, 35, 0.5);
  color: #1a1200;
}

.slider-controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.slider-controls button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(10, 18, 34, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.slider-controls button:hover {
  background: var(--accent);
  color: #1a1200;
  transform: scale(1.1);
}

.hero-text {
  color: #f2f6ff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 4px;
}

.hero-text h1 {
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero-lead {
  color: rgba(242, 246, 255, 0.86);
  font-size: 0.98rem;
}

.hero-meta {
  font-size: 0.82rem;
  color: rgba(242, 246, 255, 0.66);
}

.hero-meta time {
  color: rgba(242, 246, 255, 0.8);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.hero-cta a {
  display: inline-block;
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.hero-cta a:first-child {
  background: var(--gradient-accent);
  border-color: transparent;
  color: #1a1200;
  box-shadow: 0 10px 26px rgba(245, 166, 35, 0.4);
}

.hero-cta a:hover {
  transform: translateY(-3px);
  color: #1a1200;
  background: var(--accent);
  box-shadow: 0 14px 32px rgba(245, 166, 35, 0.5);
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============ Breadcrumb ============ */
.breadcrumb {
  margin: -32px 0 34px;
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  width: fit-content;
  max-width: 100%;
}

.breadcrumb li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* ============ Section cards ============ */
#intro,
#products,
#solutions,
#applications,
#cases,
#news,
#articles,
#faq,
#howto,
#knowledge,
#contact,
#sitemap,
#links,
#privacy,
#disclaimer,
#copyright {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

#intro::before,
#products::before,
#solutions::before,
#faq::before,
#contact::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--accent-soft);
  pointer-events: none;
}

#intro > article,
#products > article,
#solutions > article,
#applications > article,
#cases > article,
#news > article,
#articles > article,
#howto > article,
#knowledge > article {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  margin-bottom: 18px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

#intro > article:hover,
#products > article:hover,
#solutions > article:hover,
#applications > article:hover,
#cases > article:hover,
#news > article:hover,
#articles > article:hover,
#howto > article:hover,
#knowledge > article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

#intro > article > h3,
#products > article > h3,
#solutions > article > h3,
#applications > article > h3,
#cases > article > h3,
#news > article > h3,
#articles > article > h3,
#howto > article > h3,
#knowledge > article > h3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

#intro > article > h3::before,
#products > article > h3::before,
#solutions > article > h3::before,
#applications > article > h3::before,
#cases > article > h3::before,
#news > article > h3::before,
#articles > article > h3::before,
#howto > article > h3::before,
#knowledge > article > h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--gradient-accent);
  flex-shrink: 0;
  transform: rotate(45deg);
}

/* Products grid */
#products {
  display: flex;
  flex-direction: column;
}

#products > p {
  max-width: 760px;
}

#products > article {
  position: relative;
}

#products > article h4 {
  margin-top: 1em;
}

#products > article ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 6px;
}

#products > article ul li {
  position: relative;
  padding-left: 24px;
}

#products > article ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-2);
  font-weight: 800;
}

/* Solutions grid */
#solutions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

#solutions > h2,
#solutions > p,
#solutions > h3,
#solutions > ul {
  grid-column: 1 / -1;
}

#solutions > article {
  margin-bottom: 0;
}

#solutions > ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

#solutions > ul li {
  margin: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.92rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

#solutions > ul li:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

/* Applications grid */
#applications {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

#applications > h2 {
  grid-column: 1 / -1;
}

#applications > article {
  margin-bottom: 0;
}

/* Cases */
#cases blockquote {
  margin: 0 0 14px;
  padding: 18px 22px;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text-soft);
  font-style: italic;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#cases blockquote:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

#cases blockquote p {
  margin: 0;
}

/* News */
#news > article {
  border-left: 4px solid transparent;
  background-image: linear-gradient(var(--bg-elevated), var(--bg-elevated)), var(--gradient-accent);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 1px solid transparent;
}

#news > article time {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-2);
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
  padding: 2px 12px;
  margin-bottom: 6px;
}

/* Articles */
#articles > article {
  position: relative;
}

#articles > article > p:last-child a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent-2);
}

#articles > article > p:last-child a::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

#articles > article > p:last-child a:hover::after {
  transform: translateX(5px);
}

/* FAQ */
#faq details {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#faq details:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

#faq details[open] {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

#faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 50px 16px 20px;
  font-weight: 700;
  color: var(--text);
  position: relative;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}

#faq summary::-webkit-details-marker {
  display: none;
}

#faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 1.1rem;
  font-weight: 800;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

#faq details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  background: var(--gradient-accent);
  color: #1a1200;
}

#faq summary:hover {
  color: var(--accent-2);
}

#faq details p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 0.95rem;
  animation: fadeIn 0.35s var(--ease) both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HowTo */
#howto ol {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 10px 14px 10px 52px;
  margin-bottom: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

#howto ol li:hover {
  transform: translateX(6px);
  border-color: var(--accent);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #1a1200;
  font-weight: 800;
  font-size: 0.85rem;
}

#howto ul {
  list-style: none;
  padding-left: 0;
}

#howto ul li {
  position: relative;
  padding-left: 22px;
}

#howto ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent-2);
}

/* Contact */
#contact address {
  font-style: normal;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

#contact address p {
  margin: 0;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
  word-break: break-word;
}

#contact address p:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

#contact address a {
  font-weight: 600;
}

/* Sitemap & links */
#sitemap ul,
#links ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}

#sitemap li,
#links li {
  margin: 0;
}

#sitemap a,
#links a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

#sitemap a:hover,
#links a:hover {
  transform: translateY(-3px);
  background: var(--accent-soft);
  color: var(--accent-2);
  border-color: var(--accent);
}

/* ============ Footer ============ */
footer {
  background: var(--gradient-hero);
  color: rgba(242, 246, 255, 0.78);
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 22px 32px;
  display: grid;
  gap: 8px;
}

.footer-inner p {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(242, 246, 255, 0.72);
  line-height: 1.7;
}

.footer-inner p:first-child {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.footer-inner p:first-child strong {
  color: var(--accent);
  font-size: 1.12rem;
}

.footer-inner a {
  color: rgba(242, 246, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.footer-inner time {
  color: rgba(242, 246, 255, 0.78);
}

/* ============ Back to top ============ */
#back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: var(--gradient-accent);
  color: #1a1200;
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(245, 166, 35, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), opacity 0.3s var(--ease);
}

#back-to-top:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 16px 34px rgba(245, 166, 35, 0.55);
}

/* ============ Scroll reveal ============ */
main > section,
#hero > * {
  animation: revealUp 0.7s var(--ease) both;
}

main > section:nth-of-type(1) { animation-delay: 0.02s; }
main > section:nth-of-type(2) { animation-delay: 0.05s; }
main > section:nth-of-type(3) { animation-delay: 0.08s; }
main > section:nth-of-type(4) { animation-delay: 0.11s; }
main > section:nth-of-type(5) { animation-delay: 0.14s; }
main > section:nth-of-type(6) { animation-delay: 0.17s; }

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  #hero {
    grid-template-columns: 1fr;
  }
  .hero-slider {
    min-height: 260px;
  }
  #solutions,
  #applications {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .header-inner {
    gap: 12px;
    padding: 10px 16px;
  }
  nav[aria-label="主导航"] {
    order: 4;
    flex-basis: 100%;
    display: none;
  }
  nav[aria-label="主导航"].open {
    display: block;
    animation: fadeIn 0.3s var(--ease) both;
  }
  .nav-list {
    flex-direction: column;
    gap: 2px;
    padding: 8px 0;
  }
  .nav-list a {
    display: block;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
  }
  #menu-toggle {
    display: inline-flex;
  }
  .header-tools {
    margin-left: auto;
  }
  #site-search {
    width: 130px;
  }
  main {
    padding: 18px 16px 32px;
  }
  #intro,
  #products,
  #solutions,
  #applications,
  #cases,
  #news,
  #articles,
  #faq,
  #howto,
  #knowledge,
  #contact,
  #sitemap,
  #links,
  #privacy,
  #disclaimer,
  #copyright {
    padding: 22px 18px;
    border-radius: var(--radius);
  }
  .breadcrumb {
    margin-top: -18px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }
  .brand-text span {
    display: none;
  }
  .header-tools form {
    flex: 1;
  }
  #site-search {
    width: 100%;
  }
  .header-tools form button {
    padding: 7px 12px;
  }
  #hero {
    padding: 16px;
    border-radius: var(--radius);
  }
  .hero-slider {
    min-height: 220px;
  }
  .slide-caption {
    padding: 14px 16px 16px;
  }
  .hero-cta a {
    flex: 1 1 100%;
    text-align: center;
  }
  #contact address {
    grid-template-columns: 1fr;
  }
  #sitemap ul,
  #links ul {
    grid-template-columns: 1fr;
  }
  #back-to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
  .footer-inner {
    padding: 30px 16px 26px;
  }
}

@media (max-width: 400px) {
  .header-tools form button {
    display: none;
  }
  #site-search {
    padding: 8px 12px;
  }
}
</｜｜DSML｜｜ parameter>
</invoke>