:root {
  --orange: #FF6B35;
  --orange-light: #FFB088;
  --orange-pale: #FFF3EC;
  --green: #4CAF50;
  --blue: #2196F3;
  --purple: #9C27B0;
  --amber: #FF9800;
  --bg: #FFFFFF;
  --bg-alt: #FFF9F6;
  --bg-card: rgba(255, 255, 255, 0.72);
  --text: #2B2B2B;
  --text-soft: #5A5A5A;
  --text-muted: #8A8A8A;
  --border: rgba(255, 107, 53, 0.16);
  --shadow-sm: 0 2px 8px rgba(255, 107, 53, 0.08);
  --shadow-md: 0 8px 28px rgba(255, 107, 53, 0.13);
  --shadow-lg: 0 18px 48px rgba(255, 107, 53, 0.18);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --glass: blur(16px) saturate(160%);
  --header-h: 68px;
  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: light;
}

html[data-theme="dark"],
body.dark-mode {
  --bg: #14100E;
  --bg-alt: #1B1512;
  --bg-card: rgba(38, 29, 25, 0.62);
  --text: #F4EDE9;
  --text-soft: #C9BDB7;
  --text-muted: #948880;
  --border: rgba(255, 150, 100, 0.2);
  --orange-pale: #2A1D17;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 52px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

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

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

a:hover {
  color: #E4551F;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

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

h1 {
  font-size: clamp(1.75rem, 4.2vw, 2.9rem);
  margin: 0 0 0.8em;
}

h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  margin: 0 0 0.9em;
  position: relative;
  padding-left: 18px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 6px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--orange), var(--orange-light));
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.32rem);
  margin: 1.6em 0 0.7em;
}

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

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

li {
  margin-bottom: 0.5em;
}

li::marker {
  color: var(--orange);
}

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

time {
  color: var(--text-muted);
  font-size: 0.9em;
}

/* ============ Header ============ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--bg-card);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s var(--ease), box-shadow 0.3s var(--ease);
}

#site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: var(--maxw);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text);
  font-weight: 800;
}

.logo:hover {
  color: var(--orange);
}

.logo svg {
  width: 40px;
  height: 40px;
  transition: transform 0.5s var(--ease);
}

.logo:hover svg {
  transform: rotate(-12deg) scale(1.08);
}

.logo-text {
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  background: linear-gradient(120deg, var(--orange), #FF8C42);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

nav[aria-label="主导航"] {
  flex: 1;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-list::-webkit-scrollbar {
  display: none;
}

.nav-list li {
  margin: 0;
  flex-shrink: 0;
}

.nav-list a {
  display: block;
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--text-soft);
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
}

.nav-list a:hover {
  color: var(--orange);
  background: var(--orange-pale);
}

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

#menu-toggle:hover,
#theme-toggle:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-sm);
}

#menu-toggle {
  display: none;
}

/* ============ Breadcrumb ============ */
.breadcrumb {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 20px 0;
}

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

.breadcrumb li {
  margin: 0;
  display: flex;
  align-items: center;
}

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

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

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb [aria-current="page"] {
  color: var(--orange);
  font-weight: 600;
}

/* ============ Main / Sections ============ */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px 40px;
}

section {
  margin: 48px 0;
  padding: 34px clamp(18px, 3.5vw, 42px);
  background: var(--bg-card);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
  animation: fadeUp 0.7s var(--ease) both;
}

section:hover {
  box-shadow: var(--shadow-md);
}

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

section:nth-of-type(2n) {
  animation-delay: 0.06s;
}

section:nth-of-type(3n) {
  animation-delay: 0.12s;
}

/* ============ Hero ============ */
#hero {
  margin-top: 26px;
  padding: clamp(30px, 5vw, 64px) clamp(20px, 4vw, 52px);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 176, 136, 0.55), transparent 46%),
    radial-gradient(circle at 88% 8%, rgba(255, 214, 180, 0.6), transparent 42%),
    linear-gradient(135deg, #FF6B35 0%, #FF8C42 42%, #FFB088 100%);
  border: none;
  color: #fff;
  overflow: hidden;
  position: relative;
}

#hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(6px);
  pointer-events: none;
}

#hero h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(120, 40, 0, 0.22);
  position: relative;
  z-index: 1;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  max-width: 860px;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 34px;
  position: relative;
  z-index: 1;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
  will-change: transform;
}

.btn-primary {
  background: #fff;
  color: var(--orange);
  box-shadow: 0 8px 22px rgba(120, 40, 0, 0.22);
}

.btn-primary:hover {
  color: #E4551F;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(120, 40, 0, 0.3);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
  transform: translateY(-3px) scale(1.03);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
  z-index: 1;
}

.stat {
  padding: 18px 14px;
  text-align: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.stat:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.26);
}

.stat-num {
  display: block;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02em;
}

/* ============ Banner / Carousel ============ */
#banner {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.slide {
  display: none;
  animation: slideIn 0.6s var(--ease) both;
}

.slide.active {
  display: block;
}

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.35);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.dot:hover {
  background: var(--orange);
  transform: scale(1.2);
}

.dot.active {
  width: 26px;
  border-radius: 999px;
  background: var(--orange);
}

/* ============ Timeline ============ */
.timeline {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--orange), var(--orange-light), transparent);
}

.timeline li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  transition: transform 0.3s var(--ease);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.14);
  transition: all 0.3s var(--ease);
}

.timeline li:hover {
  transform: translateX(6px);
}

.timeline li:hover::before {
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255, 107, 53, 0.18);
}

/* ============ Author box ============ */
.author-box {
  margin-top: 26px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.09), rgba(255, 176, 136, 0.06));
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
}

.author-box p {
  margin: 0 0 6px;
  font-size: 0.92rem;
}

.author-box p:last-child {
  margin-bottom: 0;
}

/* ============ Products / Solutions lists ============ */
#products ul,
#solutions ul,
#howto ul,
#howto ol {
  padding-left: 0;
  list-style: none;
}

#products > ul > li,
#solutions > ul > li {
  position: relative;
  padding: 14px 18px 14px 46px;
  margin-bottom: 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}

#products > ul > li::before,
#solutions > ul > li::before {
  content: "◆";
  position: absolute;
  left: 18px;
  top: 14px;
  color: var(--orange);
  font-size: 0.78rem;
}

#products > ul > li:hover,
#solutions > ul > li:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(255, 107, 53, 0.35);
}

/* ============ Cases ============ */
blockquote {
  margin: 18px 0;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange-light);
  position: relative;
  transition: all 0.35s var(--ease);
}

blockquote::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  right: 18px;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--orange);
  opacity: 0.18;
  font-family: Georgia, serif;
}

blockquote:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

/* ============ News ============ */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.news-list li {
  margin: 0;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease);
}

.news-list li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 53, 0.34);
}

.news-list h3 {
  margin: 0 0 6px;
  font-size: 1.06rem;
}

.news-list h3 a {
  color: var(--text);
}

.news-list h3 a:hover {
  color: var(--orange);
}

.news-list p {
  margin: 0 0 6px;
  font-size: 0.9rem;
}

.news-list p:last-child {
  margin-bottom: 0;
}

/* ============ Articles ============ */
#articles {
  display: block;
}

#articles > p {
  margin-bottom: 26px;
}

#articles article {
  padding: 24px 26px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

#articles article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--orange), var(--orange-light));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}

#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 53, 0.32);
}

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

#articles article h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

#articles article p:first-of-type {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 107, 53, 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(--orange);
  color: #fff;
}

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

/* ============ HowTo ============ */
#howto ol {
  counter-reset: howto;
}

#howto ol > li {
  counter-increment: howto;
  position: relative;
  padding: 14px 18px 14px 56px;
  margin-bottom: 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}

#howto ol > li::before {
  content: counter(howto);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

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

#howto ul > li {
  position: relative;
  padding-left: 24px;
}

#howto ul > li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ============ FAQ ============ */
.faq-item {
  margin-bottom: 12px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.35s var(--ease);
}

.faq-item:hover {
  border-color: rgba(255, 107, 53, 0.34);
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  margin: 0;
  font-size: 1rem;
}

.faq-q {
  width: 100%;
  padding: 18px 52px 18px 22px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  position: relative;
  font-family: inherit;
  line-height: 1.5;
  transition: color 0.25s var(--ease);
}

.faq-q::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.12);
  color: var(--orange);
  font-size: 1.15rem;
  font-weight: 400;
  transition: all 0.35s var(--ease);
}

.faq-q:hover {
  color: var(--orange);
}

.faq-q[aria-expanded="true"]::after {
  content: "−";
  background: var(--orange);
  color: #fff;
  transform: translateY(-50%) rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.45s var(--ease);
  padding: 0 22px;
}

.faq-a.active,
.faq-q[aria-expanded="true"] + .faq-a {
  max-height: 600px;
  padding: 0 22px 20px;
}

.faq-a p {
  margin: 0;
  font-size: 0.94rem;
  padding-top: 4px;
  border-top: 1px dashed var(--border);
  padding-top: 14px;
}

/* ============ Contact ============ */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.contact-list li {
  margin: 0;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 0.94rem;
  transition: all 0.3s var(--ease);
}

.contact-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(255, 107, 53, 0.32);
}

/* ============ Sitemap ============ */
.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sitemap-list li {
  margin: 0;
}

.sitemap-list a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: all 0.3s var(--ease);
}

.sitemap-list a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* ============ Friend links ============ */
.friend-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.friend-links li {
  margin: 0;
}

.friend-links a {
  display: inline-block;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: all 0.3s var(--ease);
}

.friend-links a:hover {
  color: var(--orange);
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* ============ Footer ============ */
footer {
  margin-top: 50px;
  background: linear-gradient(135deg, #2B1A12 0%, #3D2519 55%, #4A2C1D 100%);
  color: rgba(255, 255, 255, 0.82);
  padding: 40px 20px;
}

html[data-theme="dark"] footer,
body.dark-mode footer {
  background: linear-gradient(135deg, #0E0A08 0%, #1A120D 55%, #221610 100%);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}

.footer-inner p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.footer-inner p:last-child {
  margin-bottom: 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-inner a {
  color: var(--orange-light);
}

.footer-inner a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ============ Back to top ============ */
#back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #FF8C42);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: all 0.35s var(--ease);
  z-index: 999;
}

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

#back-to-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: var(--shadow-lg);
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .nav-list a {
    padding: 8px 10px;
    font-size: 0.86rem;
  }

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

@media (max-width: 860px) {
  #menu-toggle {
    display: inline-flex;
  }

  nav[aria-label="主导航"] {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--bg-card);
    backdrop-filter: var(--glass);
    -webkit-backdrop-filter: var(--glass);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.35s var(--ease);
    padding: 12px 16px 20px;
  }

  nav[aria-label="主导航"].open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    overflow: visible;
  }

  .nav-list a {
    padding: 12px 16px;
    font-size: 0.96rem;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
  }

  .header-inner {
    gap: 10px;
  }

  .logo-text {
    font-size: 1.05rem;
  }

  section {
    padding: 26px 20px;
    margin: 34px 0;
    border-radius: var(--radius);
  }

  #hero {
    padding: 34px 22px;
  }

  .hero-actions {
    margin: 22px 0 28px;
  }

  .btn-primary,
  .btn-secondary {
    flex: 1 1 auto;
    padding: 12px 22px;
  }

  #articles article {
    padding: 20px 18px;
  }
}

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

  main {
    padding: 0 14px 30px;
  }

  .breadcrumb {
    padding: 14px 14px 0;
  }

  section {
    padding: 22px 16px;
    margin: 26px 0;
  }

  #hero {
    padding: 28px 18px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat {
    padding: 14px 10px;
  }

  .stat-label {
    font-size: 0.74rem;
  }

  h2 {
    padding-left: 14px;
  }

  h2::before {
    width: 5px;
  }

  .carousel-dots {
    bottom: 10px;
    padding: 6px 10px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  #back-to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }

  .author-box {
    padding: 16px 18px;
  }

  #articles article a {
    font-size: 0.86rem;
  }
}

/* ============ Motion & print ============ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  #site-header,
  #back-to-top,
  .hero-actions,
  .carousel-dots,
  footer {
    display: none !important;
  }

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

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

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