:root {
  --brand: #F5A623;
  --brand-dark: #D9880A;
  --brand-light: #FFC862;
  --brand-soft: #FFF3DC;
  --accent: #FF6B4A;
  --accent-2: #7C5CFF;
  --bg: #FFFBF4;
  --bg-alt: #FFF6E8;
  --surface: #FFFFFF;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --surface-glass-strong: rgba(255, 255, 255, 0.88);
  --border: rgba(31, 36, 48, 0.08);
  --border-strong: rgba(31, 36, 48, 0.14);
  --text: #221E1A;
  --text-soft: #5A5248;
  --text-muted: #8C8378;
  --shadow-sm: 0 2px 8px rgba(120, 90, 40, 0.06);
  --shadow-md: 0 10px 30px rgba(120, 90, 40, 0.10);
  --shadow-lg: 0 24px 60px rgba(120, 90, 40, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --maxw: 1180px;
  --header-h: 64px;
  --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;
}

html[data-theme="dark"] {
  --brand: #FFB84D;
  --brand-dark: #F5A623;
  --brand-light: #FFD08A;
  --brand-soft: rgba(245, 166, 35, 0.14);
  --accent: #FF7A5C;
  --accent-2: #9B84FF;
  --bg: #14161C;
  --bg-alt: #1A1D25;
  --surface: #1F2430;
  --surface-glass: rgba(31, 36, 48, 0.66);
  --surface-glass-strong: rgba(31, 36, 48, 0.86);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #F3EFE8;
  --text-soft: #C9C2B6;
  --text-muted: #948C80;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.30);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 28px 64px rgba(0, 0, 0, 0.55);
}

*,
*::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-color: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(245, 166, 35, 0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(124, 92, 255, 0.10), transparent 55%);
  background-attachment: fixed;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  overflow-x: hidden;
}

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

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

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

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

h1 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 2.8vw, 1.9rem); }
h3 { font-size: clamp(1.08rem, 2vw, 1.3rem); }

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

ul, ol { padding-left: 1.4em; color: var(--text-soft); }
li { margin-bottom: 0.4em; }

blockquote {
  margin: 0 0 1.2em;
  padding: 1em 1.2em;
  border-left: 4px solid var(--brand);
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-soft);
}

blockquote cite {
  display: block;
  margin-top: 0.5em;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--brand);
  color: #1F2430;
}

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

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.4rem 1.25rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--border);
}

.topbar span:first-child { color: var(--brand-dark); font-weight: 600; }

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--text);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.brand svg {
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.45);
  transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease);
}

.brand:hover svg {
  transform: rotate(-12deg) scale(1.08);
  box-shadow: 0 6px 22px rgba(245, 166, 35, 0.65);
}

.brand:hover { color: var(--brand-dark); }

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

.nav-list li { margin: 0; }

.nav-list a {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  border-radius: 999px;
  font-weight: 500;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--brand-soft);
  color: var(--brand-dark);
  transform: translateY(-2px);
}

.site-search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}

.site-search input {
  width: 200px;
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), width 0.3s var(--ease);
}

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

.site-search input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.18);
  width: 240px;
}

.site-search button {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-family: inherit;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

.site-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.4);
  filter: brightness(1.05);
}

#theme-toggle,
#menu-toggle {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  font-family: inherit;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

#theme-toggle:hover,
#menu-toggle:hover {
  color: var(--brand-dark);
  border-color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-2px);
}

#menu-toggle { display: none; }

/* ============ MAIN LAYOUT ============ */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.breadcrumb {
  padding: 1rem 0 0.5rem;
  font-size: 0.85rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--text-muted);
  opacity: 0.6;
}

.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--brand-dark); }

section {
  margin: 0 0 3.5rem;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

section > h2 {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 1.4rem;
}

section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  box-shadow: 0 0 16px rgba(245, 166, 35, 0.5);
}

.section-note {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: -0.6rem;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  margin: 1.5rem 0 3.5rem;
  padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(245, 166, 35, 0.92) 0%, rgba(255, 107, 74, 0.86) 48%, rgba(124, 92, 255, 0.82) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 15% 20%, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(500px 260px at 90% 90%, rgba(255, 255, 255, 0.18), transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  top: -160px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.35);
  animation: spin 40s linear infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-text h1 {
  color: #fff;
  text-shadow: 0 2px 20px rgba(80, 40, 0, 0.28);
  margin-bottom: 1rem;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.98rem;
  line-height: 1.85;
  text-shadow: 0 1px 8px rgba(80, 40, 0, 0.18);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  cursor: pointer;
}

.btn-primary {
  color: #4A2E00;
  background: #fff;
  box-shadow: 0 10px 26px rgba(60, 30, 0, 0.28);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(60, 30, 0, 0.36);
  color: var(--brand-dark);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
  box-shadow: 0 12px 30px rgba(60, 30, 0, 0.24);
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(0 24px 44px rgba(60, 30, 0, 0.35));
}

.hero-media svg {
  border-radius: 28px;
  animation: floaty 6s ease-in-out infinite;
  transition: transform 0.5s var(--ease);
}

.hero-media:hover svg {
  transform: scale(1.03) rotate(-1deg);
}

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

/* ============ STATS ============ */
.stats-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0 0 0.8rem;
  padding: 0;
}

.stats-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin: 0;
  padding: 1.5rem 1rem;
  text-align: center;
  background: var(--surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.stats-list li::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.10), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.stats-list li:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 166, 35, 0.4);
}

.stats-list li:hover::before { opacity: 1; }

.stats-list strong {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 800;
  color: var(--brand-dark);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.stats-list span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stats-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

/* ============ CONTENT CARDS ============ */
#brand,
#product,
#advantage,
#scene,
#solution,
#industry,
#cases,
#knowledge,
#howto,
#eeat,
#contact {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

#brand:hover,
#product:hover,
#advantage:hover,
#scene:hover,
#solution:hover,
#industry:hover,
#cases:hover,
#knowledge:hover,
#howto:hover,
#eeat:hover,
#contact:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

#brand h3,
#product h3,
#advantage h3,
#scene h3,
#solution h3,
#industry h3,
#cases h3,
#knowledge h3,
#howto h3,
#eeat h3 {
  margin-top: 1.6rem;
  padding-left: 0.85rem;
  border-left: 4px solid var(--brand);
  color: var(--text);
}

#brand h3:first-of-type,
#product h3:first-of-type,
#advantage h3:first-of-type,
#scene h3:first-of-type,
#solution h3:first-of-type,
#industry h3:first-of-type,
#cases h3:first-of-type,
#knowledge h3:first-of-type,
#howto h3:first-of-type,
#eeat h3:first-of-type {
  margin-top: 0.5rem;
}

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

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

#howto ol,
#howto ul {
  padding-left: 1.5em;
}

#howto ol li::marker {
  color: var(--brand-dark);
  font-weight: 700;
}

#howto ul li::marker {
  color: var(--accent);
}

/* ============ NEWS ============ */
.post {
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.post::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}

.post:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 166, 35, 0.35);
}

.post:hover::before { transform: scaleY(1); }

.post h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--text);
}

.post:hover h3 { color: var(--brand-dark); }

.post .meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.post > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-dark);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--brand-soft);
  transition: gap 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}

.post > a::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.post > a:hover {
  gap: 0.55rem;
  background: var(--brand);
  color: #3A2400;
  transform: translateX(2px);
}

.post > a:hover::after { transform: translateX(3px); }

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

#faq details:hover {
  border-color: rgba(245, 166, 35, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

#faq details[open] {
  border-color: var(--brand);
  box-shadow: 0 8px 26px rgba(245, 166, 35, 0.18);
}

#faq summary {
  position: relative;
  padding: 1rem 3rem 1rem 1.3rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

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

#faq summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-radius: 50%;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

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

#faq summary:hover { color: var(--brand-dark); background: rgba(245, 166, 35, 0.06); }

#faq details p {
  margin: 0;
  padding: 0 1.3rem 1.2rem;
  font-size: 0.93rem;
  line-height: 1.85;
  color: var(--text-soft);
  animation: fadeSlide 0.35s var(--ease);
}

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

/* ============ CONTACT ============ */
#contact address {
  font-style: normal;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.6rem 1.5rem;
}

#contact address p {
  margin: 0;
  padding: 0.65rem 0.9rem;
  font-size: 0.92rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

#contact address p:hover {
  border-color: var(--brand);
  transform: translateX(4px);
}

/* ============ SITEMAP ============ */
.sitemap-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sitemap-list li { margin: 0; }

.sitemap-list a {
  display: inline-block;
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all 0.28s var(--ease);
}

.sitemap-list a:hover {
  color: #3A2400;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.35);
}

/* ============ FOOTER ============ */
#site-footer {
  position: relative;
  margin-top: 2rem;
  padding: 3rem 1.25rem 2rem;
  background:
    linear-gradient(180deg, rgba(31, 36, 48, 0.02), rgba(31, 36, 48, 0.06)),
    var(--bg-alt);
  border-top: 1px solid var(--border);
  color: var(--text-soft);
}

html[data-theme="dark"] #site-footer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.2)),
    var(--bg-alt);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2rem;
  max-width: var(--maxw);
  margin: 0 auto 2rem;
}

.footer-main h2 {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.footer-main h3 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.8rem;
}

.footer-main p { font-size: 0.9rem; }

.footer-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-main li { margin-bottom: 0.5rem; }

.footer-main ul a {
  font-size: 0.9rem;
  color: var(--text-soft);
  position: relative;
  padding-left: 0;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.footer-main ul a::before {
  content: "›";
  position: absolute;
  left: -12px;
  opacity: 0;
  color: var(--brand);
  transition: opacity 0.25s var(--ease), left 0.25s var(--ease);
}

.footer-main ul a:hover {
  color: var(--brand-dark);
  padding-left: 6px;
}

.footer-main ul a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-legal {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border-strong);
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal p { margin: 0.4rem 0; color: var(--text-muted); font-size: 0.82rem; }
.footer-legal a { color: var(--text-soft); }
.footer-legal a:hover { color: var(--brand-dark); }

/* ============ BACK TO TOP ============ */
#back-to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(245, 166, 35, 0.45);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity 0.35s var(--ease);
  opacity: 0.92;
}

#back-to-top::before {
  content: "↑";
  font-size: 1.5rem;
  color: #fff;
  font-weight: 700;
  line-height: 1;
}

#back-to-top:hover {
  transform: translateY(-6px) scale(1.06);
  box-shadow: 0 16px 38px rgba(245, 166, 35, 0.6);
  opacity: 1;
}

/* ============ SCROLL ANIMATIONS ============ */
@media (prefers-reduced-motion: no-preference) {
  section,
  .hero,
  .post,
  .stats-list li {
    animation: revealUp 0.7s var(--ease) both;
    animation-timeline: view();
    animation-range: entry 0% cover 22%;
  }

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

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-media {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-media svg { width: 100%; }

  .site-search input { width: 160px; }
  .site-search input:focus { width: 180px; }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .nav-list {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 0.15rem;
    padding-top: 0.4rem;
    border-top: 1px dashed var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease), padding 0.45s var(--ease);
  }

  .nav-wrap.menu-open .nav-list {
    max-height: 420px;
    padding-top: 0.6rem;
  }

  #menu-toggle { display: inline-block; }

  .site-search {
    order: 2;
    margin-left: auto;
  }
}

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

  .topbar {
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.72rem;
    padding: 0.35rem 1rem;
  }

  .nav-wrap {
    padding: 0.5rem 1rem;
    gap: 0.6rem;
  }

  .brand { font-size: 1rem; }
  .brand svg { width: 34px; height: 34px; }

  .site-search { width: 100%; order: 4; }
  .site-search input { flex: 1; width: 100%; }
  .site-search input:focus { width: 100%; }

  main { padding: 0 1rem 3rem; }

  section { margin-bottom: 2.5rem; }

  .hero {
    padding: 1.5rem 1.2rem;
    border-radius: var(--radius-lg);
    gap: 1.6rem;
  }

  .hero::after { width: 260px; height: 260px; right: -100px; top: -100px; }

  .hero .lead { font-size: 0.92rem; }

  .hero-actions { flex-direction: column; gap: 0.7rem; }
  .btn-primary, .btn-secondary { width: 100%; }

  .stats-list { grid-template-columns: repeat(2, 1fr); }

  .stats-list li { padding: 1.1rem 0.7rem; }

  #brand,
  #product,
  #advantage,
  #scene,
  #solution,
  #industry,
  #cases,
  #knowledge,
  #howto,
  #eeat,
  #contact {
    padding: 1.2rem 1rem;
    border-radius: var(--radius-lg);
  }

  .post { padding: 1.1rem 1.1rem; }

  #faq summary { padding: 0.85rem 2.8rem 0.85rem 1rem; font-size: 0.92rem; }
  #faq details p { padding: 0 1rem 1rem; font-size: 0.88rem; }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  #back-to-top {
    width: 46px;
    height: 46px;
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 420px) {
  .stats-list { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .stats-list strong { font-size: 1.45rem; }
  .stats-list span { font-size: 0.76rem; }
  .hero-text h1 { font-size: 1.4rem; }
  .sitemap-list a { font-size: 0.82rem; padding: 0.4rem 0.8rem; }
}

/* ============ PRINT ============ */
@media print {
  #site-header, #back-to-top, .hero-media, .hero-actions, #sitemap, #site-footer {
    display: none !important;
  }
  body { background: #fff; color: #000; }
  .hero { background: none; box-shadow: none; border: 1px solid #ccc; }
  .hero-text h1, .hero .lead { color: #000; text-shadow: none; }
  section { break-inside: avoid; }
}

/* ============ ACCESSIBILITY ============ */
@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 (hover: none) {
  .post:hover,
  .stats-list li:hover,
  #contact address p:hover,
  .sitemap-list a:hover {
    transform: none;
  }
}