:root {
  --brand: #FF7A45;
  --brand-2: #FF9F6B;
  --brand-3: #FFD8C2;
  --accent: #7C5CFF;
  --accent-2: #3A7BD5;
  --bg: #FFF9F5;
  --bg-soft: #FFF4EC;
  --surface: #FFFFFF;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --surface-glass-strong: rgba(255, 255, 255, 0.88);
  --text: #2B2B33;
  --text-soft: #5C5C6B;
  --text-muted: #8A8A99;
  --border: rgba(255, 122, 69, 0.16);
  --border-soft: rgba(43, 43, 51, 0.08);
  --shadow-sm: 0 2px 8px rgba(255, 122, 69, 0.08);
  --shadow-md: 0 10px 30px rgba(255, 122, 69, 0.12);
  --shadow-lg: 0 20px 50px rgba(255, 122, 69, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --grad-hero: linear-gradient(135deg, #FF7A45 0%, #FF9F6B 45%, #FFD8C2 100%);
  --grad-soft: linear-gradient(135deg, #FFF4EC 0%, #FFE8DC 100%);
  --grad-accent: linear-gradient(135deg, #7C5CFF 0%, #3A7BD5 100%);
  --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42));
  --header-h: 68px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

[data-theme="dark"] {
  --brand: #FF8A5B;
  --brand-2: #FFA97D;
  --brand-3: #6B4433;
  --accent: #9B82FF;
  --accent-2: #5A9BE8;
  --bg: #14141A;
  --bg-soft: #1B1B23;
  --surface: #1F1F29;
  --surface-glass: rgba(31, 31, 41, 0.68);
  --surface-glass-strong: rgba(31, 31, 41, 0.86);
  --text: #F2F0F6;
  --text-soft: #C3C0CE;
  --text-muted: #8F8CA0;
  --border: rgba(255, 138, 91, 0.22);
  --border-soft: rgba(255, 255, 255, 0.09);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
  --grad-hero: linear-gradient(135deg, #B14A22 0%, #C96A3D 45%, #6B4433 100%);
  --grad-soft: linear-gradient(135deg, #241C18 0%, #1B1B23 100%);
  --grad-accent: linear-gradient(135deg, #6B54D6 0%, #2F5FA8 100%);
  --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(900px 500px at 8% -8%, rgba(255, 122, 69, 0.12), transparent 60%),
    radial-gradient(800px 520px at 100% 0%, rgba(124, 92, 255, 0.10), transparent 62%);
  background-attachment: fixed;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  overflow-x: hidden;
}

[data-theme="dark"] body {
  background-image:
    radial-gradient(900px 500px at 8% -8%, rgba(255, 138, 91, 0.14), transparent 60%),
    radial-gradient(800px 520px at 100% 0%, rgba(155, 130, 255, 0.12), transparent 62%);
}

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

a {
  color: var(--brand);
  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: 3px solid rgba(124, 92, 255, 0.5);
  outline-offset: 2px;
  border-radius: 6px;
}

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

h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  position: relative;
  padding-left: 18px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 6px;
  border-radius: var(--radius-pill);
  background: var(--grad-hero);
  box-shadow: 0 0 16px rgba(255, 122, 69, 0.45);
}

h3 {
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  color: var(--text);
}

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

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

li {
  margin-bottom: 0.35em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ===================== Header ===================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand svg {
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(255, 122, 69, 0.4);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.brand:hover svg {
  transform: rotate(-8deg) scale(1.06);
  box-shadow: 0 10px 26px rgba(255, 122, 69, 0.55);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  white-space: nowrap;
}

#main-nav {
  flex: 1 1 auto;
}

#main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

#main-nav li {
  margin: 0;
}

#main-nav a {
  display: inline-block;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

#main-nav a:hover,
#main-nav a:focus-visible {
  color: var(--brand);
  background: rgba(255, 122, 69, 0.1);
  transform: translateY(-2px);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

#site-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-glass-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 4px 4px 14px;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#site-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(255, 122, 69, 0.16);
}

#search-input {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.88rem;
  padding: 6px 0;
  width: 150px;
  font-family: inherit;
  outline: none;
}

#search-input::placeholder {
  color: var(--text-muted);
}

#site-search button {
  border: 0;
  cursor: pointer;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--grad-hero);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

#site-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 122, 69, 0.45);
  filter: brightness(1.05);
}

#theme-toggle,
#menu-toggle {
  border: 1px solid var(--border);
  background: var(--surface-glass-strong);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#theme-toggle:hover,
#menu-toggle:hover {
  transform: translateY(-2px) rotate(8deg);
  box-shadow: var(--shadow-md);
  background: rgba(255, 122, 69, 0.12);
}

#menu-toggle {
  display: none;
}

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

main > section {
  margin: 48px 0;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

/* ===================== Hero ===================== */
#hero {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: stretch;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--grad-hero);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 90% 10%, rgba(255, 255, 255, 0.35), transparent 60%);
  pointer-events: none;
}

.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-glass-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  min-height: 280px;
  z-index: 1;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider .slide.active,
.hero-slider .slide:first-child {
  opacity: 1;
  transform: scale(1);
  position: relative;
}

.hero-slider .slide svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.slider-controls {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.slider-controls button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--brand);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.slider-controls button:hover {
  transform: scale(1.12);
  background: #fff;
}

.hero-text {
  position: relative;
  z-index: 1;
  padding: 12px 8px 12px 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text h1 {
  -webkit-text-fill-color: #fff;
  color: #fff;
  background: none;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

.hero-text p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.96rem;
  margin-bottom: 0.9em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}

.hero-text .cta {
  align-self: flex-start;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.98rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}

.hero-text .cta::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.hero-text .cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
  color: var(--accent);
}

.hero-text .cta:hover::after {
  transform: translateX(4px);
}

/* ===================== Breadcrumb & anchor nav ===================== */
#breadcrumb {
  margin: 22px 0 0;
}

#breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

#breadcrumb li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#breadcrumb li + li::before {
  content: "/";
  color: var(--text-muted);
  opacity: 0.6;
}

#anchor-nav {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}

#anchor-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#anchor-nav li {
  margin: 0;
}

#anchor-nav a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-soft);
  background: rgba(255, 122, 69, 0.07);
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
}

#anchor-nav a:hover {
  color: #fff;
  background: var(--grad-hero);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 122, 69, 0.35);
}

/* ===================== Stats ===================== */
#stats {
  padding: 32px 24px;
  border-radius: var(--radius-xl);
  background: var(--grad-soft);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-md);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.stat-item {
  position: relative;
  padding: 26px 18px;
  border-radius: var(--radius-lg);
  background: var(--surface-glass-strong);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-soft);
  text-align: center;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-hero);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-num {
  display: block;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 6px;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===================== Generic content sections ===================== */
#brand-intro,
#history,
#culture,
#products,
#advantages,
#solutions,
#applications,
#cases,
#testimonials,
#news,
#articles,
#knowledge,
#faq,
#howto,
#contact,
#sitemap,
#links {
  padding: 34px 28px;
  border-radius: var(--radius-xl);
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

#brand-intro:hover,
#products:hover,
#solutions:hover,
#articles:hover,
#faq:hover {
  box-shadow: var(--shadow-lg);
}

#brand-intro h3,
#history h3,
#culture h3,
#products h3,
#advantages h3,
#solutions h3,
#applications h3,
#cases h3,
#testimonials h3,
#news h3,
#knowledge h3,
#howto h3,
#contact h3 {
  margin-top: 1.4em;
  padding-bottom: 6px;
  border-bottom: 2px dashed var(--border);
  display: inline-block;
}

#brand-intro h3:first-of-type,
#history h3:first-of-type,
#culture h3:first-of-type,
#products h3:first-of-type,
#advantages h3:first-of-type,
#solutions h3:first-of-type,
#applications h3:first-of-type,
#cases h3:first-of-type,
#testimonials h3:first-of-type,
#news h3:first-of-type,
#knowledge h3:first-of-type,
#howto h3:first-of-type,
#contact h3:first-of-type {
  margin-top: 0.6em;
}

/* ===================== Article cards ===================== */
#articles {
  display: block;
}

#articles > article {
  position: relative;
  margin: 18px 0;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
}

#articles > article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--grad-hero);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}

#articles > article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

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

#articles > article h3 {
  margin-top: 0;
  margin-bottom: 0.4em;
  border: 0;
  padding: 0;
  display: block;
}

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

#articles > article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 122, 69, 0.1);
  transition: all 0.3s var(--ease);
}

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

#articles > article a:hover {
  background: var(--grad-hero);
  color: #fff;
  transform: translateX(2px);
}

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

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

#faq details[open] {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

#faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 48px 16px 20px;
  font-weight: 700;
  color: var(--text);
  position: relative;
  transition: color 0.25s var(--ease), background 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;
  border-radius: 50%;
  background: rgba(255, 122, 69, 0.12);
  color: var(--brand);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

#faq details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  background: var(--grad-hero);
  color: #fff;
}

#faq summary:hover {
  color: var(--brand);
  background: rgba(255, 122, 69, 0.05);
}

#faq details p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 0.94rem;
  animation: fadeSlide 0.4s var(--ease);
}

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

/* ===================== Sitemap & links ===================== */
#sitemap ul,
#links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

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

#sitemap a,
#links a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s var(--ease);
}

#sitemap a:hover,
#links a:hover {
  color: #fff;
  background: var(--grad-hero);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 122, 69, 0.35);
}

/* ===================== Footer ===================== */
#site-footer {
  margin-top: 40px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border-soft);
  padding: 48px 20px 28px;
}

[data-theme="dark"] #site-footer {
  background: linear-gradient(180deg, #1B1B23 0%, #14141A 100%);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.footer-inner section {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.footer-inner h2 {
  font-size: 1rem;
  padding-left: 14px;
  margin-bottom: 0.7em;
}

.footer-inner h2::before {
  width: 4px;
}

.footer-inner p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}

.copyright {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-top: 18px;
  margin: 0;
  border-top: 1px dashed var(--border-soft);
}

/* ===================== Back to top ===================== */
#back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--grad-hero);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(255, 122, 69, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s var(--ease), box-shadow 0.35s var(--ease);
  z-index: 90;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

#back-to-top:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 16px 34px rgba(255, 122, 69, 0.6);
}

/* ===================== Scroll reveal ===================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  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;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===================== Responsive ===================== */
@media (max-width: 1080px) {
  #hero {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .hero-slider {
    min-height: 240px;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #main-nav ul {
    gap: 2px;
  }
  #main-nav a {
    padding: 6px 9px;
    font-size: 0.86rem;
  }
  #search-input {
    width: 110px;
  }
}

@media (max-width: 860px) {
  #menu-toggle {
    display: inline-flex;
  }
  #main-nav {
    order: 3;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease), opacity 0.35s var(--ease), margin 0.35s var(--ease);
    opacity: 0;
    margin: 0;
  }
  #main-nav.open {
    max-height: 640px;
    opacity: 1;
    margin-top: 8px;
  }
  #main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border-radius: var(--radius-lg);
    background: var(--surface-glass-strong);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
  }
  #main-nav a {
    display: block;
    padding: 11px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
  }
  .header-tools {
    margin-left: auto;
  }
  #site-search {
    display: none;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }
  main {
    padding: 0 14px 40px;
  }
  main > section {
    margin: 32px 0;
  }
  #hero {
    margin-top: 16px;
    padding: 18px;
    border-radius: var(--radius-lg);
  }
  .hero-text {
    padding: 4px;
  }
  .hero-text .cta {
    width: 100%;
    justify-content: center;
  }
  .hero-slider {
    min-height: 200px;
  }
  #brand-intro,
  #history,
  #culture,
  #products,
  #advantages,
  #solutions,
  #applications,
  #cases,
  #testimonials,
  #news,
  #articles,
  #knowledge,
  #faq,
  #howto,
  #contact,
  #sitemap,
  #links,
  #stats {
    padding: 22px 18px;
    border-radius: var(--radius-lg);
  }
  #stats {
    padding: 24px 16px;
  }
  .stat-grid {
    gap: 12px;
  }
  .stat-item {
    padding: 18px 12px;
  }
  #articles > article {
    padding: 18px 16px;
  }
  #faq summary {
    padding: 14px 44px 14px 16px;
    font-size: 0.95rem;
  }
  #sitemap ul,
  #links ul {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
  }
  #sitemap a,
  #links a {
    padding: 9px 12px;
    font-size: 0.84rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  #site-footer {
    padding: 32px 14px 22px;
  }
  #back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 420px) {
  .header-inner {
    padding: 8px 12px;
    gap: 10px;
  }
  .brand-name {
    font-size: 1.08rem;
  }
  .stat-grid {
    grid-template-columns: 1fr;
  }
  h2 {
    padding-left: 14px;
  }
  h2::before {
    width: 5px;
  }
}

/* ===================== Print ===================== */
@media print {
  #site-header,
  #back-to-top,
  #anchor-nav,
  #breadcrumb,
  .slider-controls,
  #site-search,
  #theme-toggle,
  #menu-toggle {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  main > section {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
}