```css
/* ==========================================================================
   黄果短剧免费大全 - niupisheng.com
   主样式表 | 渐变Banner · 圆角卡片 · 毛玻璃 · 响应式 · 暗色模式
   ========================================================================== */

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------- 设计变量 ---------- */
:root {
  --brand: #c8102e;
  --brand-2: #ff5a4e;
  --brand-3: #ffd166;
  --ink: #1c1c22;
  --ink-2: #4a4a55;
  --ink-3: #8a8a94;
  --bg: #ffffff;
  --bg-2: #f7f5f2;
  --bg-3: #efece7;
  --line: #e8e4de;
  --card: #ffffff;
  --card-glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.55);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.14);
  --shadow-brand: 0 10px 32px rgba(200, 16, 46, 0.32);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --header-h: 70px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --grad-brand: linear-gradient(135deg, #c8102e 0%, #ff5a4e 100%);
  --grad-hero: linear-gradient(135deg, #1c1c22 0%, #3a1015 52%, #c8102e 100%);
}

html[data-theme="dark"] {
  --ink: #f2f0ec;
  --ink-2: #b9b6b0;
  --ink-3: #7d7a75;
  --bg: #141416;
  --bg-2: #1d1d21;
  --bg-3: #26262c;
  --line: #2c2c33;
  --card: #1d1d21;
  --card-glass: rgba(29, 29, 33, 0.72);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.62);
  --shadow-brand: 0 10px 32px rgba(200, 16, 46, 0.45);
  --grad-hero: linear-gradient(135deg, #0d0d0f 0%, #2a0c11 52%, #8f0b20 100%);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Hiragino Sans GB", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
  overflow-x: hidden;
}

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

a:hover {
  color: var(--brand-2);
  text-decoration: underline;
}

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

ul,
ol {
  list-style-position: inside;
}

::selection {
  background: rgba(200, 16, 46, 0.18);
  color: var(--ink);
}

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

/* 滚动条 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-2);
}
::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand);
}

/* ---------- 通用容器 ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  z-index: 9999;
  font-weight: 700;
  transition: left 0.2s var(--ease);
}

.skip-link:focus {
  left: 8px;
  top: 8px;
  color: #fff;
  text-decoration: none;
}

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  letter-spacing: 0.2px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.topbar a {
  color: rgba(255, 255, 255, 0.88);
}

.topbar a:hover {
  color: var(--brand-3);
  text-decoration: none;
}

.topbar .topbar-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

/* ---------- 页头 ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--card-glass);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.05);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

/* ---------- 品牌标识 ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: 0.4px;
  line-height: 1.25;
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
  color: var(--ink);
}

.brand .logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  box-shadow: var(--shadow-brand);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.brand:hover .logo-mark {
  transform: rotate(-8deg) scale(1.06);
}

.brand small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-2);
  letter-spacing: 0;
  margin-top: 1px;
}

/* ---------- 主导航 ---------- */
nav.main-nav ul {
  display: flex;
  list-style: none;
  gap: 22px;
  align-items: center;
}

nav.main-nav a {
  display: inline-block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color 0.25s var(--ease);
}

nav.main-nav a:hover {
  color: var(--brand);
  text-decoration: none;
}

nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transition: width 0.28s var(--ease);
}

nav.main-nav a:hover::after,
nav.main-nav a:focus-visible::after {
  width: 100%;
}

/* ---------- 头部工具栏 ---------- */
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--bg-2);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.search-box:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}

.search-box input {
  border: none;
  background: transparent;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  width: 150px;
  font-family: inherit;
}

.search-box input::placeholder {
  color: var(--ink-3);
}

.search-box button {
  border: none;
  background: var(--grad-brand);
  color: #fff;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  font-weight: 600;
  transition: filter 0.25s var(--ease);
}

.search-box button:hover {
  filter: brightness(1.08);
}

.icon-btn {
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.icon-btn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
}

/* ---------- 移动端导航 ---------- */
.mobile-nav {
  display: none;
  background: var(--card-glass);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  animation: navDrop 0.3s var(--ease);
}

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

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  display: block;
  padding: 10px 20px;
  color: var(--ink);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.mobile-nav a:hover {
  background: var(--bg-2);
  color: var(--brand);
  text-decoration: none;
}

.mobile-nav.open {
  display: block;
}

/* ---------- Hero Banner ---------- */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 18%, rgba(255, 209, 102, 0.22), transparent 46%),
    radial-gradient(circle at 8% 88%, rgba(255, 90, 78, 0.24), transparent 42%);
  pointer-events: none;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.hero .container {
  position: relative;
  padding-top: 56px;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 38px;
  line-height: 1.32;
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.22);
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #ffd166 0%, #ffe9a8 50%, #ffd166 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffd166;
}

.hero p.lead {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
  max-width: 560px;
  line-height: 1.85;
}

.hero p.lead strong {
  color: #ffd166;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.4;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
  box-shadow: 0 14px 36px rgba(200, 16, 46, 0.45);
  filter: brightness(1.05);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  text-decoration: none;
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Hero 数据 ---------- */
.hero-stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.hero-stats .stat b {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: var(--brand-3);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.hero-stats .stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Hero 轮播 ---------- */
.hero-visual {
  position: relative;
}

.banner-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.slide {
  display: none;
  position: relative;
}

.slide.active {
  display: block;
  animation: fadeIn 0.6s var(--ease);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.slide svg {
  width: 100%;
  height: auto;
  display: block;
}

.slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 20px 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: #fff;
}

.slide-caption b {
  font-size: 16px;
  display: block;
  margin-bottom: 2px;
  letter-spacing: 0.3px;
}

.slide-caption span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.slider-dots {
  position: absolute;
  bottom: 14px;
  right: 16px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.slider-dots button:hover {
  background: rgba(255, 255, 255, 0.8);
}

.slider-dots button.active {
  background: var(--brand-3);
  transform: scale(1.25);
}

/* ---------- 区块 ---------- */
section {
  padding: 64px 0;
  position: relative;
}

section.alt {
  background: var(--bg-2);
  transition: background-color 0.35s var(--ease);
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 44px;
}

.section-head h2 {
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  line-height: 1.4;
  color: var(--ink);
}

.section-head p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.85;
}

.section-head .kicker {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 10px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: rgba(200, 16, 46, 0.08);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  font-size: 13px;
  color: var(--ink-2);
  padding: 16px 0;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

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

.breadcrumb li::after {
  content: "›";
  margin-left: 6px;
  color: var(--ink-3);
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb a {
  color: var(--ink-2);
}

.breadcrumb a:hover {
  color: var(--brand);
  text-decoration: none;
}

/* ---------- 网格 ---------- */
.grid {
  display: grid;
  gap: 24px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease), background-color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.05), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 16, 46, 0.28);
}

.card:hover::after {
  opacity: 1;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--ink);
}

.card h4 {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--ink);
}

.card p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.85;
}

.card ul {
  list-style: none;
}

.card ul li {
  margin-bottom: 8px;
}

.card ul li a {
  color: var(--ink-2);
  font-size: 15px;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
  display: inline-block;
}

.card ul li a:hover {
  color: var(--brand);
  padding-left: 4px;
  text-decoration: none;
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.28);
  transition: transform 0.35s var(--ease);
}

.card:hover .icon {
  transform: scale(1.08) rotate(-5deg);
}

/* ---------- 正文排版 ---------- */
.prose {
  max-width: 900px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 26px;
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 5px solid var(--brand);
  font-weight: 900;
  line-height: 1.45;
  color: var(--ink);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 20px;
  margin: 30px 0 12px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.5;
}

.prose h4 {
  font-size: 17px;
  margin: 22px 0 10px;
  font-weight: 700;
  color: var(--ink);
}

.prose p {
  margin-bottom: 16px;
  color: var(--ink-2);
  text-align: justify;
  line-height: 1.9;
}

.prose ul,
.prose ol {
  margin: 0 0 18px 22px;
  color: var(--ink-2);
}

.prose li {
  margin-bottom: 8px;
  line-height: 1.85;
}

.prose strong {
  color: var(--ink);
  font-weight: 700;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-block;
  background: rgba(200, 16, 46, 0.1);
  color: var(--brand);
  font-size: 12px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-right: 6px;
  margin-bottom: 6px;
  font-weight: 600;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.tag:hover {
  background: var(--brand);
  color: #fff;
}

/* ---------- 文章卡片 ---------- */
.article-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease), background-color 0.35s var(--ease);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 16, 46, 0.28);
}

.article-cover {
  height: 150px;
  overflow: hidden;
  position: relative;
  background: var(--bg-3);
}

.article-cover svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.article-card:hover .article-cover svg {
  transform: scale(1.06);
}

.article-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-body h3 {
  font-size: 17px;
  margin-bottom: 8px;
  font-weight: 800;
  line-height: 1.55;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}

.article-card:hover .article-body h3 {
  color: var(--brand);
}

.article-meta {
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.article-body p {
  font-size: 14px;
  color: var(--ink-2);
  flex: 1;
  margin-bottom: 14px;
  line-height: 1.8;
}

.read-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  align-self: flex-start;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.read-more:hover {
  text-decoration: none;
  color: var(--brand-2);
  transform: translateX(4px);
}

/* ---------- FAQ 手风琴 ---------- */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--card);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.35s var(--ease);
}

.faq-item:hover {
  border-color: rgba(200, 16, 46, 0.3);
  box-shadow: var(--shadow);
}

.faq-item.open {
  border-color: rgba(200, 16, 46, 0.42);
  box-shadow: var(--shadow);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: inherit;
  line-height: 1.6;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.faq-q:hover {
  color: var(--brand);
  background: rgba(200, 16, 46, 0.03);
}

.faq-q .plus {
  font-size: 22px;
  color: var(--brand);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .plus {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s var(--ease), padding 0.38s var(--ease);
  padding: 0 22px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.9;
}

.faq-a p {
  margin-bottom: 0;
}

.faq-item.open .faq-a {
  padding: 0 22px 20px;
}

/* ---------- 使用教程步骤 ---------- */
.howto-step {
  display: flex;
  gap: 20px;
  margin-bottom: 26px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.howto-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 16, 46, 0.28);
}

.howto-step .num {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.3);
}

.howto-step .step-body h3 {
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.howto-step .step-body p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 0;
}

/* ---------- 客户案例 ---------- */
.case-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease), background-color 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 16, 46, 0.28);
}

.case-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.case-card .case-quote {
  font-size: 15px;
  color: var(--ink-2);
  font-style: italic;
  border-left: 4px solid var(--brand);
  padding-left: 16px;
  margin: 14px 0;
  line-height: 1.85;
  flex: 1;
}

.case-card .case-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.case-card .case-author span {
  font-weight: 400;
  color: var(--ink-3);
}

/* ---------- 联系我们 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.contact-info {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.contact-info h3 {
  color: var(--ink);
  font-weight: 800;
}

.contact-info ul {
  list-style: none;
}

.contact-info li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
}

.contact-info li:last-child {
  border-bottom: none;
}

.contact-info li b {
  color: var(--ink);
  min-width: 82px;
  flex-shrink: 0;
  font-weight: 700;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  margin-bottom: 16px;
  background: var(--bg-2);
  color: var(--ink);
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.35s var(--ease);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--ink-3);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
  background: var(--card);
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.7;
}

.contact-form button {
  width: 100%;
}

/* ---------- 页脚 ---------- */
footer.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 0;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

footer.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
}

footer.site-footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 40px;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 9px;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
  display: inline-block;
}

.footer-grid a:hover {
  color: var(--brand-3);
  text-decoration: none;
  padding-left: 4px;
}

footer.site-footer p {
  line-height: 1.85;
}

footer .brand {
  color: #fff;
  margin-bottom: 14px;
}

footer .brand:hover {
  color: #fff;
}

footer .brand small {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  line-height: 1.7;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
  color: var(--brand-3);
  text-decoration: none;
}

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease),
    transform 0.3s var(--ease), filter 0.25s var(--ease);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

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

.back-top:hover {
  transform: translateY(-4px);
  filter: brightness(1.08);
}

/* ---------- 滚动动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}

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

/* ---------- 提示条 ---------- */
.notice-bar {
  background: #fff7e6;
  border: 1px solid #ffe0a3;
  color: #8a5a00;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 24px;
  animation: fadeIn 0.4s var(--ease);
  line-height: 1.7;
}

html[data-theme="dark"] .notice-bar {
  background: rgba(255, 209, 102, 0.1);
  border-color: rgba(255, 209, 102, 0.32);
  color: #ffd166;
}

/* ---------- 减少动效偏好 ---------- */
@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;
  }
}

/* ==========================================================================
   响应式适配
   ========================================================================== */

/* ---------- 平板 / 小桌面 ---------- */
@media (max-width: 1080px) {
  nav.main-nav ul {
    gap: 16px;
  }
  nav.main-nav a {
    font-size: 14px;
  }
  .search-box input {
    width: 120px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 64px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    padding-top: 44px;
    padding-bottom: 44px;
    gap: 32px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p.lead {
    font-size: 16px;
  }

  .hero-visual {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

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

  nav.main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .search-box input {
    width: 110px;
  }

  section {
    padding: 52px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-head h2 {
    font-size: 26px;
  }
}

/* ---------- 手机 ---------- */
@media (max-width: 600px) {
  body {
    font-size: 15px;
    line-height: 1.8;
  }

  .container {
    padding: 0 16px;
  }

  .topbar .container {
    justify-content: center;
    text-align: center;
    font-size: 12px;
  }

  .topbar .topbar-links {
    display: none;
  }

  .header-inner {
    gap: 10px;
  }

  .brand {
    font-size: 16px;
    white-space: normal;
  }

  .brand .logo-mark {
    width: 34px;
    height: 34px;
    font-size: 17px;
    border-radius: 10px;
  }

  .brand small {
    font-size: 10px;
  }

  .search-box {
    display: none;
  }

  .header-tools {
    gap: 8px;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .hero .container {
    padding-top: 34px;
    padding-bottom: 34px;
    gap: 26px;
  }

  .hero h1 {
    font-size: 23px;
    line-height: 1.4;
  }

  .hero p.lead {
    font-size: 15px;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn {
    padding: 11px 22px;
    font-size: 14px;
    flex: 1 1 auto;
  }

  .hero-stats {
    gap: 18px 22px;
  }

  .hero-stats .stat b {
    font-size: 21px;
  }

  .hero-stats .stat span {
    font-size: 12px;
  }

  .slide-caption {
    padding: 16px 14px 14px;
  }

  .slide-caption b {
    font-size: 14px;
  }

  .slide-caption span {
    font-size: 12px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-bottom: 30px;
  }

  section {
    padding: 42px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head h2 {
    font-size: 22px;
  }

  .section-head p {
    font-size: 14px;
  }

  .section-head .kicker {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .card {
    padding: 20px;
    border-radius: 14px;
  }

  .card h3 {
    font-size: 17px;
  }

  .card p {
    font-size: 14px;
  }

  .prose h2 {
    font-size: 21px;
    margin: 30px 0 12px;
    padding-left: 12px;
    border-left-width: 4px;
  }

  .prose h3 {
    font-size: 17px;
    margin: 24px 0 10px;
  }

  .prose h4 {
    font-size: 16px;
  }

  .prose p,
  .prose li {
    font-size: 14.5px;
    text-align: left;
  }

  .prose ul,
  .prose ol {
    margin-left: 18px;
  }

  .howto-step {
    gap: 14px;
    padding: 16px;
  }

  .howto-step .num {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .howto-step .step-body h3 {
    font-size: 16px;
  }

  .howto-step .step-body p {
    font-size: 14px;
  }

  .article-cover {
    height: 130px;
  }

  .article-body {
    padding: 16px;
  }

  .article-body h3 {
    font-size: 16px;
  }

  .faq-q {
    padding: 15px 16px;
    font-size: 15px;
  }

  .faq-a {
    padding: 0 16px;
    font-size: 14px;
  }

  .faq-item.open .faq-a {
    padding: 0 16px 16px;
  }

  .contact-info,
  .contact-form {
    padding: 22px;
  }

  .contact-info li {
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
  }

  .contact-info li b {
    min-width: 0;
  }

  .case-card {
    padding: 20px;
  }

  .back-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    font-size: 12px;
  }
}

/* ---------- 超小屏 ---------- */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 21px;
  }

  .brand {
    font-size: 15px;
  }

  .brand small {
    display: none;
  }

  .btn {
    flex: 1 1 100%;
  }
}

/* ---------- 打印 ---------- */
@media print {
  .topbar,
  header.site-header,
  .hero-visual,
  .back-top,
  footer.site-footer,
  .mobile-nav {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .card,
  .article-card,
  .faq-item,
  .case-card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
```