/* ============================================================
   Spire.XLS AI Agent — Landing Page Design System
   Extracted from design mockup: Spire.XLS AI Agent 03.png
   ============================================================ */

/* ---------- CSS Variables (Design Tokens) ---------- */
:root {
  /* === Primary Palette (Deep Greens) === */
  --color-primary: #103020;           /* darkest green — hero/main section bg */
  --color-primary-light: #205030;     /* mid-dark green — alternating section bg */
  --color-primary-lighter: #306040;   /* mid green — card bg, subtle accents */
  --color-primary-pale: #407050;      /* light green — muted elements */

  /* === Accent / CTA === */
  --color-accent: #18B854;            /* bright green — buttons, links, highlights */
  --color-accent-hover: #07C44E;      /* hover state for accent elements */
  --color-accent-light: rgba(8, 168, 67, 0.12); /* subtle accent wash */

  /* === Navy (Footer) === */
  --color-navy: #000868;              /* deep navy — footer bg */

  /* === Backgrounds === */
  --color-bg-light: #F0F0F0;         /* neutral light section bg */
  --color-bg-light-green: #E8F5E9;   /* light green tint section bg */
  --color-bg-white: #FFFFFF;

  /* === Text === */
  --color-text-on-dark: #FFFFFF;      /* primary text on dark green / navy bg */
  --color-text-primary: #103020;      /* primary text on light bg */
  --color-text-secondary: #808890;    /* secondary / muted text */
  --color-text-muted: #A8B0B8;       /* tertiary / placeholder text */

  /* === Borders & Dividers === */
  --color-border: #D0D0D0;            /* light border on white/light bg */
  --color-border-light: #E8E8E8;      /* very subtle border */

  /* === Border Radius === */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* === Shadows === */
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 4px 24px rgba(0, 0, 0, 0.12);
  --shadow-button: 0 2px 8px rgba(8, 168, 67, 0.3);

  /* === Typography === */
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 2rem;      /* 32px */
  --font-size-4xl: 2.5rem;    /* 40px */
  --font-size-5xl: 3rem;      /* 48px */

  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* === Spacing === */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* === Layout === */
  --max-width: 1182px;
  --header-height: 72px;

  /* === Transitions === */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

/* ---------- CSS Reset ---------- */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  font-size: 14px;
}
#page > div#page-body {
  padding: 0;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg-white);
  min-width: 360px;
}

body#page {
  background-color: #F4FFF8;
}

a:hover {
  text-decoration: none;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: var(--line-height-tight);
}

p {
  margin-bottom: var(--space-md);
}

/* ============================================================
   Shared Utility Classes
   ============================================================ */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  box-sizing: border-box;
}




/* ============================================================
   Hero Section
   ============================================================ */
.hero-section {               
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff; 
  padding: 80px 0 80px 0;
}

/* 背景 SVG 放置逻辑：绝对定位居中，置于内容底层 */
.bg-svg-wrapper {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -2;
  pointer-events: none;
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
}

.bg-svg {
  width: 830px;
  height: 450px;
  opacity: 0.9; /* 可根据实际 svg 效果进行微调 */
}

/* 主内容容器 */
.hero-section .container {
  position: relative;
  z-index: 0;
  width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 顶部胶囊 Tag */
.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: #eeebff;
  color: #6952FF;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

/* 主标题及渐变高亮 */
.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.25;
  color: #000c25;
  margin: 0 0 24px 0;
  letter-spacing: -0.5px;
}

.hero-title span {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.25;
}

.hero-title .highlight {
  background: linear-gradient(90deg, #FC9356 0%, #2F14DE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; 
  }

/* 副标题描述 */
.hero-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #4b5563;
  margin: 0 0 56px 0;
  max-width: 680px;
}

/* 底部数据卡片栅格 */
.features-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
  width: 100%;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 200px;
}

.feature-value {
  font-size: 36px;
  font-weight: 700;
  color: #2F14DE;
  margin-bottom: 12px;
  line-height: 1.2;
}

.feature-label {
  font-size: 20px;
  color: #000c25;
  font-weight: 400;
}



/* ============================================================
  Demo Section
   ============================================================ */
    .demo-section {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      background: #F6F5FF; 
      padding: 80px 0 80px 0;
    }

    .demo-title {
      font-size: 40px;
      font-weight: 700;
      color: #000c25;
      margin-bottom: 30px;
    }

    .demo-subtitle {
      font-size: 18px;
      font-weight: 400;
      color: #474D5C;
      margin-top: 0;
      margin-bottom: 30px;
    }

/* 主容器外框 */
.demo-card-container {
  width: 1140px;
  min-height: 420px;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 12, 37, 0.03);
  padding: 48px;
  box-sizing: border-box;
  position: relative;
  /* 确保父容器根据当前显示的子元素高度自动收缩/撑开 */
  height: auto; 
}

/* 步骤面板切换控制 */
.step-panel {
  display: none;
  opacity: 0;
  width: 100%;
  box-sizing: border-box;
  transition: opacity 0.4s ease-in-out;
}

.step-panel.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 移除 justify-content: center; 改为自然置顶布局，防止高度被撑开后上下出现巨大留白 */
  justify-content: flex-start; 
  opacity: 1;
}

/* --- 步骤 1 样式 --- */
.step-1 {
  width: 100%;
}

.step-1 .upload-box-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100%;
  margin: 0;
}

/* 左右两个虚线文件区域 */
.step-1 .file-card {
  width: 448px;
  height: 344px;
  box-sizing: border-box;
  border: 1.5px dotted #AEB2BC;
  border-radius: 14px;
  background: #fff;
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.step-1 .file-card-title {
    color: #000c25;
    font-size: 24px;
    font-weight: 700;
    margin: 24px 0 0px;
}

/* =========================================================
   左侧业务文档：2 × 2
   ========================================================= */

.step-1 .file-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 26px;
  row-gap: 38px;
  margin: 14px;
  }

.step-1 .file-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

.step-1 .file-item .file-icon {
  object-fit: contain;
  flex-shrink: 0;
  margin: 0  0 6px 0;
}

.step-1 .file-item p,
.step-1 .file-name {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  color: #30343B;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  margin: 0 0 10px;
}

/* =========================================================
   查看 / 下载按钮
   ========================================================= */

.step-1 .file-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.step-1 .file-action-btn {
  height: 30px;
  min-width: 88px;
  padding: 0 9px;
  border: 0;
  border-radius: 6px;
  background: #F6F6F7;
  color: #9A9A9D;
  font-size: 12px;
  line-height: 30px;
  font-weight: 400;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}

.step-1 .file-action-btn:hover {
  background: #F0F1F4;
  color: #777B82;
}

.step-1 .action-download {
  display: inline-block;
  margin-left: 4px;
  font-size: 17px;
  line-height: 12px;
  vertical-align: -2px;
  font-weight: 700;
}

/* =====================================================
   文档预览弹窗遮罩
===================================================== */

.preview-modal {
  display: none;

  position: fixed;
  z-index: 99999;

  left: 0;
  top: 0;

  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.55);

  align-items: center;
  justify-content: center;
}


/* 弹窗打开状态 */

.preview-modal.show {
  display: flex;
}


/* =====================================================
   弹窗主体
   固定 1000 × 800 px
===================================================== */

.preview-modal-content {
  position: relative;

  width: 1000px;
  height: 800px;

  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 40px);

  box-sizing: border-box;

  background: #ffffff;

  padding: 20px;

  border-radius: 8px;

  overflow: hidden;

  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}


/* =====================================================
   图片预览区域

   长图可以在这里上下滚动
===================================================== */

.preview-container {
  width: 100%;
  height: 100%;

  box-sizing: border-box;

  overflow-y: auto;
  overflow-x: hidden;

  text-align: center;

  /* 防止滚动条紧贴内容 */
  padding-right: 5px;
}


/* =====================================================
   预览图片

   不限制图片高度，因此长图可以完整展示，
   超过 760px 后由父容器滚动
===================================================== */

.preview-image {
  display: block;

  width: 100%;
  height: auto;

  max-width: 100%;

  margin: 0 auto;
}


/* =====================================================
   右上角关闭按钮
===================================================== */

.preview-close {
  position: absolute;

  top: 8px;
  right: 8px;

  z-index: 10;

  width: 36px;
  height: 36px;

  border: none;

  background: rgba(0, 0, 0, 0.05);

  border-radius: 50%;

  cursor: pointer;

  padding: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  transition: background 0.2s ease;
}


.preview-close:hover {
  background: rgba(0, 0, 0, 0.12);
}


/* 叉号 */

.preview-close span {
  position: absolute;

  width: 18px;
  height: 2px;

  background: #333;

  border-radius: 2px;
}


.preview-close span:first-child {
  transform: rotate(45deg);
}


.preview-close span:last-child {
  transform: rotate(-45deg);
}


/* =====================================================
   滚动条样式
===================================================== */

.preview-container::-webkit-scrollbar {
  width: 7px;
}


.preview-container::-webkit-scrollbar-thumb {
  background: #cfcfcf;

  border-radius: 4px;
}


.preview-container::-webkit-scrollbar-track {
  background: transparent;
}


/* =====================================================
   小屏幕适配
   桌面端仍然优先使用 1000 × 800
===================================================== */

@media (max-width: 1040px) {

  .preview-modal-content {
    width: calc(100vw - 40px);
  }

}


@media (max-height: 840px) {

  .preview-modal-content {
    height: calc(100vh - 40px);
  }

}

/* =========================================================
   中间开始生成
   ========================================================= */

.step-1 .start {
  width: 114px;
  flex: 0 0 114px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.step-1 .start-btn {
  width: 114px;
  height: 114px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #F4F3FF;
  box-shadow: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, background .2s ease;
}

.step-1 .start:hover {
  transform: scale(1.1);
}

.step-1 .start-btn .icon-a {
  object-fit: contain;
  font-size: 0;
  color: transparent;
}

.step-1 .start-text {
  margin: 0;
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
  background: linear-gradient(90deg, #3719DA 0%, #F79D73 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================================================
   右侧交付文档：横向 2 列
   ========================================================= */

.step-1 .delivery-card {
  justify-content: flex-start;
}

.step-1 .delivery-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  margin: 50px 0 0;
}

.step-1 .delivery-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.step-1 .delivery-item .file-icon {
  object-fit: contain;
  margin: 0  0 24px 0;
}

.step-1 .delivery-item .file-name {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  margin-bottom: 10px;
}

/* Step 1 已按设计稿删除的冗余文案 */
.step-1 .file-desc,
.step-1 .file-tag {
  display: none !important;
}

/* 适配较窄的内容区域 */
@media (max-width: 1050px) {
  .step-1 .upload-box-wrapper {
    gap: 18px;
  }

  .step-1 .file-card {
    width: 40%;
    min-width: 330px;
  }

  .step-1 .start {
    flex-basis: 90px;
    width: 90px;
  }

  .step-1 .start-btn {
    width: 90px;
    height: 90px;
  }
}


/* =========================================================
   Step 2：四阶段进度条
   ========================================================= */

.step-2 {
  width: 100%;
}

.step-2 .progress-stage {
  width: 100%;
  height: 410px;
  box-sizing: border-box;
  border-radius: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 52px 60px 58px;
  overflow: hidden;
}

.step-2 .progress-stage-title,
.step-2 .progress-stage-desc {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.step-2 .progress-stage-title.is-visible,
.step-2 .progress-stage-desc.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.step-2 .progress-stage-title {
  margin: 0 0 42px;
  color: #1670F5;
  font-size: 30px;
  line-height: 42px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}

.step-2 .progress-stage-desc {
  margin: 0 0 62px;
  color: #72A6ED;
  font-size: 23px;
  line-height: 32px;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
}

.step-2 .progress-track {
  width: min(860px, 88%);
  height: 28px;
  border-radius: 999px;
  background: #EAF3FD;
  overflow: hidden;
  flex-shrink: 0;
}

.step-2 .progress-fill {
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2681F7 0%, #536DF7 40%, #B45BF2 75%, #E24CEB 100%);
  transition: width 420ms cubic-bezier(.4, 0, .2, 1);
}

@media (max-width: 900px) {
  .step-2 .progress-stage {
    height: 360px;
    padding: 42px 28px 48px;
  }

  .step-2 .progress-stage-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .step-2 .progress-stage-desc {
    font-size: 18px;
    margin-bottom: 48px;
  }

  .step-2 .progress-track {
    width: 90%;
    height: 24px;
  }
}

/* --- 步骤 3 样式 --- */
/* ===================== step3: 处理结果 ===================== */
.result-header {
  text-align: center;
  margin-bottom: 28px;
}
.success-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-circle svg {
  width: 100%;
  height: 100%;
}
.checkmark-circle {
  stroke: #18dd7a;
  stroke-width: 2.5;
  fill: none;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: stroke-circle .6s cubic-bezier(.65, 0, .45, 1) forwards;
}
.checkmark-check {
  stroke: #18dd7a;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke-check .35s .55s cubic-bezier(.65, 0, .45, 1) forwards;
}
@keyframes stroke-circle { to { stroke-dashoffset: 0; } }
@keyframes stroke-check { to { stroke-dashoffset: 0; } }

.result-status {
  color: #18dd7a;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}
.result-title {
  font-size: 28px;
  font-weight: 700;
  color: #000c25;
  margin-bottom: 14px;
}

.result-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: rgb(66, 66, 82);
  margin-bottom: 14px;
}

/* =========================================================
   Step 3 - Tab 内容切换
   ========================================================= */

.result-tab-content {
  display: none;
  width: 100%;
  animation: tabFadeIn .25s ease;
}

.result-tab-content.active {
  display: block;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================================================
   Step 3 - Tab 按钮
   ========================================================= */

.result-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
}

.result-tabs .tab-btn {
  min-width: 140px;
  height: 44px;
  padding: 0 24px;

  border: 0;
  border-radius: 7px;

  background: transparent;
  color: #1f2937;

  font-size: 14px;
  font-weight: 500;

  cursor: pointer;

  transition:
    background-color .2s ease,
    color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.result-tabs .tab-btn:hover {
  color: #2684e8;
  background: #f2f7ff;
}

.result-tabs .tab-btn.active {
  color: #fff;
  background: #2f8bea;
  box-shadow: 0 5px 14px rgba(47, 139, 234, .18);
}

.result-tabs .tab-btn:active {
  transform: translateY(1px);
}

.result-tabs .tab-btn:focus-visible {
  outline: 2px solid #72aef5;
  outline-offset: 3px;
}

/* ===== Tab 1: 执行摘要 ===== */
.document-preview {
  width: 75%;
  margin: 24px auto 0;
  border: 1px solid #dce2e8;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  box-sizing: border-box;
}

.document-preview-bar {
  height: 44px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  background: #edf6ff;
  border-bottom: 1px solid #dce2e8;
  color: #536273;
  font-size: 10px;
  box-sizing: border-box;
}

.file-actions-2{
  margin: 0 0 0px 356px;
}

.file-action-btn-2{
  border-radius: 6px;
  background: rgba(179, 217, 255, 1);
  color: #0C5094;
  font-size: 12px;
  padding: 3px 8px;
}

.document-summary-content {
  padding: 18px 28px 22px;
}

/* ===== Tab 2: PPT 简报 ===== */
.ppt-preview {
  width: 75%;
  margin: 24px auto 0;
  border: 1px solid #dedfe3;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  box-sizing: border-box;
}


.ppt-preview-bar {
  height: 44px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  background: #fff8ef;
  border-bottom: 1px solid #eadfd2;
  color: #d8872e;
  font-size: 10px;
  box-sizing: border-box;
}

.file-actions-3{
  margin: 0 0 0px 356px;
}

.file-action-btn-3{
  border-radius: 6px;
  background: rgba(250, 222, 192, 1);
  color: #99550C;
  font-size: 12px;
  padding: 3px 8px;
}

.ppt-grid {
  padding: 18px;
}



@media (max-height: 840px) {
  #step3 .step3-preview-modal-content {
    height: calc(100vh - 40px);
  }
}

/* =========================================================
   尺寸适配
   ========================================================= */

@media (max-width: 900px) {

  .document-preview,
  .ppt-preview,
  .trace-preview {
    width: 88%;
  }

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

@media (max-width: 600px) {

  .document-preview,
  .ppt-preview,
  .trace-preview {
    width: 94%;
  }

  .document-summary-content {
    padding: 14px 16px 18px;
  }

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

  .trace-item {
    padding: 15px;
    flex-direction: column;
  }

  .trace-risk {
    align-self: flex-start;
  }
} 

/* ===== 底部提示框 ===== */
.result-tip {
  max-width: 420px;
  margin: 0 auto;
  background: #eaf1ff;
  border-radius: 10px;
  padding: 12px 18px;
  border: 1px solid #c6d8ff;
  text-align: left;
}
.result-tip p {
  font-size: 13px;
  color: #2475ff;
  line-height: 1.5;
}
.result-tip .tip-meta {
  color: #7a9bd0;
  font-size: 12px;
  margin-top: 4px;
}

/* 响应式 */
@media (max-width: 760px) {
  .pdf-layout { grid-template-columns: 1fr; }
  .audit-stats { grid-template-columns: repeat(2, 1fr); }
  .result-title { font-size: 22px; }
  .tab-btn { padding: 8px 18px; font-size: 14px; }
}


/* ============================================================
  Process Section
   ============================================================ */
    .process-section {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      background: #ffffff; 
      padding: 80px 0 80px 0;
    }

    .process-title {
      font-size: 40px;
      font-weight: 700;
      margin-bottom: 16px;
      color: #000c25;
      margin-top: 0;
      margin-bottom: 30px;
    }

    .process-subtitle {
      font-size: 18px;
      font-weight: 400;
      color: #474D5C;
      margin-bottom: 40px;
    }

    /* 流程总容器：固定宽度保证与全站整体居中对齐 */
.process-container {
  width: 1140px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 顶部步骤圈与连接线容器 */
.process-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 98px; /* 居中对齐到下方的卡片中心 */
  box-sizing: border-box;
  margin-bottom: 32px;
}

/* 圆形步骤节点 */
.step-circle {
  width: 64px;
  height: 64px;
  background: #D9D4FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #2F14DE;
  flex-shrink: 0;
}

/* 步骤之间的蓝浅色连接线 */
.step-line {
  flex: 1;
  width: 140px;
  height: 5px;
  background: #D9D4FF;
  margin: 0 35px;
}

/* 卡片网格：4 列等宽 */
.process-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

/* 白底卡片 */
.process-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 36px 24px;
  border: 1px solid #EAECEF;
  box-shadow: 0 4px 16px rgba(0, 12, 37, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 200px;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 12, 37, 0.06);
}

.process-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #000C25;
  margin: 0 0 16px 0;
}

.process-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #8C92A4;
  margin: 0;
  text-align: center;
}


/* ============================================================
  Parse Section
   ============================================================ */
.parse-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #F6F5FF;
  padding: 80px 0 80px 0;
  margin: 0;
}

.parse-section .container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.parse-title {
  font-size: 40px;
  font-weight: 700;
  color: #000c25;
  margin-top: 0;
  margin-bottom: 30px;
  line-height: 1.2;
}

.parse-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #474D5C;
  margin-top: 0;
  margin-bottom: 40px;
}


/* 4 列步骤卡片网格 */
.parse-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.parse-card {
  width: 219.6px;
  border-radius: 20px;
  padding: 24px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.parse-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 12, 37, 0.06);
}

/* 4 种卡片独立浅色主题背景与标签颜色 */
.card-cyan {
  background-color: #ebf7ff;
  border: 1px solid #b8e4ff;
}
.card-cyan .card-tag {
  color: #00A8B5;
}

.card-blue {
  background-color: #edf3ff;
  border: 1px solid #c6d9ff;
}
.card-blue .card-tag {
  color: #203ee6;
}


.card-yellow {
  background-color: #fffef3c7;
  border: 1px solid #ebdd8e;
}
.card-yellow .card-tag {
  color: #B59300;
}

.card-green {
  background-color: #f4fff0;
  border: 1px solid #b9ddaa;
}
.card-green .card-tag {
  color: #3FA828;
}

.card-purple {
  background-color: #f7edff;
  border: 1px solid #dabbf3;
}
.card-purple .card-tag {
  color: #9C52D3;
}

.card-tag {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: #000C25;
  margin: 0 0 8px 0;
  line-height: 1.5;
}

.card-desc {
  font-size: 13px;
  color: #626775;
  margin: 0;
  line-height: 1.5;
}

/* 代码编辑器主容器 (暗黑风格 + 双层厚度边框) */
.code-editor-wrapper {
  width: 967px;
  background: #0f0822;
  border-radius: 20px;
  padding: 30px 30px;
  box-sizing: border-box;
  text-align: left;
  overflow-x: auto;
}

/* 代码文本结构 */
.code-block {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #FFFFFF;
  background: #ffffff00;
}

.code-block span {
  color: #ffffff7e;
}



/* ============================================================
  Ability Section
   ============================================================ */
.ability-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(6, 0, 43, 1) 0%, rgba(49, 42, 94, 1) 100%);
  padding: 80px 0 100px 0;
  overflow: hidden;
}

/* 模糊背景 SVG / 光晕层定位与过滤占位 */
.ability-bg-blur {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -2;
  pointer-events: none;
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
}

/* 主内容容器 */
.ability-container {
  position: relative;
  z-index: 2;
  width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ability-title {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.2;
}

.ability-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0;
  margin-bottom: 56px;
}

/* 3 列 x 2 行卡片网格 */
.ability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

/* 磨砂玻璃卡片 */
.ability-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: left;
  box-sizing: border-box;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ability-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(228, 138, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(112, 70, 229, 0.25);
}

/* 卡片头部：图标 + 标题水平排列 */
.ability-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

/* 严格 50x50px 图标占位容器 */
.icon-placeholder {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ability-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 卡片标题 */
.ability-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

/* 卡片正文描述 */
.ability-card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}


/* ============================================================
  Comparison Section
   ============================================================ */
.comparison-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #F6F5FF;
  padding: 80px 0;
}

.comparison-section .container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.comparison-title {
  font-size: 40px;
  font-weight: 700;
  color: #000c25;
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.2;
}

.comparison-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #474D5C;
  margin-top: 0;
  margin-bottom: 48px;
}

/* ========== 和通用 AI 的区别 — 对比表格 ========== */
.comparison-grid {
  width: 100%;
  background: #ffffff;
  border: 1px solid #E8E9F1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(20, 24, 50, 0.04);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
  color: #111827;
}

.comparison-table thead th {
  padding: 22px 32px;
  font-weight: 500;
  font-size: 14px;
  color: #6B7280;
  background: #FAFAFC;
  border-bottom: 1px solid #EFF0F5;
  letter-spacing: 0.2px;
}

.comparison-table thead th.col-spire {
  color: #3451FF;
  font-weight: 600;
}

.comparison-table tbody td {
  padding: 24px 32px;
  border-bottom: 1px solid #F2F3F8;
  vertical-align: middle;
  line-height: 1.55;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover td {
  background: #FBFBFE;
}

.comparison-table .col-dim {
  width: 22%;
  font-weight: 500;
  color: #111827;
}

.comparison-table .col-generic {
  width: 39%;
  color: #4B5563;
}

.comparison-table .col-spire {
  width: 39%;
  color: #111827;
}

/* 响应式：小屏保持可读 */
@media (max-width: 720px) {
  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 16px 14px;
    font-size: 14px;
  }
  .comparison-grid {
    border-radius: 10px;
  }
}



/* ============================================================
  FAQs Section
   ============================================================ */
.faqs-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #423E59; /* 精准匹配设计图的暗紫灰色背景 */
  padding: 80px 0 100px 0;
}

.faqs-section .container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faqs-title {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 48px;
  line-height: 1.2;
}

/* FAQ 列表容器 */
.faq-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 单个 FAQ 卡片 */
.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 24px 32px;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.3s ease;
  margin: 0;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

/* 头部问题栏 */
.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question {
  font-size: 20px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.4;
}

/* CSS 绘制的箭头图形 */
.faq-header img {
  background: none;
  width: 24px;
  height: 16px;
  border-radius: none;
  transition: transform 0.3s ease;
  margin-left: 16px;
  flex-shrink: 0;
}

/* 展开状态：箭头向上翻转 */
.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

/* 内容展开容器 */
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-body {
  max-height: 200px; /* 确保足够容纳展开后的文字 */
  opacity: 1;
  margin-top: 16px;
}

/* 回答文字样式 */
.faq-answer {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}


/* ============================================================
   CTA Bottom Section
   ============================================================ */
/* 底部 CTA 区域背景与整体排版 */
.cta-bottom-section {
  padding: 80px 0;
  background-color: #F6F5FF; /* 还原图 6 的浅蓝紫色背景 */
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-bottom-section .container {
  text-align: center;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

/* 标题样式（匹配图 6 深色实字） */
.cta-bottom-title {
  margin: 0;
  font-size: 36px;
  line-height: 1.25;
  font-weight: 700;
  color: #000C25;
  letter-spacing: -0.01em;
  margin-bottom: 30px;
}

/* 副标题样式 */
.cta-bottom-subtitle {
  max-width: 800px;
  margin: 16px auto 0;
  font-size: 20px;
  line-height: 1.6;
  color: #474D5C;
  margin-bottom: 40px;
}

/* 按钮组容器 */
.cta-action-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

/* 主按钮 - 蓝到浅蓝渐变背景 */
.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 48px;
  padding: 0 32px;
  background: linear-gradient(90deg, #FC9356 0%, #2F14DE 100%);
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(92, 64, 143, 0.25);
  transition: all 0.25s ease;
  border: none;
  box-sizing: border-box;
}

.cta-btn-primary span {
  display: inline-block;
  transition: transform 0.2s ease;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
}

.cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(87, 60, 151, 0.25);
  opacity: 0.95;
}

/* 次按钮 - 白底天蓝色高亮边框 */
.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 48px;
  padding: 0 32px;
  background: #F6F5FF;
  border: 1px solid #2F14DE;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.cta-btn-secondary span {
  display: inline-block;
  transition: transform 0.2s ease;
  color: #2F14DE;
  font-size: 16px;
  font-weight: 600;  
}

.cta-btn-secondary:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: #725dff;
  box-shadow: 0 4px 14px rgba(87, 60, 151, 0.25);
}



/* ============================================================
   修复落地页全局居中与容器尺寸问题
   ============================================================ */

/* 1. 确保父级外壳在宽屏下能够全宽并居中展示 */
#excel-agent-landing,
#rt-contents,
#rt-contents .rt-container,
#rt-contents .rt-grid-12,
#rt-contents .rt-block {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* 2. 修复内部 .container 居中展示 */
#excel-agent-landing .container {
  width: 100% !important;
  max-width: 1140px !important; /* 或设置为您的设计稿最大宽度 */
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

/* 3. 确保 Hero 等背景板块铺满全屏 */
#excel-agent-landing section {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ============================================================
   清除外部框架 (Joomla/Gantry) 带来的多余边距
   ============================================================ */

/* 1. 精准消除包覆 #excel-agent-landing 的 .rt-block 的内边距和外边距 */
#excel-agent-landing,
.rt-block:has(#excel-agent-landing),
#rt-contents .rt-grid-12 .rt-block {
  padding: 0 !important;
  margin: 0 !important;
}

/* 2. 确保父级容器不产生多余间隙并铺满宽度 */
#rt-contents,
#rt-contents .rt-contents-pattern,
#rt-contents .rt-grid-12 {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}