:root {
  --primary: #e94560;
  --primary-dark: #c73650;
  --primary-light: #ff6b81;
  --secondary: #0f3460;
  --accent: #533483;
  --bg-body: #f0f2f5;
  --bg-card: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.82);
  --bg-footer: #1a1a2e;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #8888a0;
  --text-light: #ffffff;
  --border-color: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 26, 46, 0.1);
  --shadow-lg: 0 16px 48px rgba(26, 26, 46, 0.16);
  --shadow-glow: 0 0 32px rgba(233, 69, 96, 0.3);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-blur: 20px;
  --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.4, 0, 0.2, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max-width: 1200px;
  --header-height: 68px;
}

body.dark-mode {
  --bg-body: #0d0d1a;
  --bg-card: #1a1a2e;
  --bg-header: rgba(13, 13, 26, 0.88);
  --bg-footer: #080812;
  --text-primary: #eaeaf2;
  --text-secondary: #a8a8c0;
  --text-muted: #6a6a88;
  --border-color: rgba(255, 255, 255, 0.08);
  --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);
  --glass-bg: rgba(26, 26, 46, 0.4);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-primary);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--transition-slow), color var(--transition-slow);
}

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

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

a:hover {
  color: var(--primary-light);
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.35;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--transition-slow);
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }

p {
  margin-bottom: 0.75em;
  color: var(--text-secondary);
  transition: color var(--transition-slow);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  font-size: inherit;
  color: inherit;
  transition: all var(--transition-fast);
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

::selection {
  background: var(--primary);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition-slow), border-color var(--transition-slow), box-shadow var(--transition-base);
}

#site-header.scrolled {
  box-shadow: var(--shadow-md);
}

#site-header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

#site-header nav > a:first-child {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity var(--transition-fast);
}

#site-header nav > a:first-child:hover {
  opacity: 0.8;
  color: transparent;
}

#site-header nav > button[aria-label="移动菜单"] {
  display: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

#site-header nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#site-header nav > ul::-webkit-scrollbar {
  display: none;
}

#site-header nav > ul li a {
  display: block;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  position: relative;
  transition: color var(--transition-fast), background var(--transition-fast);
}

#site-header nav > ul li a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--transition-base);
}

#site-header nav > ul li a:hover {
  color: var(--primary);
  background: rgba(233, 69, 96, 0.06);
}

#site-header nav > ul li a:hover::after {
  width: 60%;
}

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

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

#site-header nav form[role="search"] input[type="search"] {
  width: 180px;
  padding: 8px 16px;
  border-radius: 50px 0 0 50px;
  border: 1px solid var(--border-color);
  border-right: none;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
  transition: width var(--transition-base), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

#site-header nav form[role="search"] input[type="search"]:focus {
  width: 240px;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.12);
}

#site-header nav form[role="search"] button[type="submit"] {
  padding: 8px 18px;
  border-radius: 0 50px 50px 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: filter var(--transition-fast), transform var(--transition-fast);
}

#site-header nav form[role="search"] button[type="submit"]:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

#site-header nav form[role="search"] button[type="submit"]:active {
  transform: translateY(0);
}

#site-header nav > button[aria-label="暗黑模式切换"] {
  padding: 8px 14px;
  border-radius: 50px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

#site-header nav > button[aria-label="暗黑模式切换"]:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

main > section {
  padding: 64px 0;
  animation: fadeInUp 0.8s ease both;
}

main > section:nth-child(odd) {
  animation-delay: 0.05s;
}

main > section:nth-child(even) {
  animation-delay: 0.1s;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(233, 69, 96, 0); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#home {
  text-align: center;
  padding-top: 48px;
}

#hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
  line-height: 1.3;
}

#home > p {
  max-width: 760px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.banner-carousel {
  position: relative;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 32px;
  margin-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.banner-carousel::-webkit-scrollbar {
  height: 6px;
}

.banner-carousel::-webkit-scrollbar-track {
  background: transparent;
}

.banner-carousel::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.banner-carousel figure {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.banner-carousel figure:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 64px rgba(233, 69, 96, 0.25);
}

.banner-carousel figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.banner-carousel figure:hover img {
  transform: scale(1.04);
}

.banner-carousel figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 32px 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: left;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 36px 24px;
  margin: 24px auto;
  max-width: 720px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stats span[data-count] {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  display: inline-block;
  margin-right: 4px;
  font-variant-numeric: tabular-nums;
  transition: color var(--transition-fast);
}

.stats span[data-count]:hover {
  color: var(--accent);
  transform: scale(1.08);
}

#home nav[aria-label="面包屑导航"] {
  margin-top: 32px;
}

#home nav[aria-label="面包屑导航"] ol {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
}

#home nav[aria-label="面包屑导航"] ol li {
  display: flex;
  align-items: center;
  gap: 8px;
}

#home nav[aria-label="面包屑导航"] ol li:not(:last-child)::after {
  content: "›";
  color: var(--text-muted);
  font-size: 1.1rem;
}

#home nav[aria-label="面包屑导航"] ol li a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

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

main > section > h2 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 32px;
  position: relative;
  padding-left: 20px;
  letter-spacing: -0.5px;
}

main > section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 1.4em;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 3px;
}

main > section > h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text-primary);
  position: relative;
  padding-left: 14px;
}

main > section > h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.18);
}

#brand,
#products,
#solutions,
#cases,
#news,
#articles,
#faq,
#howto,
#contact,
#sitemap,
#links,
#legal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: box-shadow var(--transition-base), transform var(--transition-base), background var(--transition-slow), border-color var(--transition-slow);
}

#brand:hover,
#products:hover,
#solutions:hover,
#cases:hover,
#news:hover,
#articles:hover,
#faq:hover,
#howto:hover,
#contact:hover,
#sitemap:hover,
#links:hover,
#legal:hover {
  box-shadow: var(--shadow-md);
}

#products ul,
#howto ul,
#howto ol {
  padding-left: 0;
  margin: 16px 0;
}

#products ul li,
#howto ul li {
  position: relative;
  padding: 10px 0 10px 32px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  transition: padding-left var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

#products ul li:last-child,
#howto ul li:last-child {
  border-bottom: none;
}

#products ul li::before,
#howto ul li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

#products ul li:hover,
#howto ul li:hover {
  padding-left: 40px;
  color: var(--text-primary);
  background: rgba(233, 69, 96, 0.04);
}

#products ul li:hover::before,
#howto ul li:hover::before {
  transform: translateY(-50%) scale(1.4);
  box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.15);
}

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

#howto ol li {
  position: relative;
  counter-increment: howto-counter;
  padding: 14px 0 14px 56px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  transition: padding-left var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

#howto ol li:last-child {
  border-bottom: none;
}

#howto ol li::before {
  content: counter(howto-counter);
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

#howto ol li:hover {
  padding-left: 64px;
  color: var(--text-primary);
  background: rgba(233, 69, 96, 0.04);
}

#howto ol li:hover::before {
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.45);
}

#cases blockquote {
  position: relative;
  margin: 20px 0;
  padding: 24px 28px 24px 56px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast);
}

#cases blockquote::before {
  content: "\201C";
  position: absolute;
  left: 16px;
  top: 8px;
  font-size: 3rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.35;
  font-family: Georgia, serif;
}

#cases blockquote:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--accent);
}

#cases blockquote p {
  margin: 0;
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

#news article,
#articles article {
  position: relative;
  padding: 24px 28px;
  margin-bottom: 20px;
  background: var(--bg-body);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast), background var(--transition-slow);
}

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

#news article::before,
#articles article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 3px 0 0 3px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

#news article:hover,
#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(233, 69, 96, 0.25);
}

#news article:hover::before,
#articles article:hover::before {
  opacity: 1;
}

#news article h3 a,
#articles article h3 a {
  color: var(--text-primary);
  font-weight: 700;
  transition: color var(--transition-fast);
}

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

#news article > p:first-of-type,
#articles article > p:first-of-type {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

#news article > p:first-of-type::before,
#articles article > p:first-of-type::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

#news article > p:last-child a,
#articles article > p:last-child a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  padding: 4px 0;
  position: relative;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

#news article > p:last-child a::after,
#articles article > p:last-child a::after {
  content: "→";
  transition: transform var(--transition-fast);
}

#news article > p:last-child a:hover,
#articles article > p:last-child a:hover {
  gap: 10px;
  color: var(--primary-light);
}

#news article > p:last-child a:hover::after,
#articles article > p:last-child a:hover::after {
  transform: translateX(4px);
}

#faq details {
  margin-bottom: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-body);
  overflow: hidden;
  transition: box-shadow var(--transition-base), border-color var(--transition-fast), background var(--transition-slow);
}

#faq details[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(233, 69, 96, 0.3);
}

#faq details summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 48px;
  transition: background var(--transition-fast), color var(--transition-fast);
  user-select: none;
}

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

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

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

#faq details summary:hover {
  background: rgba(233, 69, 96, 0.05);
  color: var(--primary);
}

#faq details > p {
  padding: 0 24px 20px;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-secondary);
  animation: fadeIn 0.4s ease both;
}

#contact p {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

#contact p strong {
  color: var(--text-primary);
}

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

#sitemap ul li a,
#links ul li a {
  display: block;
  padding: 12px 18px;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  transition: all var(--transition-fast);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

footer {
  background: var(--bg-footer);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 24px 32px;
  margin-top: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background var(--transition-slow);
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary), var(--primary));
  background-size: 300% 100%;
  animation: gradientShift 8s linear infinite;
}

footer p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

footer p:first-child {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

footer p:nth-child(2),
footer p:nth-child(3) {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

footer p:last-of-type {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

footer address {
  font-style: normal;
  margin-top: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
}

footer address a {
  color: rgba(255, 255, 255, 0.7);
}

footer address a:hover {
  color: var(--primary-light);
}

body > button[aria-label="返回顶部"] {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base), box-shadow var(--transition-fast);
}

body > button[aria-label="返回顶部"]::before {
  content: "↑";
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}

body > button[aria-label="返回顶部"].visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

body > button[aria-label="返回顶部"]:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(233, 69, 96, 0.5);
}

body > button[aria-label="返回顶部"]:active {
  transform: translateY(-2px) scale(1.05);
}

@media (max-width: 1024px) {
  #site-header nav form[role="search"] input[type="search"] {
    width: 140px;
  }

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

  #hero-title {
    font-size: 2rem;
  }

  main > section > h2 {
    font-size: 1.6rem;
  }

  .stats {
    gap: 32px;
  }

  .stats span[data-count] {
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  body {
    font-size: 15px;
  }

  #site-header nav {
    padding: 0 16px;
    gap: 12px;
    flex-wrap: wrap;
  }

  #site-header nav > button[aria-label="移动菜单"] {
    display: block;
    order: 3;
    margin-left: auto;
  }

  #site-header nav > ul {
    display: none;
    order: 10;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 0 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), opacity var(--transition-base);
    opacity: 0;
  }

  #site-header nav > ul.open {
    display: flex;
    max-height: 600px;
    opacity: 1;
  }

  #site-header nav > ul li a {
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }

  #site-header nav > ul li a::after {
    display: none;
  }

  #site-header nav form[role="search"] {
    order: 2;
    flex: 1;
    min-width: 0;
  }

  #site-header nav form[role="search"] input[type="search"] {
    width: 100%;
    min-width: 0;
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  #site-header nav form[role="search"] input[type="search"]:focus {
    width: 100%;
  }

  #site-header nav form[role="search"] button[type="submit"] {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  #site-header nav > button[aria-label="暗黑模式切换"] {
    order: 4;
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  main {
    padding: 0 16px;
  }

  main > section {
    padding: 40px 0;
  }

  #hero-title {
    font-size: 1.6rem;
    letter-spacing: -0.5px;
  }

  #home > p {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .banner-carousel {
    gap: 16px;
    padding-bottom: 24px;
  }

  .banner-carousel figcaption {
    padding: 36px 20px 18px;
    font-size: 0.92rem;
  }

  .stats {
    gap: 20px;
    padding: 24px 16px;
    margin: 16px auto;
  }

  .stats span[data-count] {
    font-size: 1.4rem;
  }

  .stats {
    font-size: 0.85rem;
  }

  #brand,
  #products,
  #solutions,
  #cases,
  #news,
  #articles,
  #faq,
  #howto,
  #contact,
  #sitemap,
  #links,
  #legal {
    padding: 32px 20px;
    margin-bottom: 20px;
    border-radius: var(--radius-md);
  }

  main > section > h2 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    padding-left: 16px;
  }

  main > section > h3 {
    font-size: 1.08rem;
    margin: 22px 0 10px;
  }

  #news article,
  #articles article {
    padding: 18px 20px;
    margin-bottom: 14px;
  }

  #faq details summary {
    padding: 16px 20px;
    padding-right: 44px;
    font-size: 0.95rem;
  }

  #faq details summary::after {
    right: 20px;
  }

  #faq details > p {
    padding: 0 20px 16px;
    font-size: 0.9rem;
  }

  #cases blockquote {
    padding: 20px 20px 20px 48px;
  }

  #cases blockquote::before {
    left: 12px;
    font-size: 2.4rem;
  }

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

  #sitemap ul li a,
  #links ul li a {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  footer {
    padding: 36px 16px 24px;
    margin-top: 32px;
  }

  footer p:first-child {
    font-size: 1rem;
  }

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

@media (max-width: 480px) {
  #hero-title {
    font-size: 1.35rem;
  }

  #home > p {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  .banner-carousel figure img {
    aspect-ratio: 16 / 9;
  }

  .banner-carousel figcaption {
    padding: 28px 16px 14px;
    font-size: 0.85rem;
  }

  .stats {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .stats span[data-count] {
    font-size: 1.3rem;
  }

  main > section > h2 {
    font-size: 1.25rem;
  }

  #brand,
  #products,
  #solutions,
  #cases,
  #news,
  #articles,
  #faq,
  #howto,
  #contact,
  #sitemap,
  #links,
  #legal {
    padding: 24px 16px;
  }

  #sitemap ul,
  #links ul {
    grid-template-columns: 1fr 1fr;
  }
}

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

@media print {
  #site-header,
  body > button[aria-label="返回顶部"],
  footer::before {
    display: none;
  }

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

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