:root {
  --primary: #c2410c;
  --primary-dark: #9a3412;
  --primary-light: #ea580c;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --accent-soft: #fef3c7;
  --bg: #fffbf5;
  --bg-alt: #fff7ed;
  --card-bg: rgba(255, 255, 255, 0.72);
  --card-border: rgba(194, 65, 12, 0.12);
  --text: #292524;
  --text-muted: #78716c;
  --text-soft: #a8a29e;
  --heading: #1c1917;
  --link: #c2410c;
  --link-hover: #9a3412;
  --shadow-sm: 0 1px 2px rgba(41, 37, 36, 0.06);
  --shadow-md: 0 4px 16px rgba(194, 65, 12, 0.08);
  --shadow-lg: 0 12px 40px rgba(194, 65, 12, 0.12);
  --shadow-glow: 0 8px 32px rgba(245, 158, 11, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --glass-blur: 16px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: "SF Mono", "Cascadia Code", "Fira Code", Consolas, monospace;
  --max-width: 1200px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #fb923c;
    --primary-dark: #f97316;
    --primary-light: #fdba74;
    --accent: #fbbf24;
    --accent-light: #fcd34d;
    --accent-soft: rgba(251, 191, 36, 0.12);
    --bg: #0c0a09;
    --bg-alt: #1c1917;
    --card-bg: rgba(28, 25, 23, 0.72);
    --card-border: rgba(251, 146, 60, 0.16);
    --text: #e7e5e4;
    --text-muted: #a8a29e;
    --text-soft: #78716c;
    --heading: #fafaf9;
    --link: #fb923c;
    --link-hover: #fdba74;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 8px 32px rgba(251, 191, 36, 0.15);
  }
}

[data-theme="dark"] {
  --primary: #fb923c;
  --primary-dark: #f97316;
  --primary-light: #fdba74;
  --accent: #fbbf24;
  --accent-light: #fcd34d;
  --accent-soft: rgba(251, 191, 36, 0.12);
  --bg: #0c0a09;
  --bg-alt: #1c1917;
  --card-bg: rgba(28, 25, 23, 0.72);
  --card-border: rgba(251, 146, 60, 0.16);
  --text: #e7e5e4;
  --text-muted: #a8a29e;
  --text-soft: #78716c;
  --heading: #fafaf9;
  --link: #fb923c;
  --link-hover: #fdba74;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 8px 32px rgba(251, 191, 36, 0.15);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(245, 158, 11, 0.08), transparent),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(194, 65, 12, 0.05), transparent);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input {
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 1rem;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

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

p:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--heading);
  font-weight: 600;
}

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

::selection {
  background: var(--accent);
  color: #1c1917;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 245, 0.78);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border-bottom: 1px solid var(--card-border);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

[data-theme="dark"] header {
  background: rgba(12, 10, 9, 0.78);
}

@media (prefers-color-scheme: dark) {
  header {
    background: rgba(12, 10, 9, 0.78);
  }
}

header > div {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

header > div > a:first-child {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--heading);
  font-size: 1.05rem;
  flex-shrink: 0;
}

header > div > a:first-child svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: var(--shadow-glow);
  transition: transform var(--transition-base);
}

header > div > a:first-child:hover svg {
  transform: rotate(-6deg) scale(1.06);
}

header > div > a:first-child strong {
  font-size: 1.05rem;
  white-space: nowrap;
}

header nav {
  flex: 1 1 auto;
  min-width: 0;
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}

header nav a {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
}

header nav a::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

header nav a:hover {
  color: var(--primary);
  background: var(--accent-soft);
}

header nav a:hover::after {
  transform: scaleX(1);
}

header form[role="search"] {
  display: flex;
  align-items: center;
  gap: 0;
  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[type="search"] {
  width: 180px;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  color: var(--text);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  outline: none;
  transition: width var(--transition-base), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

header form[role="search"] input[type="search"]:focus {
  width: 240px;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

header form[role="search"] button[type="submit"] {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: filter var(--transition-fast), transform var(--transition-fast);
}

header form[role="search"] button[type="submit"]:hover {
  filter: brightness(1.1);
}

header form[role="search"] button[type="submit"]:active {
  transform: scale(0.97);
}

#theme-toggle,
#menu-toggle {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

#theme-toggle:hover,
#menu-toggle:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

#theme-toggle:active,
#menu-toggle:active {
  transform: scale(0.96);
}

#menu-toggle {
  display: none;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
}

main > nav[aria-label="面包屑导航"] {
  margin-bottom: 1.5rem;
}

main > nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

main > nav[aria-label="面包屑导航"] li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

main > nav[aria-label="面包屑导航"] li + li::before {
  content: "/";
  color: var(--text-soft);
  font-weight: 300;
}

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

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

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

section {
  margin-bottom: 3rem;
  scroll-margin-top: 88px;
}

section > p:first-of-type {
  font-size: 1.02rem;
}

#banner {
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.85) 0%, rgba(255, 237, 213, 0.9) 40%, rgba(254, 215, 170, 0.8) 100%);
  border: 1px solid var(--card-border);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2.5rem;
}

#banner::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25), transparent 70%);
  pointer-events: none;
  animation: floatSlow 12s ease-in-out infinite;
}

#banner::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 65, 12, 0.12), transparent 70%);
  pointer-events: none;
  animation: floatSlow 16s ease-in-out infinite reverse;
}

[data-theme="dark"] #banner {
  background: linear-gradient(135deg, rgba(67, 20, 7, 0.7) 0%, rgba(41, 37, 36, 0.85) 50%, rgba(28, 25, 23, 0.9) 100%);
}

@media (prefers-color-scheme: dark) {
  #banner {
    background: linear-gradient(135deg, rgba(67, 20, 7, 0.7) 0%, rgba(41, 37, 36, 0.85) 50%, rgba(28, 25, 23, 0.9) 100%);
  }
}

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

#banner h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.6rem, 4.2vw, 2.8rem);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] #banner h1 {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 40%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

#banner > p {
  position: relative;
  z-index: 1;
  max-width: 72ch;
  font-size: 1.02rem;
  color: var(--text);
  margin-bottom: 1.75rem;
}

#banner > div {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

#banner figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--card-border);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

#banner figure:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

#banner figure svg {
  width: 100%;
  height: auto;
  display: block;
}

#banner figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--card-border);
}

#banner > div > ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-content: flex-start;
}

#banner > div > ol li a {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(194, 65, 12, 0.2);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: all var(--transition-base);
}

#banner > div > ol li a::after {
  content: "→";
  margin-left: 0.4rem;
  transition: transform var(--transition-fast);
}

#banner > div > ol li a:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

#banner > div > ol li a:hover::after {
  transform: translateX(3px);
}

[data-theme="dark"] #banner > div > ol li a {
  color: var(--accent-light);
  background: rgba(41, 37, 36, 0.6);
  border-color: rgba(251, 146, 60, 0.25);
}

@media (prefers-color-scheme: dark) {
  #banner > div > ol li a {
    color: var(--accent-light);
    background: rgba(41, 37, 36, 0.6);
    border-color: rgba(251, 146, 60, 0.25);
  }
}

#stats {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-md);
}

#stats > ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

#stats > ul li {
  padding: 0.75rem 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
}

#stats > ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--card-border);
}

#stats > ul li span {
  display: block;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

#intro,
#products,
#solutions,
#applications,
#cases,
#news,
#articles,
#knowledge,
#faq,
#howto,
#notice,
#contact,
#sitemap,
#links {
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

#intro:hover,
#products:hover,
#solutions:hover,
#applications:hover,
#cases:hover,
#news:hover,
#articles:hover,
#knowledge:hover,
#faq:hover,
#howto:hover,
#notice:hover,
#contact:hover,
#sitemap:hover,
#links:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 158, 11, 0.25);
}

#products ul,
#solutions ul,
#applications ul,
#howto ul,
#sitemap ul,
#links ul {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
}

#products ul li,
#solutions ul li,
#applications ul li,
#howto ul li,
#sitemap ul li,
#links ul li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text);
}

#products ul li::before,
#solutions ul li::before,
#applications ul li::before,
#howto ul li::before,
#sitemap ul li::before,
#links ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

#howto ol {
  counter-reset: howto;
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
}

#howto ol li {
  counter-increment: howto;
  position: relative;
  padding: 0.75rem 1rem 0.75rem 3rem;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

#howto ol li::before {
  content: counter(howto);
  position: absolute;
  left: 0.85rem;
  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: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

#howto ol li:hover {
  transform: translateX(4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

#cases blockquote {
  position: relative;
  margin: 1rem 0;
  padding: 1.1rem 1.25rem 1.1rem 2.75rem;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: normal;
  color: var(--text);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

#cases blockquote::before {
  content: "\201C";
  position: absolute;
  left: 0.75rem;
  top: 0.25rem;
  font-size: 2.4rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--accent);
  opacity: 0.6;
}

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

#cases blockquote p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

#news article,
#articles article {
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

#news article:last-child,
#articles article:last-child {
  margin-bottom: 0;
}

#news article:hover,
#articles article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 158, 11, 0.35);
}

#news article h3,
#articles article h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  transition: color var(--transition-fast);
}

#news article:hover h3,
#articles article:hover h3 {
  color: var(--primary);
}

#news article p,
#articles article p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  padding: 0.25rem 0;
}

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

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

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

#faq details:last-child {
  margin-bottom: 0;
}

#faq details[open] {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: var(--shadow-sm);
}

#faq summary {
  padding: 0.9rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--heading);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2.75rem;
  transition: color var(--transition-fast), background var(--transition-fast);
  user-select: none;
}

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

#faq summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
  color: var(--primary);
  transition: transform var(--transition-base);
}

#faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

#faq summary:hover {
  color: var(--primary);
  background: var(--accent-soft);
}

#faq details p {
  padding: 0 1.25rem 1.1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  animation: fadeSlideIn 0.4s ease both;
}

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

#notice {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.6), rgba(255, 237, 213, 0.4));
  border-color: rgba(245, 158, 11, 0.3);
}

[data-theme="dark"] #notice {
  background: linear-gradient(135deg, rgba(67, 20, 7, 0.4), rgba(41, 37, 36, 0.5));
}

@media (prefers-color-scheme: dark) {
  #notice {
    background: linear-gradient(135deg, rgba(67, 20, 7, 0.4), rgba(41, 37, 36, 0.5));
  }
}

#contact address {
  font-style: normal;
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

#contact address p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.92rem;
  margin: 0;
  color: var(--text-muted);
}

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

#sitemap ul,
#links ul {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

#links ul li::before {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

footer {
  position: relative;
  margin-top: 2rem;
  padding: 2.5rem 1.5rem 4rem;
  background: linear-gradient(180deg, transparent, rgba(194, 65, 12, 0.04));
  border-top: 1px solid var(--card-border);
}

footer > section {
  max-width: var(--max-width);
  margin: 0 auto 1.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--card-border);
  transition: box-shadow var(--transition-base);
}

footer > section:hover {
  box-shadow: var(--shadow-md);
}

footer > section h2 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  padding-left: 0.85rem;
}

footer > section h2::before {
  width: 3px;
}

footer > section p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

footer > section p:last-child {
  margin-bottom: 0;
}

#back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base), filter var(--transition-fast);
}

#back-to-top::before {
  content: "↑";
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 48px;
  display: block;
  text-align: center;
}

#back-to-top:hover {
  filter: brightness(1.1);
  transform: translateY(-2px) scale(1.05);
}

#back-to-top:active {
  transform: scale(0.95);
}

body.scrolled #back-to-top {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

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

@media (min-width: 768px) {
  #banner > div {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }

  #banner > div > ol {
    flex-direction: column;
    gap: 0.75rem;
  }

  #banner > div > ol li a {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 1024px) {
  header > div {
    gap: 0.75rem;
  }

  header nav ul {
    gap: 0;
  }

  header nav a {
    padding: 0.35rem 0.55rem;
    font-size: 0.82rem;
  }

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

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

@media (max-width: 860px) {
  header > div {
    padding: 0.6rem 1rem;
  }

  #menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  header nav {
    order: 10;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), opacity var(--transition-base), margin var(--transition-base);
    opacity: 0;
    margin-top: 0;
  }

  header nav.is-open {
    max-height: 600px;
    opacity: 1;
    margin-top: 0.5rem;
  }

  header nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  header nav a {
    display: block;
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
  }

  header nav a::after {
    display: none;
  }

  header form[role="search"] {
    order: 11;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height var(--transition-slow), opacity var(--transition-base), margin var(--transition-base);
  }

  header nav.is-open ~ form[role="search"],
  header form[role="search"].is-open {
    max-height: 80px;
    opacity: 1;
    margin-top: 0.5rem;
  }

  header form[role="search"] input[type="search"] {
    flex: 1;
    width: auto;
  }

  header form[role="search"] input[type="search"]:focus {
    width: auto;
  }

  #stats > ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  #stats > ul li:nth-child(2)::after {
    display: none;
  }

  #stats > ul li:nth-child(1)::after,
  #stats > ul li:nth-child(3)::after {
    display: block;
  }

  #banner {
    padding: 1.75rem 1.25rem;
  }

  #intro,
  #products,
  #solutions,
  #applications,
  #cases,
  #news,
  #articles,
  #knowledge,
  #faq,
  #howto,
  #notice,
  #contact,
  #sitemap,
  #links {
    padding: 1.5rem 1.15rem;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  main {
    padding: 1rem 0.85rem 3rem;
  }

  header > div {
    padding: 0.55rem 0.85rem;
    gap: 0.5rem;
  }

  header > div > a:first-child strong {
    font-size: 0.95rem;
  }

  header > div > a:first-child svg {
    width: 34px;
    height: 34px;
  }

  #theme-toggle,
  #menu-toggle {
    padding: 0.4rem 0.65rem;
    font-size: 0.8rem;
  }

  #banner {
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    margin-bottom: 1.75rem;
  }

  #banner > div > ol li a {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  #stats {
    padding: 1.25rem 0.85rem;
  }

  #stats > ul li {
    padding: 0.5rem 0.25rem;
    font-size: 0.78rem;
  }

  #stats > ul li span {
    font-size: 1.5rem;
  }

  h2 {
    padding-left: 0.85rem;
  }

  h2::before {
    width: 3px;
  }

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

  #howto ol li {
    padding-left: 2.75rem;
  }

  #cases blockquote {
    padding: 1rem 1rem 1rem 2.5rem;
  }

  #sitemap ul,
  #links ul {
    grid-template-columns: repeat(2, 1fr);
  }

  footer {
    padding: 1.5rem 0.85rem 5rem;
  }

  footer > section {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
  }

  #back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 44px;
    height: 44px;
  }

  #back-to-top::before {
    line-height: 44px;
  }
}

@media (hover: none) {
  header nav a:hover {
    background: transparent;
  }

  #news article:hover,
  #articles article:hover,
  #banner figure:hover {
    transform: none;
  }
}

@media print {
  header,
  footer,
  #back-to-top,
  #banner > div > ol {
    display: none;
  }

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

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

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