:root {
  --brand: #c2185b;
  --brand-dark: #880e4f;
  --brand-light: #f48fb1;
  --brand-soft: #fce4ec;
  --accent: #ff6f00;
  --accent-soft: #fff3e0;
  --bg: #fdf6f9;
  --bg-alt: #ffffff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --text: #2b1620;
  --text-soft: #6b4a58;
  --text-muted: #9a7b88;
  --border: rgba(194, 24, 91, 0.14);
  --border-strong: rgba(194, 24, 91, 0.28);
  --shadow-sm: 0 2px 8px rgba(136, 14, 79, 0.08);
  --shadow-md: 0 8px 28px rgba(136, 14, 79, 0.12);
  --shadow-lg: 0 18px 48px rgba(136, 14, 79, 0.16);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --maxw: 1180px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --grad-hero: linear-gradient(135deg, #c2185b 0%, #e91e63 42%, #ff6f00 100%);
  --grad-soft: linear-gradient(135deg, rgba(194, 24, 91, 0.08), rgba(255, 111, 0, 0.08));
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14090f;
    --bg-alt: #1d0e16;
    --surface: rgba(40, 20, 30, 0.66);
    --surface-solid: #241019;
    --text: #fbe9f1;
    --text-soft: #d9b8c6;
    --text-muted: #a98394;
    --border: rgba(244, 143, 177, 0.16);
    --border-strong: rgba(244, 143, 177, 0.34);
    --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 18px 48px rgba(0, 0, 0, 0.6);
    --brand-soft: rgba(194, 24, 91, 0.18);
    --accent-soft: rgba(255, 111, 0, 0.16);
    --grad-soft: linear-gradient(135deg, rgba(194, 24, 91, 0.2), rgba(255, 111, 0, 0.14));
  }
}

html[data-theme="dark"] {
  --bg: #14090f;
  --bg-alt: #1d0e16;
  --surface: rgba(40, 20, 30, 0.66);
  --surface-solid: #241019;
  --text: #fbe9f1;
  --text-soft: #d9b8c6;
  --text-muted: #a98394;
  --border: rgba(244, 143, 177, 0.16);
  --border-strong: rgba(244, 143, 177, 0.34);
  --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 18px 48px rgba(0, 0, 0, 0.6);
  --brand-soft: rgba(194, 24, 91, 0.18);
  --accent-soft: rgba(255, 111, 0, 0.16);
  --grad-soft: linear-gradient(135deg, rgba(194, 24, 91, 0.2), rgba(255, 111, 0, 0.14));
}

html[data-theme="light"] {
  --bg: #fdf6f9;
  --bg-alt: #ffffff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --text: #2b1620;
  --text-soft: #6b4a58;
  --text-muted: #9a7b88;
  --border: rgba(194, 24, 91, 0.14);
  --border-strong: rgba(194, 24, 91, 0.28);
  --brand-soft: #fce4ec;
  --accent-soft: #fff3e0;
  --grad-soft: linear-gradient(135deg, rgba(194, 24, 91, 0.08), rgba(255, 111, 0, 0.08));
}

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

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

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 100% -10%, rgba(194, 24, 91, 0.1), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(255, 111, 0, 0.08), transparent 55%);
  background-attachment: fixed;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(rgba(194, 24, 91, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.7;
}

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

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

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

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

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

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

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

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

h3 {
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  color: var(--brand-dark);
}

html[data-theme="dark"] h3 {
  color: var(--brand-light);
}

@media (prefers-color-scheme: dark) {
  h3 { color: var(--brand-light); }
}

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

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

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

li {
  margin-bottom: 0.4em;
}

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

figure {
  margin: 1.6em 0;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

figure svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  transition: transform 0.6s var(--ease);
}

figure:hover svg {
  transform: scale(1.02);
}

figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-muted);
}

body > a[href="#main-content"] {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 999;
  padding: 10px 22px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  transition: top 0.3s var(--ease);
}

body > a[href="#main-content"]:focus {
  top: 12px;
  color: #fff;
}

header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 12px clamp(14px, 3vw, 40px);
  background: var(--surface);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

header[role="banner"] > div {
  flex: 1 1 240px;
  min-width: 0;
}

header[role="banner"] > div p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

header[role="banner"] > div strong {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 1.02rem;
}

header[role="banner"] nav[aria-label="主导航"] {
  flex: 1 1 100%;
  order: 3;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

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

header[role="banner"] nav[aria-label="主导航"] ul {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
}

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

header[role="banner"] nav[aria-label="主导航"] a {
  display: inline-block;
  padding: 7px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: all 0.25s var(--ease);
}

header[role="banner"] nav[aria-label="主导航"] a:hover,
header[role="banner"] nav[aria-label="主导航"] a:focus-visible {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 6px 16px rgba(194, 24, 91, 0.32);
  transform: translateY(-1px);
}

header[role="banner"] form[role="search"] {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 260px;
  max-width: 360px;
  min-width: 0;
}

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

header[role="banner"] form[role="search"] input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 9px 16px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

header[role="banner"] form[role="search"] input[type="search"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(194, 24, 91, 0.14);
}

header[role="banner"] form[role="search"] button[type="submit"] {
  flex: 0 0 auto;
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--grad-hero);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(194, 24, 91, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

header[role="banner"] form[role="search"] button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(194, 24, 91, 0.36);
  filter: brightness(1.05);
}

header[role="banner"] > button {
  flex: 0 0 auto;
  padding: 9px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

header[role="banner"] > button:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(194, 24, 91, 0.3);
}

header[role="banner"] > button[aria-label="打开移动菜单"] {
  display: none;
}

nav[aria-label="面包屑导航"] {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px clamp(14px, 3vw, 40px) 0;
}

nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
}

nav[aria-label="面包屑导航"] li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

nav[aria-label="面包屑导航"] li + li::before {
  content: "›";
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1;
}

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

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

nav[aria-label="面包屑导航"] li[aria-current="page"] {
  color: var(--brand);
  font-weight: 600;
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px clamp(14px, 3vw, 40px) 64px;
}

main > section {
  position: relative;
  margin: 26px 0;
  padding: clamp(20px, 3.4vw, 40px);
  background: var(--surface);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  animation: fadeUp 0.7s var(--ease) both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

main > section:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

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

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

main > section[aria-labelledby="hero-title"] {
  margin-top: 20px;
  padding: clamp(26px, 4vw, 56px);
  background: var(--grad-hero);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}

main > section[aria-labelledby="hero-title"]::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 65%);
  border-radius: 50%;
  z-index: -1;
  animation: floaty 9s ease-in-out infinite;
}

main > section[aria-labelledby="hero-title"]::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 65%);
  border-radius: 50%;
  z-index: -1;
  animation: floaty 11s ease-in-out infinite reverse;
}

@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-24px, 20px, 0) scale(1.08); }
}

main > section[aria-labelledby="hero-title"] h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
  max-width: 20em;
}

main > section[aria-labelledby="hero-title"] h1::before {
  display: none;
}

main > section[aria-labelledby="hero-title"] p {
  color: rgba(255, 255, 255, 0.94);
  max-width: 62em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.14);
}

main > section[aria-labelledby="hero-title"] strong {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  padding: 1px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

main > section[aria-labelledby="hero-title"] figure {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

main > section[aria-labelledby="hero-title"] figcaption {
  color: rgba(255, 255, 255, 0.85);
}

main > section[aria-labelledby="hero-title"] a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

main > section[aria-labelledby="hero-title"] a:hover {
  color: #ffe0b2;
}

main > section[aria-labelledby="products"] h3,
main > section[aria-labelledby="advantages"] h3,
main > section[aria-labelledby="solutions"] h3,
main > section[aria-labelledby="applications"] h3,
main > section[aria-labelledby="cases"] h3,
main > section[aria-labelledby="reviews"] h3,
main > section[aria-labelledby="knowledge"] h3 {
  position: relative;
  padding: 14px 18px 14px 46px;
  margin-top: 18px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

main > section[aria-labelledby="products"] h3::before,
main > section[aria-labelledby="advantages"] h3::before,
main > section[aria-labelledby="solutions"] h3::before,
main > section[aria-labelledby="applications"] h3::before,
main > section[aria-labelledby="cases"] h3::before,
main > section[aria-labelledby="reviews"] h3::before,
main > section[aria-labelledby="knowledge"] h3::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%) rotate(45deg);
  border-radius: 3px;
  background: var(--grad-hero);
  box-shadow: 0 0 0 4px rgba(194, 24, 91, 0.12);
}

main > section[aria-labelledby="products"] h3:hover,
main > section[aria-labelledby="advantages"] h3:hover,
main > section[aria-labelledby="solutions"] h3:hover,
main > section[aria-labelledby="applications"] h3:hover,
main > section[aria-labelledby="cases"] h3:hover,
main > section[aria-labelledby="reviews"] h3:hover,
main > section[aria-labelledby="knowledge"] h3:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border-strong);
}

main > section[aria-labelledby="history"] h3,
main > section[aria-labelledby="culture"] h3,
main > section[aria-labelledby="about-us"] h3,
main > section[aria-labelledby="brand-intro"] h3,
main > section[aria-labelledby="howto"] h3 {
  padding-bottom: 8px;
  border-bottom: 2px dashed var(--border-strong);
  margin-top: 22px;
}

main > section[aria-labelledby="news"] article,
main > section[aria-labelledby="articles"] article {
  position: relative;
  margin: 16px 0;
  padding: 20px 22px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
}

main > section[aria-labelledby="news"] article::before,
main > section[aria-labelledby="articles"] article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--grad-hero);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}

main > section[aria-labelledby="news"] article:hover,
main > section[aria-labelledby="articles"] article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

main > section[aria-labelledby="news"] article:hover::before,
main > section[aria-labelledby="articles"] article:hover::before {
  transform: scaleY(1);
}

main > section[aria-labelledby="news"] article h3,
main > section[aria-labelledby="articles"] article h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

main > section[aria-labelledby="news"] article p:nth-of-type(1),
main > section[aria-labelledby="articles"] article p:nth-of-type(1) {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

main > section[aria-labelledby="articles"] article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  transition: all 0.25s var(--ease);
}

main > section[aria-labelledby="articles"] article a::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

main > section[aria-labelledby="articles"] article a:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 6px 16px rgba(194, 24, 91, 0.3);
}

main > section[aria-labelledby="articles"] article a:hover::after {
  transform: translateX(4px);
}

main > section[aria-labelledby="faq"] details {
  margin: 12px 0;
  padding: 0;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

main > section[aria-labelledby="faq"] details[open] {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

main > section[aria-labelledby="faq"] details:hover {
  border-color: var(--border-strong);
}

main > section[aria-labelledby="faq"] summary {
  position: relative;
  padding: 16px 52px 16px 20px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

main > section[aria-labelledby="faq"] summary::-webkit-details-marker {
  display: none;
}

main > section[aria-labelledby="faq"] summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  background: var(--grad-hero);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: transform 0.35s var(--ease);
}

main > section[aria-labelledby="faq"] details[open] summary {
  color: var(--brand);
  background: var(--grad-soft);
}

main > section[aria-labelledby="faq"] details[open] summary::after {
  transform: translateY(-50%) rotate(135deg);
}

main > section[aria-labelledby="faq"] details > p {
  margin: 0;
  padding: 4px 22px 20px;
  font-size: 0.95rem;
  color: var(--text-soft);
  animation: fadeUp 0.4s var(--ease) both;
}

main > section[aria-labelledby="howto"] ol {
  counter-reset: howto;
  list-style: none;
  padding-left: 0;
}

main > section[aria-labelledby="howto"] ol li {
  position: relative;
  counter-increment: howto;
  margin: 10px 0;
  padding: 14px 18px 14px 58px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

main > section[aria-labelledby="howto"] ol li::before {
  content: counter(howto);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-hero);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(194, 24, 91, 0.3);
}

main > section[aria-labelledby="howto"] ol li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border-strong);
}

main > section[aria-labelledby="contact"] ul,
main > section[aria-labelledby="sitemap"] ul,
main > section[aria-labelledby="links"] ul,
main > section[aria-labelledby="meta-info"] ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 8px;
}

main > section[aria-labelledby="contact"] ul li,
main > section[aria-labelledby="meta-info"] ul li {
  padding: 12px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

main > section[aria-labelledby="contact"] ul li:hover,
main > section[aria-labelledby="meta-info"] ul li:hover {
  transform: translateX(4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

main > section[aria-labelledby="sitemap"] ul,
main > section[aria-labelledby="links"] ul {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

main > section[aria-labelledby="sitemap"] ul li,
main > section[aria-labelledby="links"] ul li {
  margin: 0;
}

main > section[aria-labelledby="sitemap"] ul a,
main > section[aria-labelledby="links"] ul a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: all 0.25s var(--ease);
}

main > section[aria-labelledby="sitemap"] ul a::before,
main > section[aria-labelledby="links"] ul a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex: 0 0 auto;
  transition: transform 0.25s var(--ease);
}

main > section[aria-labelledby="sitemap"] ul a:hover,
main > section[aria-labelledby="links"] ul a:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(194, 24, 91, 0.28);
}

main > section[aria-labelledby="sitemap"] ul a:hover::before,
main > section[aria-labelledby="links"] ul a:hover::before {
  background: #fff;
  transform: scale(1.4);
}

main > section[aria-labelledby="legal"] h3 {
  margin-top: 20px;
  padding-left: 14px;
  border-left: 4px solid var(--brand);
  color: var(--text);
}

main > section[aria-labelledby="legal"] p {
  font-size: 0.94rem;
}

footer[role="contentinfo"] {
  position: relative;
  margin-top: 20px;
  padding: clamp(28px, 4vw, 48px) clamp(14px, 3vw, 40px);
  background: linear-gradient(180deg, rgba(194, 24, 91, 0.08), rgba(136, 14, 79, 0.16));
  border-top: 1px solid var(--border-strong);
  text-align: center;
}

footer[role="contentinfo"] p {
  margin: 0 0 8px;
  font-size: 0.86rem;
  color: var(--text-soft);
}

footer[role="contentinfo"] p:first-child {
  font-weight: 600;
  color: var(--text);
}

footer[role="contentinfo"] nav[aria-label="页脚导航"] {
  margin-top: 16px;
}

footer[role="contentinfo"] nav[aria-label="页脚导航"] ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

footer[role="contentinfo"] nav[aria-label="页脚导航"] li {
  margin: 0;
}

footer[role="contentinfo"] nav[aria-label="页脚导航"] a {
  position: relative;
  font-size: 0.86rem;
  color: var(--text-soft);
  padding-bottom: 2px;
}

footer[role="contentinfo"] nav[aria-label="页脚导航"] a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-hero);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

footer[role="contentinfo"] nav[aria-label="页脚导航"] a:hover {
  color: var(--brand);
}

footer[role="contentinfo"] nav[aria-label="页脚导航"] a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

body > button[aria-label="返回顶部"] {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 90;
  width: 48px;
  height: 48px;
  padding: 0;
  font-size: 0;
  color: transparent;
  background: var(--grad-hero);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(194, 24, 91, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
}

body > button[aria-label="返回顶部"]::before {
  content: "↑";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

body > button[aria-label="返回顶部"]:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 32px rgba(194, 24, 91, 0.5);
  filter: brightness(1.06);
}

@media (max-width: 900px) {
  header[role="banner"] {
    gap: 10px;
  }

  header[role="banner"] > div {
    flex: 1 1 100%;
  }

  header[role="banner"] form[role="search"] {
    flex: 1 1 auto;
    max-width: none;
    order: 2;
  }

  header[role="banner"] > button[aria-label="切换暗黑模式"] {
    order: 2;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }

  body {
    font-size: 15px;
  }

  header[role="banner"] {
    padding: 10px 14px;
  }

  header[role="banner"] > div p {
    font-size: 0.82rem;
  }

  header[role="banner"] > div strong {
    font-size: 0.92rem;
  }

  header[role="banner"] form[role="search"] {
    flex: 1 1 100%;
    order: 4;
  }

  header[role="banner"] > button[aria-label="切换暗黑模式"] {
    display: none;
  }

  header[role="banner"] > button[aria-label="打开移动菜单"] {
    display: inline-block;
    order: 2;
    margin-left: auto;
  }

  header[role="banner"] nav[aria-label="主导航"] {
    order: 5;
    flex: 1 1 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }

  header[role="banner"] nav[aria-label="主导航"].is-open {
    max-height: 340px;
    overflow-y: auto;
  }

  header[role="banner"] nav[aria-label="主导航"] ul {
    flex-wrap: wrap;
    padding-bottom: 6px;
  }

  header[role="banner"] nav[aria-label="主导航"] a {
    padding: 6px 12px;
    font-size: 0.85rem;
  }

  main {
    padding: 4px 12px 48px;
  }

  main > section {
    margin: 18px 0;
    padding: 18px 16px;
    border-radius: var(--radius);
  }

  main > section[aria-labelledby="hero-title"] {
    padding: 22px 18px;
  }

  main > section[aria-labelledby="hero-title"] h1 {
    font-size: clamp(1.35rem, 6vw, 1.8rem);
  }

  main > section[aria-labelledby="hero-title"] figure {
    padding: 10px;
  }

  h2 {
    padding-left: 14px;
  }

  h2::before {
    width: 4px;
  }

  main > section[aria-labelledby="products"] h3,
  main > section[aria-labelledby="advantages"] h3,
  main > section[aria-labelledby="solutions"] h3,
  main > section[aria-labelledby="applications"] h3,
  main > section[aria-labelledby="cases"] h3,
  main > section[aria-labelledby="reviews"] h3,
  main > section[aria-labelledby="knowledge"] h3 {
    padding: 12px 14px 12px 40px;
  }

  main > section[aria-labelledby="products"] h3::before,
  main > section[aria-labelledby="advantages"] h3::before,
  main > section[aria-labelledby="solutions"] h3::before,
  main > section[aria-labelledby="applications"] h3::before,
  main > section[aria-labelledby="cases"] h3::before,
  main > section[aria-labelledby="reviews"] h3::before,
  main > section[aria-labelledby="knowledge"] h3::before {
    left: 14px;
    width: 12px;
    height: 12px;
  }

  main > section[aria-labelledby="news"] article,
  main > section[aria-labelledby="articles"] article {
    padding: 16px;
  }

  main > section[aria-labelledby="faq"] summary {
    padding: 14px 46px 14px 16px;
    font-size: 0.94rem;
  }

  main > section[aria-labelledby="faq"] summary::after {
    right: 14px;
    width: 24px;
    height: 24px;
    font-size: 1.1rem;
  }

  main > section[aria-labelledby="faq"] details > p {
    padding: 2px 16px 16px;
    font-size: 0.9rem;
  }

  main > section[aria-labelledby="howto"] ol li {
    padding: 12px 14px 12px 50px;
  }

  main > section[aria-labelledby="howto"] ol li::before {
    left: 12px;
    width: 26px;
    height: 26px;
  }

  main > section[aria-labelledby="sitemap"] ul,
  main > section[aria-labelledby="links"] ul {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
  }

  main > section[aria-labelledby="sitemap"] ul a,
  main > section[aria-labelledby="links"] ul a {
    padding: 8px 12px;
    font-size: 0.84rem;
  }

  body > button[aria-label="返回顶部"] {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 400px) {
  main > section[aria-labelledby="hero-title"] {
    padding: 18px 14px;
  }

  main > section {
    padding: 16px 13px;
  }

  header[role="banner"] form[role="search"] button[type="submit"] {
    padding: 9px 14px;
  }
}

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

@media print {
  header[role="banner"],
  nav[aria-label="面包屑导航"],
  body > button[aria-label="返回顶部"],
  footer[role="contentinfo"] nav {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

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