:root {
  --primary: #6c5ce7;
  --primary-light: #a29bfe;
  --primary-dark: #4834d4;
  --accent: #fd79a8;
  --accent-light: #fab1c8;
  --gradient-1: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  --gradient-2: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
  --gradient-3: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
  --gradient-hero: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  --bg-body: #f0f2f5;
  --bg-card: #ffffff;
  --bg-card-hover: #f8f9ff;
  --bg-glass: rgba(255, 255, 255, 0.75);
  --bg-glass-border: rgba(255, 255, 255, 0.3);
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #8888a0;
  --text-inverse: #ffffff;
  --border-color: rgba(108, 92, 231, 0.12);
  --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.14);
  --shadow-glow: 0 0 24px rgba(108, 92, 231, 0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --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", "Noto Sans SC", sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
  --max-width: 1200px;
  --header-height: 72px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-body: #0d0d1a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #222240;
    --bg-glass: rgba(26, 26, 46, 0.8);
    --bg-glass-border: rgba(108, 92, 231, 0.2);
    --text-primary: #e8e8f0;
    --text-secondary: #b0b0c8;
    --text-muted: #7070a0;
    --border-color: rgba(108, 92, 231, 0.18);
    --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);
    --shadow-glow: 0 0 32px rgba(108, 92, 231, 0.35);
  }
}

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

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

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;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(108, 92, 231, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(253, 121, 168, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

::selection {
  background: var(--primary);
  color: var(--text-inverse);
}

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

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

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

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

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

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

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

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

ul, ol {
  list-style: none;
}

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

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

h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--gradient-2);
  border-radius: 2px;
}

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

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

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

address {
  font-style: normal;
}

blockquote {
  margin: 0;
  padding: 0;
}

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

header:hover {
  box-shadow: var(--shadow-md);
}

header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-height);
  flex-wrap: nowrap;
}

header nav > a:first-child {
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

header nav > a:first-child:hover {
  opacity: 0.8;
}

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

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

header nav ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all var(--transition-fast);
  position: relative;
}

header nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--gradient-2);
  border-radius: 1px;
  transition: transform var(--transition-base);
}

header nav ul li a:hover {
  color: var(--primary);
  background: rgba(108, 92, 231, 0.08);
}

header nav ul li a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

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

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

header nav form[role="search"] input[type="search"] {
  width: 200px;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  outline: none;
  transition: all var(--transition-fast);
}

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

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

header nav form[role="search"] button[type="submit"] {
  padding: 8px 18px;
  font-size: 0.875rem;
  font-family: inherit;
  font-weight: 600;
  color: var(--text-inverse);
  background: var(--gradient-2);
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

header nav form[role="search"] button[type="submit"]:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

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

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

main > nav[aria-label="面包屑导航"] {
  padding: 20px 0;
}

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

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

main > nav[aria-label="面包屑导航"] ol li:not(:last-child)::after {
  content: '/';
  color: var(--text-muted);
  opacity: 0.5;
}

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

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

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

section {
  margin-bottom: 64px;
  animation: fadeInUp 0.6s ease-out both;
}

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

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

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

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

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(108, 92, 231, 0); }
}

#hero {
  position: relative;
  padding: 64px 48px;
  margin-bottom: 48px;
  border-radius: var(--radius-xl);
  background: var(--gradient-hero);
  overflow: hidden;
  color: var(--text-inverse);
  animation: fadeInUp 0.8s ease-out both;
}

#hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(253, 121, 168, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

#hero h1 {
  position: relative;
  z-index: 1;
  color: var(--text-inverse);
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

#hero p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

#hero > div {
  position: relative;
  z-index: 1;
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

#hero > div:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

#hero > div img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}

nav[aria-label="页面锚点导航"] {
  margin-bottom: 48px;
  padding: 28px 32px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: box-shadow var(--transition-base);
}

nav[aria-label="页面锚点导航"]:hover {
  box-shadow: var(--shadow-md);
}

nav[aria-label="页面锚点导航"] h2 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 0;
  color: var(--text-primary);
}

nav[aria-label="页面锚点导航"] h2::after {
  display: none;
}

nav[aria-label="页面锚点导航"] ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

nav[aria-label="页面锚点导航"] ul li a {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(108, 92, 231, 0.06);
  border: 1px solid transparent;
  border-radius: 100px;
  transition: all var(--transition-fast);
}

nav[aria-label="页面锚点导航"] ul li a:hover {
  color: var(--text-inverse);
  background: var(--gradient-2);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

#brand-intro,
#company,
#history,
#culture,
#products,
#advantages,
#solutions,
#applications,
#cases,
#testimonials,
#news,
#articles,
#knowledge,
#faq,
#howto,
#contact,
#author-info,
#sitemap,
#links {
  padding: 40px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

#brand-intro:hover,
#company:hover,
#history:hover,
#culture:hover,
#products:hover,
#advantages:hover,
#solutions:hover,
#applications:hover,
#cases:hover,
#testimonials:hover,
#news:hover,
#articles:hover,
#knowledge:hover,
#faq:hover,
#howto:hover,
#contact:hover,
#author-info:hover,
#sitemap:hover,
#links:hover {
  box-shadow: var(--shadow-md);
}

#company ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

#company ul li {
  padding: 12px 18px;
  background: rgba(108, 92, 231, 0.05);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-left: 3px solid var(--primary-light);
  transition: all var(--transition-fast);
}

#company ul li:hover {
  background: rgba(108, 92, 231, 0.1);
  border-left-color: var(--primary);
  transform: translateX(4px);
}

#history h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--gradient-2);
  color: var(--text-inverse);
  border-radius: 100px;
  font-size: 0.9rem;
  margin-top: 24px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

#history h3:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.35);
}

#history h3:first-of-type {
  margin-top: 0;
}

#history p {
  padding-left: 16px;
  border-left: 2px solid var(--border-color);
  margin-bottom: 8px;
}

#culture h3 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-top: 20px;
  margin-bottom: 8px;
}

#culture h3:first-of-type {
  margin-top: 0;
}

#culture ul {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

#culture ul li {
  padding: 14px 20px;
  background: rgba(108, 92, 231, 0.04);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

#culture ul li:hover {
  background: rgba(108, 92, 231, 0.08);
  transform: translateX(6px);
  border-left-color: var(--primary);
}

#culture ul li strong {
  color: var(--primary);
}

#products h3 {
  margin-top: 24px;
  padding-left: 16px;
  border-left: 4px solid var(--primary);
  transition: border-color var(--transition-fast), padding-left var(--transition-fast);
}

#products h3:first-of-type {
  margin-top: 0;
}

#products h3:hover {
  border-left-color: var(--accent);
  padding-left: 20px;
}

#advantages h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

#advantages h3:first-of-type {
  margin-top: 0;
}

#advantages h3::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--gradient-2);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(108, 92, 231, 0.4);
}

#advantages p {
  padding-left: 20px;
}

#solutions h3 {
  margin-top: 24px;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.06) 0%, rgba(253, 121, 168, 0.06) 100%);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

#solutions h3:first-of-type {
  margin-top: 0;
}

#solutions h3:hover {
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.12) 0%, rgba(253, 121, 168, 0.12) 100%);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

#solutions p {
  padding: 0 20px;
}

#applications h3 {
  margin-top: 24px;
  color: var(--primary-dark);
}

#applications h3:first-of-type {
  margin-top: 0;
}

#cases h3 {
  margin-top: 28px;
  padding: 10px 18px;
  background: var(--gradient-2);
  color: var(--text-inverse);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.2);
  transition: all var(--transition-fast);
}

#cases h3:first-of-type {
  margin-top: 0;
}

#cases h3:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px rgba(108, 92, 231, 0.35);
}

#cases p {
  margin-top: 8px;
  padding-left: 4px;
}

#testimonials blockquote {
  position: relative;
  margin: 20px 0;
  padding: 24px 28px 24px 48px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

#testimonials blockquote::before {
  content: '"';
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 3.5rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--primary-light);
  opacity: 0.4;
}

#testimonials blockquote:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

#testimonials blockquote p {
  margin-bottom: 0;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.8;
}

#news article,
#articles article,
#knowledge article {
  padding: 24px;
  margin-bottom: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

#news article::before,
#articles article::before,
#knowledge article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-2);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-base);
}

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

#news article:hover,
#articles article:hover,
#knowledge article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

#news article h3,
#articles article h3,
#knowledge article h3 {
  margin-bottom: 8px;
}

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

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

#news article > p:first-of-type,
#articles article > p:first-of-type,
#knowledge article > p:first-of-type {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

#news article > p:last-of-type,
#articles article > p:last-of-type,
#knowledge article > p:last-of-type {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

#news article > a:last-child,
#articles article > a:last-child,
#knowledge article > a:last-child {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 8px;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

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

#news article > a:last-child:hover,
#articles article > a:last-child:hover,
#knowledge article > a:last-child:hover {
  gap: 8px;
  color: var(--primary-dark);
}

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

#faq details {
  margin-bottom: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

#faq details:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

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

#faq details summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  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: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform var(--transition-base), color var(--transition-fast);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.08);
}

#faq details[open] summary::after {
  content: '−';
  transform: rotate(180deg);
  background: var(--gradient-2);
  color: var(--text-inverse);
}

#faq details summary:hover {
  background: rgba(108, 92, 231, 0.04);
  color: var(--primary);
}

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

#howto h3 {
  margin-top: 28px;
  padding: 10px 18px;
  background: rgba(108, 92, 231, 0.06);
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  color: var(--primary-dark);
  border-left: 4px solid var(--primary);
}

#howto h3:first-of-type {
  margin-top: 0;
}

#howto ul,
#howto ol {
  margin-top: 12px;
  padding-left: 0;
}

#howto ul li,
#howto ol li {
  position: relative;
  padding: 10px 16px 10px 36px;
  margin-bottom: 8px;
  background: rgba(108, 92, 231, 0.03);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

#howto ul li::before {
  content: '✓';
  position: absolute;
  left: 14px;
  top: 10px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
}

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

#howto ol li {
  counter-increment: step-counter;
  padding-left: 48px;
}

#howto ol li::before {
  content: counter(step-counter);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-2);
  color: var(--text-inverse);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

#howto ul li:hover,
#howto ol li:hover {
  background: rgba(108, 92, 231, 0.08);
  transform: translateX(4px);
}

#howto ul li strong,
#howto ol li strong {
  color: var(--primary);
}

#contact address {
  padding: 24px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.04) 0%, rgba(253, 121, 168, 0.04) 100%);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}

#contact address p {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

#contact address p:last-child {
  margin-bottom: 0;
}

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

#contact h3 {
  margin-top: 24px;
  margin-bottom: 12px;
}

#contact ul {
  display: grid;
  gap: 10px;
}

#contact ul li {
  position: relative;
  padding: 12px 16px 12px 40px;
  background: rgba(108, 92, 231, 0.04);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

#contact ul li::before {
  content: '◆';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-light);
  font-size: 0.6rem;
}

#contact ul li:hover {
  background: rgba(108, 92, 231, 0.08);
  transform: translateX(4px);
}

#author-info h3 {
  margin-top: 24px;
  color: var(--primary);
  font-size: 1.1rem;
}

#author-info h3:first-of-type {
  margin-top: 0;
}

#author-info p {
  padding-left: 16px;
  border-left: 2px solid var(--border-color);
}

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

#sitemap ul li a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: rgba(108, 92, 231, 0.04);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

#sitemap ul li a:hover {
  color: var(--text-inverse);
  background: var(--gradient-2);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#links ul li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  transition: all var(--transition-fast);
}

#links ul li a::before {
  content: '🔗';
  font-size: 0.8rem;
}

#links ul li a:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(108, 92, 231, 0.06);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

footer {
  background: var(--gradient-1);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 24px 32px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

footer > section {
  max-width: var(--max-width);
  margin: 0 auto 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  animation: none;
}

footer > section:last-of-type {
  border-bottom: none;
}

footer > section h2 {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 12px;
  padding-bottom: 0;
}

footer > section h2::after {
  display: none;
}

footer > section p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
}

footer > section a {
  color: var(--primary-light);
  transition: color var(--transition-fast);
}

footer > section a:hover {
  color: var(--accent-light);
}

footer > p:last-child {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  padding-top: 16px;
}

@media (max-width: 1024px) {
  header nav {
    gap: 16px;
  }

  header nav ul li a {
    padding: 8px 10px;
    font-size: 0.82rem;
  }

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

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

  #hero {
    padding: 48px 36px;
  }
}

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

  header nav {
    padding: 0 16px;
    gap: 12px;
    flex-wrap: wrap;
    height: auto;
    min-height: var(--header-height);
    padding-top: 10px;
    padding-bottom: 10px;
  }

  header nav > a:first-child {
    font-size: 1.15rem;
  }

  header nav ul {
    order: 3;
    width: 100%;
    padding-bottom: 4px;
    gap: 2px;
  }

  header nav ul li a {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  header nav form[role="search"] {
    margin-left: auto;
  }

  header nav form[role="search"] input[type="search"] {
    width: 120px;
    padding: 6px 12px;
    font-size: 0.8rem;
  }

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

  header nav form[role="search"] button[type="submit"] {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  main {
    padding: 0 16px 48px;
  }

  #hero {
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
  }

  #hero p {
    font-size: 0.95rem;
  }

  #hero > div {
    margin-top: 24px;
    border-radius: var(--radius-md);
  }

  nav[aria-label="页面锚点导航"] {
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 32px;
  }

  nav[aria-label="页面锚点导航"] ul li a {
    padding: 5px 12px;
    font-size: 0.78rem;
  }

  #brand-intro,
  #company,
  #history,
  #culture,
  #products,
  #advantages,
  #solutions,
  #applications,
  #cases,
  #testimonials,
  #news,
  #articles,
  #knowledge,
  #faq,
  #howto,
  #contact,
  #author-info,
  #sitemap,
  #links {
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }

  section {
    margin-bottom: 40px;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.05rem;
  }

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

  #testimonials blockquote {
    padding: 20px 20px 20px 40px;
  }

  #testimonials blockquote::before {
    font-size: 2.5rem;
    left: 12px;
  }

  #news article,
  #articles article,
  #knowledge article {
    padding: 18px 16px;
  }

  #faq details summary {
    padding: 14px 18px;
    font-size: 0.9rem;
  }

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

  #howto ul li,
  #howto ol li {
    padding: 8px 12px 8px 32px;
    font-size: 0.9rem;
  }

  #howto ol li {
    padding-left: 42px;
  }

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

  #links ul {
    flex-direction: column;
  }

  #links ul li a {
    width: 100%;
    justify-content: center;
  }

  footer {
    padding: 40px 16px 24px;
    margin-top: 48px;
  }

  footer > section {
    margin-bottom: 24px;
    padding-bottom: 16px;
  }

  footer > section h2 {
    font-size: 1rem;
  }

  footer > section p {
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  header nav {
    padding: 8px 12px;
  }

  header nav > a:first-child {
    font-size: 1rem;
  }

  header nav form[role="search"] input[type="search"] {
    width: 90px;
    padding: 5px 10px;
    font-size: 0.75rem;
  }

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

  header nav form[role="search"] button[type="submit"] {
    padding: 5px 10px;
    font-size: 0.75rem;
  }

  main {
    padding: 0 12px 40px;
  }

  #hero {
    padding: 28px 18px;
    border-radius: var(--radius-md);
  }

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

  #hero p {
    font-size: 0.88rem;
  }

  nav[aria-label="页面锚点导航"] {
    padding: 16px;
  }

  nav[aria-label="页面锚点导航"] ul li a {
    padding: 4px 10px;
    font-size: 0.72rem;
  }

  #brand-intro,
  #company,
  #history,
  #culture,
  #products,
  #advantages,
  #solutions,
  #applications,
  #cases,
  #testimonials,
  #news,
  #articles,
  #knowledge,
  #faq,
  #howto,
  #contact,
  #author-info,
  #sitemap,
  #links {
    padding: 20px 16px;
  }

  h2 {
    font-size: 1.15rem;
  }

  h2::after {
    width: 36px;
    height: 2px;
  }

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

  #testimonials blockquote {
    padding: 16px 16px 16px 36px;
  }

  #testimonials blockquote::before {
    font-size: 2rem;
    left: 10px;
  }
}

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

  section {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media print {
  header,
  footer,
  nav[aria-label="页面锚点导航"],
  #hero > div {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  main {
    max-width: 100%;
    padding: 0;
  }

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

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