:root {
  --bg: #f6f4f1;
  --bg-alt: #ffffff;
  --bg-soft: #efeae4;
  --text: #1f1c1a;
  --text-soft: #5a534d;
  --text-mute: #8a807a;
  --line: #e3ddd6;
  --accent: #c8503c;
  --accent-2: #7a3b5e;
  --accent-3: #d99a4e;
  --grad: linear-gradient(135deg, #c8503c 0%, #7a3b5e 55%, #2b2140 100%);
  --grad-soft: linear-gradient(135deg, rgba(200, 80, 60, 0.12), rgba(122, 59, 94, 0.12));
  --glass: rgba(255, 255, 255, 0.62);
  --glass-line: rgba(255, 255, 255, 0.55);
  --shadow: 0 8px 24px rgba(31, 28, 26, 0.07);
  --shadow-lg: 0 18px 48px rgba(31, 28, 26, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --maxw: 1180px;
}

html[data-theme="dark"] {
  --bg: #14121a;
  --bg-alt: #1c1924;
  --bg-soft: #221e2c;
  --text: #f0ecea;
  --text-soft: #c3bbb6;
  --text-mute: #8f8681;
  --line: #2e2938;
  --accent: #e86a52;
  --accent-2: #b0628f;
  --accent-3: #e0ab63;
  --grad: linear-gradient(135deg, #e86a52 0%, #b0628f 55%, #4a3a6b 100%);
  --grad-soft: linear-gradient(135deg, rgba(232, 106, 82, 0.16), rgba(176, 98, 143, 0.16));
  --glass: rgba(34, 30, 44, 0.62);
  --glass-line: rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(200, 80, 60, 0.07), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(122, 59, 94, 0.07), transparent 40%);
  background-attachment: fixed;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  overflow-x: hidden;
}

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

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

a:hover,
a:focus-visible {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

h2 {
  font-size: clamp(1.5rem, 3.4vw, 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(--grad);
}

h3 {
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
  margin-top: 1.6em;
  color: var(--text);
}

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

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

li {
  margin-bottom: 0.4em;
}

/* ============ Header ============ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--glass-line);
  box-shadow: 0 2px 18px rgba(31, 28, 26, 0.05);
}

.brand-bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.brand-name {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  white-space: nowrap;
}

.brand-slogan {
  font-size: 0.8rem;
  color: var(--text-mute);
  letter-spacing: 0.02em;
  flex: 1 1 200px;
  min-width: 0;
}

.brand-bar nav {
  order: 3;
  flex: 1 1 100%;
}

.brand-bar nav ul {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0 0.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.3rem;
}

.brand-bar nav a {
  display: inline-block;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-soft);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.brand-bar nav a:hover,
.brand-bar nav a:focus-visible {
  background: var(--grad-soft);
  color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
}

.brand-bar form[role="search"] {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  order: 2;
}

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

#site-search {
  width: 180px;
  max-width: 42vw;
  padding: 0.48rem 0.85rem;
  font-size: 0.85rem;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    width 0.3s var(--ease);
}

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

#site-search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 80, 60, 0.16);
  width: 220px;
}

.brand-bar form[role="search"] button,
#theme-toggle {
  padding: 0.48rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: var(--grad);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    filter 0.25s var(--ease);
}

#theme-toggle {
  order: 4;
  background: var(--bg-alt);
  color: var(--text-soft);
  border: 1px solid var(--line);
}

.brand-bar form[role="search"] button:hover,
#theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  filter: brightness(1.05);
}

#theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ============ Main layout ============ */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

section {
  margin: 2.75rem 0;
  scroll-margin-top: 120px;
}

/* ============ Hero ============ */
#hero {
  position: relative;
  margin-top: 1.75rem;
  padding: clamp(1.75rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  background: var(--grad);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

#hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.12), transparent 45%);
  z-index: -1;
  animation: heroFloat 14s ease-in-out infinite alternate;
}

@keyframes heroFloat {
  from { transform: translate3d(-2%, -2%, 0) scale(1); }
  to { transform: translate3d(2%, 2%, 0) scale(1.08); }
}

#hero h1 {
  font-size: clamp(1.6rem, 4.4vw, 2.6rem);
  color: #fff;
  max-width: 22em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.22);
}

#hero p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 62em;
  font-size: clamp(0.94rem, 1.8vw, 1.04rem);
}

#hero figure {
  margin: 1.75rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s var(--ease);
}

#hero figure:hover {
  transform: translateY(-4px) scale(1.005);
}

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

#hero figcaption {
  padding: 0.7rem 1.1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* ============ Breadcrumb ============ */
nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  color: var(--text-mute);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

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

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

/* ============ Cards / content blocks ============ */
#about,
#history,
#culture,
#products,
#advantages,
#solutions,
#applications,
#cases,
#reviews,
#news,
#articles,
#knowledge,
#faq,
#howto,
#contact,
#links {
  position: relative;
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

#about:hover,
#history:hover,
#culture:hover,
#products:hover,
#advantages:hover,
#solutions:hover,
#applications:hover,
#cases:hover,
#reviews:hover,
#news:hover,
#articles:hover,
#knowledge:hover,
#faq:hover,
#howto:hover,
#contact:hover,
#links:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--glass-line);
}

#history,
#advantages,
#cases,
#articles,
#howto {
  background: var(--bg-soft);
}

/* ============ Articles ============ */
#news article,
#articles article {
  padding: 1.25rem 1.4rem;
  margin-bottom: 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

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

#news article:hover,
#articles article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

#news article h3,
#articles article h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

#news article p:first-of-type,
#articles article p:first-of-type {
  font-size: 0.8rem;
  color: var(--text-mute);
  letter-spacing: 0.03em;
}

#articles article a {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--grad-soft);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

#articles article a:hover {
  background: var(--grad);
  color: #fff;
  text-decoration: none;
  transform: translateX(3px);
}

/* ============ Reviews / blockquotes ============ */
#reviews blockquote {
  margin: 0 0 1rem;
  padding: 1.1rem 1.3rem 1.1rem 1.6rem;
  background: var(--bg);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

#reviews blockquote:last-child {
  margin-bottom: 0;
}

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

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

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

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

#faq summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 2.8rem 0.95rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

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

#faq summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}

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

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

#faq details > p {
  padding: 0 1.2rem 1.1rem;
  margin: 0;
  font-size: 0.92rem;
  animation: fadeIn 0.35s var(--ease);
}

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

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

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 0.7rem 0.9rem 0.7rem 3rem;
  margin-bottom: 0.6rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.7rem;
  height: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  border-radius: 50%;
}

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

/* ============ Contact ============ */
#contact p {
  padding: 0.55rem 0.9rem;
  margin: 0 0 0.5rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

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

/* ============ Sitemap & links ============ */
nav[aria-label="网站地图"] {
  margin: 2.75rem 0;
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

nav[aria-label="网站地图"] ul,
#links ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.5rem;
}

nav[aria-label="网站地图"] a,
#links a {
  display: block;
  padding: 0.5rem 0.8rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

nav[aria-label="网站地图"] a:hover,
#links a:hover {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  text-decoration: none;
  transform: translateY(-2px);
}

/* ============ Footer ============ */
footer {
  margin-top: 3rem;
  padding: clamp(2rem, 5vw, 3.5rem) 1.25rem 2.5rem;
  background: var(--grad);
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.12), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.08), transparent 50%);
  pointer-events: none;
}

footer > section {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto 1.5rem;
  padding: 1.1rem 1.3rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

footer h2 {
  color: #fff;
  font-size: 1.05rem;
  padding-bottom: 0.4em;
}

footer h2::after {
  background: rgba(255, 255, 255, 0.7);
  width: 40px;
  height: 3px;
}

footer p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  margin: 0 0 0.5rem;
}

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

footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer > p {
  position: relative;
  max-width: var(--maxw);
  margin: 1.5rem auto 0;
  text-align: center;
}

footer > p a {
  display: inline-block;
  padding: 0.5rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

footer > p a:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ============ Scroll animation ============ */
@supports (animation-timeline: view()) {
  #about,
  #history,
  #culture,
  #products,
  #advantages,
  #solutions,
  #applications,
  #cases,
  #reviews,
  #news,
  #articles,
  #knowledge,
  #faq,
  #howto,
  #contact,
  #links,
  nav[aria-label="网站地图"] {
    animation: revealUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}

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

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

/* ============ Focus ============ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============ Responsive ============ */
@media (min-width: 760px) {
  .brand-bar {
    flex-wrap: nowrap;
  }

  .brand-bar nav {
    order: 2;
    flex: 1 1 auto;
  }

  .brand-bar form[role="search"] {
    order: 3;
  }

  #theme-toggle {
    order: 4;
  }

  .brand-bar nav ul {
    justify-content: center;
    padding-top: 0;
  }
}

@media (max-width: 759px) {
  .brand-slogan {
    display: none;
  }

  #site-search {
    width: 150px;
  }

  #site-search:focus {
    width: 170px;
  }

  .brand-bar nav ul {
    gap: 0.1rem 0.2rem;
  }

  .brand-bar nav a {
    font-size: 0.8rem;
    padding: 0.28rem 0.55rem;
  }

  section {
    margin: 2rem 0;
    scroll-margin-top: 180px;
  }

  #hero {
    margin-top: 1.25rem;
  }

  #hero figure {
    margin-top: 1.25rem;
  }
}

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

  .brand-bar {
    padding: 0.7rem 0.9rem;
    gap: 0.5rem 0.6rem;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-bar form[role="search"] {
    flex: 1 1 auto;
  }

  #site-search {
    width: 100%;
    max-width: none;
  }

  #site-search:focus {
    width: 100%;
  }

  .brand-bar form[role="search"] button {
    padding: 0.48rem 0.75rem;
  }

  #theme-toggle {
    padding: 0.48rem 0.75rem;
    font-size: 0.78rem;
  }

  main {
    padding: 0 0.9rem 3rem;
  }

  #hero {
    padding: 1.4rem 1.1rem;
    border-radius: var(--radius);
  }

  #about,
  #history,
  #culture,
  #products,
  #advantages,
  #solutions,
  #applications,
  #cases,
  #reviews,
  #news,
  #articles,
  #knowledge,
  #faq,
  #howto,
  #contact,
  #links,
  nav[aria-label="网站地图"] {
    padding: 1.1rem 1rem;
    border-radius: var(--radius);
  }

  #news article,
  #articles article {
    padding: 1rem 0.95rem;
  }

  #faq summary {
    padding: 0.85rem 2.4rem 0.85rem 0.95rem;
    font-size: 0.9rem;
  }

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

  nav[aria-label="网站地图"] ul,
  #links ul {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }

  footer > section {
    padding: 0.95rem 1rem;
  }
}
</｜｜DSML｜｜ parameter>
</｜｜DSML｜｜ invoke>
</tool_call>