:root {
  --brand: #c8102e;
  --brand-dark: #9c0c23;
  --brand-light: #ff4d6a;
  --accent: #2e6f6a;
  --accent-light: #4fb8ae;
  --gold: #d4a853;
  --bg: #f7f5f2;
  --bg-alt: #ffffff;
  --bg-soft: #efece7;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --surface-glass-border: rgba(255, 255, 255, 0.55);
  --text: #1b1b1f;
  --text-soft: #4a4a52;
  --text-muted: #7a7a85;
  --border: #e2ddd6;
  --shadow-sm: 0 2px 8px rgba(27, 27, 31, 0.06);
  --shadow-md: 0 8px 28px rgba(27, 27, 31, 0.1);
  --shadow-lg: 0 20px 50px rgba(27, 27, 31, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --gradient-brand: linear-gradient(135deg, #c8102e 0%, #7a0a1e 55%, #2e6f6a 100%);
  --gradient-hero: linear-gradient(135deg, #1b1b1f 0%, #3a1220 45%, #10312e 100%);
  --gradient-soft: linear-gradient(160deg, rgba(200, 16, 46, 0.08), rgba(46, 111, 106, 0.08));
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max-width: 1180px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.35s var(--ease);
}

[data-theme="dark"] {
  --bg: #101014;
  --bg-alt: #16161c;
  --bg-soft: #1c1c23;
  --surface: #1b1b22;
  --surface-glass: rgba(28, 28, 36, 0.7);
  --surface-glass-border: rgba(255, 255, 255, 0.08);
  --text: #f2f0ed;
  --text-soft: #c3c1bd;
  --text-muted: #8e8c88;
  --border: #2c2c35;
  --brand-light: #ff5c78;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --gradient-hero: linear-gradient(135deg, #0a0a0d 0%, #2a0b16 45%, #08201e 100%);
  --gradient-soft: linear-gradient(160deg, rgba(255, 92, 120, 0.1), rgba(79, 184, 174, 0.1));
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101014;
    --bg-alt: #16161c;
    --bg-soft: #1c1c23;
    --surface: #1b1b22;
    --surface-glass: rgba(28, 28, 36, 0.7);
    --surface-glass-border: rgba(255, 255, 255, 0.08);
    --text: #f2f0ed;
    --text-soft: #c3c1bd;
    --text-muted: #8e8c88;
    --border: #2c2c35;
    --brand-light: #ff5c78;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
    --gradient-hero: linear-gradient(135deg, #0a0a0d 0%, #2a0b16 45%, #08201e 100%);
    --gradient-soft: linear-gradient(160deg, rgba(255, 92, 120, 0.1), rgba(79, 184, 174, 0.1));
  }
}

*,
*::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-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(circle at 12% 8%, rgba(200, 16, 46, 0.05), transparent 42%),
    radial-gradient(circle at 88% 22%, rgba(46, 111, 106, 0.06), transparent 46%);
  background-attachment: fixed;
  transition: background-color var(--transition), color var(--transition);
  overflow-x: hidden;
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover,
a:focus-visible {
  color: var(--brand-light);
}

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

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

h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.9rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  position: relative;
  padding-bottom: 0.45em;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--gradient-brand);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text);
}

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

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

li {
  margin-bottom: 0.5em;
}

li::marker {
  color: var(--brand);
}

strong {
  color: var(--text);
  font-weight: 700;
}

blockquote {
  margin: 0 0 1.2em;
  padding: 1.1em 1.4em;
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

blockquote:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

blockquote p {
  margin-bottom: 0.4em;
  font-style: italic;
  color: var(--text);
}

blockquote footer {
  font-size: 0.9rem;
  color: var(--text-muted);
}

dl {
  display: grid;
  grid-template-columns: minmax(120px, max-content) 1fr;
  gap: 0.6em 1.4em;
  margin: 0 0 1.5em;
  padding: 1.4em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

dt {
  font-weight: 700;
  color: var(--text);
}

dd {
  margin: 0;
  color: var(--text-soft);
}

figure {
  margin: 0 0 1.4em;
}

figcaption {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.6em;
  text-align: center;
}

details {
  margin-bottom: 0.9em;
  padding: 1em 1.3em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

details[open] {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

details:hover {
  border-color: rgba(200, 16, 46, 0.4);
}

summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 2em;
  transition: color var(--transition);
}

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

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  background: var(--gradient-brand);
  border-radius: 50%;
  transition: transform var(--transition);
}

details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

summary:hover {
  color: var(--brand);
}

details p {
  margin-top: 0.9em;
  margin-bottom: 0;
  font-size: 0.95rem;
}

body > a:first-of-type {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.7em 1.2em;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
}

body > a:first-of-type:focus {
  left: 0;
}

header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--surface-glass-border);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition), box-shadow var(--transition);
}

header[role="banner"] > div {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.2em;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.2em;
  flex-wrap: wrap;
}

header[role="banner"] > div > a:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: var(--text);
  font-weight: 700;
  flex-shrink: 0;
}

header[role="banner"] > div > a:first-child svg {
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

header[role="banner"] > div > a:first-child:hover svg {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 8px 22px rgba(200, 16, 46, 0.5);
}

header[role="banner"] strong {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

header nav[aria-label="主导航"] ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2em;
  margin: 0;
  padding: 0;
  list-style: none;
}

header nav[aria-label="主导航"] li {
  margin: 0;
}

header nav[aria-label="主导航"] a {
  display: inline-block;
  padding: 0.45em 0.75em;
  font-size: 0.92rem;
  color: var(--text-soft);
  border-radius: var(--radius-pill);
  position: relative;
  transition: color var(--transition), background-color var(--transition);
}

header nav[aria-label="主导航"] a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--transition);
}

header nav[aria-label="主导航"] a:hover {
  color: var(--brand);
  background: rgba(200, 16, 46, 0.07);
}

header nav[aria-label="主导航"] a:hover::after {
  width: 60%;
}

header form[role="search"] {
  display: flex;
  align-items: center;
  gap: 0.4em;
  flex-shrink: 0;
  position: relative;
}

header form[role="search"] label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

header form[role="search"] input {
  width: 190px;
  padding: 0.55em 1em;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: width var(--transition), border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

header form[role="search"] input::placeholder {
  color: var(--text-muted);
}

header form[role="search"] input:focus {
  width: 230px;
  outline: none;
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.15);
}

header form[role="search"] button,
header button[data-action] {
  padding: 0.55em 1.05em;
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--gradient-brand);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

header form[role="search"] button:hover,
header button[data-action]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.35);
  filter: brightness(1.08);
}

header button[data-action="toggle-theme"] {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--border);
}

header button[data-action="toggle-theme"]:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
  color: var(--brand);
}

header button[data-action="toggle-menu"] {
  display: none;
}

nav[aria-label="面包屑导航"] {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1em 1.2em 0;
}

nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
}

nav[aria-label="面包屑导航"] li {
  margin: 0;
  color: var(--text-muted);
}

nav[aria-label="面包屑导航"] li + li::before {
  content: "/";
  margin-right: 0.4em;
  color: var(--border);
}

nav[aria-label="面包屑导航"] a {
  color: var(--text-soft);
}

nav[aria-label="面包屑导航"] a:hover {
  color: var(--brand);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.2em 3em;
}

main > section {
  margin: 2.4em 0;
  padding: clamp(1.4em, 3vw, 2.4em);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  animation: fadeUp 0.7s var(--ease) both;
  animation-timeline: view();
  animation-range: entry 0% cover 28%;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

main > section:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 16, 46, 0.22);
}

@supports not (animation-timeline: view()) {
  main > section {
    animation: none;
  }
}

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

#hero {
  position: relative;
  margin-top: 1.6em;
  padding: clamp(1.8em, 4.5vw, 3.4em);
  background: var(--gradient-hero);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: #f2f0ed;
}

#hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.55), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
  animation: floatGlow 14s ease-in-out infinite alternate;
}

#hero::after {
  content: "";
  position: absolute;
  inset: auto auto -45% -12%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(79, 184, 174, 0.4), transparent 68%);
  filter: blur(24px);
  pointer-events: none;
  animation: floatGlow 18s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-30px, 24px, 0) scale(1.12);
  }
}

#hero > * {
  position: relative;
  z-index: 1;
}

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

#hero h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin-top: 0.5em;
  border-radius: 5px;
  background: linear-gradient(90deg, #ff4d6a, #d4a853);
}

#hero > p {
  color: rgba(242, 240, 237, 0.88);
  max-width: 72ch;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

#hero > div {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.2em, 3vw, 2.4em);
  align-items: center;
  margin: 1.6em 0;
}

#hero figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition), box-shadow var(--transition);
}

#hero figure:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.6);
}

#hero figure svg {
  width: 100%;
  height: auto;
}

#hero figcaption {
  color: rgba(242, 240, 237, 0.7);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.6em 0.9em;
  margin-top: 0;
  text-align: left;
  font-size: 0.84rem;
}

#hero ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7em;
}

#hero ul li {
  position: relative;
  margin: 0;
  padding: 0.85em 1em 0.85em 2.9em;
  color: #f2f0ed;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition);
}

#hero ul li::before {
  content: "";
  position: absolute;
  left: 1em;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4d6a, #d4a853);
  transform: translateY(-50%);
  box-shadow: 0 0 12px rgba(255, 77, 106, 0.8);
}

#hero ul li:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 77, 106, 0.5);
}

#hero > p:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8em;
  align-items: center;
  margin-bottom: 0;
}

#hero > p:last-child a {
  display: inline-block;
  padding: 0.7em 1.5em;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
}

#hero > p:last-child a:first-child {
  background: linear-gradient(135deg, #c8102e, #ff4d6a);
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(200, 16, 46, 0.45);
}

#hero > p:last-child a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

#hero > p:last-child a:first-child:hover {
  background: linear-gradient(135deg, #e01232, #ff6b84);
}

nav[aria-label="页面锚点导航"] {
  margin: 2em 0;
  padding: 1.3em 1.5em;
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

nav[aria-label="页面锚点导航"] h2 {
  font-size: 1rem;
  margin-bottom: 0.8em;
  padding-bottom: 0;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

nav[aria-label="页面锚点导航"] h2::after {
  display: none;
}

nav[aria-label="页面锚点导航"] ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav[aria-label="页面锚点导航"] li {
  margin: 0;
}

nav[aria-label="页面锚点导航"] a {
  display: inline-block;
  padding: 0.42em 0.95em;
  font-size: 0.86rem;
  color: var(--text-soft);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: transform var(--transition), color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

nav[aria-label="页面锚点导航"] a:hover {
  transform: translateY(-2px);
  color: #ffffff;
  background: var(--gradient-brand);
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(200, 16, 46, 0.3);
}

#products {
  background: var(--gradient-soft), var(--surface);
}

#products h3 {
  padding-left: 0.75em;
  border-left: 4px solid var(--brand);
  margin-top: 1.6em;
}

#products h3:first-of-type {
  margin-top: 0.6em;
}

#advantages ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1em;
  padding: 0;
  list-style: none;
}

#advantages li {
  position: relative;
  margin: 0;
  padding: 1.2em 1.2em 1.2em 3.4em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

#advantages li::before {
  content: "✓";
  position: absolute;
  left: 1em;
  top: 1.15em;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--gradient-brand);
  border-radius: 50%;
}

#advantages li:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 16, 46, 0.35);
}

#solutions h3 {
  margin-top: 1.6em;
}

#solutions h3:first-of-type {
  margin-top: 0.6em;
}

#applications ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1em;
  padding: 0;
  list-style: none;
}

#applications li {
  margin: 0;
  padding: 1.2em;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

#applications li:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(46, 111, 106, 0.4);
}

#cases h3 {
  margin-top: 1.6em;
  padding-left: 0.75em;
  border-left: 4px solid var(--accent);
}

#cases h3:first-of-type {
  margin-top: 0.6em;
}

#reviews blockquote {
  border-left-color: var(--gold);
  background: var(--gradient-soft), var(--surface);
}

#news ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.2em;
  padding: 0;
  list-style: none;
}

#news li {
  margin: 0;
  padding: 1.4em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

#news li:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 16, 46, 0.35);
}

#news h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5em;
  color: var(--text);
  transition: color var(--transition);
}

#news li:hover h3 {
  color: var(--brand);
}

#news p {
  font-size: 0.9rem;
  margin-bottom: 0.5em;
}

#news p:first-of-type {
  display: inline-block;
  padding: 0.15em 0.7em;
  font-size: 0.78rem;
  color: var(--brand);
  background: rgba(200, 16, 46, 0.08);
  border-radius: var(--radius-pill);
  margin-bottom: 0.7em;
}

#articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.2em;
  align-items: start;
}

#articles > h2,
#articles > p {
  grid-column: 1 / -1;
}

#articles article {
  padding: 1.4em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

#articles article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(46, 111, 106, 0.4);
}

#articles article h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5em;
  transition: color var(--transition);
}

#articles article:hover h3 {
  color: var(--brand);
}

#articles article p {
  font-size: 0.9rem;
  margin-bottom: 0.6em;
}

#articles article p:first-of-type {
  display: inline-block;
  padding: 0.15em 0.7em;
  font-size: 0.78rem;
  color: var(--accent);
  background: rgba(46, 111, 106, 0.1);
  border-radius: var(--radius-pill);
  margin-bottom: 0.7em;
}

#articles article a {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.45em 1.1em;
  color: var(--brand);
  background: rgba(200, 16, 46, 0.07);
  border-radius: var(--radius-pill);
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

#articles article a:hover {
  color: #ffffff;
  background: var(--gradient-brand);
  transform: translateX(4px);
}

#knowledge h3 {
  margin-top: 1.5em;
  padding-left: 0.75em;
  border-left: 4px solid var(--gold);
}

#knowledge h3:first-of-type {
  margin-top: 0.6em;
}

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

#howto ol li {
  counter-increment: step;
  position: relative;
  margin-bottom: 0.8em;
  padding: 1em 1.2em 1em 3.6em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 1em;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
  background: var(--gradient-brand);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.35);
}

#howto ol li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 16, 46, 0.35);
}

#howto h3 {
  margin-top: 1.5em;
  color: var(--text);
}

#howto h3:first-of-type {
  margin-top: 0.6em;
}

#faq details {
  background: var(--surface);
}

#notices ul {
  padding-left: 1.35em;
}

#contact dl {
  background: var(--gradient-soft), var(--surface);
}

#contact a {
  font-weight: 600;
  border-bottom: 1px dashed rgba(200, 16, 46, 0.4);
  transition: border-color var(--transition), color var(--transition);
}

#contact a:hover {
  border-bottom-color: var(--brand);
}

#sitemap ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  padding: 0;
  list-style: none;
}

#sitemap li {
  margin: 0;
}

#sitemap a {
  display: inline-block;
  padding: 0.4em 0.9em;
  font-size: 0.86rem;
  color: var(--text-soft);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: transform var(--transition), color var(--transition), background-color var(--transition), border-color var(--transition);
}

#sitemap a:hover {
  transform: translateY(-2px);
  color: #ffffff;
  background: var(--gradient-brand);
  border-color: transparent;
}

#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8em;
  padding: 0;
  list-style: none;
}

#links li {
  margin: 0;
}

#links a {
  display: inline-block;
  padding: 0.5em 1.1em;
  font-size: 0.9rem;
  color: var(--text-soft);
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

#links a:hover {
  transform: translateY(-3px);
  color: var(--brand);
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

footer[role="contentinfo"] {
  margin-top: 2em;
  padding: 3em 1.2em 2em;
  background: var(--gradient-hero);
  color: rgba(242, 240, 237, 0.85);
  position: relative;
  overflow: hidden;
}

footer[role="contentinfo"]::before {
  content: "";
  position: absolute;
  inset: -60% -10% auto auto;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.3), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

footer[role="contentinfo"] > section,
footer[role="contentinfo"] > p {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

footer[role="contentinfo"] > section {
  margin-bottom: 2em;
}

footer[role="contentinfo"] h2 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 0.7em;
}

footer[role="contentinfo"] h2::after {
  background: linear-gradient(90deg, #ff4d6a, #d4a853);
}

footer[role="contentinfo"] h3 {
  color: #ffffff;
  font-size: 1rem;
  margin-top: 1.2em;
}

footer[role="contentinfo"] p {
  color: rgba(242, 240, 237, 0.72);
  font-size: 0.9rem;
}

footer[role="contentinfo"] a {
  color: #ff8fa3;
}

footer[role="contentinfo"] a:hover {
  color: #ffffff;
}

footer[role="contentinfo"] ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
  padding: 0;
  list-style: none;
}

footer[role="contentinfo"] li {
  margin: 0;
}

footer[role="contentinfo"] ul a {
  display: inline-block;
  padding: 0.35em 0.9em;
  font-size: 0.86rem;
  color: rgba(242, 240, 237, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition);
}

footer[role="contentinfo"] ul a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

footer[role="contentinfo"] > p {
  font-size: 0.84rem;
  color: rgba(242, 240, 237, 0.55);
  text-align: center;
  padding-top: 1em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer[role="contentinfo"] > p:last-child {
  border-top: none;
  padding-top: 0.4em;
}

footer[role="contentinfo"] > p:last-child a {
  display: inline-block;
  padding: 0.4em 1.1em;
  font-size: 0.84rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  transition: transform var(--transition), background-color var(--transition);
}

footer[role="contentinfo"] > p:last-child a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 1024px) {
  header[role="banner"] > div {
    gap: 0.8em;
  }

  header nav[aria-label="主导航"] a {
    padding: 0.4em 0.55em;
    font-size: 0.86rem;
  }

  header form[role="search"] input {
    width: 150px;
  }

  header form[role="search"] input:focus {
    width: 180px;
  }
}

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

  header[role="banner"] > div {
    padding: 0.6em 1em;
    row-gap: 0.6em;
  }

  header nav[aria-label="主导航"] {
    order: 5;
    flex-basis: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.2em;
  }

  header nav[aria-label="主导航"]::-webkit-scrollbar {
    display: none;
  }

  header nav[aria-label="主导航"] ul {
    flex-wrap: nowrap;
    gap: 0.15em;
    width: max-content;
  }

  header nav[aria-label="主导航"] a {
    white-space: nowrap;
    padding: 0.4em 0.7em;
  }

  header form[role="search"] {
    flex: 1 1 auto;
    justify-content: flex-end;
  }

  header form[role="search"] input {
    width: 100%;
    max-width: 220px;
    flex: 1 1 auto;
  }

  header form[role="search"] input:focus {
    width: 100%;
    max-width: 220px;
  }

  header button[data-action="toggle-theme"] {
    font-size: 0.8rem;
    padding: 0.45em 0.8em;
  }

  #hero > div {
    grid-template-columns: 1fr;
  }

  #hero h1 {
    max-width: none;
  }

  main > section {
    border-radius: var(--radius-md);
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
    line-height: 1.7;
  }

  main {
    padding: 0 0.85em 2em;
  }

  main > section {
    margin: 1.4em 0;
    padding: 1.15em;
  }

  #hero {
    padding: 1.4em 1.1em;
    margin-top: 1em;
  }

  #hero > ul li {
    padding: 0.7em 0.85em 0.7em 2.5em;
    font-size: 0.9rem;
  }

  #hero > p:last-child {
    flex-direction: column;
    align-items: stretch;
  }

  #hero > p:last-child a {
    text-align: center;
  }

  nav[aria-label="页面锚点导航"] {
    padding: 1em;
  }

  nav[aria-label="页面锚点导航"] a {
    font-size: 0.8rem;
    padding: 0.36em 0.75em;
  }

  dl {
    grid-template-columns: 1fr;
    gap: 0.3em;
    padding: 1em;
  }

  dt {
    margin-top: 0.6em;
    font-size: 0.92rem;
  }

  dt:first-of-type {
    margin-top: 0;
  }

  dd {
    font-size: 0.92rem;
  }

  #advantages ul,
  #applications ul,
  #news ul,
  #articles {
    grid-template-columns: 1fr;
  }

  #advantages li {
    padding: 1em 1em 1em 3em;
  }

  #advantages li::before {
    left: 0.85em;
    top: 0.95em;
  }

  blockquote {
    padding: 0.9em 1em;
  }

  details {
    padding: 0.85em 1em;
  }

  summary {
    font-size: 0.95rem;
  }

  footer[role="contentinfo"] {
    padding: 2em 1em 1.6em;
  }

  footer[role="contentinfo"] ul {
    gap: 0.45em;
  }
}

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

@media print {
  header[role="banner"],
  footer[role="contentinfo"],
  nav[aria-label="页面锚点导航"],
  button {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  main > section {
    box-shadow: none;
    border: 1px solid #cccccc;
    break-inside: avoid;
    animation: none;
  }

  a {
    color: #000000;
    text-decoration: underline;
  }
}