:root {
  --primary: #ffb703;
  --primary-dark: #fb8500;
  --primary-light: #ffd166;
  --accent: #06d6a0;
  --accent-pink: #ef476f;
  --accent-purple: #7b2ff7;
  --bg: #fefcf6;
  --bg-alt: #fff8e8;
  --card-bg: rgba(255, 255, 255, 0.72);
  --card-border: rgba(255, 255, 255, 0.6);
  --text: #2b2118;
  --text-secondary: #6b5d4f;
  --text-muted: #9a8c7d;
  --shadow-sm: 0 2px 8px rgba(120, 90, 40, 0.06);
  --shadow-md: 0 8px 28px rgba(120, 90, 40, 0.1);
  --shadow-lg: 0 18px 48px rgba(120, 90, 40, 0.14);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --glass-blur: 18px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --gradient-hero: linear-gradient(135deg, #ffd166 0%, #ffb703 35%, #fb8500 70%, #ef476f 100%);
  --gradient-accent: linear-gradient(120deg, #06d6a0 0%, #ffb703 100%);
  --gradient-soft: linear-gradient(160deg, #fff8e8 0%, #fefcf6 100%);
  --max-width: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16120c;
    --bg-alt: #1e1810;
    --card-bg: rgba(40, 33, 24, 0.68);
    --card-border: rgba(255, 183, 3, 0.14);
    --text: #f5ede0;
    --text-secondary: #c8b8a4;
    --text-muted: #8d7f6e;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.5);
    --gradient-soft: linear-gradient(160deg, #1e1810 0%, #16120c 100%);
  }
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  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;
  transition: background-color 0.4s ease, color 0.4s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 183, 3, 0.16), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(239, 71, 111, 0.12), transparent 40%),
    radial-gradient(circle at 72% 88%, rgba(6, 214, 160, 0.1), transparent 45%),
    var(--gradient-soft);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(120, 90, 40, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  body::after {
    background-image: radial-gradient(rgba(255, 183, 3, 0.05) 1px, transparent 1px);
  }
}

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

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

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

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

h1, h2, h3, h4 {
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 {
  font-size: clamp(1.75rem, 4.2vw, 3rem);
  background: linear-gradient(120deg, #fb8500, #ef476f 55%, #7b2ff7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (prefers-color-scheme: dark) {
  h1 {
    background: linear-gradient(120deg, #ffd166, #ffb703 45%, #ef476f);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  position: relative;
  padding-bottom: 0.6em;
  margin-bottom: 1.2em;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 5px;
  border-radius: 99px;
  background: var(--gradient-hero);
  box-shadow: 0 2px 10px rgba(255, 183, 3, 0.4);
}

h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  color: var(--text);
}

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

ul, ol {
  padding-left: 1.4em;
  color: var(--text-secondary);
}

li {
  margin-bottom: 0.4em;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--card-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border-bottom: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), background-color 0.4s ease;
}

header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

header nav > a:first-child {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: linear-gradient(120deg, #fb8500, #ef476f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  transition: transform var(--transition);
}

header nav > a:first-child:hover {
  transform: scale(1.05) rotate(-1deg);
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

header nav ul li {
  margin: 0;
}

header nav ul a {
  display: inline-block;
  padding: 0.42rem 0.85rem;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  transition: color var(--transition), background-color var(--transition),
    transform var(--transition);
}

header nav ul a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: var(--gradient-hero);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--transition), transform var(--transition);
  z-index: -1;
}

header nav ul a:hover,
header nav ul a:focus-visible {
  color: #fff;
  transform: translateY(-2px);
}

header nav ul a:hover::before,
header nav ul a:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

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

main > nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  font-size: 0.85rem;
}

main > nav[aria-label="面包屑导航"] li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: var(--text-muted);
}

main > nav[aria-label="面包屑导航"] li + li::before {
  content: "›";
  color: var(--primary);
  font-weight: 700;
}

main > nav[aria-label="面包屑导航"] a {
  color: var(--text-secondary);
  padding: 0.2rem 0.5rem;
  border-radius: 99px;
  transition: background-color var(--transition), color var(--transition);
}

main > nav[aria-label="面包屑导航"] a:hover {
  background: rgba(255, 183, 3, 0.16);
  color: var(--primary-dark);
}

section {
  margin-bottom: 2.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition),
    background-color 0.4s ease, border-color 0.4s ease;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

section:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

#hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem;
  border-radius: var(--radius-xl);
  background: var(--gradient-hero);
  background-size: 220% 220%;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both,
    gradientShift 12s ease infinite;
  color: #fff;
  box-shadow: 0 20px 60px rgba(251, 133, 0, 0.35);
  border: none;
}

#hero::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -20%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  filter: blur(10px);
  pointer-events: none;
}

#hero::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(8px);
  pointer-events: none;
}

#hero h1 {
  position: relative;
  z-index: 1;
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: none;
  text-shadow: 0 2px 16px rgba(120, 60, 0, 0.25);
  margin-bottom: 0.6em;
}

#hero p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  max-width: 62ch;
}

#hero p:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  margin-bottom: 0;
  font-weight: 600;
}

#hero p:last-child a {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-size: 0.92rem;
  transition: transform var(--transition), background-color var(--transition),
    box-shadow var(--transition);
}

#hero p:last-child a:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 26px rgba(120, 60, 0, 0.28);
}

#brand,
#products,
#advantages,
#solutions,
#applications,
#cases,
#reviews,
#news,
#articles,
#faq,
#howto,
#contact,
#sitemap,
#links {
  position: relative;
}

#products h3,
#advantages h3,
#solutions h3,
#applications h3,
#cases h3,
#reviews h3,
#news h3,
#faq h3,
#howto h3 {
  padding-left: 0.9rem;
  border-left: 4px solid var(--primary);
  border-radius: 2px;
}

#advantages p,
#applications p,
#cases p,
#reviews p {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.09), rgba(6, 214, 160, 0.06));
  border: 1px solid rgba(255, 183, 3, 0.14);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

#advantages p:hover,
#applications p:hover,
#cases p:hover,
#reviews p:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(255, 183, 3, 0.4);
}

#reviews h3 {
  border-left-color: var(--accent-pink);
}

#reviews p {
  background: linear-gradient(135deg, rgba(239, 71, 111, 0.08), rgba(123, 47, 247, 0.05));
  border-color: rgba(239, 71, 111, 0.16);
  font-style: italic;
}

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

#news p:first-of-type {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.3em;
  padding: 0;
  background: none;
  border: none;
}

#news h3 + p {
  display: inline-block;
}

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

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

#articles article:hover {
  transform: translateY(-5px) scale(1.008);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 183, 3, 0.45);
}

#articles article h3 {
  margin-top: 0;
  border-left: none;
  padding-left: 0;
  color: var(--primary-dark);
}

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

#articles article a {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  background: rgba(255, 183, 3, 0.14);
  transition: background-color var(--transition), transform var(--transition),
    color var(--transition);
}

#articles article a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateX(4px);
}

#faq h3 {
  border-left-color: var(--accent-purple);
  cursor: pointer;
  transition: color var(--transition);
}

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

#faq p {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(123, 47, 247, 0.05);
  border: 1px solid rgba(123, 47, 247, 0.12);
}

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

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 0.85rem 1rem 0.85rem 3.4rem;
  margin-bottom: 0.75rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.08), rgba(255, 183, 3, 0.06));
  border: 1px solid rgba(6, 214, 160, 0.16);
  transition: transform var(--transition), box-shadow var(--transition);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(6, 214, 160, 0.35);
}

#howto ol li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

#contact p {
  padding: 0.4rem 0;
  margin-bottom: 0.2em;
  border-bottom: 1px dashed rgba(255, 183, 3, 0.25);
}

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

#sitemap ul,
#links ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.6rem;
  list-style: none;
  padding: 0;
}

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

#sitemap a,
#links a {
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 183, 3, 0.08);
  border: 1px solid rgba(255, 183, 3, 0.14);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: transform var(--transition), background-color var(--transition),
    color var(--transition), box-shadow var(--transition);
}

#sitemap a:hover,
#links a:hover {
  transform: translateY(-3px);
  background: var(--gradient-hero);
  color: #fff;
  box-shadow: 0 8px 20px rgba(251, 133, 0, 0.3);
  border-color: transparent;
}

footer {
  position: relative;
  margin-top: 2rem;
  padding: 3rem 1.25rem 2rem;
  background: linear-gradient(180deg, transparent, rgba(255, 183, 3, 0.08));
  border-top: 1px solid var(--card-border);
}

footer section {
  max-width: var(--max-width);
  margin: 0 auto 1.5rem;
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

footer section:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

footer h2 {
  font-size: 1.15rem;
  padding-bottom: 0.45em;
  margin-bottom: 0.9em;
}

footer h2::after {
  width: 44px;
  height: 4px;
}

footer p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

footer section:last-child {
  margin-bottom: 0;
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.12), rgba(6, 214, 160, 0.08));
  border-color: rgba(255, 183, 3, 0.25);
}

footer section:last-child p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

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

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

section:nth-of-type(1) { animation-delay: 0.02s; }
section:nth-of-type(2) { animation-delay: 0.06s; }
section:nth-of-type(3) { animation-delay: 0.1s; }
section:nth-of-type(4) { animation-delay: 0.14s; }
section:nth-of-type(5) { animation-delay: 0.18s; }
section:nth-of-type(6) { animation-delay: 0.22s; }
section:nth-of-type(7) { animation-delay: 0.26s; }
section:nth-of-type(8) { animation-delay: 0.3s; }
section:nth-of-type(9) { animation-delay: 0.34s; }
section:nth-of-type(10) { animation-delay: 0.38s; }
section:nth-of-type(11) { animation-delay: 0.42s; }
section:nth-of-type(12) { animation-delay: 0.46s; }
section:nth-of-type(13) { animation-delay: 0.5s; }
section:nth-of-type(14) { animation-delay: 0.54s; }
section:nth-of-type(15) { animation-delay: 0.58s; }

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

@media (max-width: 900px) {
  header nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  header nav ul {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.3rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

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

  header nav ul a {
    white-space: nowrap;
  }

  section {
    padding: 1.4rem 1.1rem;
    border-radius: var(--radius-md);
  }

  #hero {
    padding: 2.2rem 1.4rem;
    border-radius: var(--radius-lg);
  }

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

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  main {
    padding: 1rem 0.85rem 2rem;
  }

  section {
    padding: 1.2rem 0.95rem;
    margin-bottom: 1.5rem;
  }

  #hero {
    padding: 1.8rem 1.1rem;
  }

  #hero p:last-child {
    flex-direction: column;
    align-items: stretch;
  }

  #hero p:last-child a {
    text-align: center;
  }

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

  #howto ol li {
    padding-left: 3rem;
  }

  footer {
    padding: 2rem 0.85rem 1.5rem;
  }

  footer section {
    padding: 1.2rem 1rem;
  }
}

@media print {
  header,
  footer,
  #hero p:last-child {
    display: none;
  }

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

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