/* AIKE 智能客服推广站 — 参考得助智能官网排版 */
:root {
  --primary: #175dff;
  --primary-dark: #0d47cc;
  --primary-light: #e8f0ff;
  --text: #222;
  --text-secondary: #666;
  --text-muted: #999;
  --border: #eee;
  --bg: #f7f9fc;
  --white: #fff;
  --header-h: 92px;
  --container: 1200px;
  --radius: 4px;
  --shadow: 0 8px 32px rgba(23, 93, 255, 0.08);
  --transition: 0.25s ease;
}

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

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* ── Header ── */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(50%) blur(10px);
  -webkit-backdrop-filter: saturate(50%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

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

.logo-img {
  height: 50px;
  width: auto;
  min-width: 195px;
  max-width: 300px;
  object-fit: contain;
  object-position: left center;
}

.header-wechat-link {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--primary);
  white-space: nowrap;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.header-wechat-link:hover {
  color: var(--primary-dark);
  background: var(--primary-light);
}

.header-wechat-link--mobile {
  justify-content: center;
  width: 100%;
  height: 44px;
  font-size: 16px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #4d8bff);
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
}

.logo-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.logo-text span {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav > li {
  position: relative;
}

.nav > li > a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--text);
  border-radius: var(--radius);
}

.nav > li > a:hover,
.nav > li > a.active {
  color: var(--primary);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 200px;
  padding: 12px 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

/* 桥接导航与下拉之间的空隙，避免鼠标下移时 hover 中断 */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav > li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.nav-dropdown a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-tel {
  font-size: 14px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.header-tel strong {
  color: var(--primary);
  font-size: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 20px;
  height: 36px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
}

.btn-lg {
  height: 48px;
  padding: 0 32px;
  font-size: 16px;
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--white);
}

.btn-white:hover {
  background: var(--primary-light);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero Banner ── */
.hero {
  margin-top: var(--header-h);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f5ff 0%, #e8f0ff 50%, #f7f9ff 100%);
}

.hero-slider {
  position: relative;
}

.hero-slide {
  display: none;
  min-height: 520px;
  padding: 80px 0 100px;
}

.hero-slide.active {
  display: block;
  animation: fadeIn 0.6s ease;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-tagline {
  font-size: clamp(16px, 2vw, 22px);
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-features {
  margin-bottom: 36px;
}

.hero-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 12px;
}

.hero-features li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9' fill='%23175dff'/%3E%3Cpath d='M5 9l3 3 5-6' stroke='%23fff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-mockup {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4/3;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(23, 93, 255, 0.15);
  overflow: hidden;
  border: 1px solid var(--border);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #f5f7fa;
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
}

.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: calc(100% - 45px);
}

.chat-bubble {
  max-width: 78%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.chat-bubble.user {
  align-self: flex-end;
  background: var(--primary);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chat-bubble.ai {
  align-self: flex-start;
  background: #f0f4ff;
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(23, 93, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
}

.hero-dot.active {
  background: var(--primary);
  width: 48px;
}

/* ── Section common ── */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  margin-inline: auto;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* ── Stats bar ── */
.stats-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.2;
}

.stat-item span {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ── Product tabs ── */
.product-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 10px 24px;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--white);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.product-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--primary-light);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.product-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.product-card .tag {
  display: inline-block;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 2px;
  background: #fff3e0;
  color: #e65100;
  margin-left: 6px;
  vertical-align: middle;
}

.product-card .tag.hot {
  background: #ffebee;
  color: #c62828;
}

.product-card .tag.new {
  background: var(--primary-light);
  color: var(--primary);
}

.card-link {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}

.card-link:hover {
  text-decoration: underline;
}

/* ── Solutions ── */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.solution-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.solution-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.solution-detail-card:hover {
  box-shadow: var(--shadow);
}

.solution-detail-head {
  padding: 14px 18px;
  color: var(--white);
  flex-shrink: 0;
}

.solution-detail-head h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.solution-detail-head.tone-1 { background: linear-gradient(135deg, var(--primary), #4d8bff); }
.solution-detail-head.tone-2 { background: linear-gradient(135deg, #0d47cc, #175dff); }
.solution-detail-head.tone-3 { background: linear-gradient(135deg, #1565c0, #42a5f5); }
.solution-detail-head.tone-4 { background: linear-gradient(135deg, #1a237e, #3949ab); }
.solution-detail-head.tone-5 { background: linear-gradient(135deg, #00695c, #26a69a); }
.solution-detail-head.tone-6 { background: linear-gradient(135deg, #e65100, #ff9800); }
.solution-detail-head.tone-7 { background: linear-gradient(135deg, #4a148c, #7b1fa2); }
.solution-detail-head.tone-8 { background: linear-gradient(135deg, #37474f, #607d8b); }
.solution-detail-head.tone-9 { background: linear-gradient(135deg, #c62828, #ef5350); }
.solution-detail-head.tone-10 { background: linear-gradient(135deg, #2e7d32, #66bb6a); }

.solution-detail-body {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 16px;
  align-items: start;
  flex: 1;
}

.solution-detail-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  border: 1px solid var(--border);
}

.solution-detail-text p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-secondary);
  text-align: justify;
  margin: 0;
}

.solution-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.solution-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--primary) 0%, #4d8bff 100%);
  opacity: 0.9;
}

.solution-card:nth-child(2) .solution-card-bg { background: linear-gradient(160deg, #0d47cc, #175dff); }
.solution-card:nth-child(3) .solution-card-bg { background: linear-gradient(160deg, #1565c0, #42a5f5); }
.solution-card:nth-child(4) .solution-card-bg { background: linear-gradient(160deg, #1a237e, #3949ab); }
.solution-card:nth-child(5) .solution-card-bg { background: linear-gradient(160deg, #00695c, #26a69a); }
.solution-card:nth-child(6) .solution-card-bg { background: linear-gradient(160deg, #e65100, #ff9800); }
.solution-card:nth-child(7) .solution-card-bg { background: linear-gradient(160deg, #4a148c, #7b1fa2); }
.solution-card:nth-child(8) .solution-card-bg { background: linear-gradient(160deg, #37474f, #607d8b); }

.solution-card-content {
  position: relative;
  z-index: 1;
  padding: 28px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}

.solution-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.solution-card p {
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.6;
}

/* ── Cases ── */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.case-card:hover {
  box-shadow: var(--shadow);
}

.case-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-light), #d4e4ff);
  display: grid;
  place-items: center;
  font-size: 48px;
}

.case-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.case-body .industry {
  font-size: 12px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 8px;
}

.case-body h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.case-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
  flex: 1;
}

.case-metrics {
  display: flex;
  gap: 20px;
  margin-top: auto;
  padding-top: 16px;
}

.case-metrics div strong {
  display: block;
  font-size: 22px;
  color: var(--primary);
}

.case-metrics div span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Resources ── */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.resource-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: box-shadow var(--transition);
}

.resource-card:hover {
  box-shadow: var(--shadow);
}

.resource-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--primary-light);
  display: grid;
  place-items: center;
  font-size: 26px;
}

.resource-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.resource-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Community ── */
.community-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.news-list {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.news-item:last-child {
  border-bottom: none;
}

.news-item:hover {
  background: var(--primary-light);
}

.news-item h4 {
  font-size: 15px;
  font-weight: 500;
  flex: 1;
}

.news-item time {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}

.community-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-card {
  flex: 1;
  padding: 28px;
  background: linear-gradient(135deg, var(--primary), #4d8bff);
  border-radius: 8px;
  color: var(--white);
}

.side-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.side-card p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 20px;
  line-height: 1.6;
}

.side-card .btn-white {
  width: 100%;
}

/* ── Article pages ── */
.article-page {
  margin-top: var(--header-h);
  padding: 48px 0 80px;
}

.article-wrap {
  max-width: 780px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 14px;
  margin-bottom: 24px;
}

.article-header {
  margin-bottom: 28px;
}

.article-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.article-header h1 {
  font-size: 30px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.article-meta {
  font-size: 14px;
  color: var(--text-muted);
}

.article-cover {
  margin: 0 0 32px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.article-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.article-body h2 {
  font-size: 22px;
  margin: 36px 0 14px;
  color: var(--text);
}

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

.article-body p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 18px 20px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.article-body li {
  margin-bottom: 8px;
  list-style: disc;
}

.article-body figure {
  margin: 28px 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.article-body figure img {
  width: 100%;
  height: auto;
  display: block;
}

.article-body figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg);
}

.article-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.article-tags span {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 4px;
}

.article-nav {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.article-nav a {
  font-size: 14px;
  color: var(--primary);
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-content h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.about-feat {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.about-feat .num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.about-feat h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.about-feat p {
  font-size: 13px;
  margin: 0;
}

.about-visual {
  background: var(--bg);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid var(--border);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  display: grid;
  place-items: center;
  font-size: 20px;
}

.contact-item strong {
  display: block;
  font-size: 15px;
}

.contact-item span {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ── CTA ── */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, #0d47cc 100%);
  padding: 72px 0;
  text-align: center;
  color: var(--white);
}

.cta h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 12px;
}

.cta p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ── Footer ── */
.footer {
  background: #1a1f36;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo-text {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col a:hover {
  color: var(--primary-dark);
  background: #e8f0ff00;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

/* ── Float CTA ── */
.float-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(23, 93, 255, 0.4);
  transition: transform var(--transition);
  display: grid;
  place-items: center;
}

.float-btn:hover {
  transform: scale(1.08);
}

.float-btn.tel {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
}

.float-btn img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.wechat-tip {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 1100;
  transform: translateX(-50%) translateY(12px);
  padding: 12px 20px;
  font-size: 14px;
  color: var(--white);
  background: rgba(26, 31, 54, 0.92);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
  max-width: calc(100% - 32px);
  text-align: center;
}

.wechat-tip.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .wechat-tip {
    white-space: normal;
    width: max-content;
    max-width: calc(100% - 32px);
  }
}

/* ── Page hero (sub pages) ── */
.page-hero {
  margin-top: var(--header-h);
  padding: 64px 0 56px;
  background: linear-gradient(135deg, #f0f5ff 0%, #e8f0ff 100%);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  margin-inline: auto;
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--primary);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.pricing-card:hover {
  box-shadow: 0 12px 40px rgba(23, 93, 255, 0.14);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #4d8bff);
  border-radius: var(--radius);
}

.pricing-card-head h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.pricing-tagline {
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 24px 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.pricing-amount {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
}

.pricing-amount::before {
  content: "¥";
  font-size: 22px;
  font-weight: 600;
  margin-inline-end: 2px;
}

.pricing-unit {
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-features li {
  position: relative;
  padding-inline-start: 22px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.pricing-cta {
  width: 100%;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pricing-guide {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.pricing-guide h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.pricing-guide ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.pricing-guide li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-inline-start: 0;
}

.pricing-guide li strong {
  color: var(--primary);
  font-weight: 600;
}

.pricing-guide-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Client logos ── */
.clients-bar {
  padding: 48px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.clients-bar .label {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.clients-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
}

.industry-tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  white-space: nowrap;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.industry-tag:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-light);
}

.client-logo {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.85;
  transition: filter var(--transition), opacity var(--transition);
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ── QR cards ── */
.qr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.qr-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.qr-card img {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  background: var(--white);
}

.qr-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.qr-card p {
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-qr {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-qr img {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 4px;
  background: #fff;
}

.footer-qr span {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 90px;
  width: auto;
  max-width: 260px;
  display: block;
  padding: 3px 3px;
  background: #fff;
  border-radius: 8px;
  object-fit: contain;
}

.case-logo {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  margin-bottom: 12px;
}

.case-thumb.img-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--white);
}

.case-thumb.img-thumb img {
  width: auto;
}

.preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.preview-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
}

.preview-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.preview-card .icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.preview-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.preview-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.preview-card code {
  font-size: 13px;
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 3px;
}

@media (max-width: 1024px) {
  .qr-grid,
  .preview-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .qr-grid,
  .preview-cards {
    grid-template-columns: 1fr;
  }

  .client-logo {
    height: 36px;
    max-width: 120px;
  }
}

/* ── Mobile nav overlay ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  background: var(--white);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav > li {
  border-bottom: 1px solid var(--border);
}

.mobile-nav > li > a {
  display: block;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 500;
}

.mobile-sub {
  padding: 0 0 12px 16px;
}

.mobile-sub a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.mobile-nav-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-actions .btn {
  width: 100%;
  height: 44px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .community-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-mockup {
    max-width: 400px;
  }

  .product-grid,
  .case-grid,
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .solution-detail-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .solution-detail-body {
    grid-template-columns: 110px 1fr;
    gap: 14px;
    padding: 14px;
  }

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

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

@media (max-width: 768px) {
  :root {
    --header-h: 76px;
  }

  .logo-img {
    height: 70px;
    min-width: 150px;
    max-width: 240px;
  }

  .nav,
  .header-tel {
    display: none;
  }

  .header-actions .header-wechat-link {
    display: none;
  }

  .industry-tag {
    font-size: 13px;
    padding: 8px 14px;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .hero-slide {
    min-height: auto;
    padding: 48px 0 72px;
  }

  .product-grid,
  .case-grid,
  .resource-grid,
  .pricing-grid,
  .solution-grid,
  .solution-detail-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .stat-item strong {
    font-size: clamp(18px, 5vw, 24px);
  }

  .stat-item span {
    font-size: 11px;
    line-height: 1.3;
  }

  .solution-detail-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .solution-detail-media {
    max-width: 100%;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 24px;
  }

  /* 移动端隐藏页脚链接列，避免过长；主导航已在顶部菜单 */
  .footer-col {
    display: none;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .footer-brand p {
    margin-bottom: 0;
  }

  .float-cta {
    right: 16px;
    bottom: 16px;
  }

  .header-actions .btn-outline {
    display: none;
  }
}

/* —— Docs layout (resource center) —— */
.doc-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: var(--header-h) auto 0;
  min-height: calc(100vh - var(--header-h));
  align-items: start;
}

.doc-sidebar {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  border-right: 1px solid var(--border);
  background: #fff;
  padding: 24px 0 40px;
  scrollbar-width: thin;
}

.doc-sidebar-inner {
  padding: 0 16px 0 20px;
}

.doc-sidebar-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding: 0 8px;
}

.doc-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.doc-nav-item {
  margin-bottom: 4px;
}

.doc-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.doc-nav-link:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.doc-nav-item.is-active > .doc-nav-link {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

.doc-nav-icon {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1;
}

.doc-toc {
  list-style: none;
  margin: 4px 0 12px;
  padding: 0 0 0 12px;
  border-left: 2px solid var(--border);
}

.doc-toc a {
  display: block;
  padding: 5px 10px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 4px;
  line-height: 1.4;
}

.doc-toc a:hover {
  color: var(--primary);
  background: var(--bg);
}

.doc-toc a.is-current {
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-light);
}

.doc-toc-l1 a { font-weight: 600; color: var(--text); }
.doc-toc-l2 { padding-left: 8px; }
.doc-toc-l3 { padding-left: 18px; }
.doc-toc-l3 a { font-size: 12px; }

.doc-main {
  padding: 40px 40px 80px;
  min-width: 0;
}

.doc-main h1 {
  font-size: 32px;
  margin: 0 0 12px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.doc-main .lead {
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-size: 16px;
  line-height: 1.7;
}

.doc-main h2 {
  font-size: 22px;
  margin: 36px 0 16px;
  color: var(--primary);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.doc-main h3 {
  font-size: 17px;
  margin: 24px 0 12px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.doc-main p,
.doc-main li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.doc-main ul,
.doc-main ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.doc-main ul li {
  list-style: disc;
  margin-bottom: 6px;
}

.doc-main ol li {
  list-style: decimal;
  margin-bottom: 6px;
}

.doc-main table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}

.doc-main th,
.doc-main td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}

.doc-main th {
  background: var(--bg);
  font-weight: 600;
  color: var(--text);
}

.doc-main code {
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 13px;
}

.doc-main pre {
  background: #1a1f36;
  color: #e0e6f0;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.6;
  margin: 16px 0;
}

.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 14px;
  margin-bottom: 24px;
  text-decoration: none;
}

.doc-back:hover {
  color: var(--primary-dark);
}

.doc-sidebar-toggle {
  display: none;
  position: fixed;
  left: 16px;
  bottom: 88px;
  z-index: 90;
  padding: 10px 16px;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(23, 93, 255, 0.35);
  cursor: pointer;
}

.doc-sidebar-backdrop {
  display: none;
}

.doc-cta-row {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Platform admin carousel (whitepaper) ── */
.platform-carousel {
  position: relative;
  margin: 12px 0 28px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  overflow: hidden;
}

.platform-carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.platform-carousel-track {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.platform-carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  margin: 0;
  list-style: none;
}

.platform-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

/* Portrait phone screenshots: constrain size so they don't stretch full column width */
.platform-carousel--portrait .platform-carousel-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.platform-carousel--portrait .platform-carousel-slide img {
  width: auto;
  max-width: min(100%, 360px);
  max-height: min(72vh, 680px);
  height: auto;
  object-fit: contain;
}

.platform-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  transition: background var(--transition), color var(--transition);
}

.platform-carousel-btn:hover {
  background: var(--primary);
  color: #fff;
}

.platform-carousel-prev {
  left: 10px;
}

.platform-carousel-next {
  right: 10px;
}

.platform-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 14px;
}

.platform-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #c5cdd8;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.platform-carousel-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

.platform-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: none;
  background: transparent;
  box-sizing: border-box;
}

.platform-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-lightbox::backdrop {
  background: rgba(10, 16, 32, 0.72);
}

.platform-lightbox-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
}

.platform-lightbox img {
  display: block;
  max-width: min(92vw, 1400px);
  max-height: min(86vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.platform-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.platform-lightbox-close:hover {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 640px) {
  .platform-carousel-btn {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .platform-carousel-prev {
    left: 6px;
  }

  .platform-carousel-next {
    right: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .platform-carousel-viewport {
    scroll-behavior: auto;
  }
}

.doc-video-list {
  display: grid;
  gap: 16px;
  margin: 20px 0;
}

.doc-video-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.doc-video-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(23, 93, 255, 0.08);
}

.doc-video-card .doc-video-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--primary-light);
  display: grid;
  place-items: center;
  font-size: 22px;
}

.doc-video-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--text);
}

.doc-video-card p {
  margin: 0;
  font-size: 13px;
}

.doc-changelog-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.doc-changelog-item:last-child {
  border-bottom: none;
}

.doc-changelog-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.doc-changelog-ver {
  font-weight: 700;
  color: var(--primary);
  font-size: 15px;
}

.doc-changelog-date {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .doc-layout {
    grid-template-columns: 1fr;
  }

  .doc-sidebar {
    position: fixed;
    left: 0;
    top: var(--header-h);
    width: min(300px, 86vw);
    z-index: 100;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.08);
  }

  body.doc-sidebar-open .doc-sidebar {
    transform: translateX(0);
  }

  .doc-sidebar-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .doc-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 95;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  body.doc-sidebar-open .doc-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .doc-main {
    padding: 28px 20px 72px;
  }

  .doc-main h1 {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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