:root {
  --brand: #c94f2b;
  --brand-dark: #a83d1f;
  --brand-light: #e8734f;
  --accent: #f4c542;
  --accent-dark: #d9a92a;
  --sage: #a8b5a2;
  --sage-dark: #7d8a77;
  --cream: #fdf6ec;
  --sand: #e8d5b7;
  --text: #2b2118;
  --text-soft: #5c4f42;
  --text-muted: #8a7a68;
  --bg: #fdfaf5;
  --bg-alt: #f7efe3;
  --card-bg: rgba(255, 255, 255, 0.72);
  --card-border: rgba(201, 79, 43, 0.14);
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.65);
  --shadow-sm: 0 2px 8px rgba(120, 70, 30, 0.07);
  --shadow-md: 0 8px 24px rgba(120, 70, 30, 0.1);
  --shadow-lg: 0 16px 48px rgba(120, 70, 30, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --header-h: 68px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --gradient-brand: linear-gradient(135deg, #c94f2b 0%, #e8734f 45%, #f4c542 100%);
  --gradient-soft: linear-gradient(160deg, #fdf6ec 0%, #f7e9d4 55%, #f2dcc0 100%);
  --gradient-sage: linear-gradient(140deg, #a8b5a2 0%, #c3ccbe 100%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #e8734f;
    --brand-dark: #c94f2b;
    --brand-light: #f5946f;
    --accent: #f4c542;
    --accent-dark: #d9a92a;
    --sage: #8a9a84;
    --sage-dark: #6b7a66;
    --cream: #1e1914;
    --sand: #3a2f24;
    --text: #f2e9dd;
    --text-soft: #cfc2b2;
    --text-muted: #a2947f;
    --bg: #14100c;
    --bg-alt: #1c1712;
    --card-bg: rgba(38, 30, 22, 0.72);
    --card-border: rgba(232, 115, 79, 0.2);
    --glass-bg: rgba(38, 30, 22, 0.55);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --gradient-brand: linear-gradient(135deg, #a83d1f 0%, #c94f2b 45%, #d9a92a 100%);
    --gradient-soft: linear-gradient(160deg, #1c1712 0%, #241d16 55%, #2e251c 100%);
    --gradient-sage: linear-gradient(140deg, #5c6a57 0%, #6b7a66 100%);
  }
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(244, 197, 66, 0.1) 0%, transparent 38%),
    radial-gradient(circle at 88% 4%, rgba(201, 79, 43, 0.08) 0%, transparent 36%),
    radial-gradient(circle at 50% 100%, rgba(168, 181, 162, 0.08) 0%, transparent 45%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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 {
  color: var(--brand-light);
}

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

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

h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  position: relative;
  padding-bottom: 0.5em;
}

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.15rem, 2.4vw, 1.4rem);
  color: var(--brand-dark);
}

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

ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1em;
}

li {
  margin-bottom: 0.4em;
  color: var(--text-soft);
}

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

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

blockquote {
  margin: 1.25em 0;
  padding: 1em 1.4em;
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

blockquote p {
  margin: 0;
  font-style: italic;
  color: var(--text-soft);
}

/* ============ HEADER ============ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 0.65rem clamp(1rem, 4vw, 3rem);
  min-height: var(--header-h);
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.brand a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
}

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

.brand svg {
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.brand a:hover svg {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: var(--shadow-md);
}

#site-header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

#site-header nav a {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: 999px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

#site-header nav a:hover {
  color: #fff;
  background: var(--gradient-brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ============ MAIN LAYOUT ============ */
main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 3rem;
}

main > section {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  animation: fadeUp 0.7s var(--ease) both;
}

main > section:nth-child(1) { animation-delay: 0.02s; }
main > section:nth-child(2) { animation-delay: 0.06s; }
main > section:nth-child(3) { animation-delay: 0.1s; }
main > section:nth-child(4) { animation-delay: 0.14s; }
main > section:nth-child(5) { animation-delay: 0.18s; }
main > section:nth-child(6) { animation-delay: 0.22s; }
main > section:nth-child(7) { animation-delay: 0.26s; }
main > section:nth-child(8) { animation-delay: 0.3s; }

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

/* ============ HERO ============ */
#hero {
  position: relative;
  padding: clamp(1.75rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background: var(--gradient-brand);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(244, 197, 66, 0.28) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

#hero::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 55%;
  height: 180%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 65%);
  transform: rotate(18deg);
  z-index: -1;
  pointer-events: none;
}

#hero h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(80, 30, 10, 0.28);
  margin-bottom: 0.75em;
}

#hero p {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  max-width: 78ch;
  text-shadow: 0 1px 6px rgba(80, 30, 10, 0.18);
}

#hero figure {
  margin: 1.75rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 40px rgba(60, 20, 5, 0.25);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

#hero figure:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 20px 56px rgba(60, 20, 5, 0.35);
}

#hero figure svg {
  width: 100%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

#hero figcaption {
  padding: 0.85rem 1.25rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  background: rgba(0, 0, 0, 0.12);
}

#hero nav[aria-label="页内锚点导航"] ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

#hero nav[aria-label="页内锚点导航"] a {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#hero nav[aria-label="页内锚点导航"] a:hover {
  background: #fff;
  color: var(--brand-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(60, 20, 5, 0.25);
}

/* ============ BREADCRUMB ============ */
nav[aria-label="面包屑导航"] {
  margin: 1.25rem 0 0.5rem;
}

nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  padding: 0.55rem 1rem;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  box-shadow: var(--shadow-sm);
}

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

nav[aria-label="面包屑导航"] li + li::before {
  content: "›";
  margin-right: 0.4rem;
  color: var(--brand);
  font-weight: 700;
}

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

/* ============ GENERIC SECTION CARDS ============ */
#about,
#products,
#solutions,
#cases,
#news,
#articles,
#knowledge,
#faq,
#howto,
#contact,
#sitemap,
#links {
  background: var(--card-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

#about:hover,
#products:hover,
#solutions:hover,
#cases:hover,
#news:hover,
#articles:hover,
#knowledge:hover,
#faq:hover,
#howto:hover,
#contact:hover,
#sitemap:hover,
#links:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 79, 43, 0.28);
}

#about h2,
#products h2,
#solutions h2,
#cases h2,
#news h2,
#articles h2,
#knowledge h2,
#faq h2,
#howto h2,
#contact h2,
#sitemap h2,
#links h2 {
  margin-bottom: 1.1em;
}

#about h3,
#products h3,
#solutions h3,
#cases h3,
#news h3,
#howto h3,
#contact h3 {
  margin-top: 1.4em;
  margin-bottom: 0.5em;
  padding-left: 0.7em;
  border-left: 4px solid var(--accent);
  line-height: 1.4;
}

#about h3:first-of-type,
#products h3:first-of-type,
#solutions h3:first-of-type,
#cases h3:first-of-type,
#howto h3:first-of-type {
  margin-top: 0.5em;
}

/* ============ PRODUCTS / SOLUTIONS LISTS ============ */
#products > ul,
#solutions > ul,
#howto > ul,
#howto > ol {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

#products > ul li,
#solutions > ul li,
#howto > ul li,
#howto > ol li {
  position: relative;
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  margin: 0;
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#products > ul li:hover,
#solutions > ul li:hover,
#howto > ul li:hover,
#howto > ol li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(201, 79, 43, 0.35);
}

#products > ul li::before,
#solutions > ul li::before,
#howto > ul li::before {
  content: "✦";
  position: absolute;
  left: 0.95rem;
  top: 0.7rem;
  color: var(--brand);
  font-size: 1rem;
  line-height: 1.75;
}

#howto > ol {
  counter-reset: howto-step;
}

#howto > ol li {
  counter-increment: howto-step;
  padding-left: 3rem;
}

#howto > ol li::before {
  content: counter(howto-step);
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-brand);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

/* ============ CASES BLOCKQUOTES ============ */
#cases blockquote {
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

/* ============ NEWS ============ */
#news > ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

#news > ul > li {
  position: relative;
  padding: 1.1rem 1.25rem 1.1rem 1.6rem;
  margin: 0;
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-left-color 0.3s var(--ease);
}

#news > ul > li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--accent);
}

#news h3 {
  margin: 0 0 0.35em;
  padding: 0;
  border: none;
  font-size: 1.05rem;
  color: var(--brand-dark);
}

#news p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ============ ARTICLES ============ */
#articles {
  display: block;
}

#articles article {
  position: relative;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
}

#articles article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}

#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 79, 43, 0.35);
}

#articles article:hover::before {
  transform: scaleY(1);
}

#articles article h3 {
  margin: 0 0 0.4em;
  padding: 0;
  border: none;
  font-size: 1.1rem;
  color: var(--text);
  transition: color 0.3s var(--ease);
}

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

#articles article p:first-of-type {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5em;
}

#articles article p {
  font-size: 0.93rem;
  margin-bottom: 0.7em;
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  color: var(--brand);
  background: rgba(201, 79, 43, 0.08);
  border: 1px solid rgba(201, 79, 43, 0.25);
  border-radius: 999px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

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

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

#articles article a:hover::after {
  transform: translateX(3px);
}

/* ============ FAQ ============ */
#faq details {
  margin-bottom: 0.75rem;
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#faq details:hover {
  border-color: rgba(201, 79, 43, 0.35);
  box-shadow: var(--shadow-sm);
}

#faq details[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 79, 43, 0.4);
}

#faq summary {
  position: relative;
  padding: 1rem 3rem 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

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

#faq summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--brand);
  background: rgba(201, 79, 43, 0.1);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

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

#faq summary:hover {
  color: var(--brand);
  background: rgba(201, 79, 43, 0.05);
}

#faq details p {
  padding: 0 1.25rem 1.1rem;
  font-size: 0.93rem;
  margin: 0;
  color: var(--text-soft);
  animation: fadeIn 0.35s var(--ease);
}

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

/* ============ CONTACT ============ */
#contact > ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
}

#contact > ul li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.6rem;
  margin: 0;
  font-size: 0.94rem;
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#contact > ul li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(201, 79, 43, 0.35);
}

#contact > ul li::before {
  content: "●";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 0.6rem;
}

#contact > ul li a {
  font-weight: 600;
  word-break: break-all;
}

/* ============ SITEMAP & LINKS ============ */
#sitemap ul,
#links ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

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

#sitemap ul a,
#links ul a {
  display: inline-block;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#sitemap ul a:hover,
#links ul a:hover {
  color: #fff;
  background: var(--gradient-brand);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ============ FOOTER ============ */
footer {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 3rem) 2rem;
  margin-top: 2rem;
  background: var(--gradient-soft);
  border-top: 1px solid var(--card-border);
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand);
}

footer section {
  padding: 1.25rem 1.35rem;
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

footer section:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

footer h2 {
  font-size: 1.05rem;
  padding-bottom: 0.45em;
  margin-bottom: 0.75em;
}

footer h2::after {
  width: 36px;
  height: 3px;
}

footer p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

footer > p {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-top: 0.5rem;
}

footer > p:first-of-type {
  border-top: 1px dashed var(--card-border);
  padding-top: 1.25rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  #site-header {
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }

  .brand {
    display: flex;
    justify-content: center;
  }

  #site-header nav ul {
    justify-content: center;
    gap: 0.2rem;
  }

  #site-header nav a {
    font-size: 0.85rem;
    padding: 0.35rem 0.65rem;
  }

  main {
    padding-top: 1rem;
  }
}

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

  #hero {
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.15rem;
  }

  #hero nav[aria-label="页内锚点导航"] ul {
    gap: 0.5rem;
  }

  #hero nav[aria-label="页内锚点导航"] a {
    padding: 0.45rem 0.95rem;
    font-size: 0.85rem;
  }

  #hero figure {
    margin: 1.25rem 0;
  }

  #hero figcaption {
    font-size: 0.8rem;
    padding: 0.65rem 0.9rem;
  }

  #about,
  #products,
  #solutions,
  #cases,
  #news,
  #articles,
  #knowledge,
  #faq,
  #howto,
  #contact,
  #sitemap,
  #links {
    border-radius: var(--radius-md);
    padding: 1.15rem 1rem;
  }

  #articles article {
    padding: 1rem 1.05rem;
  }

  #faq summary {
    padding: 0.85rem 2.8rem 0.85rem 1rem;
    font-size: 0.92rem;
  }

  #contact > ul {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.75rem 1rem 1.5rem;
  }

  footer section {
    padding: 1rem 1.1rem;
  }
}

@media (max-width: 400px) {
  #site-header nav a {
    font-size: 0.8rem;
    padding: 0.3rem 0.55rem;
  }

  #hero h1 {
    font-size: 1.45rem;
  }
}

/* ============ ACCESSIBILITY / MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  #site-header,
  #hero nav,
  footer,
  #links {
    display: none;
  }

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

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