:root {
  --bg: #0f0f1a;
  --bg-2: #1a1a2e;
  --bg-3: #16213e;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --text: #e8e8f0;
  --text-dim: #a0a0b8;
  --text-mute: #6c6c88;
  --primary: #7c5cff;
  --primary-2: #b45cff;
  --accent: #ff5c8a;
  --accent-2: #ffb45c;
  --grad-hero: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 40%, #3e1f5c 70%, #1a1a2e 100%);
  --grad-primary: linear-gradient(135deg, #7c5cff 0%, #b45cff 50%, #ff5c8a 100%);
  --grad-card: linear-gradient(145deg, rgba(124, 92, 255, 0.12), rgba(180, 92, 255, 0.06));
  --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(124, 92, 255, 0.3);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --blur: blur(16px);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --max-w: 1200px;
  --header-h: 64px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f4fb;
    --bg-2: #ffffff;
    --bg-3: #ececf8;
    --surface: rgba(255, 255, 255, 0.75);
    --surface-2: rgba(255, 255, 255, 0.9);
    --border: rgba(124, 92, 255, 0.15);
    --text: #1a1a2e;
    --text-dim: #4a4a68;
    --text-mute: #8a8aa8;
    --grad-hero: linear-gradient(135deg, #ececf8 0%, #e0d8f8 40%, #f0e0f8 70%, #ececf8 100%);
    --grad-card: linear-gradient(145deg, rgba(124, 92, 255, 0.08), rgba(180, 92, 255, 0.04));
    --shadow-sm: 0 2px 8px rgba(124, 92, 255, 0.1);
    --shadow-md: 0 8px 24px rgba(124, 92, 255, 0.12);
    --shadow-lg: 0 16px 48px rgba(124, 92, 255, 0.15);
    --shadow-glow: 0 0 32px rgba(124, 92, 255, 0.18);
  }
}

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

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

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(124, 92, 255, 0.15), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(255, 92, 138, 0.1), transparent 60%),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(180, 92, 255, 0.08), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

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

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

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

ul,
ol {
  list-style: none;
}

::selection {
  background: rgba(124, 92, 255, 0.4);
  color: #fff;
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  border-radius: 8px;
  border: 2px solid var(--bg-2);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary-2), var(--accent));
}

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

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 15, 26, 0.72);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

@media (prefers-color-scheme: light) {
  header {
    background: rgba(255, 255, 255, 0.72);
  }
}

header > div {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

header > div > a {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  position: relative;
  transition: transform 0.3s var(--ease-bounce);
}

header > div > a:hover {
  transform: scale(1.05);
}

header > div > a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

header > div > a:hover::after {
  transform: scaleX(1);
}

nav[aria-label="主导航"] {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

nav[aria-label="主导航"] ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

nav[aria-label="主导航"] ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: var(--radius-sm);
  position: relative;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}

nav[aria-label="主导航"] ul li a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-sm);
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  z-index: -1;
}

nav[aria-label="主导航"] ul li a:hover {
  color: #fff;
}

nav[aria-label="主导航"] ul li a:hover::before {
  opacity: 1;
}

/* ===== MAIN ===== */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ===== BREADCRUMB ===== */
nav[aria-label="面包屑导航"] {
  padding: 20px 0 8px;
}

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

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

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

nav[aria-label="面包屑导航"] ol li a {
  color: var(--text-dim);
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface);
  transition: all 0.25s var(--ease);
}

nav[aria-label="面包屑导航"] ol li a:hover {
  color: var(--primary);
  background: var(--surface-2);
  transform: translateY(-1px);
}

/* ===== SECTIONS ===== */
section {
  margin-top: 56px;
  opacity: 0;
  transform: translateY(32px);
  animation: fadeUp 0.7s var(--ease) forwards;
}

section:nth-of-type(1) { animation-delay: 0.05s; }
section:nth-of-type(2) { animation-delay: 0.1s; }
section:nth-of-type(3) { animation-delay: 0.15s; }
section:nth-of-type(4) { animation-delay: 0.2s; }
section:nth-of-type(5) { animation-delay: 0.25s; }
section:nth-of-type(6) { animation-delay: 0.3s; }
section:nth-of-type(7) { animation-delay: 0.35s; }
section:nth-of-type(8) { animation-delay: 0.4s; }
section:nth-of-type(9) { animation-delay: 0.45s; }
section:nth-of-type(10) { animation-delay: 0.5s; }
section:nth-of-type(11) { animation-delay: 0.55s; }
section:nth-of-type(12) { animation-delay: 0.6s; }
section:nth-of-type(13) { animation-delay: 0.65s; }
section:nth-of-type(14) { animation-delay: 0.7s; }
section:nth-of-type(15) { animation-delay: 0.75s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section > h2 {
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  padding-left: 16px;
  position: relative;
  line-height: 1.3;
}

section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 1.1em;
  border-radius: 3px;
  background: var(--grad-primary);
  box-shadow: var(--shadow-glow);
}

section > h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

section > h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-primary);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(124, 92, 255, 0.6);
}

section > p {
  color: var(--text-dim);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

/* ===== HERO ===== */
#hero {
  background: var(--grad-hero);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  margin-top: 24px;
}

#hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.25), transparent 70%);
  border-radius: 50%;
  animation: floatOrb 12s ease-in-out infinite;
  pointer-events: none;
}

#hero::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 92, 138, 0.18), transparent 70%);
  border-radius: 50%;
  animation: floatOrb 15s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

#hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #fff 0%, #d8c8ff 50%, #ffc8e0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 20px rgba(124, 92, 255, 0.2);
}

@media (prefers-color-scheme: light) {
  #hero h1 {
    background: linear-gradient(135deg, #1a1a2e 0%, #5c3cff 50%, #ff5c8a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

#hero p {
  position: relative;
  z-index: 1;
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.85;
  margin-bottom: 16px;
  max-width: 900px;
}

#hero p:last-child {
  margin-bottom: 0;
  padding: 20px 24px;
  background: var(--surface);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
}

/* ===== CARDS (brand / products / solutions / cases) ===== */
#brand,
#products,
#solutions,
#cases,
#news,
#articles,
#faq,
#howto,
#knowledge,
#contact,
#sitemap,
#links,
#legal,
#meta-info {
  background: var(--grad-card);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

#brand:hover,
#products:hover,
#solutions:hover,
#cases:hover,
#news:hover,
#articles:hover,
#faq:hover,
#howto:hover,
#knowledge:hover,
#contact:hover,
#sitemap:hover,
#links:hover,
#legal:hover,
#meta-info:hover {
  border-color: rgba(124, 92, 255, 0.3);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* ===== ARTICLES ===== */
#articles article {
  background: var(--surface);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

#articles article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--grad-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}

#articles article:hover {
  transform: translateX(6px);
  background: var(--surface-2);
  border-color: rgba(124, 92, 255, 0.35);
  box-shadow: var(--shadow-md);
}

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

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

#articles article h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
  transition: color 0.25s var(--ease);
}

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

#articles article p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

#articles article p:first-of-type {
  font-size: 0.8rem;
  color: var(--text-mute);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: var(--surface);
  border-radius: 20px;
  margin-bottom: 12px;
}

#articles article p:first-of-type::before {
  content: "📅";
  font-size: 0.75rem;
}

#articles article p:last-of-type a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--grad-primary);
  color: #fff;
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s var(--ease);
  box-shadow: 0 4px 12px rgba(124, 92, 255, 0.3);
}

#articles article p:last-of-type a::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

#articles article p:last-of-type a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 92, 255, 0.45);
  color: #fff;
}

#articles article p:last-of-type a:hover::after {
  transform: translateX(4px);
}

/* ===== FAQ ===== */
#faq h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 20px 0 8px;
  padding: 14px 18px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: default;
  transition: all 0.3s var(--ease);
  position: relative;
  padding-left: 48px;
}

#faq h3::before {
  content: "Q";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: #fff;
  background: var(--grad-primary);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(124, 92, 255, 0.4);
}

#faq h3:hover {
  background: var(--surface-2);
  border-color: rgba(124, 92, 255, 0.3);
  transform: translateX(4px);
}

#faq h3 + p {
  padding: 0 18px 16px 48px;
  color: var(--text-dim);
  font-size: 0.9rem;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 4px;
}

/* ===== HOWTO ===== */
#howto h3 {
  margin-top: 24px;
}

#howto p {
  color: var(--text-dim);
  font-size: 0.92rem;
  padding: 12px 18px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
  margin-bottom: 12px;
  transition: all 0.3s var(--ease);
}

#howto p:hover {
  background: var(--surface-2);
  transform: translateX(4px);
}

/* ===== KNOWLEDGE ===== */
#knowledge h3 {
  margin-top: 24px;
}

#knowledge p {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

/* ===== CONTACT ===== */
#contact p {
  color: var(--text-dim);
  font-size: 0.92rem;
  padding: 10px 16px;
  margin-bottom: 8px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
  display: flex;
  align-items: center;
  gap: 10px;
}

#contact p:hover {
  background: var(--surface-2);
  border-color: rgba(124, 92, 255, 0.3);
  transform: translateX(4px);
}

/* ===== SITEMAP & LINKS ===== */
#sitemap ul,
#links ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

#sitemap ul li a,
#links ul li a {
  display: block;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-size: 0.88rem;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

#sitemap ul li a::before,
#links ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: -1;
}

#sitemap ul li a:hover,
#links ul li a:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(124, 92, 255, 0.3);
}

#sitemap ul li a:hover::before,
#links ul li a:hover::before {
  opacity: 1;
}

/* ===== LEGAL ===== */
#legal h2 {
  font-size: 1.15rem;
  margin-top: 24px;
  margin-bottom: 12px;
  padding-left: 14px;
}

#legal h2:first-child {
  margin-top: 0;
}

#legal h2::before {
  height: 0.9em;
  width: 4px;
}

#legal p {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 10px;
  padding-left: 14px;
  border-left: 2px solid var(--border);
}

/* ===== META INFO ===== */
#meta-info p {
  color: var(--text-mute);
  font-size: 0.85rem;
  margin-bottom: 6px;
  display: flex;
  gap: 8px;
}

#meta-info p::before {
  content: "•";
  color: var(--primary);
  font-weight: 900;
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 600px;
  height: 1px;
  background: var(--grad-primary);
  opacity: 0.5;
}

footer p {
  color: var(--text-mute);
  font-size: 0.82rem;
  margin-bottom: 10px;
  line-height: 1.8;
}

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

footer a {
  color: var(--text-dim);
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.25s var(--ease);
}

footer a:hover {
  color: var(--primary);
  background: var(--surface);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  header > div {
    padding: 0 16px;
    gap: 12px;
  }

  nav[aria-label="主导航"] ul {
    gap: 2px;
  }

  nav[aria-label="主导航"] ul li a {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  main {
    padding: 0 16px 60px;
  }

  #hero {
    padding: 40px 28px;
  }

  #brand,
  #products,
  #solutions,
  #cases,
  #news,
  #articles,
  #faq,
  #howto,
  #knowledge,
  #contact,
  #sitemap,
  #links,
  #legal,
  #meta-info {
    padding: 28px 22px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 56px;
  }

  header > div {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 16px;
    gap: 8px;
  }

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

  nav[aria-label="主导航"] {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  nav[aria-label="主导航"]::-webkit-scrollbar {
    display: none;
  }

  nav[aria-label="主导航"] ul {
    flex-wrap: nowrap;
    gap: 4px;
  }

  nav[aria-label="主导航"] ul li a {
    padding: 6px 12px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  main {
    padding: 0 14px 48px;
  }

  section {
    margin-top: 36px;
  }

  section > h2 {
    font-size: 1.3rem;
    margin-bottom: 18px;
    padding-left: 14px;
  }

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

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

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

  #hero p:last-child {
    padding: 16px 18px;
  }

  #brand,
  #products,
  #solutions,
  #cases,
  #news,
  #articles,
  #faq,
  #howto,
  #knowledge,
  #contact,
  #sitemap,
  #links,
  #legal,
  #meta-info {
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }

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

  #articles article:hover {
    transform: translateX(0) translateY(-2px);
  }

  #faq h3 {
    font-size: 0.92rem;
    padding: 12px 14px 12px 44px;
  }

  #faq h3::before {
    left: 12px;
    width: 22px;
    height: 22px;
  }

  #faq h3 + p {
    padding: 0 14px 14px 44px;
    font-size: 0.85rem;
  }

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

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

  footer {
    padding: 28px 16px;
  }
}

@media (max-width: 480px) {
  header > div > a {
    font-size: 1rem;
  }

  #hero {
    padding: 26px 16px;
  }

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

  section > h2 {
    font-size: 1.15rem;
  }

  #brand,
  #products,
  #solutions,
  #cases,
  #news,
  #articles,
  #faq,
  #howto,
  #knowledge,
  #contact,
  #sitemap,
  #links,
  #legal,
  #meta-info {
    padding: 18px 14px;
  }

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

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

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

/* ===== PRINT ===== */
@media print {
  header,
  footer,
  nav[aria-label="面包屑导航"],
  #sitemap,
  #links {
    display: none;
  }

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

  body::before {
    display: none;
  }

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

  #hero {
    background: #f5f5f5;
    box-shadow: none;
  }

  #hero h1 {
    -webkit-text-fill-color: #000;
    color: #000;
  }
}