/* ============================================================
   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;
  box-sizing: border-box;
}




/* ============================================================
   Hero Section
   ============================================================ */
.hero-section {                     /* 4. 左侧与卡片的间距 105px */
  background: #ffffff;                   /* 5. 限制板块宽度为 1140px */
  padding: 80px 0 80px 0;
}

/* 背景图片定位到底层 */
.hero-bg-banner {
  position: absolute;
  top: 14%;
  left: 26%;
  transform: translate(-50%, -50%); /* 确保背景在板块绝对居中 */
  width: 800px;
  object-fit: cover; /* 保证 SVG 背景完美覆盖不拉伸变形 */
  z-index: 1; /* 置于底层 */
  pointer-events: none; /* 防止背景图阻挡下方按钮的点击事件 */
}

/* 内容容器定位置顶，确保在背景之上 */
.hero-section .container {
  position: relative;
  z-index: 2; /* 层级高于背景 (2 > 1) */
  width: 1140px;
  margin: 0 auto;
}

.hero-grid{
  display: flex;                  
  align-items: center;             
  justify-content: space-between;
  width: 1140px;
}

    /* 左侧内容区 */
    .hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}




    /* 主标题与副标题 */
    .hero-title {
      font-size: 56px;
      font-weight: 700;
      line-height: 1.3;
      color: #000C25;
      margin: 0;
      width: 600px;
    }

    .hero-subtitle li {
      font-size: 28px;
      font-weight: 400;
      line-height: 1.2;
      color: #000C25;
      width: 540px;
    }

    .subtitle-item  {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #000c25;
    line-height: 1.0;
    margin-bottom: 16px;
}

.tag-icon {
    width: 10px;
    height: 10px;
    background-color: #000c25;
    border-radius: 100%;
}


    /* 按钮组 */
    .btn-group {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    /* 主按钮 */
    .btn-primary {
      height: 48px;
      padding: 0 24px;
      background: linear-gradient(90deg, rgba(74, 83, 247, 1) 0%, rgba(209, 66, 219, 1) 100%);
      border: none;
      border-radius: 10px;
      color: #ffffff;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      text-decoration: none;
      transition: opacity 0.2s ease;
    }

    .btn-primary span {
      color: #ffffff;
      margin-right: 10px;
    }

    .btn-primary:hover {
      opacity: 0.9;
    }

    .btn-primary .arrow-icon {
      width: 20px;
      height: 14px;
      fill: #ffffff;
    }

    /* 渐变线框按钮 */
    .btn-outline {
      position: relative;
      height: 48px;
      padding: 0 24px;
      border-radius: 10px;
      background: #ffffff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      cursor: pointer;
      /* 用伪元素做 1px 渐变描边 */
      border: 1px solid transparent;
      background-image: linear-gradient(#fff, #fff), linear-gradient(90deg, rgba(74, 83, 247, 1) 0%, rgba(209, 66, 219, 1) 100%);
      background-clip: padding-box, border-box;
      background-origin: padding-box, border-box;
    }

    .btn-outline-text {
      font-size: 16px;
      font-weight: 600;
      background: linear-gradient(90deg, rgba(74, 83, 247, 1) 0%, rgba(209, 66, 219, 1) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-annotation {
  display: flex;           
  gap: 18px;               
  list-style: none;         
  margin: 0;               
  padding: 0;              
  align-items: center;     
}

.hero-annotation li {
  display: flex;
  align-items: center;      
  gap: 6px;                 
  font-size: 14px;
  font-weight: 400;
  color: #474D5C;    
}

.hero-annotation .status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #10B981;     
}

    /* 右侧卡片 */
    .card-wrapper {
      width: 521px;
      border-radius: 20px;
      background-color: #ffffff;
      box-shadow: 14px 33px 90px -10px rgba(101, 113, 224, 0.28); /* 20%透明度黑色投影 */
      border: 2px solid rgba(190, 182, 242, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      padding: 0 0 52px 0;
    }

    .card-wrapper span {
      margin-top: 0;
      margin-bottom: 40px;
    }

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

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

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

    /* 大表格 */
    .table-container {
      width: 1140px;
      border-radius: 20px;
      overflow: hidden;
      border: 1px solid #e5e7eb;
      background-color: #ffffff;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
      margin-bottom: 40px;
    }

    .custom-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
      font-size: 16px;
    }

    .custom-table th {
      background-color: #f8fafc;
      font-weight: 700;
      padding: 20px 24px;
      color: #1e293b;
      border-bottom: 1px solid #e2e8f0;
    }

    .custom-table td {
      font-weight: 400;
      padding: 24px;
      border-bottom: 1px solid #f1f5f9;
      color: #334155;
      vertical-align: middle;
    }

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

    .text-purple {
      color: #6350F2;
      font-weight: 600;
    }

    .text-light-purple {
      color: #f07832;
    }

    /* 表格下方长按钮 */
    .btn-bottom {
      width: 386px;
      height: 52px;
      border-radius: 10px;
      background: linear-gradient(90deg, rgba(74, 83, 247, 1) 0%, rgba(209, 66, 219, 1) 100%);
      border: none;
      color: #ffffff;
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      transition: opacity 0.2s ease;
      box-shadow: 0 4px 14px rgba(74, 83, 247, 0.3);
    }

    .btn-bottom:hover {
      opacity: 0.92;
    }

    .btn-bottom .arrow-icon {
      width: 20px;
      height: 14px;
      fill: #ffffff;
    }



/* ============================================================
    Contrast Section
   ============================================================ */
    .contrast-section {
      width: 100%;
      padding: 80px 0 80px 0; /* 板块内边距 80px 0 80px 0 */
      display: flex;
      flex-direction: column;
      align-items: center;
      background: #FAFAFF;
    }

    /* 标题与副标题区 */
    .contrast-header {
      text-align: center;
      margin-bottom: 40px;
    }

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

    .contrast-subtitle {
      font-size: 18px;
      font-weight: 400;
      color: #474D5C;
      margin: 0;
    }

    /* 对比卡片与 VS 图片的主容器 */
    .contrast-content {
      position: relative;
      width: 1140px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* 卡片通用样式 (大小 474 * 388px，圆角 20px，高层级) */
    .contrast-card {
      position: relative;
      z-index: 2; /* 层级高于中间 VS 图片 (z-index: 1)，形成遮挡效果 */
      width: 474px;
      height: 388px;
      border-radius: 20px;
      padding: 40px;
      display: flex;
      flex-direction: column;
      box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.04);
    }

    /* 左侧卡片 (白色背景) */
    .card-left {
      background-color: #ffffff;
    }

    /* 右侧卡片 (浅紫/蓝背景) */
    .card-right {
      background-color: #EDEEFF;
    }

    /* 卡片头部标题区 */
    .card-header {
      display: flex;
      align-items: center;
      gap: 14px; /* icon 与卡片标题的间距为 14px */
      margin-bottom: 26px; /* 卡片标题与内容之间的间距为 26px */
    }

    /* 图标占位符 (32 * 32px) */
    .card-icon-placeholder {
      width: 32px;
      height: 32px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: rgba(99, 101, 241, 0);
      border-radius: 8px;
    }

    .card-icon-placeholder svg {
      width: 20px;
      height: 20px;
    }

    /* 卡片标题 (字号 20px，字重 700) */
    .card-title {
      font-size: 20px;
      font-weight: 700;
      line-height: 1.3;
    }

    .card-left .card-title {
      color: #7878D6;
    }

    .card-right .card-title {
      background: linear-gradient(to right, #4A53F7, #D142DB);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
    }

    /* 内容列表 */
    .card-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 20px; /* 内容之间的间距为 20px */
      padding: 0;
      margin: 0;
    }

    .card-list-item {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 16px; /* 内容字号 16px */
      font-weight: 400; /* 内容字重 400 */
      color: #000c25;
      line-height: 1.4;
    }

    /* 列表前的图标 (红叉 / 绿勾) */
    .status-icon {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: 700;
    }

    .status-icon.cross {
      color: #ef4444; /* 红叉 */
    }

    .status-icon.check {
      color: #10b981; /* 绿勾 */
    }

    /* 中间 VS 图片容器 (大小 273 * 273px，较低层级) */
    .vs-image-wrapper {
      position: relative;
      z-index: 1; /* 低于卡片的 z-index: 2，被两侧卡片压住遮挡 */
      width: 273px;
      height: 273px;
      margin-left: -60px;  /* 负边距拉近卡片与 VS 的距离，产生遮挡重叠 */
      margin-right: -60px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    /* VS 图片占位/真实图片样式 */
    .vs-image {
      width: 273px;
      height: 273px;
      object-fit: contain;
    }

/* ============================================================
    Method Section
   ============================================================ */
    .method-section {
      width: 100%;
      padding: 80px 0 80px 0; /* 板块内边距 80px 0 80px 0 */
      display: flex;
      flex-direction: column;
      align-items: center;
      background: #FAFAFF;
    }

    /* 标题与副标题区 */
    .method-header {
      text-align: center;
      margin-bottom: 40px;
    }

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

    .method-subtitle {
      font-size: 18px;
      font-weight: 400;
      color: #474D5C;
      margin: 0;
    }
/* 新增：卡片容器，限制宽度 1140px 并拉开间距 */
.method-cards-container {
  width: 1140px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

/* 新增：单个卡片样式 */
.method-card {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid #E6E8FC;
  border-radius: 20px;
  padding: 40px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
}

/* 步骤数字图标 (紫色渐变圆圈) */
.step-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C4DF8 0%, #B84BF8 100%);
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

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

/* 卡片内容文字 */
.card-text {
  font-size: 16px;
  font-weight: 400;
  color: #474D5C;
  line-height: 1.5;
  margin: 0 0 32px 0;
  flex-grow: 1; /* 让内容自动撑开，保证底部的 tag 处于对齐状态 */
}

/* 底部状态标签 */
.card-tag {
  display: inline-block;
  padding: 8px 20px;
  background: #E8F8F5;
  color: #148E7E;
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
}
    


/* ============================================================
    Terms Section
   ============================================================ */
    .terms-section {
      width: 100%;
      padding: 80px 0 80px 0; /* 板块内边距 80px 0 80px 0 */
      display: flex;
      flex-direction: column;
      align-items: center;
      background: #30266E;
    }

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

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

    /* 新增：条款卡片容器 (版心 1140px，两列分布) */
.terms-cards-container {
  width: 1140px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

/* 新增：单个条款卡片 (半透明紫色卡片，圆角20px) */
.terms-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 48px 40px;
  box-sizing: border-box;
}

/* 条款列表重置 */
.terms-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 36px; /* 条款项目之间的行间隔 */
}

/* 条款单项 (使用 flex 布局确保圆点与多行文本顶部首行居中对齐) */
.terms-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

/* 自定义白色圆点 */
.bullet-dot {
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px; /* 让圆点与文本第一行垂直居中 */
}


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

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

.cta-bottom-title {
  margin: 0;
  font-size: 40px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, rgba(74, 83, 247, 1) 0%, rgba(209, 66, 219, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

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

.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;
    background: linear-gradient(to right, #4A53F7, #D142DB);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
    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;

}
}
