/* ============================================================
   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: 80%;
  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: #FFEBEF;
  color: #E11D48;
  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.5;
}

.hero-title .highlight {
  background: linear-gradient(90deg, #E11D48 0%, #23BDE8 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: #E11D48;
  margin-bottom: 12px;
  line-height: 1.2;
}

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



/* =========================================================
   交互式演示整体
========================================================= */

.demo-section {
display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #f4f8f7;
    padding: 80px 0 80px 0;
}

.demo-title {
  margin: 0;
  text-align: center;
  color: #000c25;
  font-size: 32px;
  line-height: 44px;
  font-weight: 700;
}

.demo-subtitle {
  margin: 12px 0 36px;
  text-align: center;
  color: #565c6b;
  font-size: 16px;
  line-height: 24px;
}

.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;
}


/* =========================================================
   Step Panel
========================================================= */

.step-panel {
  display: none;
  width: 100%;
  box-sizing: border-box;
}

.step-panel.active {
  display: block;
}


/* =========================================================
   Step 1
========================================================= */

.step-1 {
  width: 100%;
}

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


/* =========================================================
   左右文件卡片
========================================================= */

.step-1 .file-card {
  width: 448px;
  height: 344px;

  flex: 0 0 448px;

  box-sizing: border-box;

  border: 1.5px dotted #aeb2bc;
  border-radius: 14px;

  background: #ffffff;

  padding: 18px 24px;

  display: flex;
  flex-direction: column;

  overflow: hidden;
}


/* =========================================================
   文件列表
========================================================= */

.step-1 .file-list {
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;

  margin: 0;
  padding: 0;

  box-sizing: border-box;
}


/* =========================================================
   文件行
========================================================= */

.step-1 .file-item {
  width: 100%;
  min-height: 94px;

  flex: 1 1 0;

  display: flex;
  flex-direction: row;

  align-items: center;

  padding: 0;

  margin: 0;

  box-sizing: border-box;

  border-bottom: 1px solid #e5e5e5;
}

.step-1 .file-item:last-child {
  border-bottom: none;
}


/* =========================================================
   文件图标
========================================================= */

.step-1 .file-item .file-icon {
  flex: 0 0 40px;

  width: 40px;
  height: 40px;

  object-fit: contain;

  margin: 0 12px 0 0;
}


/* =========================================================
   文件名
========================================================= */

.step-1 .file-item > p {
  flex: 1;

  min-width: 0;

  margin: 0;
  padding: 0;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

  text-align: left;

  color: #30343b;

  font-size: 14px;
  line-height: 20px;

  font-weight: 400;
}


/* =========================================================
   按钮区域
========================================================= */

.step-1 .file-actions {
  flex: 0 0 auto;

  display: flex;
  align-items: center;

  justify-content: flex-end;

  gap: 8px;

  margin-left: 12px;
}


/* =========================================================
   文件操作按钮
========================================================= */

.step-1 .file-action-btn {
  width: 88px;
  height: 30px;

  padding: 0 8px;

  border: 0;
  border-radius: 6px;

  background: #f6f6f7;

  color: #9a9a9d;

  font-size: 12px;
  line-height: 1;

  font-weight: 400;

  white-space: nowrap;

  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 5px;

  box-sizing: border-box;

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

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

.step-1 .file-action-btn:focus {
  outline: none;
}

.step-1 .file-action-btn:active {
  transform: none;
}


/* =========================================================
   按钮图标
========================================================= */

.step-1 .file-action-btn .button-icon {
  width: 14px;
  height: 14px;

  flex: 0 0 14px;

  object-fit: contain;
}


/* =========================================================
   中间开始按钮
========================================================= */

.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-btn:hover {
  transform: scale(1.06);
}

.step-1 .start-btn .icon-a {
  width: auto;
  height: auto;

  object-fit: contain;
}

.step-1 .start-text {
  margin: 0;

  font-size: 17px;
  line-height: 24px;

  font-weight: 700;

  background: linear-gradient(90deg, #23BDE8 0%, #E11D48 100%);

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
}


/* =========================================================
   Step 1 通用预览弹窗
========================================================= */

.preview-modal {
  position: fixed;
  inset: 0;

  z-index: 999999;

  width: 100vw;
  height: 100vh;

  display: none;

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

  padding: 20px;

  box-sizing: border-box;

  background: rgba(0, 0, 0, .65);
}

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


/* =========================================================
   Step 1 弹窗主体
========================================================= */

.preview-modal-content {
  position: relative;

  width: 1000px;
  height: 800px;

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

  padding: 20px;

  box-sizing: border-box;

  background: #fff;

  border-radius: 10px;

  overflow: hidden;

  box-shadow:
    0 12px 40px rgba(0, 0, 0, .25);
}


/* =========================================================
   Step 1 图片滚动区域
========================================================= */

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

  box-sizing: border-box;

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

  padding-right: 5px;

  text-align: center;
}


/* =========================================================
   Step 1 图片
========================================================= */

.preview-image {
  display: block;

  width: 100%;
  max-width: 100%;

  height: auto;

  margin: 0 auto;
}


/* =========================================================
   Step 1 关闭按钮
========================================================= */

.preview-close {
  position: absolute;

  top: 8px;
  right: 8px;

  z-index: 10;

  width: 36px;
  height: 36px;

  padding: 0;

  border: 0;

  border-radius: 50%;

  background: rgba(0, 0, 0, .06);

  cursor: pointer;

  transition: background .2s ease;
}

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

.preview-close:focus {
  outline: none;
}

.preview-close::before,
.preview-close::after {
  content: "";

  position: absolute;

  left: 10px;
  top: 17px;

  width: 16px;
  height: 2px;

  border-radius: 2px;

  background: #333;
}

.preview-close::before {
  transform: rotate(45deg);
}

.preview-close::after {
  transform: rotate(-45deg);
}


/* =========================================================
   滚动条
========================================================= */

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

.preview-container::-webkit-scrollbar-thumb,
.step3-preview-container::-webkit-scrollbar-thumb {
  background: #cfcfcf;
  border-radius: 4px;
}

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


/* =========================================================
   Step 2
========================================================= */

.step-2 {
  min-height: 344px;

  display: none;

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

  box-sizing: border-box;
}

.step-2.active {
  display: flex;
}

.progress-stage {
  width: 620px;

  text-align: center;
}

.progress-stage-title {
  margin: 0 0 12px;

  color: #1069E6;

  font-size: 26px;
  line-height: 36px;

  font-weight: 700;

  opacity: 0;
  transform: translateY(5px);

  transition:
    opacity .22s ease,
    transform .22s ease;
}

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

.progress-stage-desc {
  margin: 0 0 30px;

  color: #73A0DE;

  font-size: 15px;
  line-height: 24px;

  opacity: 0;
  transform: translateY(5px);

  transition:
    opacity .22s ease,
    transform .22s ease;
}

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

.progress-track {
  width: 100%;
  height: 28px;

  overflow: hidden;

  border-radius: 20px;

  background: #EDF5FF;
}

.progress-fill {
  width: 0;
  height: 100%;

  border-radius: inherit;

  background: linear-gradient(90deg, rgba(28, 123, 255, 1) 0%, rgba(237, 99, 255, 1) 100%);

  transition: width .5s ease;
}


/* =========================================================
   Step 3
========================================================= */

.step-3 {
  width: 100%;
  box-sizing: border-box;
  padding: 0 0 30px;
}


/* =========================================================
   Step 3 顶部状态
========================================================= */

.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 {
  margin: 0 0 14px;
  color: #18dd7a;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
}

.result-title {
  margin: 0;
  color: #000c25;
  font-size: 28px;
  line-height: 38px;
  font-weight: 700;
}


/* =========================================================
   Step 3 Tab
========================================================= */

.result-tabs {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 36px;
}

.result-tabs .tab-btn {
  width: 184px;
  min-width: 184px;
  height: 56px;
  padding: 0 20px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #111b30;
  font-size: 16px;
  line-height: 1;
  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: none;
}

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

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


/* =========================================================
   Step 3 Tab 内容
========================================================= */

.result-tab-content {
  display: none;
  width: 100%;
  box-sizing: border-box;
  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 通用文档卡片
========================================================= */

.result-document-card {
  width: 80%;
  margin: 0 auto;
  border: 1px solid #dce1e7;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-sizing: border-box;
}

.result-document-header {
  min-height: 58px;
  padding: 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
  border-bottom: 1px solid #dfe4e9;
  background: #f2f9ff;
}

.result-document-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #111b30;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  text-align: left;
}

.result-document-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.result-action-btn {
  height: 28px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 6px;
  background: #c8e2f4;
  color: #1264b5;
  font-size: 12px;
  line-height: 1;
  font-weight: 400;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.result-action-btn:hover {
  background: #b4daec;
}

.result-action-btn:focus {
  outline: none;
}

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

.result-action-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  object-fit: contain;
}

.result-document-body {
  width: 100%;
  padding: 20px 20px 22px;
  box-sizing: border-box;
  background: #fff;
  overflow: hidden;
}

.result-document-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}


/* =========================================================
   Step 3 Tab 1：候选人对比
========================================================= */

.result-comparison-card {
  max-width: 816px;
}

.result-comparison-body {
  height: 480px;
  padding: 20px 14px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.result-comparison-body .result-document-image {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: top center;
}


/* =========================================================
   Step 3 Tab 2：面试人员列表
========================================================= */

.result-interview-list {
  width: 80%;
  max-width: 816px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.result-interview-card {
  width: 100%;
  min-height: 182px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #dce1e7;
  border-radius: 18px;
  background: #fff;
}

.result-interview-info {
  min-width: 0;
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  box-sizing: border-box;
  background: #eef6ff;
}

.result-interview-info .result-document-name {
  width: 100%;
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 22px;
}

.result-interview-info .result-document-actions {
  width: 100%;
  justify-content: flex-start;
}

.result-interview-info .result-action-btn {
  background: #b9d9ff;
  color: #1264b5;
}

.result-interview-info .result-action-btn:hover {
  background: #a8cefa;
}

.result-interview-preview {
  min-width: 0;
  min-height: 0;
  margin: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  background: #fff;
}

.result-interview-preview .result-document-image {
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}


/* =========================================================
   Step 3 Tab 3：邀请函模板
========================================================= */

.result-template-card {
  max-width: 816px;
}

.result-template-body {
  height: 440px;
  padding: 18px 36px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.result-template-body .result-document-image {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: top center;
}


/* =========================================================
   Step 3 专用预览弹窗
========================================================= */

.step3-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, .65);
}

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

.step3-preview-dialog {
  position: relative;
  width: 1000px;
  height: 800px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 40px);
  padding: 20px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}

.step3-preview-container {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 5px;
  text-align: center;
}

.step3-preview-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.step3-preview-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 20;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .06);
  cursor: pointer;
  transition: background .2s ease;
}

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

.step3-preview-close:focus {
  outline: none;
}

.step3-preview-close::before,
.step3-preview-close::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 17px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #333;
}

.step3-preview-close::before {
  transform: rotate(45deg);
}

.step3-preview-close::after {
  transform: rotate(-45deg);
}


/* =========================================================
   Step 3 响应式
========================================================= */

@media (max-width: 1100px) {
  .result-document-card,
  .result-interview-list {
    width: 86%;
  }

  .result-interview-card {
    grid-template-columns: 230px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .result-document-card,
  .result-interview-list {
    width: 92%;
  }

  .result-tabs {
    gap: 10px;
  }

  .result-tabs .tab-btn {
    width: 170px;
    min-width: 0;
  }
}

@media (max-width: 700px) {
  .result-title {
    font-size: 24px;
    line-height: 34px;
  }

  .result-tabs {
    gap: 6px;
    margin-bottom: 26px;
  }

  .result-tabs .tab-btn {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
    height: 46px;
    padding: 0 8px;
    font-size: 14px;
  }

  .result-document-header {
    min-height: 54px;
    padding: 8px 14px;
  }

  .result-document-name {
    font-size: 14px;
  }

  .result-interview-card {
    grid-template-columns: 1fr;
  }

  .result-interview-info {
    padding: 20px;
    gap: 16px;
  }

  .result-interview-preview {
    min-height: 150px;
    margin: 0 14px 14px;
  }

  .result-comparison-body,
  .result-template-body {
    height: auto;
    min-height: 300px;
  }
}

@media (max-width: 600px) {
  .result-document-card,
  .result-interview-list {
    width: 96%;
  }

  .result-document-actions {
    gap: 4px;
  }

  .result-action-btn {
    height: 27px;
    padding: 0 8px;
    font-size: 11px;
  }

  .result-action-icon {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
  }

  .preview-modal-content,
  .step3-preview-dialog {
    width: calc(100vw - 30px);
    height: calc(100vh - 30px);
    max-width: calc(100vw - 30px);
    max-height: calc(100vh - 30px);
  }
}


/* =========================================================
   底部说明
========================================================= */

.parse-note {
  margin: 18px auto 0;

  text-align: center;

  color: #969ba7;

  font-size: 12px;

  line-height: 20px;
}


/* =========================================================
   响应式
========================================================= */

@media (max-width: 1100px) {

  .step-1 .upload-box-wrapper {
    gap: 18px;
  }

  .step-1 .file-card {
    width: 40%;

    flex: 1 1 40%;

    min-width: 330px;
  }

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

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

  .result-document-card,
  .result-document-grid {
    width: 86%;
  }

}


@media (max-width: 900px) {

  .step-1 .upload-box-wrapper {
    flex-wrap: wrap;
  }

  .step-1 .file-card {
    width: 100%;
    flex: 0 0 100%;

    max-width: 600px;
  }

  .step-1 .start {
    order: 2;
  }

  .step-1 .business-card {
    order: 1;
  }

  .step-1 .delivery-card {
    order: 3;
  }

  .result-document-card,
  .result-document-grid {
    width: 92%;
  }

}


@media (max-width: 700px) {

  .demo-title {
    font-size: 26px;
    line-height: 36px;
  }

  .demo-subtitle {
    font-size: 14px;
  }

  .result-title {
    font-size: 24px;
    line-height: 34px;
  }

  .result-document-grid {
    grid-template-columns: 1fr;
  }

  .result-document-card-small {
    width: 100%;
  }

  .result-document-header {
    align-items: flex-start;

    flex-direction: column;

    padding: 10px 12px;
  }

  .result-document-actions {
    width: 100%;

    justify-content: flex-end;
  }

}


@media (max-width: 600px) {

  .step-1 .file-card {
    min-width: 0;

    height: auto;

    padding: 10px 14px;
  }

  .step-1 .file-item {
    min-height: 82px;
  }

  .step-1 .file-actions {
    gap: 4px;

    margin-left: 6px;
  }

  .step-1 .file-action-btn {
    width: 78px;

    padding: 0 5px;

    font-size: 11px;
  }

  .step-1 .file-item .file-icon {
    width: 34px;
    height: 34px;

    flex-basis: 34px;

    margin-right: 8px;
  }

  .preview-modal-content,
  .step3-preview-dialog {
    width: calc(100vw - 30px);
    height: calc(100vh - 30px);

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

  .result-document-card,
  .result-document-grid {
    width: 96%;
  }

}


/* ============================================================
  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: #FFEBEF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #E11D48;
  flex-shrink:  0;
}

/* 步骤之间的蓝浅色连接线 */
.step-line {
  flex: 1;
  width: 140px;
  height: 5px;
  background: #FFEBEF;
  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: #f7f7f7;
  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: #181818;
  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: #01001A;
  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(221, 228, 235, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px #17488840;
}

/* 卡片头部：图标 + 标题水平排列 */
.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: #f7f7f7;
  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: #4e3b40; 
  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: #ffffff; /* 还原图 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, #23BDE8 0%, #E11D48 100%);
  border-radius: 10px;
  text-decoration: none;
  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(151, 60, 60, 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: #ffffff;
  border: 1px solid #E11D48;
  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: #E11D48;
  font-size: 16px;
  font-weight: 600;  
}

.cta-btn-secondary:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: #ff5479;
  box-shadow: 0 4px 14px rgba(143, 80, 80, 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;
}