:root {
  --primary: #6d28d9;
  --primary-light: #8b5cf6;
  --primary-lighter: #a78bfa;
  --primary-dark: #4c1d95;
  --accent: #f472b6;
  --accent-light: #fbcfe8;
  --bg: #f8f7ff;
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-glass: rgba(255, 255, 255, 0.45);
  --bg-header: rgba(248, 247, 255, 0.78);
  --text: #1e1b2e;
  --text-secondary: #4a4560;
  --text-muted: #7c7890;
  --border: rgba(109, 40, 217, 0.12);
  --border-glass: rgba(255, 255, 255, 0.55);
  --shadow-sm: 0 2px 8px rgba(76, 29, 149, 0.06);
  --shadow: 0 8px 32px rgba(76, 29, 149, 0.10);
  --shadow-lg: 0 20px 60px rgba(76, 29, 149, 0.14);
  --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.25);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --gradient-hero: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 40%, #a78bfa 70%, #f472b6 100%);
  --gradient-btn: linear-gradient(135deg, #7c3aed, #a855f7);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(245,243,255,0.7));
  --gradient-accent: linear-gradient(135deg, #f472b6, #c084fc);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0a1a;
    --bg-card: rgba(30, 24, 48, 0.72);
    --bg-glass: rgba(30, 24, 48, 0.55);
    --bg-header: rgba(15, 10, 26, 0.82);
    --text: #ede9fe;
    --text-secondary: #c4b5fd;
    --text-muted: #9d96b8;
    --border: rgba(139, 92, 246, 0.18);
    --border-glass: rgba(139, 92, 246, 0.22);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.35);
    --gradient-hero: linear-gradient(135deg, #4c1d95 0%, #6d28d9 40%, #7c3aed 70%, #be185d 100%);
    --gradient-card: linear-gradient(145deg, rgba(40, 32, 60, 0.9), rgba(25, 18, 42, 0.7));
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--transition), color var(--transition);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 5%, rgba(139, 92, 246, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 90%, rgba(244, 114, 182, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(167, 139, 250, 0.05), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

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

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

ul, ol {
  list-style: none;
}

::selection {
  background: rgba(139, 92, 246, 0.3);
  color: var(--text);
}

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

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

::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.3);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.5);
}

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

header nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1.5rem;
}

header nav > a:first-child {
  font-size: 1.25rem;
  font-weight: 800;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: opacity var(--transition);
}

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

header nav ul {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  align-items: center;
}

header nav ul li a {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: 8px;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
}

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

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

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

main {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

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

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

main > nav[aria-label="面包屑导航"] ol li + li::before {
  content: "/";
  margin-right: 0.5rem;
  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-light);
}

section {
  margin-bottom: 3rem;
  animation: fadeInUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

section:nth-child(2) { animation-delay: 0.05s; }
section:nth-child(3) { animation-delay: 0.1s; }
section:nth-child(4) { animation-delay: 0.15s; }
section:nth-child(5) { animation-delay: 0.2s; }
section:nth-child(6) { animation-delay: 0.25s; }
section:nth-child(7) { animation-delay: 0.3s; }
section:nth-child(8) { animation-delay: 0.35s; }
section:nth-child(9) { animation-delay: 0.4s; }
section:nth-child(10) { animation-delay: 0.45s; }

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

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.2); }
  50% { box-shadow: 0 0 40px rgba(139, 92, 246, 0.4); }
}

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

#hero {
  position: relative;
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  margin-top: 1rem;
  isolation: isolate;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.12), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(244,114,182,0.2), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

#hero::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

#hero > * {
  position: relative;
  z-index: 1;
}

#hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

#hero > p {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  max-width: 720px;
  opacity: 0.92;
  line-height: 1.8;
  margin-bottom: 1rem;
}

#hero > p:last-of-type {
  font-size: 0.9rem;
  opacity: 0.75;
  padding: 0.75rem 1.25rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.18);
  display: inline-block;
  margin-bottom: 1.5rem;
}

#hero figure {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

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

#hero figcaption {
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.85);
  text-align: center;
}

#brand,
#products,
#solutions,
#cases,
#news,
#articles,
#faq,
#howto,
#contact,
#sitemap,
#links,
#legal {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

#brand:hover,
#products:hover,
#solutions:hover,
#cases:hover,
#news:hover,
#articles:hover,
#faq:hover,
#howto:hover,
#contact:hover,
#sitemap:hover,
#links:hover,
#legal:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(139, 92, 246, 0.25);
}

section h2 {
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 4px;
  background: var(--gradient-btn);
  border-radius: 4px;
  transition: width var(--transition);
}

section:hover h2::after {
  width: 96px;
}

section h3 {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  color: var(--primary-light);
  margin: 1.75rem 0 0.75rem;
  letter-spacing: -0.005em;
}

section h3:first-of-type {
  margin-top: 0.5rem;
}

section p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.85;
}

section ul,
section ol {
  margin: 1rem 0 1.25rem;
  padding-left: 0;
}

section ul li,
section ol li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  transition: color var(--transition), transform var(--transition);
}

section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-btn);
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

section ul li:hover::before {
  transform: scale(1.4);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.7);
}

section ul li:hover,
section ol li:hover {
  color: var(--text);
  transform: translateX(4px);
}

section ol {
  counter-reset: item;
}

section ol li {
  counter-increment: item;
}

section ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

section ol li:hover::before {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.55);
}

#products ul li,
#solutions ul li {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition);
}

#products ul li::before,
#solutions ul li::before {
  left: 1rem;
  top: 1.15rem;
}

#products ul li:hover,
#solutions ul li:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

blockquote {
  position: relative;
  margin: 1.25rem 0;
  padding: 1.25rem 1.5rem 1.25rem 2.5rem;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-left: 4px solid var(--primary-light);
  border-radius: var(--radius);
  transition: all var(--transition);
}

blockquote::before {
  content: "\201C";
  position: absolute;
  top: 0.25rem;
  left: 0.75rem;
  font-size: 2.5rem;
  color: var(--primary-lighter);
  opacity: 0.4;
  font-family: Georgia, serif;
  line-height: 1;
}

blockquote:hover {
  border-left-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

blockquote p {
  margin-bottom: 0;
  font-style: italic;
  color: var(--text);
  font-size: 0.95rem;
}

#news h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--border);
  margin: 0 0 0.25rem;
  transition: color var(--transition);
}

#news h3:hover {
  color: var(--accent);
}

#news h3 + p {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 0;
  margin-bottom: 0.5rem;
}

#articles article {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

#articles article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-btn);
  opacity: 0;
  transition: opacity var(--transition);
}

#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(139, 92, 246, 0.3);
}

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

#articles article h3 {
  margin-top: 0;
  font-size: 1.05rem;
  color: var(--text);
  transition: color var(--transition);
}

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

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

#articles article > p:nth-of-type(2) {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  transition: all var(--transition);
}

#articles article a::after {
  content: "\2192";
  transition: transform var(--transition);
}

#articles article a:hover {
  background: var(--gradient-btn);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

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

#faq details {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all var(--transition);
}

#faq details[open] {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: var(--shadow);
}

#faq details:hover {
  border-color: rgba(139, 92, 246, 0.3);
}

#faq summary {
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--transition), background var(--transition);
  position: relative;
}

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

#faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.1);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  transition: all var(--transition);
}

#faq details[open] summary::after {
  content: "\2212";
  background: var(--gradient-btn);
  color: #fff;
  transform: rotate(180deg);
}

#faq summary:hover {
  color: var(--primary-light);
  background: rgba(139, 92, 246, 0.04);
}

#faq details p {
  padding: 0 1.5rem 1.25rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  animation: fadeInUp 0.3s ease both;
}

#howto ol {
  counter-reset: howto;
  margin: 1rem 0 1.5rem;
}

#howto ol li {
  counter-increment: howto;
  padding: 0.85rem 1rem 0.85rem 3rem;
  margin-bottom: 0.5rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

#howto ol li::before {
  content: counter(howto);
  left: 1rem;
  top: 0.9rem;
  width: 26px;
  height: 26px;
  font-size: 0.75rem;
}

#howto ol li:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

#howto ul li {
  padding: 0.4rem 0 0.4rem 1.75rem;
}

#contact p {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.95rem;
  transition: color var(--transition), padding-left var(--transition);
}

#contact p:last-child {
  border-bottom: none;
}

#contact p:hover {
  color: var(--primary-light);
  padding-left: 0.5rem;
}

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

#sitemap ul li {
  padding: 0;
}

#sitemap ul li::before {
  display: none;
}

#sitemap ul li a {
  display: block;
  padding: 0.65rem 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

#sitemap ul li a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-btn);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
}

#sitemap ul li a:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}

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

#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

#links ul li {
  padding: 0;
}

#links ul li::before {
  display: none;
}

#links ul li a {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#links ul li a:hover {
  background: var(--gradient-btn);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

#legal h2 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
}

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

#legal h2::after {
  width: 36px;
  height: 3px;
}

#legal p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
}

footer {
  margin-top: 2rem;
  padding: 2rem 2.5rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}

footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

footer p:last-child {
  margin-bottom: 0;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-weight: 600;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 1024px) {
  header {
    padding: 0 1.25rem;
  }

  header nav {
    height: 56px;
  }

  header nav ul li a {
    padding: 0.35rem 0.6rem;
    font-size: 0.82rem;
  }

  main {
    padding: 0 1.5rem 3rem;
  }

  #hero {
    padding: 3rem 2rem;
  }

  #brand,
  #products,
  #solutions,
  #cases,
  #news,
  #articles,
  #faq,
  #howto,
  #contact,
  #sitemap,
  #links,
  #legal {
    padding: 2rem 1.75rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  header {
    padding: 0 1rem;
  }

  header nav {
    flex-direction: column;
    height: auto;
    padding: 0.75rem 0;
    gap: 0.5rem;
  }

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

  header nav ul {
    justify-content: center;
    gap: 0.15rem;
  }

  header nav ul li a {
    padding: 0.3rem 0.5rem;
    font-size: 0.78rem;
  }

  header nav ul li a::after {
    display: none;
  }

  main {
    padding: 0 1rem 2.5rem;
  }

  #hero {
    padding: 2.25rem 1.5rem;
    border-radius: var(--radius-lg);
  }

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

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

  #hero > p:last-of-type {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }

  #hero figure {
    margin-top: 1.5rem;
  }

  #hero figcaption {
    font-size: 0.78rem;
    padding: 0.6rem 1rem;
  }

  #brand,
  #products,
  #solutions,
  #cases,
  #news,
  #articles,
  #faq,
  #howto,
  #contact,
  #sitemap,
  #links,
  #legal {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius);
  }

  section h2 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }

  section h3 {
    font-size: 1.05rem;
    margin-top: 1.5rem;
  }

  section p {
    font-size: 0.9rem;
  }

  #articles article {
    padding: 1.25rem 1.25rem;
  }

  #articles article h3 {
    font-size: 0.98rem;
  }

  #faq summary {
    padding: 0.9rem 1.25rem;
    font-size: 0.9rem;
  }

  #faq details p {
    padding: 0 1.25rem 1rem;
    font-size: 0.85rem;
  }

  #howto ol li {
    padding: 0.75rem 0.9rem 0.75rem 2.75rem;
    font-size: 0.9rem;
  }

  #howto ol li::before {
    left: 0.85rem;
    top: 0.8rem;
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }

  #sitemap ul {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.4rem;
  }

  #sitemap ul li a {
    padding: 0.55rem 0.75rem;
    font-size: 0.82rem;
  }

  #links ul {
    gap: 0.5rem;
  }

  #links ul li a {
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
  }

  blockquote {
    padding: 1rem 1.25rem 1rem 2.25rem;
  }

  blockquote::before {
    font-size: 2rem;
    left: 0.6rem;
  }

  footer {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius);
  }

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

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  header nav ul {
    gap: 0.1rem;
  }

  header nav ul li a {
    padding: 0.25rem 0.4rem;
    font-size: 0.72rem;
  }

  main {
    padding: 0 0.75rem 2rem;
  }

  #hero {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius);
  }

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

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

  #brand,
  #products,
  #solutions,
  #cases,
  #news,
  #articles,
  #faq,
  #howto,
  #contact,
  #sitemap,
  #links,
  #legal {
    padding: 1.25rem 1rem;
  }

  section h2 {
    font-size: 1.1rem;
  }

  section h3 {
    font-size: 0.98rem;
  }

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

  #articles article a {
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
  }
}

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

@media print {
  header, footer, #hero figure, #links {
    display: none;
  }

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

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

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