/* ============================================================
   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 {
  box-sizing: border-box;
  -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;
  padding: 0 var(--space-lg);
  box-sizing: border-box;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0 80px 0;
  background: #ffffff;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /*background:*/
  /*  radial-gradient(circle at 50% 18%, rgba(171, 236, 166, 0.28) 0, rgba(171, 236, 166, 0.18) 18%, rgba(171, 236, 166, 0.08) 34%, rgba(244, 255, 248, 0) 55%);*/

}

.hero-section .container {
  position: relative;
  z-index: 1;
  text-align: center;
  width: min(1140px, 100%);
}

.hero-text {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
#page h1.hero-heading{
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 56px;
  color: rgba(0, 12, 37, 1);
  text-align: center;
  vertical-align: top;
  margin: 0;

}

.hero-subheading {
  font-size: 30px;
  width: 924px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 40px;
  color: rgba(0, 12, 37, 1);
  text-align: center;
  vertical-align: top;
  margin: 30px 0;

}

.hero-description {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 30px;
  color: rgba(78, 100, 122, 1);
  text-align: center;
  vertical-align: middle;

}

/* -- Buttons -- */
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}
#try-agent .container,
#integration .container,
#use-cases .container
{
  box-sizing: border-box;
}
.hero-actions .btn {
  width: 100%;
  max-width: 320px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-height: 52px;
  padding: 14px 31px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all var(--transition-base);
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
}
.hero-actions .btn
{
  font-size: 1.142857rem;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 24px;
  color: rgba(255, 255, 255, 1);
  text-align: center;
  vertical-align: middle;
  background: linear-gradient(90deg, rgba(74, 83, 247, 1) 0%, rgba(209, 66, 219, 1) 100%);

}

.btn-primary {
  background-color: #25C052;
  color: #fff;
  /*box-shadow: 0 10px 22px rgba(37, 192, 82, 0.22);*/
}

.btn-primary:hover {
  /*transform: translateY(-1px);*/
  /*box-shadow: 0 14px 28px rgba(37, 192, 82, 0.28);*/
  text-decoration: none;
}

.btn-arrow {
  font-size: 1.2em;
  transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-arrow {
  /*transform: translateX(3px);*/
}

.hero-actions .btn-secondary {
  font-size: 1.142857rem;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 24px;
  color: rgba(39, 87, 230, 1);
  text-align: center;
  vertical-align: middle;





    border-radius: 10px;
    border: 1px solid transparent; /* 边框必须设为透明 */
    box-sizing: border-box;

    /* 重点：第一层是按钮内部的底色（这里设为白色），第二层是渐变色 */
    background:
            linear-gradient(white, white) padding-box,
            linear-gradient(90deg, rgba(52, 26, 219, 1) 0%, rgba(137, 39, 230, 1) 100%) border-box;

}

.btn-secondary {
  display: inline-block;
  padding: 14px 20px; /* 调整按钮内边距 */
  text-decoration: none;
  box-sizing: border-box;

  /* 1. 圆角渐变边框 */
  border-radius: 10px;
  border: 1px solid transparent;
  background:
          linear-gradient(white, white) padding-box,
          linear-gradient(90deg, rgba(52, 26, 219, 1) 0%, rgba(137, 39, 230, 1) 100%) border-box;
}

.btn-secondary span {
  /* 2. 文字渐变 */
  background: linear-gradient(90deg, rgba(52, 26, 219, 1) 0%, rgba(137, 39, 230, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;

  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 24px;
}

.btn-secondary:hover {
  /*box-shadow: 0 12px 28px rgba(15, 31, 55, 0.12);*/
  /*transform: translateY(-1px);*/
}

/* -- Video Wrapper -- */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  /*box-shadow: 0 16px 38px rgba(11, 37, 22, 0.12);*/
  /*border: 10px solid #D1F7D9;*/
  border: 10px solid rgba(59, 95, 255, 0.1);
  box-sizing: border-box;
}

.video-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 940 / 575;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #fff;
  color: #25C052;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(11, 37, 22, 0.2);
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.play-btn svg {
  margin-left: 3px; /* optical centering for triangle */
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 12px 30px rgba(11, 37, 22, 0.28);
}

/* ---------- Desktop (≥768px) ---------- */
@media (min-width: 768px) {
  .hero-section {
    padding: 80px 0;
  }


  .hero-heading {
    font-size: 3.35rem;
  }

  .hero-subheading {
    font-size: 2.142857rem;
  }

  .hero-description {
    font-size: 1.42857rem;
    margin-bottom: 30px;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }

  .hero-actions .btn {
    width: auto;
    max-width: none;
    box-sizing: border-box;
  }

  .play-btn {
    width: 88px;
    height: 88px;
  }

  .play-btn svg {
    width: 28px;
    height: 34px;
  }
}

@media (min-width: 1024px) {
  .hero-heading {
    font-size: 3.55rem;
  }
}

/* ============================================================
  Specialized Section
   ============================================================ */
.specialized-section {
  padding: 80px 0 80px 0;
  position: relative;
  opacity: 1;
  background: linear-gradient(180deg, rgba(92, 7, 74, 1) 0%, rgba(0, 4, 82, 1) 100%);
}

.specialized-container{
  max-width: 1140px;
  margin: 0 auto;
  padding: 0px 20px;
}

.specialized-header {
  text-align: center;
  margin-bottom: 40px;
}
.specialized-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 60px;
  color: rgb(255, 255, 255);
  text-align: center;
  vertical-align: middle;
  margin-top: 0;
  margin-bottom: 30px;
}
.specialized-subtitle {
  max-width: 980px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.65;
  color: #ffffff;
}
.specialized-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.agent-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.agent-card h3:hover{
  transform: translateY(-4px);
}

.agent-card h3 {
  margin: 0;           /* 清除默认外边距，防止影响对齐 */
  font-size: 1.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 20px;
}




.agent-card p {
  width: 480px;
  max-width: 100%;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 20px;
  opacity: 0.9;
  color: #ffffff;
}

.agent-card ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 25px;
}

.agent-card ul li {
  margin-bottom: 8px;
  font-size: 14px;
  color: #B6A5BF;
  padding-left: 20px;
  position: relative;
}

.document-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.document-group span {
  display: grid;
  align-items: center;
  width: 68px;
  height: 38px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}



/* ============================================================
   Capabilities Section
   ============================================================ */
.capabilities-section {
  padding: 80px 0 80px;
  background-color: #FFFFFF;
}

.capabilities-container{
  max-width: 1140px;
  margin: 0 auto;
  padding: 0px 20px;
}

.capabilities-header {
  text-align: center;
  margin-bottom: 28px;
}

.capabilities-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 60px;
  color: #000c25;
  text-align: center;
  vertical-align: middle;
  margin-top: 0;
  margin-bottom: 30px;
}
.capabilities-subtitle {
  max-width: 980px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.65;
  color: #000c25;
  margin-bottom: 40px;
}

.capabilities-nav {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
}

.nav-item { 
  cursor: pointer; 
  text-align: center;
}

.nav-item span { 
  font-size: 20px;
  font-weight: 400;
  color: #000c25;
  margin-top: 14px;
}

/* 内容区域布局 */
.capabilities-display {
  padding-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

/* 确保隐藏所有内容 */
.display-content { 
    display: none; 
    align-items: center; 
    justify-content: space-between; 
}

/* 仅在有 active 类时才显示 */
.display-content.active { 
    display: flex; 
    flex-wrap: wrap;
    gap: 32px;
}

.text-area { 
  width: 430px;
  max-width: 100%;
  font-size: 30px;
  color: #000c25;
 }

.image-area {
  width: 617px;
  max-width: 100%;
  height: 463px;
}

.image-area img { width: 100%; height: 100%; object-fit: cover; }



/* ============================================================
   Exclusive Section
   ============================================================ */
.exclusive-section {
  position: relative;
  padding: 80px 0 80px;
  background: linear-gradient(180deg, rgba(92, 7, 74, 1) 0%, rgba(0, 4, 82, 1) 100%);
  overflow: hidden;
}
.exclusive-bg {
  position: absolute;
  left: 50%;           /* 水平居中起点 */
  transform: translateX(-50%); /* 修正居中偏移 */
  pointer-events: none; /* 鼠标穿透，避免影响点击卡片或按钮 */
  z-index: 0;         /* 置于底层 */
  max-width: 100%;
  height: auto;
  top: 0;
}

.exclusive-header {
  text-align: center;
  margin-bottom: 34px;
}

.exclusive-title {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text-on-dark);
  margin-bottom: 16px;
}

.exclusive-subtitle {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.exclusive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 三列布局 */
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0;
}

.exclusive-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.exclusive-card:hover{
  transform: translateY(-4px);
  border-color: rgba(223, 93, 255, 0.39);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.exclusive-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.exclusive-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #8987AC;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-visual img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2); /* 给图片区域增加底色 */
}

/* 响应式适配 */
@media (max-width: 992px) {
  .exclusive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .exclusive-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Try Agent Section
   ============================================================ */
.try-agent-section {
  padding: 80px 0 80px;
  background: #ffffff;
}

.try-agent-header {
  text-align: center;
  margin-bottom: 34px;
}

.try-agent-title {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #000c25;
  top: 0;
  margin-top: 0;
  margin-bottom: 30px;
}

.try-agent-subtitle {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  color: #000c25;
}

/* Main Card */
.spire-office-card {
    width: 1140px;
    background-color: #F7F7F7;
    border-radius: 30px;
    padding: 32px 40px 36px;
    box-shadow: 0 4px 24px rgba(0, 12, 37, 0.04);
}

/* Top Bar */
.spire-office-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.preset-file {
    display: flex;
    align-items: center;
    gap: 12px;
}

.preset-label {
    font-size: 14px;
    color: #94a3b8;
    white-space: nowrap;
}

.preset-info {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 8px 14px;
    border: 1px solid #e2e8f0;
}

.preset-name {
    font-size: 14px;
    color: #000c25;
    font-weight: 500;
}

.preset-path {
    font-size: 12px;
    color: #94a3b8;
}

.preview-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.preview-btn:hover {
    color: #64748b;
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

/* Document Tabs */
.doc-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.doc-tab {
    width: 92px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s ease;
}

.doc-tab:hover {
    background-color: #f8fafc;
}

.doc-tab.active {
    background-color: #DCFCE7;
    border-color: #22C55E;
    color: #22C55E;
}

.doc-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-icon svg {
    width: 24px;
    height: 24px;
}

.doc-text {
    line-height: 1;
}

/* Chat Box */
.chat-box {
    position: relative;
    width: 100%;
    height: 180px;
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 20px;
    margin-bottom: 24px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.chat-box:focus-within {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
    border-color: #cbd5e1;
}

.chat-box.resizing {
    user-select: none;
}

.chat-content {
    width: 100%;
    height: 100%;
    outline: none;
    border: none;
    font-size: 16px;
    line-height: 1.6;
    color: #000c25;
    overflow: auto;
    padding-right: 24px;
    white-space: pre-wrap;
    word-break: break-word;
}

.chat-content:empty::before {
    content: 'Enter your instruction here...';
    color: #94a3b8;
}

.resize-handle {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: ns-resize;
    color: #cbd5e1;
    transition: color 0.2s ease;
}

.resize-handle:hover {
    color: #94a3b8;
}

.resize-handle svg {
    pointer-events: none;
}

/* Bottom Bar */
.spire-office-bottombar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 12px;
}

.output-format {
    display: flex;
    align-items: center;
    gap: 12px;
}

.output-label {
    font-size: 14px;
    color: #94a3b8;
    white-space: nowrap;
}

.select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 613px;
}

.output-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 140px;
    height: 42px;
    padding: 0 40px 0 14px; /* 增大右侧内边距，避免文字挡住箭头 */
    font-size: 14px;
    color: #000c25;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.output-select:hover,
.output-select:focus {
    border-color: #cbd5e1;
}

.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform 0.3s ease; /* 增加下拉旋转动画 */
}

/* 当 select 获得焦点或处于展开状态时，让箭头旋转（可选，提升交互质感） */
.output-select:focus ~ .select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    background-color: #22C55E;
    border: 1px solid #22C55E;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.download-btn:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
}

.download-btn svg {
    width: 18px;
    height: 18px;
}

/* Progress Bar */
.progress-track {
    width: 100%;
    height: 4px;
    background-color: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 78%;
    background-color: #22C55E;
    border-radius: 2px;
    transition: width 0.6s ease, background-color 0.3s ease;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 12, 37, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 90%;
    max-width: 960px;
    max-height: 80vh;
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 12, 37, 0.15);
    overflow: hidden;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.25s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #000c25;
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f5f9;
    border: none;
    border-radius: 10px;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background-color: #e2e8f0;
    color: #334155;
}

.modal-body {
    padding: 24px;
    max-height: calc(80vh - 80px);
    overflow-y: auto;
}

/* Preview Content */
.preview-document {
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
}

.preview-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.preview-table th,
.preview-table td {
    padding: 10px 14px;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.preview-table th {
    font-weight: 600;
}

.preview-paragraph {
    margin-top: 12px;
    padding: 12px;
    background-color: #f8fafc;
    border-radius: 10px;
}

.preview-slides {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.preview-slide {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background-color: #f8fafc;
    border-radius: 10px;
}

.slide-number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}

/* Responsive for large screens */
@media (min-width: 1920px) {
    .spire-office-section {
        min-width: 100%;
    }
}

@media (max-width: 1199px) {
    .spire-office-section {
        min-width: auto;
        height: auto;
        padding: 40px 20px;
    }

    .spire-office-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .doc-tabs {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .spire-office-bottombar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }
}
/* ============================================================
   Business Use Cases Section
   ============================================================ */
.use-cases-section {
  padding: 80px 0 80px;
  background-color: #F5F5FA;
}

.use-cases-header {
  text-align: center;
  margin-bottom: 40px;
}

.use-cases-title {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #000c25;
  text-align: center;
}

.use-cases-subtitle {
  max-width: 720px;
  margin: 18px auto 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #334155;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.use-case-card {
  display: flex;
  flex-direction: column;
  padding: 14px;
  opacity: 1;
  border-radius: 30px;
  background:#ffffff;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.card-dashboard-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 22px;
  border-radius: 18px;
}

.icon-placeholder {
  width: 50px;
  height: 50px;
  margin: 0 0 18px;
  /*border-radius: 18px;*/
  position: relative;
  flex: 0 0 auto;
}

.icon-placeholder::before {
  /*content: "";*/
  /*position: absolute;*/
  /*inset: 14px;*/
  /*border-radius: 999px;*/
  /*background: rgba(255, 255, 255, 0.7);*/
}

.icon-placeholder-finance {
  background: url("/AI/images/xlsai/anli-1.svg");
}

.icon-placeholder-sales {
  background: url("/AI/images/xlsai/anli-2.svg");
}

.icon-placeholder-compliance {
  background: url("/AI/images/xlsai/anli-3.svg");
}

.use-case-card-content {
  /*margin-top: auto;*/
}

.use-case-card-content h3 {
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 30px;
  color: #000c25;
  text-align: left;
  vertical-align: middle;
  word-break: break-word;
}

.use-case-card-content p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 24px;
  color: #000c25;
  text-align: left;
  vertical-align: middle;

}

@media (min-width: 768px) {
  .use-cases-section {
    padding: 80px 0 80px;
  }

  .use-cases-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 60px;
    color: rgba(0, 12, 37, 1);
    text-align: center;
    vertical-align: middle;
  }

  .use-cases-subtitle {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 24px;
    color: rgba(0, 12, 37, 1);
    text-align: center;
    vertical-align: middle;
    margin-top: 30px;
  }

  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .card-dashboard-img {
    margin-bottom: 30px;
  }
}

@media (min-width: 1025px) {
  .use-cases-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

/* ============================================================
   Card Bottom Data Box Styles
   ============================================================ */
.card-bottom-box {
    margin-top: 24px;
    padding: 16px 12px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
}

/* 三个卡片不同的主题配色 */
.box-blue {
    background-color: #f0f5ff;
}
.box-blue .box-title { color: #6183c5; }
.box-blue .stat-value { color: #0033a0; }
.box-blue .stat-label { color: #0033a0; }
.box-blue .stat-divider { background-color: #6183c5; }

.box-purple {
    background-color: #f5f2ff;
}
.box-purple .box-title { color: #8c73c7; }
.box-purple .stat-value { color: #431894; }
.box-purple .stat-label { color: #431894; }
.box-purple .stat-divider { background-color: #8c73c7; }

.box-orange {
    background-color: #fef5e7;
}
.box-orange .box-title { color: #c49a63; }
.box-orange .stat-value { color: #703c00; }
.box-orange .stat-label { color: #703c00; }
.box-orange .stat-divider { background-color: #c49a63; }

/* 内部排版样式 */
.box-title {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
    text-align: center;
}

.box-stats {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-around;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
    padding: 0 4px;
    min-width: 0;
    word-break: break-word;
}

.stat-value {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.stat-label {
    font-size: 11px;
    font-weight: 400;
    line-height: 1.3;
}

.stat-divider {
    width: 1px;
    height: 24px;
    opacity: 0.4;
}

/* ============================================================
   Why Choose Us Section
   ============================================================ */
.features-section {
  padding: 80px 0 80px;
  background: linear-gradient(180deg, rgba(92, 7, 74, 1) 0%, rgba(0, 4, 82, 1) 100%);
}

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

.features-title {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.features-subtitle {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.feature-card {
  display: flex;
  flex-direction: column;
  /*min-height: 100%;*/
  padding: 28px 26px 30px;
  border-radius: 28px;
  /*border: 1px solid rgba(255, 255, 255, 0.1);*/
  /*background:*/
  /*  linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);*/

  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
  position: relative;
  z-index: 1;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(220, 81, 255, 0.32);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.feature-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 20px;
}

.feature-card-content h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.feature-card-content p {
  margin: 0;
  max-width: 300px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 20px;
  color: #8987AC;
  text-align: left;
  vertical-align: middle;

}

@media (min-width: 768px) {
  .features-section {
    padding: 80px 0;
    opacity: 1;
    background: linear-gradient(180deg, rgba(92, 7, 74, 1) 0%, rgba(0, 4, 82, 1) 100%);

  }

  .features-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 60px;
    color: rgba(245, 255, 249, 1);
    text-align: center;
    vertical-align: middle;

  }

  .features-subtitle {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 24px;
    color: rgba(245, 255, 249, 1);
    text-align: center;
    vertical-align: middle;
    margin-top: 30px;

  }

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

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    overflow: visible;
    padding-top: 10px;
  }

  .feature-card {
    padding: 40px
  }

  .feature-card-content h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 24px;
    color: rgba(255, 255, 255, 1);
    text-align: left;
    vertical-align: middle;
    margin-bottom: 10px;

  }
}


/* ============================================================
   Data Display Section
   ============================================================ */
.data-display-section {
  padding: 40px 30px 80px;
  background: linear-gradient(180deg, rgba(48, 27, 95, 1) 0%, rgba(3, 7, 84, 1) 100%);
}

.data-display-container {
  max-width: 1140px;
  align-items: center;
  margin: 0 auto;
}

.data-display-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 90px;
}

.data-tab { 
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.data-tab h3 { 
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #ffffff;
}

.data-tab p { 
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #8987AC;
}

/* ============================================================
   Integration Section
   ============================================================ */
.integration-section {
  padding: 60px 0 100px 0;
  background: #F5F5FA;
}

.integration-title {
  font-size: 40px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #000c25;
  text-align: center;
}

.integration-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: #000c25;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 30px;
}

/* 上方三张卡片的通用基础样式 */
.integration-grid-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.integration-card{
  background: #FFFFFF;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

/* 卡片头部布局（Icon + Title 并排） */
.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

/* 下方 2 列平分 */
.integration-grid-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* 图标圆形背景占位 */
.icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.icon-blue { background-color: #E8F5FF; color: #007FFF; }
.icon-green { background-color: #EEFBE7; color: #4CAF50; }
.icon-orange { background-color: #FFF3E0; color: #FF9800; }

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

.card-description {
  font-size: 14px;
  color: #000c25;
  line-height: 24px;
  margin-bottom: 20px;
  margin-top: 0;
  /* flex-grow: 1; */
}

/* 标签包裹层 */
.tags-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 12px;
  margin: 0;
  /* margin-top: auto; */

}

/* 普通标签样式 */
.tag-item {
  background: #F7F7FE;
  border: 1px solid rgba(224, 226, 255, 1);
  color: #676AAB;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}

/* 下方通栏卡片样式：各占1.5列 */
.integration-bottom-card {
  grid-column: span 1.5; /* 如果不支持小数列，媒体查询会进行平分处理 */
  background: #FFFFFF;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.bottom-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 0;
}

/* 底部圆点标签的外层包裹 */
.tags-dot-group {
  display: flex;
  grid-template-columns: repeat(4, 1fr);
  flex-wrap: wrap;
  gap: 10px;
}

/* 圆点标签通用样式 */
.tag-dot-item {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  background: #F7F7FE;
  border: 1px solid rgba(224, 226, 255, 1);
}

.tag-dot-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 8px;
}

/* 紫色主题（AI Models） */
.text-purple .bottom-card-title { color: #D01DF3; }
.text-purple .tag-dot-item { color: #000c25; }
.text-purple .dot { background-color: #D01DF3; }

/* 蓝色主题（Deployment Options） */
.text-blue .bottom-card-title { color: #2563EB; }
.text-blue .tag-dot-item { color: #000c25; }
.text-blue .dot { background-color: #2563EB; }

/* 响应式媒体查询：移动端适配 */
@media (max-width: 992px) {
  .integration-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .integration-bottom-card {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .integration-grid {
    grid-template-columns: 1fr;
  }
  .integration-bottom-card {
    grid-column: span 1;
  }
  .integration-title {
    font-size: 32px;
  }
}

/* ============================================================
   Pricing Plans Section
   ============================================================ */
.pricing-section {
  position: relative;
  padding: 96px 0 112px;
  background:
    radial-gradient(circle at 50% 72%, rgba(24, 184, 84, 0.18) 0, rgba(24, 184, 84, 0.06) 24%, rgba(16, 48, 32, 0) 58%),
    var(--color-primary);
  overflow: hidden;
}
.pricing-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  max-width: 100%;
  height: auto;
}


.pricing-container{
  display: flex;
  justify-content: center;
  max-width: 1140px;
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
}

.pricing-title {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.pricing-subtitle {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  /*min-height: 100%;*/
  padding: 30px 24px 22px;
  border-radius: 28px;
}

.pricing-card--dark {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
  color: #ffffff;


  opacity: 1;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px);

}

.pricing-card--featured {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.18);
  color: #0f172a;
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 18px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
  background: linear-gradient(90deg, rgba(52, 26, 219, 1) 0%, rgba(137, 39, 230, 1) 100%);
}

.pricing-badge--enterprise {
  background: rgba(164, 141, 242, 1);
  color: #ffffff;
}

.pricing-plan-name {
  margin: 0 0 12px;
  font-size: 1.75rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-align: center;
}

.pricing-plan-copy {
  margin: 0 auto 22px;
  max-width: 220px;
  min-height: 58px;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.pricing-amount-block {
  text-align: center;
  margin-bottom: 18px;
}

.pricing-label {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.pricing-label--strike {
  font-size: 1.1rem;
}

.pricing-label--dark {
  color: #86d64f;
}

.pricing-note {
  font-size: 1rem;
  line-height: 1.2;
  color: #d1fae5;
  margin-bottom: 6px;
}

.pricing-note--dark {
  color: #16a34a;
}

.pricing-price {
  font-size: 2.7rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: #ffffff;
}

.pricing-price--dark {
  color: #15803d;
}


.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.pricing-features--dark li {
  color: #64748b;
}

.pricing-check {
  flex: 0 0 auto;
  color: #22d07a;
  font-size: 1.05rem;
  line-height: 1.2;
  margin-top: 1px;
}

.pricing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.pricing-btn:hover {
  transform: translateY(-1px);
}

.pricing-btn--muted {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.95);
}

.pricing-btn--primary {
  background: rgba(23, 131, 255, 1);
  color: #ffffff;
}
.pricing-btn--primary
{
  background: linear-gradient(90deg, rgba(52, 26, 219, 1) 0%, rgba(137, 39, 230, 1) 100%);
  box-shadow: 0px 20px 10px -14px rgba(52, 26, 219, 0.5);
}

.pricing-btn--enterprise {
  background: linear-gradient(90deg, rgba(230, 154, 41, 1) 0%, rgba(230, 154, 41, 1) 100%);
  color: #ffffff;
}

@media (min-width: 768px) {
  .pricing-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(92, 7, 74, 1) 0%, rgba(0, 4, 82, 1) 100%);

  }

  /* 移除硬编码 top: 8700px 偏移 */
  .pricing-section {
    overflow: hidden;
  }
  .pricing-bg {
    top: 0;
  }

  .pricing-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    z-index: 1;
  }

  .pricing-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 50px;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    vertical-align: top;

  }

  .pricing-subtitle {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 30px;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    vertical-align: top;
    margin-top: 30px;
    margin-bottom:40px;

  }

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

  .included-features-card {
    padding: 50px  75px;
    margin-top: 60px;

    opacity: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    box-shadow: none;
    border: none;
  }
}

@media (min-width: 1140px) {
  .pricing-grid {
    display: flex;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 auto;
  }

  .pricing-card {
    padding:48px 24px 30px 24px;
    width: 267px;
  }

  .pricing-plan-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 24px;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    vertical-align: top;
    margin-bottom: 20px;

  }
  .pricing-plan-copy
{
    min-height: unset;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 20px;
  color: rgba(255, 255, 255, 1);
  text-align: center;
  vertical-align: top;
    margin-bottom: 30px;

}
  .pricing-label
{
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 20px;
  color: rgba(218, 227, 223, 1);
  text-align: center;
  vertical-align: middle;

}

  .pricing-price {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 36px;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    vertical-align: middle;

  }
  .price-Hobby .pricing-price{
    line-height: 60px;
  }
  .pricing-note{
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0;
  }
  .pricing-features li
{
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 16px;
  color: rgba(218, 227, 223, 1);
  text-align: center;
  vertical-align: middle;
    align-items: center;

}
  .pricing-features {
    gap: 20px;
    align-items: center;
  }
  .price-Lite,
  .price-Enterprise {
    opacity: 1;
    border: 4px solid transparent;
    border-radius: 30px;
    box-sizing: border-box;
    background-clip: padding-box, border-box;
  }

  .price-Lite {
    background:
      linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 1)) padding-box,
      linear-gradient(180deg, #3A17FF 0%, #8E1CFF 100%) border-box;


  }

  .price-Enterprise {
    background:
      linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 1)) padding-box,
      #A48DF2 border-box;

  }

}
.price-Lite .pricing-plan-name,
.price-Enterprise .pricing-plan-name{
  color: rgba(0, 12, 37, 1);
}
.price-Lite .pricing-plan-copy,
.price-Enterprise .pricing-plan-copy{
  color: rgba(0, 12, 37, 1);
}
.price-Lite .pricing-label,
.price-Lite .pricing-note,
.price-Lite .pricing-price

{
  color: rgba(188, 129, 247, 1);
}
.price-Enterprise .pricing-label,
.price-Enterprise .pricing-note,
.price-Enterprise .pricing-price
{
  color: rgba(151, 124, 242, 1);
}

.price-Lite .pricing-note,
.price-Lite .pricing-price

{
  color: rgba(26, 0, 194, 1);
}
.price-Enterprise .pricing-note,
.price-Enterprise .pricing-price
{
  color: rgba(93, 72, 163, 1);
}






.price-Lite .pricing-features li,
.price-Enterprise .pricing-features li{
  color: rgba(113, 125, 150, 1);
}

a.pricing-btn--muted:link, a.pricing-btn--muted:visited {
  color: rgba(255, 255, 255, 1);
}

a.pricing-btn--primary:link, a.pricing-btn--primary:visited {
  color: rgba(255, 255, 255, 1);
}

a.pricing-btn--enterprise:link, a.pricing-btn--enterprise:visited {
  color: rgba(255, 255, 255, 1);
  background: rgba(164, 141, 242, 1);
box-shadow: 0px 20px 10px -14px rgba(164, 141, 242, 0.5);
}

.discount-card{
  width: 608px;
  height: 54px;
  opacity: 1;
  border-radius: 27px;
  background: rgba(83, 224, 116, 0.2);
  border: 2px solid rgba(83, 224, 116, 0.3);
  box-shadow: 0px 30px 20px -19px rgba(83, 224, 116, 0.3);
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 0px;
}

.discount-card p{
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0px;
  line-height: 28px;
  color: #53E074;
  text-align: center;
  vertical-align: middle;
}







/* ============================================================
   scalable plans Section
   ============================================================ */
.scalable-plans-section{
  padding: 40px 30px 80px;
  background: linear-gradient(180deg, rgba(48, 27, 95, 1) 0%, rgba(3, 7, 84, 1) 100%);
}

.scalable-container{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.included-features-title {
  text-align: center;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.included-features-subtitle {
  max-width: 760px;
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}

.included-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 90px;
}

.included-feature {
  text-align: center;
}

.included-feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  line-height: 1;
  color: #ffffff;
  /*background: rgba(255, 255, 255, 0.1);*/
}

.included-feature h4 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.25;
  font-weight: 700;
  color: #ffffff;
}

.included-feature p {
  margin: 0 auto;
  max-width: 280px;
  font-size: 0.97rem;
  line-height: 1.7;
  color: #8987AC;
}


/* ============================================================
   Questions Section
   ============================================================ */
.questions-section{
  padding: 40px 30px 80px;
  background: #F5F5FA;
  margin-right: auto;
}

.questions-container{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.questions-title {
  text-align: center;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #000c25;
}

.questions-subtitle {
  max-width: 760px;
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.7;
  color: #000c25;
}

/* === 新增 Questions 卡片样式 === */
.questions-list {
  width: 100%;
  max-width: 1140px;
  display: flex;
  flex-direction: column;
  gap: 20px; /* 卡片之间的间距为 20px */
}

.questions-item {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 30px; /* 卡片内边距为 30px */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  margin: 0;
}

.questions-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 24px; /* 标题字号 24px */
  color: #000C25; /* 标题字色 #000C25 */
  font-weight: 400;
  user-select: none;
}

.questions-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  
}

.questions-answer{
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.3s ease;
  font-size: 18px; /* 内容字号 18px */
  color: #8D8FA4; /* 内容字色 #8D8FA4 */
  line-height: 1.6;
  margin: 0;
}

/* 展开状态 */
.questions-item.active .questions-answer {
  max-height: 500px; /* 预留足够容纳内容的像素高度 */
  opacity: 1;
  margin-top: 20px; /* 标题与内容的间距为 20px */
}

.questions-item.active .questions-icon {
  transform: rotate(180deg); /* 展开时箭头向上 */
}


/* ============================================================
   CTA Bottom Section
   ============================================================ */
.cta-bottom-section {
  padding: 96px 0 108px;
  background-color: #ffffff;
}

.cta-bottom-section .container {
  text-align: center;
}

.cta-bottom-title {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #08162f;
}

.cta-bottom-subtitle {
  max-width: 800px;
  margin: 18px auto 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5563;
}

.cta-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: stretch;
  justify-content: center;
  margin-top: 34px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.cta-btn:hover {
  transform: translateY(-1px);
}

.cta-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

.cta-btn-primary {
  color: #ffffff;
  /*border: 2px solid rgba(39, 87, 230, 1);*/

  background: linear-gradient(90deg, rgba(74, 83, 247, 1) 0%, rgba(209, 66, 219, 1) 100%);
}

/*.cta-btn-secondary {*/
/*  background: #ffffff;*/
/*  color: rgba(39, 87, 230, 1);*/

/*  border-radius: 10px;*/
/*  border: 1px solid;*/
/*  box-sizing: border-box;*/
/*  border-image: linear-gradient(90deg, rgba(52, 26, 219, 1) 0%, rgba(137, 39, 230, 1) 100%) 1;*/


/*}*/

.cta-btn-secondary {
  border-radius: 10px;
  border: 1px solid transparent; /* 边框必须设为透明 */
  box-sizing: border-box;

  /* 重点：第一层是按钮内部的底色（这里设为白色），第二层是渐变色 */
  background:
          linear-gradient(white, white) padding-box,
          linear-gradient(90deg, rgba(74, 83, 247, 1) 0%, rgba(209, 66, 219, 1) 100%);

}
/* 选中 "Contact Sales" 所在的 span 标签 */
.cta-btn-secondary span:first-child {
  background: linear-gradient(90deg, rgba(137, 39, 230, 1) 0%, rgba(137, 39, 230, 1) 100%);

  /* 将背景裁剪到文字轮廓内 */
  -webkit-background-clip: text;
  background-clip: text;

  /* 文字颜色设为透明 */
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 18px;
}
@media (min-width: 768px) {
  .cta-bottom-section {
    padding: 80px 0;
  }

  .cta-bottom-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 50px;
    color: rgba(0, 12, 37, 1);
    text-align: center;
    vertical-align: top;

  }

  .cta-bottom-subtitle {
margin-top: 30px;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 30px;
    color: #000c25;
    text-align: center;
    vertical-align: middle;

  }

  .cta-action-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 20px;

    margin-top: 40px;
  }

  .cta-btn {
    max-width: 306px;
  }
  .cta-btn span{

    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 28px;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    vertical-align: middle;

  }
  .cta-btn.cta-btn-secondary span
{
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 28px;
  color: rgba(39, 87, 230, 1);
  text-align: center;
  vertical-align: middle;

}
}

/* Hero section background decoration images */
.hero-bg-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* 第一张背景图：居中，从上往下，起点距顶部 55px */
.hero-bg-top {
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
}

/* 第二张背景图：居中，从下往上，起点距底部 178px */
.hero-bg-bottom {
  bottom: 185px;
  left: 50%;
  transform: translateX(-50%);
}

#try-agent{
  display: none;
}
/* ===========================================================
   Responsive & Mobile Optimization (Specialized, Capabilities, Backgrounds)
   =========================================================== */
@media (max-width: 992px) {
  .specialized-grid {
    grid-template-columns: 1fr;
  }
  .capabilities-display,
  .display-content.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .text-area,
  .image-area {
    width: 100%;
  }
  .image-area {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 768px) {
  .specialized-section,
  .capabilities-section {
    padding: 50px 0;
  }
  .specialized-title,
  .capabilities-title {
    font-size: 28px;
    line-height: 1.3;
  }
  .specialized-subtitle,
  .capabilities-subtitle {
    font-size: 15px;
  }
  .agent-card {
    padding: 24px 20px;
  }
  .agent-card h3 {
    font-size: 1.25rem;
    flex-wrap: wrap;
    gap: 10px;
  }
  .agent-card p {
    width: 100%;
  }
  .document-group span {
    width: auto;
    min-width: 58px;
  }
  .use-cases-section {
    padding: 50px 0;
  }
  .use-cases-title {
    font-size: 28px;
    line-height: 1.3;
  }
  .use-cases-subtitle {
    font-size: 15px;
  }
  .use-cases-grid {
    grid-template-columns: 1fr;
    width: 100%;
    box-sizing: border-box;
  }
  .use-case-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 20px 14px;
    overflow: hidden;
  }
  .use-case-card-content h3,
  .use-case-card-content p {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .card-bottom-box {
    box-sizing: border-box;
    width: 100%;
    padding: 16px 8px;
  }
  .box-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }
  .stat-divider {
    display: none;
  }
  .stat-item {
    padding: 0 2px;
    min-width: 0;
    word-break: break-word;
  }
  .stat-value {
    font-size: 13px;
  }
  .stat-label {
    font-size: 10px;
  }
}

@media (max-width: 520px) {
  .box-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .stat-item {
    padding: 4px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.08);
  }
  .stat-item:last-child {
    border-bottom: none;
  }
}
@media (min-width: 1600px) {
  .pricing-bg {
    top: 500px;
  }
}
