:root {
  --pink-50: #fff5f7;
  --pink-100: #ffe4ec;
  --pink-200: #fecdd8;
  --pink-300: #f9a8b7;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --purple-300: #c4b5fd;
  --purple-400: #a78bfa;
  --purple-500: #8b5cf6;
  --rose-500: #f43f5e;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --bg-primary: #ffffff;
  --bg-secondary: #fdf2f6;
  --bg-tertiary: #fce7f0;
  --card-bg: rgba(255, 255, 255, 0.75);
  --card-border: rgba(249, 168, 183, 0.25);
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow-sm: 0 1px 3px rgba(236, 72, 153, 0.08);
  --shadow-md: 0 4px 16px rgba(236, 72, 153, 0.12);
  --shadow-lg: 0 10px 40px rgba(236, 72, 153, 0.16);
  --shadow-xl: 0 20px 60px rgba(236, 72, 153, 0.2);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max-width: 1200px;
  --header-height: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text-primary: #f3f4f6;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --bg-primary: #0f0a12;
    --bg-secondary: #1a1020;
    --bg-tertiary: #241528;
    --card-bg: rgba(36, 21, 40, 0.7);
    --card-border: rgba(249, 168, 183, 0.15);
    --glass-bg: rgba(36, 21, 40, 0.5);
    --glass-border: rgba(249, 168, 183, 0.12);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
  }
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(249, 168, 183, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(167, 139, 250, 0.08), transparent);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-base), color var(--transition-base);
}

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

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

a:hover {
  color: var(--pink-600);
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.35;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--transition-base);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1.25rem; position: relative; padding-bottom: 0.6rem; }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.4rem); margin-bottom: 0.85rem; }
h4 { font-size: clamp(1rem, 1.8vw, 1.15rem); margin-bottom: 0.65rem; color: var(--pink-500); }

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 3px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--pink-300), var(--purple-400));
  transition: width var(--transition-base);
}

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

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

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

blockquote {
  margin: 1.25rem 0;
  padding: 1.15rem 1.5rem;
  border-left: 4px solid var(--pink-300);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--card-border);
  border-right: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

blockquote:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

blockquote p {
  margin: 0;
  font-style: italic;
  color: var(--text-primary);
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 1px 0 rgba(249, 168, 183, 0.1);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

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

header nav > a {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

header nav > a:hover {
  transform: scale(1.04);
  opacity: 0.9;
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
}

header nav ul::-webkit-scrollbar {
  display: none;
}

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-full);
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
  position: relative;
}

header nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--pink-300), var(--purple-400));
  transition: transform var(--transition-base);
  transform-origin: center;
}

header nav ul li a:hover {
  color: var(--pink-500);
  background: rgba(249, 168, 183, 0.1);
  transform: translateY(-1px);
}

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

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 40px;
}

section {
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

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

#hero {
  position: relative;
  margin-top: 24px;
  margin-bottom: 2.5rem;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3.5rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #f9a8b7 0%, #f472b6 30%, #a78bfa 70%, #8b5cf6 100%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite, fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  isolation: isolate;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.25), transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.15), transparent 45%);
  pointer-events: none;
  z-index: -1;
}

#hero::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: -1;
  animation: floatBlob 8s ease-in-out infinite;
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.1); }
}

#hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  letter-spacing: -0.02em;
}

#hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  max-width: 720px;
  margin-bottom: 1rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}

#hero a[href="#products"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.25rem;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--pink-600);
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  position: relative;
  overflow: hidden;
}

#hero a[href="#products"]::after {
  content: "→";
  transition: transform var(--transition-base);
}

#hero a[href="#products"]:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
  background: #fff;
  color: var(--pink-600);
}

#hero a[href="#products"]:hover::after {
  transform: translateX(5px);
}

nav[aria-label="面包屑导航"] {
  margin-bottom: 2rem;
  padding: 10px 16px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

nav[aria-label="面包屑导航"] ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.85rem;
}

nav[aria-label="面包屑导航"] ol li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

nav[aria-label="面包屑导航"] ol li:not(:last-child)::after {
  content: "/";
  color: var(--pink-300);
  font-weight: 300;
  margin-left: 2px;
}

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

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

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

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

#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(249, 168, 183, 0.4);
}

#brand ul,
#products ul,
#solutions ul,
#howto ul,
#sitemap ul,
#links ul {
  margin: 1rem 0;
}

#brand ul li,
#products ul li,
#solutions ul li,
#howto ul li,
#howto ol li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(249, 168, 183, 0.08);
  transition: padding-left var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

#brand ul li:last-child,
#products ul li:last-child,
#solutions ul li:last-child,
#howto ul li:last-child,
#howto ol li:last-child {
  border-bottom: none;
}

#brand ul li::before,
#products ul li::before,
#solutions ul li::before,
#howto ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-300), var(--purple-400));
  box-shadow: 0 0 8px rgba(249, 168, 183, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

#brand ul li:hover,
#products ul li:hover,
#solutions ul li:hover,
#howto ul li:hover {
  padding-left: 34px;
  color: var(--text-primary);
  background: rgba(249, 168, 183, 0.05);
  border-radius: var(--radius-sm);
}

#brand ul li:hover::before,
#products ul li:hover::before,
#solutions ul li:hover::before,
#howto ul li:hover::before {
  transform: translateY(-50%) scale(1.3);
  box-shadow: 0 0 14px rgba(249, 168, 183, 0.7);
}

#howto ol {
  counter-reset: step-counter;
  list-style: none;
}

#howto ol li {
  counter-increment: step-counter;
  padding-left: 44px;
}

#howto ol li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-400), var(--purple-400));
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(236, 72, 153, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

#howto ol li:hover {
  padding-left: 50px;
  color: var(--text-primary);
  background: rgba(249, 168, 183, 0.05);
  border-radius: var(--radius-sm);
}

#howto ol li:hover::before {
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.45);
}

#products h3 {
  margin-top: 2rem;
  color: var(--pink-500);
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 2px solid rgba(249, 168, 183, 0.3);
}

#products h4 {
  margin-top: 1.5rem;
  padding-left: 14px;
  border-left: 3px solid var(--pink-300);
  transition: border-color var(--transition-fast), padding-left var(--transition-fast);
}

#products h4:hover {
  border-left-color: var(--pink-500);
  padding-left: 20px;
}

#cases blockquote {
  margin: 1rem 0;
}

#cases blockquote p::before {
  content: "“";
  font-size: 1.5em;
  color: var(--pink-300);
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 2px;
}

#cases blockquote p::after {
  content: "”";
  font-size: 1.5em;
  color: var(--pink-300);
  line-height: 0;
  vertical-align: -0.3em;
  margin-left: 2px;
}

#news article,
#articles article {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

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

#news article:hover,
#articles article:hover {
  transform: translateY(-4px) translateX(4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(249, 168, 183, 0.45);
  background: var(--card-bg);
}

#news article h3,
#articles article h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  transition: color var(--transition-fast);
}

#news article:hover h3,
#articles article:hover h3 {
  color: var(--pink-500);
}

#news article time,
#articles article time {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  padding: 2px 10px;
  background: rgba(249, 168, 183, 0.12);
  border-radius: var(--radius-full);
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pink-500);
  transition: color var(--transition-fast), gap var(--transition-fast);
}

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

#articles article a:hover {
  color: var(--pink-600);
  gap: 8px;
}

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

#faq dl {
  margin: 0;
}

#faq dt {
  position: relative;
  padding: 14px 16px 14px 44px;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

#faq dt::before {
  content: "Q";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-400), var(--purple-400));
  border-radius: 50%;
}

#faq dt:hover {
  background: rgba(249, 168, 183, 0.12);
  border-color: rgba(249, 168, 183, 0.4);
  color: var(--pink-600);
}

#faq dd {
  position: relative;
  padding: 14px 16px 14px 44px;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

#faq dd::before {
  content: "A";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--pink-500);
  background: rgba(249, 168, 183, 0.18);
  border-radius: 50%;
}

#faq dd:hover {
  background: rgba(249, 168, 183, 0.06);
  border-color: rgba(249, 168, 183, 0.3);
}

#contact address {
  font-style: normal;
  padding: 1.25rem 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  margin-bottom: 1.5rem;
}

#contact address p {
  margin-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

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

#contact address a {
  color: var(--pink-500);
  font-weight: 500;
  transition: color var(--transition-fast);
}

#contact address a:hover {
  color: var(--pink-600);
  text-decoration: underline;
}

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

#sitemap ul li {
  padding: 0;
  border: none;
}

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

#sitemap ul li a {
  display: block;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-fast);
}

#sitemap ul li a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--pink-400), var(--purple-400));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.3);
}

#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1rem 0 0;
}

#links ul li {
  padding: 0;
  border: none;
}

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

#links ul li a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

#links ul li a:hover {
  color: var(--pink-500);
  background: rgba(249, 168, 183, 0.12);
  border-color: rgba(249, 168, 183, 0.5);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

#legal h2 {
  margin-top: 2rem;
}

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

#legal a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer {
  position: relative;
  margin-top: 2rem;
  padding: 2.5rem 20px 2rem;
  background: linear-gradient(180deg, transparent, rgba(249, 168, 183, 0.08));
  border-top: 1px solid var(--card-border);
  text-align: center;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--pink-300), var(--purple-400));
}

footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--pink-300), var(--purple-400));
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--pink-400), var(--purple-500));
  background-clip: padding-box;
}

::selection {
  background: rgba(249, 168, 183, 0.35);
  color: var(--text-primary);
}

@media (max-width: 1024px) {
  :root {
    --max-width: 100%;
  }

  header nav {
    padding: 0 16px;
  }

  main {
    padding: 0 16px 32px;
  }
}

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

  body {
    font-size: 15px;
  }

  header nav {
    flex-direction: column;
    height: auto;
    padding: 10px 12px;
    gap: 8px;
  }

  header nav ul {
    width: 100%;
    justify-content: flex-start;
    gap: 2px;
    padding: 2px 0;
  }

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

  main {
    padding: 0 12px 24px;
  }

  section {
    margin-bottom: 2rem;
  }

  #hero {
    margin-top: 16px;
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  #hero a[href="#products"] {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

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

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

  #sitemap ul li a {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  #links ul {
    gap: 6px;
  }

  #links ul li a {
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  #news article,
  #articles article {
    padding: 1rem 1.1rem;
  }

  #faq dt,
  #faq dd {
    padding-left: 38px;
    font-size: 0.875rem;
  }

  #faq dt::before,
  #faq dd::before {
    left: 10px;
    width: 20px;
    height: 20px;
    font-size: 0.65rem;
  }

  blockquote {
    padding: 1rem 1.15rem;
  }

  footer {
    padding: 2rem 14px 1.5rem;
  }

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

@media (max-width: 380px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.05rem; }

  #hero {
    padding: 1.5rem 1rem;
  }

  #hero a[href="#products"] {
    width: 100%;
    justify-content: center;
  }
}

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

  section {
    opacity: 1;
    transform: none;
  }

  #hero {
    animation: none;
  }
}

@media print {
  header,
  footer,
  #hero a[href="#products"],
  nav[aria-label="面包屑导航"] {
    display: none;
  }

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

  section {
    box-shadow: none;
    border: 1px solid #ddd;
    opacity: 1;
    transform: none;
    animation: none;
  }

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