:root {
  --primary: #1a3a6b;
  --primary-light: #2e5ea8;
  --primary-lighter: #3a7bd5;
  --primary-lightest: #4a90e2;
  --accent: #5ba0f0;
  --accent-glow: #7ab8ff;
  --bg: #f0f4fa;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-border: rgba(255, 255, 255, 0.45);
  --text: #1a2233;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border: rgba(26, 58, 107, 0.1);
  --shadow-sm: 0 2px 8px rgba(26, 58, 107, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 58, 107, 0.1);
  --shadow-lg: 0 16px 48px rgba(26, 58, 107, 0.14);
  --shadow-glow: 0 0 32px rgba(58, 123, 213, 0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --gradient-hero: linear-gradient(135deg, #0f2447 0%, #1a3a6b 30%, #2e5ea8 65%, #4a90e2 100%);
  --gradient-accent: linear-gradient(135deg, #3a7bd5, #5ba0f0, #7ab8ff);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(240,244,250,0.9));
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 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;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120;
    --bg-card: #131c31;
    --bg-glass: rgba(19, 28, 49, 0.78);
    --bg-glass-border: rgba(91, 160, 240, 0.15);
    --text: #e2e8f0;
    --text-secondary: #a0aec0;
    --text-muted: #64748b;
    --border: rgba(91, 160, 240, 0.12);
    --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 40px rgba(58, 123, 213, 0.2);
    --gradient-hero: linear-gradient(135deg, #060d1a 0%, #0f2447 30%, #1a3a6b 65%, #2e5ea8 100%);
    --gradient-card: linear-gradient(145deg, rgba(19,28,49,0.95), rgba(11,17,32,0.9));
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -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-smooth), color var(--transition-smooth);
}

::selection {
  background: rgba(58, 123, 213, 0.3);
  color: var(--text);
}

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

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

::-webkit-scrollbar-thumb {
  background: rgba(58, 123, 213, 0.35);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(58, 123, 213, 0.55);
}

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

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

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

img,
svg {
  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);
  transition: color var(--transition-smooth);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4 { font-size: clamp(1.05rem, 1.8vw, 1.2rem); }

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

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

address {
  font-style: normal;
}

/* ===== HEADER & NAV ===== */
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: background var(--transition-smooth), box-shadow var(--transition-smooth);
}

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

header nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

header nav > div a {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: filter var(--transition-fast);
}

header nav > div a:hover {
  filter: brightness(1.2);
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

header nav ul li a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.875rem;
  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), transform var(--transition-fast);
}

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

header nav ul li a:hover {
  color: var(--primary-lighter);
  background: rgba(58, 123, 213, 0.08);
  transform: translateY(-1px);
}

header nav ul li a:hover::after {
  width: 60%;
  left: 20%;
}

/* ===== BREADCRUMB ===== */
main > nav[aria-label="面包屑导航"] {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px 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 + li::before {
  content: '/';
  color: var(--text-muted);
  opacity: 0.5;
}

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

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

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

/* ===== MAIN LAYOUT ===== */
main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

main section {
  margin-bottom: 64px;
  animation: fadeInUp 0.7s ease-out 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 float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(58, 123, 213, 0.2); }
  50% { box-shadow: 0 0 40px rgba(58, 123, 213, 0.4); }
}

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

/* ===== SECTION HEADINGS ===== */
main section > h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 32px;
  padding-bottom: 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

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

main section:hover > h2::after {
  width: 100%;
}

main section > h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--primary);
  position: relative;
  padding-left: 16px;
}

main section > h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1.1em;
  background: var(--gradient-accent);
  border-radius: 2px;
}

main section > h4 {
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--primary-lighter);
}

/* ===== HERO ===== */
#hero {
  position: relative;
  margin-top: 24px;
  padding: 56px 40px;
  border-radius: var(--radius-xl);
  background: var(--gradient-hero);
  color: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

#hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(122, 184, 255, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(91, 160, 240, 0.1) 0%, transparent 50%);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  background-size: 200% 100%;
  animation: shimmer 6s linear infinite;
  pointer-events: none;
}

#hero h1 {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

#hero > p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  max-width: 860px;
  margin-bottom: 32px;
  line-height: 1.85;
}

#hero figure {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

#hero figure:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

#hero figure svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

#hero figcaption {
  padding: 14px 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  letter-spacing: 0.02em;
}

/* ===== CARDS (通用内容区块) ===== */
#about,
#products,
#advantages,
#solutions,
#applications,
#cases,
#testimonials,
#news,
#articles,
#faq,
#howto,
#contact,
#sitemap,
#links,
#editorial {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth), border-color var(--transition-smooth);
}

#about:hover,
#products:hover,
#advantages:hover,
#solutions:hover,
#applications:hover,
#cases:hover,
#testimonials:hover,
#news:hover,
#articles:hover,
#faq:hover,
#howto:hover,
#contact:hover,
#sitemap:hover,
#links:hover,
#editorial:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(58, 123, 213, 0.2);
}

/* ===== ABOUT ===== */
#about ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

#about ul li {
  padding: 12px 16px;
  background: rgba(58, 123, 213, 0.06);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary-lighter);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: background var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}

#about ul li:hover {
  background: rgba(58, 123, 213, 0.12);
  transform: translateX(4px);
  border-color: var(--accent);
}

/* ===== PRODUCTS ===== */
#products h3 {
  margin-top: 36px;
  padding: 16px 20px;
  background: var(--gradient-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
}

#products h3:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

#products h3::before {
  display: none;
}

#products p {
  padding-left: 4px;
}

/* ===== ADVANTAGES ===== */
#advantages {
  background: var(--gradient-card);
}

#advantages h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

#advantages h3::before {
  content: '◆';
  font-size: 0.7em;
  color: var(--accent);
  background: none;
  position: static;
  transform: none;
  width: auto;
  height: auto;
}

/* ===== SOLUTIONS ===== */
#solutions h3 {
  padding: 14px 18px;
  background: rgba(58, 123, 213, 0.05);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary-lighter);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

#solutions h3:hover {
  background: rgba(58, 123, 213, 0.1);
  border-color: var(--accent);
}

#solutions h3::before {
  display: none;
}

/* ===== APPLICATIONS ===== */
#applications {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

#applications > h2 {
  grid-column: 1 / -1;
}

#applications h3 {
  margin-top: 0;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth), border-color var(--transition-smooth);
}

#applications h3:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(58, 123, 213, 0.25);
}

#applications h3::before {
  display: none;
}

#applications p {
  padding: 0 4px;
}

/* ===== CASES ===== */
#cases h3 {
  margin-top: 32px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(58, 123, 213, 0.08), rgba(91, 160, 240, 0.04));
  border-radius: var(--radius-md);
  border: 1px solid rgba(58, 123, 213, 0.12);
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

#cases h3:hover {
  border-color: rgba(58, 123, 213, 0.3);
  box-shadow: var(--shadow-sm);
}

#cases h3::before {
  display: none;
}

/* ===== TESTIMONIALS ===== */
#testimonials blockquote {
  position: relative;
  margin: 20px 0;
  padding: 24px 28px 24px 56px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth), border-color var(--transition-smooth);
}

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

#testimonials blockquote:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(58, 123, 213, 0.2);
}

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

#testimonials blockquote cite {
  display: block;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--text-muted);
  text-align: right;
}

/* ===== NEWS & ARTICLES ===== */
#news article,
#articles article {
  padding: 24px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth), border-color var(--transition-smooth);
}

#news article:hover,
#articles article:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(58, 123, 213, 0.2);
}

#news article h3,
#articles article h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 1.15rem;
}

#news article h3::before,
#articles article h3::before {
  display: none;
}

#news article time,
#articles article time {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding: 2px 10px;
  background: rgba(58, 123, 213, 0.08);
  border-radius: 12px;
}

#news article p,
#articles article p {
  font-size: 0.92rem;
  line-height: 1.75;
}

#news article a,
#articles article a {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-lighter);
  position: relative;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

#news article a::after,
#articles article a::after {
  content: ' →';
  transition: transform var(--transition-fast);
  display: inline-block;
}

#news article a:hover,
#articles article a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

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

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

#faq details:hover {
  border-color: rgba(58, 123, 213, 0.2);
  box-shadow: var(--shadow-sm);
}

#faq details[open] {
  border-color: rgba(58, 123, 213, 0.25);
  box-shadow: var(--shadow-md);
}

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

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

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

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

#faq summary:hover {
  background: rgba(58, 123, 213, 0.05);
  color: var(--primary-lighter);
}

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

/* ===== HOWTO ===== */
#howto ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

#howto ul li {
  padding: 12px 16px;
  background: rgba(58, 123, 213, 0.05);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary-lighter);
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

#howto ul li:hover {
  background: rgba(58, 123, 213, 0.1);
  transform: translateX(3px);
}

#howto h4 {
  margin-top: 24px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(58, 123, 213, 0.1), rgba(91, 160, 240, 0.05));
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 1rem;
}

/* ===== CONTACT ===== */
#contact address {
  padding: 24px;
  background: rgba(58, 123, 213, 0.04);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin: 16px 0;
}

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

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

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

#contact ul li {
  padding: 14px 18px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

#contact ul li:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* ===== SITEMAP ===== */
#sitemap > ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}

#sitemap > ul > li {
  padding: 10px 14px;
  background: rgba(58, 123, 213, 0.04);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

#sitemap > ul > li:hover {
  background: rgba(58, 123, 213, 0.1);
}

#sitemap > ul > li > a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-lighter);
}

#sitemap ul ul {
  margin-top: 6px;
  padding-left: 12px;
  border-left: 2px solid rgba(58, 123, 213, 0.15);
}

#sitemap ul ul li {
  padding: 3px 0;
}

#sitemap ul ul li a {
  font-size: 0.82rem;
  color: var(--text-muted);
}

#sitemap ul ul li a:hover {
  color: var(--primary-lighter);
}

/* ===== LINKS ===== */
#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#links ul li a {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(58, 123, 213, 0.06);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
}

#links ul li a:hover {
  background: var(--gradient-accent);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(58, 123, 213, 0.3);
}

/* ===== EDITORIAL ===== */
#editorial p {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--gradient-hero);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 24px 32px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 160, 240, 0.5), transparent);
}

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

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

footer > section h2 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

footer > section p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 0;
}

footer > p {
  max-width: 1280px;
  margin: 0 auto 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

footer > p a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  transition: color var(--transition-fast);
}

footer > p a:hover {
  color: #ffffff;
}

footer > p:last-child {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  header nav {
    flex-direction: column;
    padding: 12px 20px;
    min-height: auto;
    gap: 8px;
  }

  header nav ul {
    justify-content: center;
    gap: 2px;
  }

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

  #hero {
    padding: 40px 28px;
  }

  #applications {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 120px;
  }

  body {
    font-size: 15px;
  }

  main {
    padding: 0 16px 60px;
  }

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

  main section {
    margin-bottom: 40px;
  }

  #about,
  #products,
  #advantages,
  #solutions,
  #applications,
  #cases,
  #testimonials,
  #news,
  #articles,
  #faq,
  #howto,
  #contact,
  #sitemap,
  #links,
  #editorial {
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }

  #hero {
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    margin-top: 16px;
  }

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

  #hero > p {
    font-size: 0.9rem;
  }

  #hero figure {
    border-radius: var(--radius-md);
  }

  #hero figcaption {
    font-size: 0.78rem;
    padding: 10px 14px;
  }

  #applications {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

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

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

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

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

  #testimonials blockquote::before {
    font-size: 2.5rem;
    left: 14px;
    top: 8px;
  }

  footer {
    padding: 40px 16px 24px;
  }

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

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

@media (max-width: 480px) {
  header nav ul li a {
    padding: 5px 8px;
    font-size: 0.75rem;
  }

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

  #hero {
    padding: 24px 16px;
  }

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

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

  #links ul {
    flex-direction: column;
  }

  #links ul li a {
    display: block;
    text-align: center;
  }

  #faq summary {
    padding: 14px 18px;
    padding-right: 40px;
    font-size: 0.88rem;
  }

  #faq summary::after {
    right: 16px;
  }

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

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

/* ===== REDUCED MOTION ===== */
@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;
  }
}

/* ===== PRINT ===== */
@media print {
  header,
  footer,
  #sitemap,
  #links {
    display: none;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

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