:root {
  --primary: #FF8C42;
  --primary-dark: #E07020;
  --primary-light: #FFB380;
  --primary-bg: #FFF5E6;
  --secondary: #4A90D9;
  --secondary-dark: #2E6BA8;
  --secondary-light: #B3D9F2;
  --accent: #5CB85C;
  --accent-dark: #3A8A3A;
  --accent-light: #B8E6B8;
  --bg: #FFFBF5;
  --bg-alt: #FFF5E6;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-border: rgba(255, 255, 255, 0.5);
  --text: #2D2A26;
  --text-secondary: #6B6560;
  --text-muted: #9E9790;
  --border: #F0E8DE;
  --border-light: #F7F0E8;
  --shadow-sm: 0 2px 8px rgba(255, 140, 66, 0.08);
  --shadow-md: 0 4px 20px rgba(255, 140, 66, 0.12);
  --shadow-lg: 0 8px 40px rgba(255, 140, 66, 0.16);
  --shadow-xl: 0 16px 60px rgba(255, 140, 66, 0.2);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
  --max-width: 1200px;
  --max-width-narrow: 900px;
}

[data-theme="dark"] {
  --primary: #FF9F5A;
  --primary-dark: #FF8C42;
  --primary-light: #FFB380;
  --primary-bg: #2A1F14;
  --secondary: #5BA3E8;
  --secondary-dark: #4A90D9;
  --secondary-light: #1E3A5C;
  --accent: #6ECF6E;
  --accent-dark: #5CB85C;
  --accent-light: #1A3A1A;
  --bg: #1A1614;
  --bg-alt: #221E1A;
  --bg-card: #2A2520;
  --bg-glass: rgba(42, 37, 32, 0.8);
  --bg-glass-border: rgba(255, 159, 90, 0.15);
  --text: #F0EAE4;
  --text-secondary: #B8AFA6;
  --text-muted: #7A736C;
  --border: #3A342E;
  --border-light: #2E2822;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -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);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
}

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

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

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

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

ul,
ol {
  list-style: none;
}

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

::-webkit-scrollbar-track {
  background: var(--bg-alt);
}

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

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

/* ==================== 顶部导航栏 ==================== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  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: background var(--transition-base), box-shadow var(--transition-base);
}

#site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: var(--bg-glass);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-area a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}

.logo-area svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.logo-area a:hover svg {
  transform: rotate(-8deg) scale(1.08);
}

.site-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

#main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

#main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

#main-nav a:hover {
  color: var(--primary);
  background: var(--primary-bg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.header-actions button:hover {
  color: var(--primary);
  background: var(--primary-bg);
  transform: scale(1.05);
}

.header-actions button:active {
  transform: scale(0.95);
}

#mobile-menu-toggle {
  display: none;
}

#search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 16px 24px;
  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);
  animation: slideDown 0.3s ease;
}

#search-panel[hidden] {
  display: none;
}

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

#search-panel form {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 12px;
}

#search-panel input {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

#search-panel input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 140, 66, 0.15);
}

#search-panel input::placeholder {
  color: var(--text-muted);
}

#search-panel button {
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

#search-panel button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==================== 面包屑导航 ==================== */
#breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--header-height) + 20px) 24px 0;
}

#breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

#breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

#breadcrumb li:not(:last-child)::after {
  content: "/";
  color: var(--text-muted);
  opacity: 0.5;
}

#breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

#breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 500;
}

/* ==================== 首屏Banner轮播 ==================== */
#hero-banner {
  position: relative;
  max-width: var(--max-width);
  margin: 24px auto 0;
  padding: 0 24px;
  overflow: hidden;
}

.banner-slides {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 2 / 1;
  background: var(--bg-alt);
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.05);
}

.banner-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.banner-slide svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.banner-dots button {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all var(--transition-base);
  padding: 0;
}

.banner-dots button:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.banner-dots button[aria-selected="true"] {
  width: 32px;
  background: var(--primary);
  border-color: var(--primary);
}

/* ==================== 通用Section样式 ==================== */
main > section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 24px;
}

main > section:nth-child(even) {
  background: transparent;
}

section h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--text);
  position: relative;
  padding-left: 20px;
}

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

section h3 {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 650;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text);
}

section h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

section p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

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

section .lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text);
  line-height: 1.85;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  margin-bottom: 24px;
}

/* ==================== 品牌介绍 ==================== */
#brand-intro {
  padding-top: 56px;
}

#brand-intro h1 {
  text-align: center;
  margin-bottom: 32px;
}

#brand-intro p {
  max-width: var(--max-width-narrow);
  margin-left: auto;
  margin-right: auto;
}

/* ==================== 企业简介 ==================== */
#company-profile {
  background: var(--bg-alt);
  border-radius: var(--radius-xl);
  max-width: calc(var(--max-width) - 48px);
  margin-left: auto;
  margin-right: auto;
}

/* ==================== 品牌历史时间线 ==================== */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: var(--radius-full);
  background: linear-gradient(180deg, var(--primary), var(--primary-light), var(--secondary));
}

.timeline article {
  position: relative;
  padding: 20px 24px;
  margin-bottom: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.timeline article:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.timeline article::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px var(--primary-bg);
  transition: all var(--transition-base);
}

.timeline article:hover::before {
  background: var(--primary);
  transform: scale(1.2);
}

.timeline article h3 {
  color: var(--primary-dark);
  font-weight: 700;
}

/* ==================== 企业文化 ==================== */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.culture-grid article {
  padding: 28px 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.culture-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.culture-grid article:hover::before {
  transform: scaleX(1);
}

.culture-grid article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.culture-grid article h3 {
  color: var(--primary-dark);
  margin-bottom: 10px;
}

/* ==================== 主营产品 ==================== */
#products article {
  padding: 28px;
  margin-bottom: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

#products article::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--primary-bg);
  opacity: 0;
  transition: opacity var(--transition-base), transform var(--transition-base);
  transform: scale(0.5);
}

#products article:hover::after {
  opacity: 1;
  transform: scale(1);
}

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

#products article h3 {
  color: var(--primary-dark);
  position: relative;
  z-index: 1;
}

#products article p {
  position: relative;
  z-index: 1;
}

/* ==================== 产品优势 ==================== */
.advantage-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.advantage-list article {
  padding: 28px 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
}

.advantage-list article::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 4px;
  height: 0;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  transition: height var(--transition-base);
}

.advantage-list article:hover::before {
  height: calc(100% - 48px);
}

.advantage-list article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.advantage-list article h3 {
  color: var(--primary-dark);
  padding-left: 12px;
}

.advantage-list article p {
  padding-left: 12px;
}

/* ==================== 解决方案 ==================== */
#solutions article {
  padding: 28px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-alt));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

#solutions article h3 {
  color: var(--secondary-dark);
}

/* ==================== 行业应用 ==================== */
#industry-applications article {
  padding: 28px;
  margin-bottom: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

#industry-applications article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-light), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

#industry-applications article:hover::before {
  opacity: 0.4;
}

#industry-applications article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

#industry-applications article h3 {
  color: var(--accent-dark);
  position: relative;
  z-index: 1;
}

#industry-applications article p {
  position: relative;
  z-index: 1;
}

/* ==================== 客户案例 ==================== */
#cases article {
  padding: 28px;
  margin-bottom: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border-left: 4px solid var(--primary);
}

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

#cases article h3 {
  color: var(--primary-dark);
}

/* ==================== 客户评价 ==================== */
#testimonials article {
  margin-bottom: 28px;
}

#testimonials article > h3 {
  margin-bottom: 16px;
  color: var(--text);
}

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

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

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

#testimonials blockquote p {
  font-style: italic;
  color: var(--text);
  margin-bottom: 12px;
}

#testimonials blockquote footer {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: normal;
}

/* ==================== 新闻中心 ==================== */
#news article {
  padding: 24px 28px;
  margin-bottom: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

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

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

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

#news article time {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* ==================== 技术文章 ==================== */
#articles article {
  padding: 24px 28px;
  margin-bottom: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

#articles article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-light);
}

#articles article h3 {
  color: var(--secondary-dark);
  margin-bottom: 8px;
}

#articles article time {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

#articles article a {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

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

/* ==================== 行业知识 ==================== */
#industry-knowledge article {
  padding: 24px 28px;
  margin-bottom: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

#industry-knowledge article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

#industry-knowledge article h3 {
  color: var(--accent-dark);
}

/* ==================== FAQ ==================== */
#faq details {
  margin-bottom: 12px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

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

#faq summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  transition: background var(--transition-fast);
  position: relative;
}

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

#faq summary::before {
  content: "+";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: var(--primary-bg);
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition-base);
}

#faq details[open] summary::before {
  content: "−";
  background: var(--primary);
  color: #fff;
  transform: rotate(180deg);
}

#faq summary:hover {
  background: var(--bg-alt);
}

#faq details > p {
  padding: 0 24px 20px 60px;
  animation: fadeIn 0.3s ease;
}

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

/* ==================== HowTo ==================== */
#howto article {
  padding: 24px 28px;
  margin-bottom: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

#howto article h3 {
  color: var(--primary-dark);
  margin-bottom: 14px;
}

#howto ol {
  counter-reset: step;
  padding-left: 0;
}

#howto ol > li {
  position: relative;
  padding: 20px 0 20px 56px;
  border-bottom: 1px solid var(--border-light);
  counter-increment: step;
}

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

#howto ol > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

#howto ol > li h4 {
  color: var(--text);
  font-weight: 650;
  margin-bottom: 6px;
}

#howto ul {
  padding-left: 0;
}

#howto ul li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--text-secondary);
}

#howto ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--primary);
  opacity: 0.6;
}

/* ==================== 联系我们 ==================== */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.contact-info article {
  padding: 28px 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.contact-info article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.contact-info article h3 {
  color: var(--primary-dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-bg);
}

.contact-info article p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  word-break: break-all;
}

.contact-info article a {
  font-weight: 600;
}

/* ==================== 网站地图 ==================== */
#sitemap nav ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}

#sitemap nav a {
  display: block;
  padding: 10px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

#sitemap nav a:hover {
  background: var(--primary-bg);
  color: var(--primary);
  border-color: var(--primary-light);
  transform: translateX(4px);
}

/* ==================== 友情链接 ==================== */
#friend-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#friend-links a {
  display: inline-block;
  padding: 10px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

#friend-links a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==================== 页脚 ==================== */
#site-footer {
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.footer-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  padding-left: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand h2::before {
  display: none;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-contact p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 8px;
  word-break: break-all;
}

.footer-legal,
.footer-privacy,
.footer-disclaimer,
.footer-security,
.footer-service {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 24px;
}

.footer-legal h3,
.footer-privacy h3,
.footer-disclaimer h3,
.footer-security h3,
.footer-service h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.footer-legal p,
.footer-privacy p,
.footer-disclaimer p,
.footer-security p,
.footer-service p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.footer-bottom a {
  font-weight: 600;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-bottom a:hover {
  transform: translateY(-2px);
}

/* ==================== 滚动动画 ==================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ==================== 响应式 - 平板 ==================== */
@media (max-width: 1024px) {
  #main-nav ul {
    gap: 2px;
  }

  #main-nav a {
    padding: 6px 10px;
    font-size: 0.82rem;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ==================== 响应式 - 手机 ==================== */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .logo-area svg {
    width: 36px;
    height: 36px;
  }

  .site-name {
    font-size: 1.1rem;
  }

  #main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 24px;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
    z-index: 999;
  }

  #main-nav.open {
    transform: translateX(0);
  }

  #main-nav ul {
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
  }

  #main-nav a {
    padding: 14px 20px;
    font-size: 1rem;
    border-radius: var(--radius-md);
  }

  #mobile-menu-toggle {
    display: flex;
  }

  #breadcrumb {
    padding: calc(var(--header-height) + 12px) 16px 0;
  }

  #hero-banner {
    padding: 0 16px;
    margin-top: 16px;
  }

  .banner-slides {
    border-radius: var(--radius-lg);
    aspect-ratio: 16 / 10;
  }

  main > section {
    padding: 48px 16px;
  }

  #company-profile {
    border-radius: var(--radius-lg);
    max-width: var(--max-width);
  }

  .timeline {
    padding-left: 24px;
  }

  .timeline article::before {
    left: -24px;
    width: 12px;
    height: 12px;
  }

  .culture-grid {
    grid-template-columns: 1fr;
  }

  .advantage-list {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 16px 32px;
  }

  .footer-legal,
  .footer-privacy,
  .footer-disclaimer,
  .footer-security,
  .footer-service {
    padding: 0 16px 20px;
  }

  .footer-bottom {
    padding: 16px 16px 28px;
  }

  #search-panel {
    padding: 12px 16px;
  }

  #search-panel form {
    flex-direction: column;
    gap: 8px;
  }

  #search-panel button {
    width: 100%;
  }

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

  #howto ol > li::before {
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
  }

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

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

/* ==================== 响应式 - 小手机 ==================== */
@media (max-width: 400px) {
  .site-name {
    font-size: 1rem;
  }

  .header-actions button {
    width: 36px;
    height: 36px;
  }

  section h1 {
    font-size: 1.5rem;
  }

  section h2 {
    font-size: 1.25rem;
  }

  .banner-slides {
    aspect-ratio: 4 / 3;
  }

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

  #friend-links ul {
    flex-direction: column;
  }

  #friend-links a {
    text-align: center;
  }
}

/* ==================== 减少动画偏好 ==================== */
@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 print {
  #site-header,
  #search-panel,
  .banner-dots,
  #mobile-menu-toggle,
  .header-actions,
  #site-footer .footer-bottom a {
    display: none !important;
  }

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

  main > section {
    padding: 20px 0;
    page-break-inside: avoid;
  }

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

  .banner-slides {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}