/* ========== 全局基础（全新浅色 + 动效风格） ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: #0f172a;
  background:
    radial-gradient(circle at top left, #e0f2fe 0, transparent 45%),
    radial-gradient(circle at bottom right, #fce7f3 0, transparent 45%),
    #f3f4f6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ========== 顶部导航：浮层卡片 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(22px);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.96),
    rgba(255, 255, 255, 0.86),
    transparent
  );
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.nav-container {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 600;
}

.logo > *:not(:last-child) {
  margin-right: 10px;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 16px;
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  align-items: center;
  font-size: 13px;
}

.main-nav > *:not(:last-child) {
  margin-right: 22px;
}

.main-nav a {
  position: relative;
  padding-bottom: 4px;
  color: #6b7280;
  transition: color 0.16s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #f97316);
  transition: width 0.18s ease;
}

.main-nav a:hover {
  color: #111827;
}

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

.nav-download {
  margin-left: 14px;
}

/* 覆盖顶部“立即下载”按钮的圆角，优先级高于通用 .btn-primary */
.btn-primary.nav-download {
  border-radius: 5px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #ffffff;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.nav-toggle > *:not(:last-child) {
  margin-bottom: 4px;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

/* ========== 按钮 ========== */
.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #22c55e);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #1d4ed8;
}

.btn-secondary:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.btn-ghost {
  background: transparent;
  border: 1px dashed rgba(148, 163, 184, 0.8);
  color: #4b5563;
}

.btn-ghost:hover {
  background: #f9fafb;
  border-style: solid;
}

/* ========== Banner：新布局 + 动效 ========== */
.banner {
  position: relative;
  padding: 80px 0 64px;
  overflow: hidden;
}

.banner::before,
.banner::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.4;
  pointer-events: none;
}

.banner::before {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -40px;
  background: radial-gradient(circle at 30% 30%, #bfdbfe, transparent 70%);
}

.banner::after {
  width: 360px;
  height: 360px;
  right: -80px;
  bottom: -80px;
  background: radial-gradient(circle at 60% 60%, #fed7aa, transparent 70%);
}

.banner-inner {
  display: flex;
  flex-direction: column;
}

.banner-inner > *:not(:last-child) {
  margin-bottom: 32px;
}

.banner-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.banner-eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 8px;
}

.banner-title {
  font-size: 34px;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 18px;
}

.banner-title-gradient {
  display: inline-block;
  background: linear-gradient(120deg, #2563eb, #22c55e, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: title-gradient 6s ease-in-out infinite;
}

@keyframes title-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.banner-subtitle {
  font-size: 14px;
  color: #4b5563;
  max-width: 640px;
  margin: 0 auto 18px;
}

.banner-dynamic-line {
  font-size: 12px;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
}

.banner-dynamic-line > *:not(:last-child) {
  margin-right: 6px;
}

.banner-dynamic-text {
  padding: 2px 10px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: #1d4ed8;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.banner-dynamic-text::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.7),
    transparent,
    transparent
  );
  transform: translateX(-110%);
  opacity: 0;
  animation: dynamic-shimmer 4s ease-in-out infinite;
}

@keyframes dynamic-shimmer {
  0% {
    transform: translateX(-110%);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  70% {
    transform: translateX(110%);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.banner-actions > *:not(:last-child) {
  margin-right: 12px;
}

.banner-actions .btn-primary {
  padding: 12px 32px;
  font-size: 16px;
  border-radius: 5px;
}

.banner-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 11px;
  color: #6b7280;
  margin: -4px;
}

.banner-tags > * {
  margin: 4px;
}

.banner-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #0f172a;
  background-clip: padding-box;
  position: relative;
  overflow: hidden;
}

.banner-tags span::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  z-index: -1;
}

.banner-tags span:nth-child(1)::before {
  background: linear-gradient(135deg, #bfdbfe, #93c5fd);
}

.banner-tags span:nth-child(2)::before {
  background: linear-gradient(135deg, #bbf7d0, #6ee7b7);
}

.banner-tags span:nth-child(3)::before {
  background: linear-gradient(135deg, #fee2e2, #fed7aa);
}

.banner-tags span:nth-child(4)::before {
  background: linear-gradient(135deg, #e0e7ff, #ddd6fe);
}

.banner-components {
  display: none;
}

/* 应用图标配色 */
.app-word {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.app-excel {
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.app-ppt {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.app-outlook {
  background: linear-gradient(135deg, #0284c7, #0369a1);
}

.app-onenote {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.app-access {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
}

/* 中部展示区：左列应用卡片 + 右侧预览 */
.banner-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  margin: -10px;
}

.banner-showcase > * {
  margin: 10px;
}

.banner-app-column {
  display: flex;
  flex-direction: column;
}

.banner-app-column > *:not(:last-child) {
  margin-bottom: 10px;
}

.banner-app-card {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.2);
  transform: translateX(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s;
}

.banner-app-card > *:not(:last-child) {
  margin-right: 10px;
}

.banner-app-card:hover {
  transform: translateX(4px);
  box-shadow: 0 16px 32px rgba(148, 163, 184, 0.3);
  border-color: rgba(59, 130, 246, 0.8);
}

.banner-app-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.banner-app-meta {
  display: flex;
  flex-direction: column;
}

.banner-app-meta > *:not(:last-child) {
  margin-bottom: 2px;
}

.banner-app-name {
  font-size: 13px;
  font-weight: 600;
}

.banner-app-desc {
  font-size: 11px;
  color: #6b7280;
}

/* 右侧 Banner 预览：卡片轮播 + 动画 */
.banner-visual {
  position: relative;
}

.banner-panel {
  border-radius: 24px;
  padding: 18px 18px 16px;
  background: linear-gradient(145deg, #2563eb, #22c55e);
  color: #eff6ff;
  box-shadow: 0 26px 60px rgba(37, 99, 235, 0.55);
  overflow: hidden;
}

.banner-slider {
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.18);
  padding: 18px 18px 14px;
  min-height: 210px;
  position: relative;
}

.banner-slide {
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.banner-slide.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* 底部简要能力条 */
.banner-foot {
  margin-top: 24px;
}

.banner-foot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: -6px;
}

.banner-foot-grid > * {
  margin: 6px;
}

.banner-foot-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff, #e5e7eb);
  border: 1px solid rgba(209, 213, 219, 0.95);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease, border-color 0.18s ease;
  cursor: default;
}

.banner-foot-item > *:not(:last-child) {
  margin-bottom: 2px;
}

.banner-foot-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.35);
  background: linear-gradient(135deg, #dbeafe, #e0f2fe);
  border-color: rgba(129, 140, 248, 0.9);
}

.banner-foot-label {
  font-size: 11px;
  font-weight: 600;
  color: #1d4ed8;
}

.banner-foot-text {
  font-size: 12px;
  color: #374151;
}

.banner-slide-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 11px;
}

.banner-slide-header > *:not(:last-child) {
  margin-right: 8px;
}

.badge {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
}

.badge-word {
  background: rgba(37, 99, 235, 0.95);
}

.badge-excel {
  background: rgba(22, 163, 74, 0.95);
}

.badge-ppt {
  background: rgba(249, 115, 22, 0.95);
}

.badge-soft {
  background: rgba(15, 23, 42, 0.4);
}

.banner-slide h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.banner-slide p {
  font-size: 13px;
  color: #e5e7eb;
}

.banner-slide-footer {
  margin-top: 6px;
  font-size: 11px;
  color: #dbeafe;
}

.banner-slider-footer {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.banner-slider-footer > *:not(:last-child) {
  margin-right: 8px;
}

.banner-indicators {
  display: flex;
}

.banner-indicators > *:not(:last-child) {
  margin-right: 6px;
}

.banner-indicators .indicator {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  background: rgba(191, 219, 254, 0.8);
  cursor: pointer;
  transition: width 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.banner-indicators .indicator.active {
  width: 18px;
  background: #facc15;
  transform: translateY(-1px);
}

/* ========== 通用区块 ========== */
.section {
  padding: 60px 0;
}

.section-light {
  background: #ffffff;
}

.section-accent {
  background: linear-gradient(135deg, #2563eb, #22c55e);
  color: #ecfdf5;
}

/* “Office 为何值得选择？” 模块使用柔和渐变背景 */
#platforms {
  background: linear-gradient(135deg, #eff6ff, #e0f2fe, #fee2e2);
}

/* “应用场景” 模块使用浅色渐变背景，减弱层次感 */
#scenarios {
  background: linear-gradient(135deg, #f5f3ff, #e0f2fe);
}

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

.section-header h2 {
  font-size: 22px;
  margin-bottom: 6px;
  color: #111827;
}

.section-header p {
  font-size: 13px;
  color: #6b7280;
}

.section-accent .section-header h2 {
  color: #ecfdf5;
}

.section-accent .section-header p {
  color: #d1fae5;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: -10px;
}

.cards-grid > * {
  margin: 10px;
}

/* ========== 版本模块：首卡突出 ========== */
.version-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: -9px;
}

.version-grid > * {
  margin: 9px;
}

.version-card {
  padding: 18px 18px 20px;
  border-radius: 5px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 14px 32px rgba(148, 163, 184, 0.22);
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s;
}

.version-card > *:not(:last-child) {
  margin-bottom: 12px;
}

.version-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 26px 56px rgba(148, 163, 184, 0.42);
  border-color: rgba(79, 70, 229, 0.95);
  background: radial-gradient(circle at 0 0, #eff6ff, #ffffff);
}

.version-card h3 {
  font-size: 16px;
  text-align: center;
}

.version-tag {
  font-size: 12px;
  color: #6b7280;
  text-align: center;
  display: block;
  margin-top: 2px;
}

.version-apps {
  display: flex;
  flex-wrap: wrap;
  margin: 4px 0 6px;
  justify-content: center;
  margin-left: -4px;
  margin-right: -4px;
}

.version-apps > * {
  margin: 4px;
}

.app-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  color: #4b5563;
}

.app-item > *:not(:last-child) {
  margin-bottom: 2px;
}

.app-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #f9fafb;
  transform: translateY(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* 版本卡片 hover 时，图标轻微跳跃并高亮 */
.version-card:hover .app-icon {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.35);
}

.version-features {
  font-size: 13px;
  color: #4b5563;
  display: flex;
  flex-direction: column;
  max-width: 240px;
  margin: 0 auto;
  text-align: left;
}

.version-features > *:not(:last-child) {
  margin-bottom: 4px;
}

.version-features li::before {
  content: "•";
  margin-right: 4px;
  color: #22c55e;
}

.version-extra {
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
}

.version-card .btn-secondary {
  align-self: center;
  width: 80%;
  max-width: 220px;
  justify-content: center;
  border-radius: 5px;
  background: linear-gradient(135deg, #2563eb, #22c55e);
  color: #ffffff;
  border: none;
  padding: 10px 0;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    background 0.18s ease;
  margin-top: auto; /* 将按钮推到卡片底部，保持各卡片按钮在同一水平线 */
}

.version-card .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, #1d4ed8, #16a34a);
}

/* ========== 优势模块：2×3 网格 + 放大动效 ========== */
.platform-scroller {
  overflow: visible;
}

.platform-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: -9px;
}

.platform-track > * {
  margin: 9px;
}

.platform-card {
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: radial-gradient(circle at 0 0, #eff6ff, #ffffff);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 14px 32px rgba(148, 163, 184, 0.22);
  transform: translateY(0) scale(1);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s;
}

.platform-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 22px 42px rgba(148, 163, 184, 0.32);
  border-color: rgba(129, 140, 248, 0.9);
}

.platform-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 11px;
}

.platform-card-header > *:not(:last-child) {
  margin-right: 8px;
}

.platform-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
}

.platform-tag-green {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
}

.platform-tag-purple {
  background: rgba(147, 51, 234, 0.1);
  color: #6d28d9;
}

.platform-stars {
  color: #f59e0b;
}

.platform-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.platform-text {
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 8px;
}

.platform-list {
  font-size: 13px;
  color: #4b5563;
  display: flex;
  flex-direction: column;
}

.platform-list > *:not(:last-child) {
  margin-bottom: 4px;
}

.platform-list li::before {
  content: "•";
  margin-right: 4px;
  color: #22c55e;
}

/* ========== 下载模块：简洁时间线 + CTA 按钮 ========== */
.download-timeline {
  max-width: 960px;
  margin: 0 auto 18px;
  display: flex;
  flex-direction: row; /* 三个步骤左右一行展示 */
  position: relative;
  padding-top: 24px;
  z-index: 0; /* 作为进度条和圆点的共同容器 */
}

.download-timeline > *:not(:last-child) {
  margin-right: 32px;
}

/* 底部进度条背景 & 填充条 */
.download-timeline::before,
.download-timeline::after {
  content: "";
  position: absolute;
  left: 40px;
  right: 40px;
  top: 40px;
  height: 12px; /* 按要求调整进度条高度 */
  border-radius: 999px;
  z-index: -1; /* 进度条强制在圆点之后 */
}

.download-timeline::before {
  background: rgba(209, 213, 219, 0.6);
}

.download-timeline::after {
  background: #22c55e;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.download-timeline.step-1::after {
  transform: scaleX(0);
}

.download-timeline.step-2::after {
  transform: scaleX(0.5);
}

.download-timeline.step-3::after {
  transform: scaleX(1);
}

.download-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px;
  border-radius: 5px;
  background: transparent;
  border: none;
  color: #ecfdf5;
  position: relative;
  overflow: hidden;
  flex: 1 1 0;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    background 0.18s ease, border-color 0.18s ease;
  animation: downloadStepIn 0.45s ease forwards;
}

.download-step > *:not(:last-child) {
  margin-bottom: 6px;
}

.download-step:nth-child(2) {
  animation-delay: 0.07s;
}

.download-step:nth-child(3) {
  animation-delay: 0.14s;
}

.download-step::before {
  content: none; /* 取消 hover 时的发光背景效果 */
}

.download-step:hover {
  transform: translateY(0);
}

/* 循环高亮当前步骤（只高亮进度条，不改卡片背景） */
.download-step.active {
  box-shadow: none;
  border-color: rgba(209, 250, 229, 0.5);
}

.download-step-index {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #f9fafb; /* 圆点内部用浅色背景，文字不会被进度条影响 */
  border: 4px solid rgba(16, 185, 129, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: rgba(16, 185, 129, 0.95);
  flex-shrink: 0;
  position: relative;
  z-index: 1; /* 数字圆点永远覆盖在进度条之上 */
}

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

.download-step-body {
  flex: 1;
  min-width: 0;
}

.download-step-body h3 {
  font-size: 14px;
  margin-bottom: 2px;
  color: #ecfdf5;
}

.download-step-body p {
  font-size: 12px;
  color: #a7f3d0;
}

.download-cta {
  text-align: center;
}

.download-cta .btn-primary {
  padding-inline: 28px;
  height: 48px;       /* 固定高度 48px */
  border-radius: 5px; /* 圆角 5px */
}

.download-cta-hint {
  margin-top: 6px;
  font-size: 12px;
  color: #a7f3d0;
}

/* ========== 应用场景：左右对换 + 小窗口预览 ========== */
.scenario-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  margin: -12px;
}

.scenario-layout > * {
  margin: 12px;
}

.scenario-preview {
  order: -1;
  display: flex;
  align-items: center;
}

.scenario-list {
  display: flex;
  flex-direction: column;
}

.scenario-list > *:not(:last-child) {
  margin-bottom: 12px;
}

.scenario-card {
  padding: 14px 16px 16px;
  border-radius: 14px;
  background: radial-gradient(circle at 0 0, #eff6ff, #ffffff);
  border: 1px solid rgba(229, 231, 235, 0.95);
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.22);
  transform: translateX(0) translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease,
    background 0.2s ease;
}

.scenario-card:hover {
  transform: translateX(4px) translateY(-2px);
  box-shadow: 0 20px 44px rgba(148, 163, 184, 0.32);
  border-color: rgba(59, 130, 246, 0.85);
  background: radial-gradient(circle at 0 0, #dbeafe, #ffffff);
}

.scenario-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.scenario-card p {
  font-size: 13px;
  color: #4b5563;
}

.scenario-tag {
  display: inline-flex;
  margin-top: 8px;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
}

.preview-window {
  width: 100%;
  border-radius: 22px;
  background: #0f172a;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.65);
  overflow: hidden;
}

.preview-toolbar {
  height: 30px;
  background: linear-gradient(90deg, #111827, #020617);
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.preview-toolbar > *:not(:last-child) {
  margin-right: 6px;
}

.preview-toolbar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.9);
}

.preview-toolbar span:nth-child(1) {
  background: #ef4444;
}

.preview-toolbar span:nth-child(2) {
  background: #f59e0b;
}

.preview-toolbar span:nth-child(3) {
  background: #22c55e;
}

.preview-content {
  padding: 16px 18px 18px;
  color: #e5e7eb;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 11px;
  color: #9ca3af;
}

.preview-header > *:not(:last-child) {
  margin-right: 8px;
}

.preview-label {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  color: #bfdbfe;
}

.preview-status {
  font-size: 11px;
  color: #a5b4fc;
}

.preview-body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: flex-start;
  margin: -7px;
}

.preview-body > * {
  margin: 7px;
}

.preview-layout {
  border-radius: 12px;
  padding: 10px 10px 12px;
  background: radial-gradient(circle at 0 0, rgba(96, 165, 250, 0.25), transparent 60%);
  border: 1px solid rgba(30, 64, 175, 0.7);
  position: relative;
  overflow: hidden;
}

.preview-layout-word {
  --accent: #60a5fa;
}

.preview-layout-excel {
  --accent: #4ade80;
}

.preview-layout-ppt {
  --accent: #fb923c;
}

.preview-layout-team {
  --accent: #a855f7;
}

.preview-line {
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  margin-bottom: 6px;
  position: relative;
  overflow: hidden;
  animation: previewLinePulse 1.6s ease-in-out infinite;
}

.preview-line.long {
  width: 90%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent, #60a5fa),
    transparent
  );
  background-size: 200% 100%;
  animation: previewProgress 1.8s linear infinite;
}

@keyframes previewLinePulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleX(0.96);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.08);
  }
}

@keyframes previewProgress {
  0% {
    background-position: -50% 0;
  }
  100% {
    background-position: 150% 0;
  }
}

.preview-info {
  font-size: 12px;
}

.preview-title {
  font-size: 13px;
  margin-bottom: 4px;
  color: #e5e7eb;
}

.preview-text {
  font-size: 12px;
  color: #9ca3af;
}

/* 预览切换动效：去掉白色扫光，保持呼吸效果即可 */
.preview-window.switching .preview-layout::after {
  content: none;
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.faq-list > *:not(:last-child) {
  margin-bottom: 12px;
}

.faq-item {
  border-radius: 12px;
  background: radial-gradient(circle at 0 0, #eff6ff, #ffffff);
  border: 1px solid rgba(229, 231, 235, 0.95);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(148, 163, 184, 0.3);
  transform: translateY(0);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.4);
  border-color: rgba(129, 140, 248, 0.9);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  cursor: pointer;
  color: #0f172a;
}

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #4b5563;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease,
    border-color 0.18s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  transition: max-height 0.24s ease, padding-bottom 0.24s ease;
}

.faq-answer p {
  font-size: 13px;
  color: #4b5563;
  padding-bottom: 12px;
}

.faq-item.active .faq-answer {
  max-height: 260px;
  padding-bottom: 6px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: #2563eb;
  color: #eff6ff;
  border-color: transparent;
}

/* ========== 页脚 ========== */
.site-footer {
  padding: 18px 0 22px;
  background: #0f172a;
  color: #9ca3af;
  font-size: 12px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-inner > *:not(:last-child) {
  margin-bottom: 10px;
}

.footer-links {
  margin-top: 4px;
}

.footer-links a {
  color: #e5e7eb;
}

.footer-right {
  text-align: center;
}

.footer-brand {
  font-size: 13px;
  font-weight: 500;
  color: #e5e7eb;
}

.footer-meta {
  max-width: 720px;
  line-height: 1.6;
}

.footer-icp {
  font-size: 11px;
  color: #6b7280;
}

.footer-links .divider {
  margin: 0 6px;
  color: #4b5563;
}

/* ========== 滚动进入视口动效（配合 JS 的 reveal-on-scroll） ========== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%; /* 圆形按钮 */
  border: none;
  background: linear-gradient(135deg, #22c55e, #0ea5e9); /* 绿色 + 蓝色渐变 */
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700; /* 箭头加粗 */
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.45);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 40;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ========== 响应式布局 ========== */
@media (max-width: 960px) {
  .banner-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .banner-visual {
    order: -1;
  }

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

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

  .version-card:nth-child(1) {
    grid-column: span 2;
  }

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

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

  .scenario-preview {
    order: 0;
  }
}

@media (max-width: 720px) {
  .nav-container {
    height: 60px;
  }

  .main-nav {
    position: absolute;
    inset: 60px 0 auto;
    background: #ffffff;
    flex-direction: column;
    padding: 10px 16px 12px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.16s ease, opacity 0.16s ease;
  }

  .main-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-download {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .banner {
    padding-top: 70px;
  }

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

  .cards-grid,
  .platform-track,
  .version-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .version-card:nth-child(1) {
    grid-column: span 1;
  }

  .section {
    padding: 46px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    text-align: left;
  }
}

/* ========== Banner 新卡片幻灯片（覆盖默认样式） ========== */
.banner-visual {
  position: relative;
}

.banner-orbit {
  position: relative;
  border-radius: 22px;
  padding: 14px;
  background: radial-gradient(circle at 0 0, #dbeafe, #e0f2fe);
  box-shadow: 0 24px 50px rgba(148, 163, 184, 0.55);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: -6px;
}

.banner-orbit > * {
  margin: 6px;
}

/* 使用 .banner-slide 兼容原 JS，但视觉完全重做 */
.banner-orbit .banner-slide {
  position: relative;
  border-radius: 18px;
  background: #0f172a;
  color: #e5e7eb;
  padding: 14px 14px 12px;
  overflow: hidden;
  opacity: 0.45;
  transform: translateY(6px) scale(0.96);
  transition: opacity 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.45);
}

.banner-orbit .banner-slide.active {
  opacity: 1;
  transform: translateY(-4px) scale(1);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.7);
}

.banner-card-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, #60a5fa, transparent 60%);
  opacity: 0.2;
  pointer-events: none;
}

.banner-card-inner {
  position: relative;
  z-index: 1;
}

.banner-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  font-size: 11px;
}

.banner-card-header > *:not(:last-child) {
  margin-right: 8px;
}

.banner-chip {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #f9fafb;
}

.banner-chip-word {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.banner-chip-excel {
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.banner-chip-ppt {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.banner-chip-soft {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
  font-size: 11px;
}

.banner-card-title {
  font-size: 15px;
  margin-bottom: 4px;
}

.banner-card-text {
  font-size: 13px;
  color: #d1d5db;
}

.banner-slider-footer {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.banner-slider-footer > *:not(:last-child) {
  margin-right: 8px;
}

.banner-slider-footer--center {
  justify-content: center;
}

.banner-indicators {
  display: flex;
}

.banner-indicators > *:not(:last-child) {
  margin-right: 6px;
}

.banner-indicators .indicator {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  background: rgba(148, 163, 184, 0.85);
  cursor: pointer;
  transition: width 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.banner-indicators .indicator.active {
  width: 18px;
  background: #2563eb;
  transform: translateY(-1px);
}


