/* =========================================================
 * 大榕AI 主门户样式（整理版）
 * - 统一白色背景
 * - 品牌色：Logo 蓝 + 黄
 * - 去除重复/冲突规则
 * - Hero 单列大屏 + 动效 + 标题分割线
 * =======================================================*/
 :root{
  /* Brand */
  --brand-blue: #85D8EA;
  --brand-blue-dark: #2AA9C9;
  --brand-yellow: #FCD267;

  /* Neutrals */
  --bg: #ffffff;
  --text: #1F1F1F;
  --muted: rgba(31,31,31,0.66);
  --line: rgba(0,0,0,0.06);

  /* Elevation */
  --shadow-s: 0 10px 24px rgba(0,0,0,0.04);
  --shadow-m: 0 16px 38px rgba(0,0,0,0.06);
  --shadow-h: 0 22px 52px rgba(0,0,0,0.10);

  /* Radius */
  --r-s: 14px;
  --r-m: 18px;
  --r-l: 24px;

  /* Motion */
  --ease: cubic-bezier(.16,1,.3,1);
}
body{
  background: var(--bg);
  color: var(--text);
  font-family: "Inter","HarmonyOS Sans SC",-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3{
  letter-spacing: -0.02em;
}

.section-title{
  font-weight: 650;
}

.section-subtitle,
.card-body,
.deal-body{
  font-weight: 450;
}
.section{
  padding: 84px 0;
}

.section-head{
  margin-bottom: 34px;
}

.section-title{
  margin: 0 0 12px;
}

.section-subtitle{
  margin: 0;
  max-width: 720px;
  line-height: 1.75;
}

@media (max-width: 767.98px){
  .section{ padding: 56px 0; }
  .section-head{ margin-bottom: 26px; }
}
.card, .roadmap-card, .deal-card-inner, .flow-card{
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .22s ease-out, background .22s ease-out;
}

.card:hover, .roadmap-card:hover, .flow-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
}


/* ---------- 品牌色变量：方便以后统一调整 ---------- */
:root {
  --brand-blue: #4099ad;
  --brand-blue-dark: #5bbccd;
  --brand-yellow: #f79b24;
  --brand-yellow-dark: #fab41e;

  --text-title: #232323;
  --text-body: #463f3f;
  --text-muted: #888888;

  --border-light: rgba(0, 0, 0, 0.06);
}

/* ========== Reset & 基础 ========== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "HarmonyOS Sans SC", "Inter", -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #ffffff; /* 全站统一白色 */
  color: var(--text-title);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* 容器：居中版心 */
.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== Header 顶部导航 ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo 区：用大榕蓝+黄的渐变点 */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-title);
}

.logo-mark {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: conic-gradient(
    from 180deg,
    var(--brand-blue),
    var(--brand-blue-dark),
    var(--brand-yellow),
    var(--brand-blue)
  );
}

.logo-text {
  opacity: 0.9;
}

/* 导航菜单 */
.site-nav {
  position: relative;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.nav-list a {
  opacity: 0.78;
  padding: 4px 0;
}

.nav-list a:hover {
  opacity: 1;
  color: var(--brand-blue-dark);
}

/* 手机菜单按钮 */
.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #242323;
}

/* ========== 通用 Section / 模块 ========== */

.section {
  padding: 80px 0 64px;
}

/* 统一白底，如需轻微分层可后续在模块上单独加 */
.section-muted {
  background: #ffffff;
}

.section-head {
  margin-bottom: 32px;
}

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 8px;
}

.section-title {
  font-size: 28px;
  margin: 0 0 8px;
  color: var(--text-title);
}
/* 架构章节标题居中 */
#architecture .section-title {
  text-align: center;
}
#architecture .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
#architecture .section-eyebrow {
  text-align: center;
}
.section-subtitle {
  font-size: 14px;
  opacity: 0.8;
  max-width: 520px;
  color: var(--text-body);
}

/* ========== 按钮（主色改为品牌蓝） ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease-out;
  white-space: nowrap;
}

.btn.primary {
  background: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(133, 216, 234, 0.38);
}

.btn.primary:hover {
  background: var(--brand-blue-dark);
}

.btn.ghost {
  border-color: rgba(0, 0, 0, 0.12);
  color: #333;
  background: transparent;
}

.btn.ghost:hover {
  background: rgba(0, 0, 0, 0.03);
}

/* ========== 模块通用（章节节奏） ========== */

.module {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* 模块 1：Hero 大屏 */
.module-hero {
  min-height: 90vh;
}

/* 模块 2：架构与算法（第二屏） */
.module-architecture {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  background: #ffffff;
}

/* 架构模块外层不再是一个大卡片，只保留上下内边距 */
/* ========== 文旅 AI 架构板块：三段式带状模块 ========== */
/* ========== 架构板块：极简 Icon ========== */

.arch-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;

  background: radial-gradient(circle at 0% 0%, rgba(133, 216, 234, 0.16), transparent 70%);
  position: relative;
}

/* 01 · AI 数据中枢：三层数据块（小“数据库”形状） */
.arch-icon-data::before {
  content: "";
  width: 14px;
  height: 10px;
  border-radius: 4px;
  border: 2px solid var(--brand-blue-dark);
  box-shadow:
    0 -7px 0 0 rgba(133, 216, 234, 0.7),
    0 7px 0 0 rgba(133, 216, 234, 0.7);
}

/* 02 · 节点网络：四个节点 + 连接线 */
.arch-icon-node::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--brand-blue-dark);
  box-shadow:
    12px 0 0 var(--brand-blue-dark),
    0 12px 0 rgba(133, 216, 234, 0.9),
    12px 12px 0 rgba(133, 216, 234, 0.9);
}

.arch-icon-node::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(133, 216, 234, 0.8);
  transform: translate(1px, 1px) rotate(8deg);
  opacity: 0.8;
}

/* 03 · 运营 Agent：播放箭头 + 小闪电（代表动作和决策） */
.arch-icon-ops::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid var(--brand-blue-dark);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  transform: translateX(-3px);
}

.arch-icon-ops::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-bottom: 2px solid rgba(252, 210, 103, 0.9);
  border-right: 2px solid rgba(252, 210, 103, 0.9);
  transform: translate(8px, -4px) skewX(-12deg);
  opacity: 0.9;
}
/*调整简间距*/
.arch-card {
  padding-top: 22px;
}

.arch-card .arch-layer-label {
  margin-bottom: 6px;
}

/* 外层不再是大白板，只控制上下间距 */
.module-architecture .shell {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 32px 0 32px;
}

/* 整条“带子”：三块连在一起 */
.arch-grid {
  margin-top: 32px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;                /* 关键：去掉卡片之间的缝隙 */
  overflow: hidden;      /* 保证圆角整体生效 */
}

/* 单块：简约面板 + 细分隔线 */
.arch-card {
  position: relative;
  padding: 24px 24px 22px;
  border-left: 1px solid rgba(0, 0, 0, 0.05);

  background: transparent;
  border-radius: 0;
  box-shadow: none;

  transition:
    background 0.18s ease-out,
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out;
}

/* 第一块不要左边界线 */
.arch-card:first-child {
  border-left: none;
}

/* 顶部小标签（01 / 02 / 03） */
.arch-layer-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-blue-dark);
  opacity: 0.9;
  margin-bottom: 4px;
}

/* 列表内容保持简洁 */
/* 小卡片正文更厚、更稳、更易读 */
.arch-card .card-body {
  font-size: 14px;
  font-weight: 450;        /* 稍微加厚 */
  line-height: 1.7;
  color: #333333;          /* 更稳重 */
}

.arch-list {
  margin: 6px 0 0;
  padding-left: 16px;
  list-style: disc;
  font-size: 12px;
  line-height: 1.6;
  color: #666;
}

/* Hover 交互：轻微抬起 + 顶部蓝光感，简约科技 */
.arch-card:hover {
  background: radial-gradient(
      circle at 0% 0%,
      rgba(133, 216, 234, 0.16),
      transparent 70%
    );
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(133, 216, 234, 0.24);
}

/* 手机端：整条带子变成上下三块，分隔线改成横线 */
@media (max-width: 767.98px) {

  /* 手机端：默认隐藏导航 */
  .nav-list {
    display: none;
  }

  /* 新 AI 导航体系：由 header.nav-open 控制 */
  .site-header.nav-open .nav-list {
    display: flex;
  }

}

/* ========== HERO 单列大屏 ========== */

.hero {
  position: relative;
  width: 100%;
  padding-top: 170px;
  padding-bottom: 160px;
  background: #ffffff; /* 底色白，光效用 ::before/::after 做 */
  overflow: hidden; /* 防止光效外溢 */
}

.hero-inner {
  position: relative;
  z-index: 1;
}

/* 单列内容区域 */
.hero-grid {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  text-align: left;
}

/* 顶部小眉题 */
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.7;
  margin: 0 0 16px;
  color: #777;
}

/* Hero 主标题（带分割线和动效） */
.hero-title {
  position: relative;
  font-family: "Inter", "HarmonyOS Sans SC", sans-serif;
  font-size: 52px;
  line-height: 1.25;
  font-weight: 650;
  margin: 0 0 24px;
  padding-bottom: 18px; /* 为分割线留空间 */
  color: var(--text-title);

  opacity: 0;
  transform: translateY(12px);
  animation: heroTitleIn 1.2s ease-out forwards 0.2s;
}

/* 标题中的高亮文字：改用 Logo 黄 */
.hero-title span {
  background: linear-gradient(120deg, var(--brand-yellow), var(--brand-yellow-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 标题下短分割线（蓝→黄渐变） */
.hero-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 80px;
  height: 3px;
  border-radius: 999px;

  background: linear-gradient(
    90deg,
    var(--brand-blue),
    var(--brand-yellow) 70%,
    rgba(255, 255, 255, 0)
  );
}

/* Hero 副标题 */
.hero-subtitle {
  font-size: 18px;
  line-height: 1.65;
  max-width: 620px;
  color: var(--text-body);
  margin: 0 0 32px;

  opacity: 0;
  transform: translateY(14px);
  animation: heroSubtitleIn 1.2s ease-out forwards 0.45s;
}

/* CTA 区 */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
  margin-bottom: 32px;

  opacity: 0;
  transform: translateY(10px);
  animation: heroCtaIn 1.1s ease-out forwards 0.65s;
}

/* Meta 文本 */
.hero-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* ========== Hero 光效动效（蓝色呼吸 + 扫光） ========== */

/* 左上蓝色呼吸光团 */
.hero::before {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  border-radius: 50%;
  left: -15%;
  top: -20%;
  background: radial-gradient(circle, rgba(133, 216, 234, 0.35) 0%, transparent 60%);
  opacity: 0.7;
  filter: blur(4px);
  pointer-events: none;
  z-index: 0;
  animation: heroGlow 16s ease-in-out infinite;
}

/* 右侧向左的柔和白色扫光 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 40%,
    rgba(255, 255, 255, 0) 65%
  );
  mix-blend-mode: screen;
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
  transform: translateX(-50%);
  animation: heroSweep 22s linear infinite;
}

/* Hero 内部内容永远在光效之上 */
.hero-inner,
.hero-grid {
  position: relative;
  z-index: 1;
}

/* 呼吸光团动画 */
@keyframes heroGlow {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.7;
  }
  40% {
    transform: translate3d(4%, 4%, 0) scale(1.12);
    opacity: 0.9;
  }
  70% {
    transform: translate3d(-3%, 2%, 0) scale(0.96);
    opacity: 0.65;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.7;
  }
}

/* 横向扫光动画 */
@keyframes heroSweep {
  0% {
    transform: translateX(-55%);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  40% {
    transform: translateX(20%);
    opacity: 0.28;
  }
  60% {
    transform: translateX(55%);
    opacity: 0.08;
  }
  80% {
    transform: translateX(80%);
    opacity: 0;
  }
  100% {
    transform: translateX(80%);
    opacity: 0;
  }
}

/* 文案入场动画 */
@keyframes heroTitleIn {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSubtitleIn {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroCtaIn {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ========== 卡片栅格（章节内容） ========== */

.card-grid {
  display: grid;
  gap: 16px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border-radius: 18px;
  border: 1px solid rgba(133, 216, 234, 0.25);
  background: #ffffff;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.15s ease-out, border-color 0.15s ease-out,
    transform 0.15s ease-out;
}

.card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 10px 30px rgba(133, 216, 234, 0.3);
  transform: translateY(-2px);
}

.card-title {
  font-size: 14px;
  margin: 0 0 6px;
  color: var(--text-title);
}
/* 每个小卡片的小主标题：更突出、更科技感 */
.arch-card .card-title {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  margin: 6px 0 10px;
}
/* 可选：科技渐变标题 */
.arch-card .card-title {
  background: linear-gradient(120deg, var(--brand-blue-dark), #1a1a1a);
  -webkit-background-clip: text;
  color: transparent;
}
.card-body {
  font-size: 13px;
  opacity: 0.9;
  margin: 0;
  color: var(--text-body);
}

/* ========== CTA 模块 ========== */

.section-cta {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

.cta-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ========== Footer ========== */

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 20px 0;
  background: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}

.footer-logo {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 4px;
  color: var(--text-title);
}

.footer-copy {
  opacity: 0.7;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-item span {
  opacity: 0.75;
  color: #666;
}

/* ========== 响应式 ========== */

/* 平板及小桌面 */
@media (max-width: 991.98px) {
  .hero {
    padding-top: 120px;
    padding-bottom: 96px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 48px;
  }

  .card-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-inner {
    flex-direction: column;
  }

  .module-architecture .shell {
    padding: 24px 20px 28px;
  }
}

/* 手机 */
@media (max-width: 767.98px) {
  .header-inner {
    height: 56px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    position: absolute;
    top: 120%;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 16px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    min-width: 180px;
    display: none;
  }

  .nav-list.open {
    display: flex;
  }

  .hero {
    padding-top: 96px;
    padding-bottom: 72px;
  }

  .hero-grid {
    padding: 0 16px;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 40px;
  }

  .card-grid.three,
  .card-grid.four {
    grid-template-columns: 1fr;
  }

  .shell {
    padding: 0 16px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========== 字体族优先级（再强调一次） ========== */

.hero-title,
.section-title,
.nav-list a,
.eyebrow {
  font-family: "Inter", "HarmonyOS Sans SC", sans-serif;
}
/* ========== 模块 3：从数据到智能体的可视化小板块 ========== */

.module-flow .section-title,
.module-flow .section-subtitle,
.module-flow .section-eyebrow {
  text-align: center;
}

.module-flow .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* 三个小板块栅格 */
.flow-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* 每个小板块基础卡片 */
.flow-card {
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #ffffff;
  padding: 18px 18px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  transition:
    box-shadow 0.18s ease-out,
    transform 0.18s ease-out,
    border-color 0.18s ease-out,
    background 0.18s ease-out;
}

/* Hover：轻微抬起 + 边框高亮 */
.flow-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue);
  box-shadow: 0 14px 32px rgba(133, 216, 234, 0.28);
}

/* 顶部可视化区域 */
.flow-visual {
  position: relative;
  border-radius: 14px;
  background: #f7fbfd;
  border: 1px solid rgba(133, 216, 234, 0.28);
  height: 110px;
  margin-bottom: 14px;
  overflow: hidden;
}

/* 小标题 & 正文 */
.flow-title {
  font-size: 16px;
  font-weight: 650;
  margin: 4px 0 8px;
  color: #1f1f1f;
}

.flow-body {
  font-size: 13px;
  line-height: 1.7;
  color: #444444;
  margin: 0;
}

/* -------- 01 数据中枢：左多源 → 中心处理 → 右输出指标 -------- */

.flow-card-data .flow-visual::before,
.flow-card-data .flow-visual::after {
  content: "";
  position: absolute;
}

/* 左侧多源数据柱状 */
.flow-card-data .flow-visual::before {
  left: 10%;
  top: 18%;
  width: 8px;
  height: 56px;
  border-radius: 6px;
  background: linear-gradient(to top, rgba(133,216,234,0.3), var(--brand-blue));
  box-shadow:
    14px 10px 0 rgba(133,216,234,0.2),
    28px -4px 0 rgba(133,216,234,0.35);
}

/* 中间处理框 + 箭头到右侧 */
.flow-card-data .flow-visual::after {
  left: 50%;
  top: 22%;
  width: 64px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(133, 216, 234, 0.8);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.8);
  transform: translateX(-50%);
}

/* 输出条（使用内部伪元素） */
.flow-card-data .flow-visual span {
  display: none;
}

/* 用额外伪元素画右侧输出条 */
.flow-card-data .flow-visual::marker {}

/* 使用多个小条模拟输出指标 */
.flow-card-data .flow-visual::after,
.flow-card-data .flow-visual {
  /* 为兼容性，这里在父容器里再画一个辅助条 */
}
.flow-card-data .flow-visual::before,
.flow-card-data .flow-visual::after {
  /* 已在上方定义，补充一个右侧输出组 */
}
.flow-card-data .flow-visual {
  background:
    linear-gradient(
      to right,
      transparent 0%,
      transparent 55%,
      rgba(252,210,103,0.18) 56%,
      rgba(252,210,103,0.28) 100%
    );
}
.flow-card-data .flow-visual::after {
  /* 上面是处理中枢，这里再加右侧三条线 */
  box-shadow:
    80px 4px 0 rgba(252,210,103,0.95),
    80px 16px 0 rgba(252,210,103,0.7),
    80px 28px 0 rgba(252,210,103,0.5);
}

/* -------- 02 节点网络：多个节点 + 连接线 -------- */

.flow-card-node .flow-visual::before,
.flow-card-node .flow-visual::after {
  content: "";
  position: absolute;
}

/* 连接线框 */
.flow-card-node .flow-visual::before {
  left: 14%;
  top: 18%;
  width: 72%;
  height: 64%;
  border-radius: 12px;
  border: 1px dashed rgba(133,216,234,0.7);
}

/* 节点点阵 */
.flow-card-node .flow-visual::after {
  left: 22%;
  top: 26%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand-blue-dark);
  box-shadow:
    38px 8px 0 var(--brand-blue-dark),
    64px -4px 0 rgba(133,216,234,0.9),
    20px 32px 0 rgba(133,216,234,0.8),
    56px 32px 0 rgba(252,210,103,0.9);
}

/* -------- 03 运营 Agent：多轨道 + 流向箭头 -------- */

.flow-card-agent .flow-visual::before,
.flow-card-agent .flow-visual::after {
  content: "";
  position: absolute;
}

/* 多条运行轨道 */
.flow-card-agent .flow-visual::before {
  left: 12%;
  right: 12%;
  top: 30%;
  height: 2px;
  background: linear-gradient(
    to right,
    rgba(133,216,234,0.4),
    rgba(133,216,234,0.9),
    rgba(252,210,103,0.9)
  );
  box-shadow:
    0 -10px 0 rgba(133,216,234,0.18),
    0 10px 0 rgba(133,216,234,0.18);
}

/* 轨道上的小 Agent 点 + 箭头 */
.flow-card-agent .flow-visual::after {
  right: 16%;
  top: 26%;
  width: 0;
  height: 0;
  border-left: 10px solid var(--brand-blue-dark);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  box-shadow:
    -80px -10px 0 rgba(133,216,234,0.9),
    -60px 0 0 rgba(252,210,103,0.9),
    -40px 10px 0 rgba(133,216,234,0.9);
}

/* 手机端：改为单列显示 */
@media (max-width: 767.98px) {
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .flow-card {
    padding: 16px 14px 18px;
  }
}
/* ========== 模块 4：运营数据 → AI → Agent → 输出 的可视化流程 UI ========== */

.module-pipeline .section-title,
.module-pipeline .section-subtitle,
.module-pipeline .section-eyebrow {
  text-align: center;
}

.module-pipeline .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* 整体流程 UI 容器 */
.pipeline-ui {
  margin-top: 32px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
  padding: 24px 24px 20px;
}

/* 主轨道：5 个步骤横向排布 */
.pipeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 26px 10px 18px;
}

/* 背景主线（横向渐变） */
.pipeline-track::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 52%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(133, 216, 234, 0.4),
    rgba(133, 216, 234, 0.9),
    rgba(252, 210, 103, 0.9)
  );
  pointer-events: none;
}

/* 单个步骤 */
.pipe-step {
  position: relative;
  text-align: center;
  padding: 0 6px;
}

/* 节点圆点 */
.pipe-node {
  position: relative;
  width: 22px;
  height: 22px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid rgba(133, 216, 234, 0.75);
  box-shadow:
    0 0 0 3px rgba(133, 216, 234, 0.2),
    0 8px 18px rgba(0, 0, 0, 0.14);
}

/* 源数据 & 输出可以稍微强调颜色 */
.step-source .pipe-node {
  border-color: rgba(133, 216, 234, 0.9);
}

.step-output .pipe-node {
  border-color: rgba(252, 210, 103, 0.95);
}

/* 文案部分 */
.pipe-label {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
}

.pipe-sub {
  font-size: 12px;
  color: #666;
}

/* Hover 状态：节点放大 + 标题变色 */
.pipe-step:hover .pipe-node {
  transform: scale(1.08);
  box-shadow:
    0 0 0 4px rgba(133, 216, 234, 0.32),
    0 10px 24px rgba(133, 216, 234, 0.38);
}

.pipe-step:hover .pipe-label {
  color: var(--brand-blue-dark);
}

/* 悬浮说明气泡 */
.pipe-pop {
  position: absolute;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%) translateY(8px);
  width: 200px;
  max-width: 230px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(133, 216, 234, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);

  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.16s ease-out,
    transform 0.16s ease-out;
  z-index: 5;
}

/* 气泡小三角 */
.pipe-pop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1px solid rgba(133, 216, 234, 0.45);
  border-bottom: 1px solid rgba(133, 216, 234, 0.45);
  transform-origin: center;
  transform: translateX(-50%) rotate(45deg);
}

/* 气泡文字 */
.pipe-pop-title {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #222;
}

.pipe-pop-body {
  font-size: 11px;
  line-height: 1.6;
  color: #555;
}

/* Hover 时显示气泡 */
.pipe-step:hover .pipe-pop {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 底部提示文案 */
.pipeline-hint {
  margin: 6px 0 0;
  font-size: 11px;
  color: #888;
  text-align: right;
}

/* ---------- 响应式：手机端改为纵向流程 ---------- */

@media (max-width: 767.98px) {
  .pipeline-ui {
    padding: 18px 12px 16px;
  }

  .pipeline-track {
    grid-template-columns: 1fr;
    padding: 12px 6px 6px;
  }

  .pipeline-track::before {
    /* 改为竖向流程线 */
    left: 26px;
    right: auto;
    top: 10%;
    bottom: 10%;
    width: 2px;
    height: auto;
    background: linear-gradient(
      180deg,
      rgba(133, 216, 234, 0.4),
      rgba(133, 216, 234, 0.9),
      rgba(252, 210, 103, 0.9)
    );
  }

  .pipe-step {
    text-align: left;
    padding: 10px 8px 18px;
  }

  .pipe-node {
    margin: 0 0 4px;
  }

  .pipe-label,
  .pipe-sub {
    margin-left: 40px;
  }

  .pipe-pop {
    position: static;
    transform: none;
    margin-top: 8px;
    width: auto;
    max-width: none;
    opacity: 1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  }

  .pipe-pop::after {
    display: none;
  }

  .pipeline-hint {
    text-align: left;
    margin-top: 10px;
  }
}
/* ========== Roadmap：AIGC -> Agent -> AI Cluster ========== */

.module-roadmap .section-title,
.module-roadmap .section-subtitle,
.module-roadmap .section-eyebrow {
  text-align: center;
}

.module-roadmap .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* 外层布局 */
.roadmap {
  position: relative;
  margin-top: 34px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;

  padding-top: 18px;
}

/* 中间主线（横向） */
.roadmap-line {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 44px;
  height: 2px;
  border-radius: 999px;

  background: linear-gradient(
    90deg,
    rgba(133, 216, 234, 0.25),
    rgba(133, 216, 234, 0.95),
    rgba(252, 210, 103, 0.95),
    rgba(133, 216, 234, 0.25)
  );

  opacity: 0.7;
  filter: blur(0.2px);
  animation: roadmapFlow 14s linear infinite;
  pointer-events: none;
}

@keyframes roadmapFlow {
  0%   { transform: translateX(-8%); opacity: 0.25; }
  35%  { transform: translateX(0%);  opacity: 0.75; }
  70%  { transform: translateX(8%);  opacity: 0.45; }
  100% { transform: translateX(8%);  opacity: 0.0; }
}

/* 卡片 */
.roadmap-card {
  position: relative;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 14px 34px rgba(0,0,0,0.05);

  padding: 16px 16px 14px;
  transition: transform .28s cubic-bezier(.16,1,.3,1),
              box-shadow .28s cubic-bezier(.16,1,.3,1),
              border-color .22s ease-out;
}

/* 顶部：圆点 + STAGE */
.roadmap-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.roadmap-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid rgba(133, 216, 234, 0.9);
  box-shadow: 0 0 0 4px rgba(133,216,234,0.18);
  animation: dotBreath 3.2s ease-in-out infinite;
}

@keyframes dotBreath {
  0%,100% { transform: scale(1);   box-shadow: 0 0 0 4px rgba(133,216,234,0.18); }
  50%     { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(133,216,234,0.26); }
}

.roadmap-kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-blue-dark);
  opacity: 0.85;
}

/* 标题与正文 */
.roadmap-title {
  font-size: 18px;
  font-weight: 650;
  margin: 0 0 8px;
  color: #1f1f1f;
}

.roadmap-desc {
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 10px;
  color: #444;
}

/* 列表 */
.roadmap-list {
  margin: 0;
  padding-left: 16px;
  list-style: disc;
  font-size: 12px;
  line-height: 1.7;
  color: #555;
}

/* Hover：抬起 + 变亮边框（更“高级”的反馈） */
.roadmap-card:hover {
  transform: translateY(-6px);
  border-color: rgba(133,216,234,0.75);
  box-shadow: 0 22px 46px rgba(133,216,234,0.20);
}

/* 给 3 个阶段一点“气质差异”（很克制） */
.stage-aigc {
  background: radial-gradient(circle at 0% 0%, rgba(133,216,234,0.10), transparent 62%), #fff;
}
.stage-agent {
  background: radial-gradient(circle at 0% 0%, rgba(252,210,103,0.10), transparent 62%), #fff;
}
.stage-cluster {
  background: radial-gradient(circle at 0% 0%, rgba(133,216,234,0.08), transparent 62%), #fff;
}

/* 手机端：改为竖向路线图 */
@media (max-width: 767.98px) {
  .roadmap {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .roadmap-line {
    left: 28px;
    right: auto;
    top: 18px;
    bottom: 18px;
    width: 2px;
    height: auto;
    background: linear-gradient(
      180deg,
      rgba(133, 216, 234, 0.25),
      rgba(133, 216, 234, 0.95),
      rgba(252, 210, 103, 0.95)
    );
    animation: none;
    opacity: 0.55;
  }

  .roadmap-card {
    padding-left: 18px;
  }

  .roadmap-top {
    gap: 10px;
  }
}
/* ========== Header 修复补丁：文字进框 & 胶囊统一 ========== */

/* 1) 统一导航项的排版模型：inline-flex 才能保证文字居中进框 */
.nav-list a{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 34px;          /* 统一胶囊高度 */
  padding: 0 14px;       /* 统一左右内边距 */
  line-height: 1;        /* 防止字体默认行高把框撑坏 */
  border-radius: 999px;
  white-space: nowrap;

  /* 保留你原来的状态参数 */
  opacity: 0.78;
  border: 1px solid transparent;
  background: transparent;

  transition: all .22s var(--ease);
}

/* 2) 普通链接：默认不显示边框，只在 hover/active 显示轻描边（更高级更克制） */
.nav-list a:hover{
  opacity: 1;
  color: var(--brand-blue-dark);
  border-color: rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.65);
}

/* 3) 你的 OpenAI-ish 下划线还保留，但要对齐胶囊底部 */
.nav-list a::after{
  bottom: 6px; /* 原来是 2px，会贴得太近，显得挤 */
}

/* 4) 激活态 */
.nav-list a.is-active{
  opacity: 1;
  color: var(--brand-blue-dark);
  border-color: rgba(133,216,234,0.55);
  background: rgba(133,216,234,0.10);
}

/* 5) 传统业务/外部入口：在同一高度系统上做“轻按钮” */
.nav-list a.nav-legacy{
  border-color: rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.72);
  box-shadow: none; /* 默认不浮夸 */
}

.nav-list a.nav-legacy:hover{
  border-color: rgba(133,216,234,0.55);
  box-shadow: 0 10px 22px rgba(133,216,234,0.18);
}

/* 6) 手机端：同样统一高度，不要仅靠 padding 撑 */
@media (max-width: 767.98px){
  .nav-list a{
    height: 40px;
    padding: 0 14px;
    border-radius: 16px;
  }
}
/* ========== Module 1: HERO（最终优化版） ========== */

.module-hero{
  padding-top: 160px;
  padding-bottom: 120px;
  min-height: 88vh;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* 轻动效：呼吸光团（用品牌蓝/黄点缀，不抢内容） */
.module-hero::before{
  content: "";
  position: absolute;
  width: 64vw;
  height: 64vw;
  max-width: 780px;
  max-height: 780px;
  border-radius: 50%;
  left: -18%;
  top: -28%;
  background: radial-gradient(circle, rgba(133,216,234,0.35) 0%, rgba(133,216,234,0) 62%);
  filter: blur(6px);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
  animation: heroGlow 16s ease-in-out infinite;
}

/* 轻动效：平移扫光 */
.module-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(252,210,103,0.25) 38%,
    rgba(255,255,255,0.0) 62%
  );
  mix-blend-mode: multiply;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
  transform: translateX(-55%);
  animation: heroSweep 22s linear infinite;
}

.hero-inner, .hero-grid, .hero-left{
  position: relative;
  z-index: 1;
}

.hero-grid{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 40px;
}

.eyebrow{
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  margin: 0 0 14px;
}

.hero-title{
  margin: 0 0 18px;
  font-size: 58px;
  line-height: 1.20;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #1f1f1f;
  position: relative;
  padding-bottom: 18px;
}

/* 标题下短分割线（更像 OpenAI 的节奏点） */
.hero-title::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 164px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.12) 55%,
    rgba(255,255,255,0) 100%
  );
  opacity: 0.85;
}

.hero-title span{
  background: linear-gradient(120deg, rgba(42,169,201,1), rgba(252,210,103,1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle{
  margin: 0 0 30px;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(0,0,0,0.64);
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 18px;
}

.hero-meta{
  margin: 0;
  font-size: 12px;
  color: rgba(0,0,0,0.50);
}

/* 入场动效（克制） */
.hero-title{
  opacity: 0;
  transform: translateY(10px);
  animation: heroTitleIn 1.1s var(--ease) forwards 0.12s;
}
.hero-subtitle{
  opacity: 0;
  transform: translateY(12px);
  animation: heroSubIn 1.1s var(--ease) forwards 0.28s;
}
.hero-actions{
  opacity: 0;
  transform: translateY(10px);
  animation: heroCtaIn 1.0s var(--ease) forwards 0.44s;
}
.hero-meta{
  opacity: 0;
  transform: translateY(8px);
  animation: heroMetaIn 1.0s var(--ease) forwards 0.58s;
}

@keyframes heroTitleIn{ to{ opacity:1; transform: translateY(0);} }
@keyframes heroSubIn{ to{ opacity:1; transform: translateY(0);} }
@keyframes heroCtaIn{ to{ opacity:1; transform: translateY(0);} }
@keyframes heroMetaIn{ to{ opacity:1; transform: translateY(0);} }

@keyframes heroGlow{
  0%{ transform: translate3d(0,0,0) scale(1); opacity: .72; }
  45%{ transform: translate3d(5%,4%,0) scale(1.10); opacity: .88; }
  75%{ transform: translate3d(-4%,3%,0) scale(.96); opacity: .62; }
  100%{ transform: translate3d(0,0,0) scale(1); opacity: .72; }
}

@keyframes heroSweep{
  0%{ transform: translateX(-55%); opacity: 0.0; }
  12%{ opacity: 0.22; }
  45%{ transform: translateX(18%); opacity: 0.20; }
  70%{ transform: translateX(60%); opacity: 0.06; }
  100%{ transform: translateX(80%); opacity: 0.0; }
}

/* 响应式 */
@media (max-width: 991.98px){
  .module-hero{ padding-top: 120px; padding-bottom: 80px; min-height: auto; }
  .hero-grid{ padding: 0 20px; }
  .hero-title{ font-size: 46px; }
}

@media (max-width: 767.98px){
  .module-hero{ padding-top: 96px; padding-bottom: 64px; }
  .hero-title{ font-size: 36px; line-height: 1.22; }
  .hero-title::after{ width: 124px; }
  .hero-subtitle{ font-size: 16px; }
}
