:root {
  --bg: #0f1229;
  --bg-soft: #171b38;
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #eef1ff;
  --text-soft: #b9c0e0;
  --muted: #8b93b8;
  --primary: #7c5cff;
  --primary-2: #06d6a0;
  --accent: #ffd166;
  --danger: #ef476f;
  --link: #8f7bff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 24px 56px rgba(124, 92, 255, 0.28);
  --blur: saturate(160%) blur(14px);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f6ff;
    --bg-soft: #ffffff;
    --card: rgba(255, 255, 255, 0.72);
    --card-border: rgba(26, 31, 60, 0.08);
    --text: #1a1f3c;
    --text-soft: #3d4568;
    --muted: #6b7396;
    --primary: #5b3df5;
    --primary-2: #04b98a;
    --accent: #f0a500;
    --link: #5b3df5;
    --shadow: 0 16px 36px rgba(26, 31, 60, 0.12);
    --shadow-hover: 0 22px 50px rgba(91, 61, 245, 0.18);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 8% -8%, rgba(124, 92, 255, 0.28), transparent 60%),
    radial-gradient(1000px 520px at 100% 0%, rgba(6, 214, 160, 0.18), transparent 55%),
    radial-gradient(900px 600px at 50% 120%, rgba(239, 71, 111, 0.14), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

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

svg {
  display: block;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  line-height: 1.3;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.7rem);
  background: linear-gradient(100deg, var(--text) 10%, var(--primary) 55%, var(--primary-2) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(1.35rem, 1rem + 1.2vw, 1.9rem);
  position: relative;
  padding-left: 18px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  bottom: 0.22em;
  width: 6px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
}

h3 {
  font-size: clamp(1.08rem, 0.98rem + 0.5vw, 1.28rem);
  color: var(--text);
}

p {
  margin: 0 0 1em;
  color: var(--text-soft);
}

ul, ol {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
  color: var(--text-soft);
}

li {
  margin-bottom: 0.45em;
}

strong {
  color: var(--text);
}

time {
  display: inline-block;
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 0.6em;
}

blockquote {
  margin: 0 0 1.2em;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary-2);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-left-width: 4px;
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

blockquote p {
  margin: 0;
  color: var(--text);
}

/* ============ Header ============ */
header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(15, 18, 41, 0.62);
  border-bottom: 1px solid var(--card-border);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

@media (prefers-color-scheme: light) {
  header[role="banner"] {
    background: rgba(255, 255, 255, 0.66);
  }
}

.brand-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-bar picture {
  flex: 0 0 auto;
  display: block;
  transition: transform 0.4s var(--ease);
}

.brand-bar:hover picture {
  transform: rotate(-6deg) scale(1.06);
}

.brand-bar svg {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(124, 92, 255, 0.35);
}

.brand-bar p {
  margin: 0;
  line-height: 1.35;
  min-width: 0;
}

.brand-bar strong {
  display: block;
  font-size: 1.05rem;
  background: linear-gradient(90deg, var(--accent), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.brand-bar span {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

header nav[aria-label="主导航"] ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

header nav[aria-label="主导航"] a {
  display: inline-block;
  padding: 7px 12px;
  font-size: 0.9rem;
  color: var(--text-soft);
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.28s var(--ease);
}

header nav[aria-label="主导航"] a:hover,
header nav[aria-label="主导航"] a:focus-visible {
  color: var(--text);
  background: var(--card);
  border-color: var(--card-border);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(124, 92, 255, 0.2);
}

header form[role="search"] {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

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

header form[role="search"] input[type="search"] {
  width: 200px;
  padding: 9px 14px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  transition: width 0.35s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

header form[role="search"] input[type="search"]:focus {
  width: 250px;
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.22);
}

header form[role="search"] button {
  padding: 9px 18px;
  font-size: 0.88rem;
  font-family: inherit;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), filter 0.28s var(--ease);
  box-shadow: 0 8px 20px rgba(124, 92, 255, 0.4);
}

header form[role="search"] button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 26px rgba(124, 92, 255, 0.5);
}

/* ============ Main layout ============ */
main {
  display: block;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) clamp(16px, 4vw, 40px) 60px;
}

main > section {
  margin-bottom: clamp(36px, 6vw, 64px);
  animation: rise 0.8s var(--ease) both;
}

main > section:nth-child(2n) {
  animation-delay: 0.08s;
}

main > section:nth-child(3n) {
  animation-delay: 0.14s;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============ Hero ============ */
#hero {
  position: relative;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(135deg, rgba(124, 92, 255, 0.28), rgba(6, 214, 160, 0.16) 55%, rgba(239, 71, 111, 0.16)),
    var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
  overflow: hidden;
}

#hero::after {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.28), transparent 65%);
  pointer-events: none;
  animation: floaty 9s ease-in-out infinite alternate;
}

@keyframes floaty {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-30px, 24px, 0) scale(1.12); }
}

#hero h1 {
  max-width: 22ch;
}

#hero > p {
  max-width: 72ch;
  font-size: clamp(0.96rem, 0.92rem + 0.2vw, 1.05rem);
}

#hero figure {
  margin: 26px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

#hero figure:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-hover);
}

#hero figure svg {
  width: 100%;
  height: auto;
  display: block;
}

#hero figcaption {
  padding: 12px 18px;
  font-size: 0.84rem;
  color: var(--muted);
  background: var(--card);
  border-top: 1px solid var(--card-border);
}

#hero nav[aria-label="页面锚点导航"] ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#hero nav[aria-label="页面锚点导航"] a {
  display: inline-block;
  padding: 9px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  transition: all 0.3s var(--ease);
}

#hero nav[aria-label="页面锚点导航"] a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(124, 92, 255, 0.4);
}

/* ============ Breadcrumb ============ */
nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 12px 18px;
  font-size: 0.86rem;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

nav[aria-label="面包屑导航"] li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--muted);
  opacity: 0.6;
}

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

/* ============ Section cards ============ */
#brand-intro,
#products,
#solutions,
#cases,
#news,
#articles,
#faq,
#howto,
#contact,
#sitemap,
#links {
  padding: clamp(22px, 4vw, 40px);
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
  transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease);
}

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

#brand-intro h3,
#products h3,
#solutions h3,
#cases h3,
#news h3,
#articles h3,
#faq h3,
#howto h3,
#contact h3 {
  margin-top: 1.4em;
}

#brand-intro h3:first-of-type,
#products h3:first-of-type,
#solutions h3:first-of-type,
#cases h3:first-of-type,
#news h3:first-of-type,
#howto h3:first-of-type {
  margin-top: 0.4em;
}

/* Brand history timeline */
#brand-intro ul {
  list-style: none;
  padding-left: 0;
  position: relative;
}

#brand-intro ul li {
  position: relative;
  padding: 10px 16px 10px 34px;
  margin-bottom: 10px;
  border-radius: var(--radius-sm);
  background: rgba(124, 92, 255, 0.08);
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
}

#brand-intro ul li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.16);
}

#brand-intro ul li:hover {
  background: rgba(124, 92, 255, 0.16);
  border-color: var(--card-border);
  transform: translateX(6px);
}

/* Products grid */
#products ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

#products ul li {
  margin: 0;
  padding: 16px 18px 16px 44px;
  position: relative;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.12), rgba(124, 92, 255, 0.1));
  border: 1px solid var(--card-border);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}

#products ul li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  font-size: 0.72rem;
  text-align: center;
  color: #0f1229;
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
  border-radius: 50%;
  font-weight: 700;
}

#products ul li:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(6, 214, 160, 0.22);
  border-color: rgba(6, 214, 160, 0.4);
}

/* Solutions industry list */
#solutions ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

#solutions ul li {
  margin: 0;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--card-border);
  transition: all 0.3s var(--ease);
}

#solutions ul li:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 12px 26px rgba(124, 92, 255, 0.22);
}

/* Cases */
#cases blockquote {
  position: relative;
  padding-left: 52px;
}

#cases blockquote::before {
  content: "“";
  position: absolute;
  left: 16px;
  top: 4px;
  font-size: 2.6rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--primary-2);
  opacity: 0.7;
}

#cases h3 {
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--card-border);
}

/* News & Articles cards */
#news article,
#articles article {
  position: relative;
  padding: 20px 22px;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(124, 92, 255, 0.06));
  border: 1px solid var(--card-border);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
}

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

#news article:hover,
#articles article:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.45);
  box-shadow: 0 16px 34px rgba(124, 92, 255, 0.22);
}

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

#news article h3,
#articles article h3 {
  margin-top: 0;
  margin-bottom: 0.4em;
  font-size: 1.1rem;
}

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

#news article p,
#articles article p {
  margin-bottom: 0.6em;
}

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

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

#articles article a::after {
  content: "→";
  transition: transform 0.28s var(--ease);
}

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

/* FAQ accordion */
#faq details {
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--card-border);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

#faq details[open] {
  border-color: rgba(124, 92, 255, 0.5);
  box-shadow: 0 12px 28px rgba(124, 92, 255, 0.18);
  background: linear-gradient(160deg, rgba(124, 92, 255, 0.12), rgba(6, 214, 160, 0.06));
}

#faq summary {
  position: relative;
  padding: 16px 52px 16px 20px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease);
  user-select: none;
}

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

#faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  line-height: 24px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: rgba(124, 92, 255, 0.14);
  transition: transform 0.35s var(--ease), background 0.3s var(--ease);
}

#faq details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border-color: transparent;
}

#faq summary:hover {
  color: var(--accent);
}

#faq details p {
  padding: 0 20px 18px;
  margin: 0;
  animation: fadeIn 0.4s var(--ease);
}

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

/* HowTo */
#howto ol {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 14px 18px 14px 58px;
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--card-border);
  transition: all 0.3s var(--ease);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f1229;
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(255, 209, 102, 0.3);
}

#howto ol li:hover {
  transform: translateX(6px);
  border-color: rgba(255, 209, 102, 0.45);
  box-shadow: 0 12px 26px rgba(255, 209, 102, 0.18);
}

#howto ul {
  list-style: none;
  padding-left: 0;
}

#howto ul li {
  position: relative;
  padding-left: 24px;
}

#howto ul li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--primary-2);
  font-weight: 700;
}

/* Contact */
#contact address {
  font-style: normal;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

#contact address p {
  margin: 0;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--card-border);
  transition: all 0.3s var(--ease);
}

#contact address p:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 214, 160, 0.45);
  box-shadow: 0 12px 26px rgba(6, 214, 160, 0.18);
}

#contact address strong {
  color: var(--accent);
}

/* Sitemap & Links */
#sitemap ul,
#links ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#sitemap ul li,
#links ul li {
  margin: 0;
}

#sitemap ul a,
#links ul a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--text-soft);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  transition: all 0.28s var(--ease);
}

#sitemap ul a:hover,
#links ul a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(124, 92, 255, 0.35);
}

/* ============ Footer ============ */
footer[role="contentinfo"] {
  position: relative;
  margin-top: 20px;
  padding: clamp(28px, 5vw, 52px) clamp(16px, 4vw, 40px) 36px;
  background: linear-gradient(180deg, rgba(15, 18, 41, 0.4), rgba(15, 18, 41, 0.85));
  border-top: 1px solid var(--card-border);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

@media (prefers-color-scheme: light) {
  footer[role="contentinfo"] {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(244, 246, 255, 0.92));
  }
}

footer[role="contentinfo"] > section {
  max-width: var(--maxw);
  margin: 0 auto 26px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  transition: box-shadow 0.4s var(--ease);
}

footer[role="contentinfo"] > section:hover {
  box-shadow: var(--shadow-hover);
}

footer[role="contentinfo"] h2 {
  font-size: 1.15rem;
  margin-bottom: 0.8em;
}

footer[role="contentinfo"] h3 {
  font-size: 0.98rem;
  margin-top: 1em;
  color: var(--accent);
}

footer[role="contentinfo"] p {
  font-size: 0.9rem;
  margin-bottom: 0.6em;
}

footer[role="contentinfo"] p:last-child {
  margin-bottom: 0;
}

footer[role="contentinfo"] strong {
  color: var(--text);
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  header[role="banner"] {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand search"
      "nav nav";
    row-gap: 10px;
  }

  .brand-bar { grid-area: brand; }
  header nav[aria-label="主导航"] { grid-area: nav; }
  header form[role="search"] { grid-area: search; }

  header nav[aria-label="主导航"] ul {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  header nav[aria-label="主导航"] a {
    white-space: nowrap;
  }

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

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

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

  body {
    font-size: 15px;
  }

  header[role="banner"] {
    padding: 10px 14px;
  }

  .brand-bar svg {
    width: 40px;
    height: 40px;
  }

  .brand-bar strong {
    font-size: 0.98rem;
  }

  .brand-bar span {
    font-size: 0.7rem;
  }

  header form[role="search"] input[type="search"] {
    width: 110px;
    padding: 8px 12px;
  }

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

  header form[role="search"] button {
    padding: 8px 14px;
  }

  main {
    padding: 18px 14px 40px;
  }

  #hero {
    padding: 24px 18px;
  }

  #hero h1 {
    max-width: none;
  }

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

  #hero nav[aria-label="页面锚点导航"] a {
    padding: 8px 14px;
    font-size: 0.84rem;
  }

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

  #products ul,
  #solutions ul,
  #contact address {
    grid-template-columns: 1fr;
  }

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

  #howto ol li {
    padding: 12px 14px 12px 52px;
  }

  footer[role="contentinfo"] > section {
    padding: 18px 16px;
  }

  blockquote {
    padding: 14px 16px;
  }

  #cases blockquote {
    padding-left: 44px;
  }
}

@media (max-width: 420px) {
  .brand-bar span {
    display: none;
  }

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

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

/* Print */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  header[role="banner"],
  footer[role="contentinfo"],
  nav[aria-label="页面锚点导航"],
  nav[aria-label="面包屑导航"] {
    display: none;
  }

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

  h1, h2, h3, p, li, a {
    color: #000 !important;
    -webkit-text-fill-color: #000;
  }
}