/* ===== kelude-ai-app.css ===== */
/* 克鲁德AI · 起重机智能助手 */
/* 配色：#0f2a44深蓝 + #e67e22橙色 */

/* ===== 容器 ===== */
.kekao-ai { padding-top: 20px; }

/* ===== Hero ===== */
.ai-hero {
  position: relative; padding: 140px 0 100px;
  background: linear-gradient(135deg,#0f2a44 0%,#1a3a5c 40%,#0f2a44 100%);
  overflow: hidden;
}
.ai-hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
  background: radial-gradient(circle,rgba(230,126,34,0.08) 0%,transparent 70%);
  pointer-events: none;
}
.ai-hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px;
  background: radial-gradient(circle,rgba(41,128,185,0.1) 0%,transparent 70%);
  pointer-events: none;
}
.ai-hero .h-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
.ai-hero .h-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ai-hero .h-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(230,126,34,0.15); color: #e67e22;
  padding: 6px 20px; border-radius: 30px; font-size: 13px;
  font-weight: 600; letter-spacing: 1px; margin-bottom: 20px;
  border: 1px solid rgba(230,126,34,0.2);
}
.ai-hero .h-badge .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #e67e22;
  animation: aiPulse 2s infinite;
}
@keyframes aiPulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.ai-hero h1 {
  font-size: 42px; color: #fff; font-weight: 800; line-height: 1.2; margin-bottom: 18px;
}
.ai-hero h1 .grad-gold {
  background: linear-gradient(135deg,#e67e22,#f5a623);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ai-hero p {
  font-size: 16px; color: rgba(255,255,255,0.6);
  line-height: 1.9; margin-bottom: 30px; max-width: 480px;
}
.ai-hero .h-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.ai-hero .btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg,#e67e22,#d35400); color: #fff;
  padding: 14px 36px; border-radius: 30px; font-size: 15px; font-weight: 600;
  box-shadow: 0 8px 25px rgba(230,126,34,0.35); transition: all 0.3s;
}
.ai-hero .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(230,126,34,0.4); }
.ai-hero .btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.2); color: #fff;
  padding: 14px 36px; border-radius: 30px; font-size: 15px; font-weight: 600;
  transition: all 0.3s;
}
.ai-hero .btn-secondary:hover { border-color: #e67e22; background: rgba(230,126,34,0.1); }

/* ===== 终端模拟 ===== */
.ai-terminal { position: relative; width: 100%; max-width: 420px; margin: 0 auto; }
.ai-terminal .t-box {
  background: rgba(10,20,35,0.9); border-radius: 16px;
  border: 1px solid rgba(230,126,34,0.15); overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(230,126,34,0.05);
  backdrop-filter: blur(8px);
}
.ai-terminal .t-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ai-terminal .t-dot { width: 10px; height: 10px; border-radius: 50%; }
.ai-terminal .t-dot.red { background: #ff5f57; }
.ai-terminal .t-dot.yellow { background: #febc2e; }
.ai-terminal .t-dot.green { background: #28c840; }
.ai-terminal .t-title {
  font-size: 11px; color: rgba(255,255,255,0.3);
  margin-left: 8px; font-family: monospace;
}
.ai-terminal .t-body { padding: 20px 18px; min-height: 260px; font-family: monospace; font-size: 13px; line-height: 1.8; }
.ai-terminal .line { color: rgba(255,255,255,0.5); margin-bottom: 2px; white-space: nowrap; overflow: hidden; }
.ai-terminal .prompt { color: #e67e22; }
.ai-terminal .cmd { color: #fff; }
.ai-terminal .output { color: rgba(255,255,255,0.6); }
.ai-terminal .ok { color: #4caf50; }
.ai-terminal .warn { color: #f5a623; }
.ai-terminal .data { color: #64b5f6; }
.ai-terminal .cursor {
  display: inline-block; width: 8px; height: 14px;
  background: #e67e22; animation: aiBlink 1s step-end infinite;
  vertical-align: text-bottom; margin-left: 2px;
}
@keyframes aiBlink { 0%,100%{opacity:1} 50%{opacity:0} }
.ai-terminal .data-stream {
  display: flex; gap: 4px; align-items: flex-end;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.05);
}
.ai-terminal .data-bar {
  width: 12px; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg,#e67e22,rgba(230,126,34,0.3));
  animation: barWave 1.5s ease-in-out infinite;
}
.ai-terminal .data-bar:nth-child(1){height:24px;animation-delay:0s}
.ai-terminal .data-bar:nth-child(2){height:36px;animation-delay:0.15s}
.ai-terminal .data-bar:nth-child(3){height:18px;animation-delay:0.3s}
.ai-terminal .data-bar:nth-child(4){height:42px;animation-delay:0.45s}
.ai-terminal .data-bar:nth-child(5){height:28px;animation-delay:0.6s}
.ai-terminal .data-bar:nth-child(6){height:48px;animation-delay:0.75s}
.ai-terminal .data-bar:nth-child(7){height:22px;animation-delay:0.9s}
.ai-terminal .data-bar:nth-child(8){height:38px;animation-delay:1.05s}
.ai-terminal .data-bar:nth-child(9){height:16px;animation-delay:1.2s}
.ai-terminal .data-bar:nth-child(10){height:44px;animation-delay:1.35s}
@keyframes barWave{0%,100%{transform:scaleY(0.7);opacity:0.6}50%{transform:scaleY(1);opacity:1}}

/* ===== Section通用 ===== */
.ai-section { padding: 80px 0; }
.ai-section .si { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.ai-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(230,126,34,0.08); color: #e67e22;
  padding: 4px 16px; border-radius: 20px; font-size: 12px;
  font-weight: 600; letter-spacing: 1px; margin-bottom: 12px;
}
.ai-stitle {
  font-size: 30px; color: #1a3a5c; font-weight: 800; line-height: 1.3;
  margin-bottom: 8px; text-align: center;
}
.ai-stitle .hl {
  background: linear-gradient(135deg,#e67e22,#d35400);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ai-ssub { text-align: center; font-size: 15px; color: #888; margin-bottom: 50px; }
.ai-bg-light { background: linear-gradient(180deg, #f8fbff, #eef4fa); }
.ai-bg-dark { background: linear-gradient(135deg, #0f2a44, #1a3a5c); }
.ai-bg-dark .ai-stitle { color: #fff; }
.ai-bg-dark .ai-ssub { color: rgba(255,255,255,0.5); }

/* ===== 功能卡片 ===== */
.f-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.f-card {
  background: #fff; border-radius: 16px; padding: 36px 28px;
  border: 1px solid #eef2f7; transition: all 0.4s; position: relative; overflow: hidden;
}
.f-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg,#e67e22,#d35400); opacity: 0; transition: opacity 0.4s; }
.f-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(26,58,92,0.1); }
.f-card:hover::before { opacity: 1; }
.f-card .ficon {
  width: 60px; height: 60px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 18px;
}
.f-card .ficon.b1 { background: linear-gradient(135deg,#e8f4fd,#c8dcf2); }
.f-card .ficon.b2 { background: linear-gradient(135deg,#fef9e7,#f9e79f); }
.f-card .ficon.b3 { background: linear-gradient(135deg,#e8f8e8,#c8e6c9); }
.f-card .ficon.b4 { background: linear-gradient(135deg,#f0e6f6,#d8bce8); }
.f-card .ficon.b5 { background: linear-gradient(135deg,#e0f5f5,#b2ebeb); }
.f-card .ficon.b6 { background: linear-gradient(135deg,#fce4ec,#f8bbd0); }
.f-card h3 { font-size: 18px; color: #1a3a5c; font-weight: 700; margin-bottom: 10px; }
.f-card p { font-size: 14px; color: #666; line-height: 1.8; margin: 0; }

/* ===== 数据统计 ===== */
.s-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.s-card {
  text-align: center; padding: 32px 20px;
  background: rgba(255,255,255,0.05); border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08); transition: all 0.3s;
}
.s-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.s-card .num {
  font-size: 36px; font-weight: 800;
  background: linear-gradient(135deg,#e67e22,#f5a623);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 4px;
}
.s-card .label { font-size: 14px; color: rgba(255,255,255,0.6); }

/* ===== 应用场景 ===== */
.uc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.uc-card { border-radius: 16px; overflow: hidden; border: 1px solid #eef2f7; background: #fff; transition: all 0.4s; }
.uc-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(26,58,92,0.1); }
.uc-card .uc-top { height: 120px; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.uc-card .uc-body { padding: 24px 22px; }
.uc-card .uc-tag { display: inline-block; background: #eef4fa; color: #2c5f8a; font-size: 11px; font-weight: 600; padding: 3px 14px; border-radius: 20px; margin-bottom: 10px; }
.uc-card h3 { font-size: 16px; color: #1a3a5c; font-weight: 700; margin-bottom: 8px; }
.uc-card p { font-size: 13px; color: #666; line-height: 1.8; margin: 0; }

/* ===== 聊天演示 ===== */
.chat-sec { padding: 80px 0; background: #fff; }
.chat-demo { max-width: 600px; margin: 0 auto; border-radius: 20px; overflow: hidden; border: 1px solid #eef2f7; box-shadow: 0 8px 40px rgba(26,58,92,0.06); }
.chat-demo .ch-head { background: linear-gradient(135deg,#1a3a5c,#0f2a44); padding: 16px 22px; display: flex; align-items: center; gap: 12px; }
.chat-demo .ch-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,#e67e22,#d35400); display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; }
.chat-demo .ch-info h4 { font-size: 14px; color: #fff; font-weight: 600; }
.chat-demo .ch-info span { font-size: 11px; color: rgba(255,255,255,0.5); }
.chat-demo .ch-status { width: 8px; height: 8px; border-radius: 50%; background: #4caf50; margin-left: auto; animation: aiPulse 2s infinite; }
.chat-demo .ch-body { padding: 22px; background: #f8fbff; min-height: 320px; display: flex; flex-direction: column; gap: 16px; }
.chat-demo .ch-msg { max-width: 80%; padding: 14px 18px; border-radius: 16px; font-size: 14px; line-height: 1.7; }
.chat-demo .ch-msg.ai { align-self: flex-start; background: #fff; border: 1px solid #eef2f7; color: #333; }
.chat-demo .ch-msg.user { align-self: flex-end; background: linear-gradient(135deg,#1a3a5c,#0f2a44); color: #fff; border-bottom-right-radius: 4px; }
.chat-demo .ch-msg .thinking { display: flex; gap: 4px; padding: 4px 0; }
.chat-demo .ch-msg .thinking span { width: 6px; height: 6px; border-radius: 50%; background: #e67e22; animation: aiBounce 1.4s infinite ease-in-out; }
.chat-demo .ch-msg .thinking span:nth-child(2) { animation-delay: 0.2s; }
.chat-demo .ch-msg .thinking span:nth-child(3) { animation-delay: 0.4s; }
@keyframes aiBounce { 0%,80%,100%{transform:scale(0.6)} 40%{transform:scale(1)} }
.chat-demo .ch-foot { padding: 14px 22px; border-top: 1px solid #eef2f7; display: flex; gap: 10px; }
.chat-demo .ch-foot input { flex: 1; border: 1px solid #eef2f7; border-radius: 24px; padding: 10px 18px; font-size: 13px; outline: none; transition: border 0.3s; }
.chat-demo .ch-foot input:focus { border-color: #e67e22; }
.chat-demo .ch-foot button { width: 40px; height: 40px; border-radius: 50%; border: none; background: linear-gradient(135deg,#e67e22,#d35400); color: #fff; font-size: 16px; cursor: pointer; transition: all 0.3s; }
.chat-demo .ch-foot button:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(230,126,34,0.3); }

/* ===== 优势 ===== */
.adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.adv-card { display: flex; gap: 18px; padding: 28px; border-radius: 14px; background: #fff; border: 1px solid #eef2f7; transition: all 0.3s; }
.adv-card:hover { box-shadow: 0 8px 24px rgba(26,58,92,0.06); }
.adv-card .awrap { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.adv-card .awrap.b1 { background: linear-gradient(135deg,#e8f4fd,#c8dcf2); }
.adv-card .awrap.b2 { background: linear-gradient(135deg,#fef9e7,#f9e79f); }
.adv-card h4 { font-size: 16px; color: #1a3a5c; font-weight: 700; margin-bottom: 6px; }
.adv-card p { font-size: 13px; color: #666; line-height: 1.8; margin: 0; }

/* ===== CTA ===== */
.ai-cta { padding: 80px 0; background: linear-gradient(135deg,#0f2a44,#1a3a5c,#0f2a44); text-align: center; position: relative; overflow: hidden; }
.ai-cta::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 500px; height: 500px; background: radial-gradient(circle,rgba(230,126,34,0.06) 0%,transparent 70%); }
.ai-cta .si { position: relative; z-index: 2; }
.ai-cta h2 { font-size: 32px; color: #fff; font-weight: 800; margin-bottom: 12px; }
.ai-cta p { color: rgba(255,255,255,0.6); font-size: 15px; margin-bottom: 30px; }
.ai-cta .btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg,#e67e22,#d35400); color: #fff;
  padding: 16px 48px; border-radius: 30px; font-size: 16px; font-weight: 700;
  text-decoration: none; transition: all 0.3s;
  box-shadow: 0 8px 30px rgba(230,126,34,0.35);
}
.ai-cta .btn-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(230,126,34,0.4); }

/* ===== 响应式 ===== */
@media(max-width:900px){
  .ai-hero .h-grid { grid-template-columns: 1fr; gap: 40px; }
  .ai-hero h1 { font-size: 32px; }
  .f-grid, .uc-grid { grid-template-columns: repeat(2, 1fr); }
  .s-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: 1fr; }
}
@media(max-width:600px){
  .f-grid, .uc-grid { grid-template-columns: 1fr; }
  .ai-hero .h-btns { flex-direction: column; }
  .ai-hero { padding: 120px 0 60px; }
}

/* ===== 仪表盘面板 ===== */
.dash-panel { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 40px; }
.dash-gauge { background: rgba(13,27,42,.85); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 18px 14px; text-align: center; backdrop-filter: blur(8px); position: relative; overflow: hidden; }
.dash-gauge::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg,transparent,rgba(255,255,255,.15),transparent); }
.dash-gauge .gauge-ring { position: relative; width: 90px; height: 90px; margin: 0 auto 10px; }
.dash-gauge .gauge-ring svg { transform: rotate(-90deg); }
.dash-gauge .gauge-ring .bg { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 6; }
.dash-gauge .gauge-ring .fg { fill: none; stroke-width: 6; stroke-linecap: round; transition: stroke-dashoffset 1.5s ease; }
.dash-gauge .gauge-val { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 20px; font-weight: 800; font-family: Consolas,monospace; }
.dash-gauge .gauge-label { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 4px; }
.dash-gauge .gauge-sub { font-size: 10px; color: rgba(255,255,255,.35); margin-top: 2px; font-family: Consolas,monospace; }

/* ===== 指示灯阵列 ===== */
.indicator-strip { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding: 14px 20px; background: rgba(13,27,42,.7); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; backdrop-filter: blur(6px); flex-wrap: wrap; }
.indicator-strip .strip-label { font-size: 11px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: 2px; margin-right: 8px; font-family: Consolas,monospace; white-space: nowrap; }
.indicator-light { display: flex; align-items: center; gap: 5px; font-size: 11px; color: rgba(255,255,255,.55); white-space: nowrap; }
.indicator-light i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; position: relative; flex-shrink: 0; }
.indicator-light i::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; opacity: .45; animation: glowPulse 2s infinite; }
.indicator-light i.on-green { background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,.7); }
.indicator-light i.on-green::after { background: #22c55e; }
.indicator-light i.on-blue { background: #3b82f6; box-shadow: 0 0 8px rgba(59,130,246,.7); }
.indicator-light i.on-blue::after { background: #3b82f6; animation-duration: 2.3s; }
.indicator-light i.on-amber { background: #f59e0b; box-shadow: 0 0 8px rgba(245,158,11,.6); }
.indicator-light i.on-amber::after { background: #f59e0b; animation-duration: 1.7s; }
.indicator-light i.on-red { background: #ef4444; box-shadow: 0 0 8px rgba(239,68,68,.6); }
.indicator-light i.on-red::after { background: #ef4444; animation-duration: .8s; }
.indicator-light .light-val { font-family: Consolas,monospace; color: rgba(255,255,255,.7); }

/* ===== 动态进度条面板 ===== */
.progress-panel { margin-top: 24px; display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.progress-card { background: rgba(13,27,42,.75); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 16px 18px; backdrop-filter: blur(6px); }
.progress-card .pr-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.progress-card .pr-name { font-size: 12px; color: rgba(255,255,255,.55); font-family: Consolas,monospace; letter-spacing: .5px; }
.progress-card .pr-val { font-size: 13px; font-weight: 800; font-family: Consolas,monospace; }
.progress-card .pr-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; position: relative; }
.progress-card .pr-fill { height: 100%; border-radius: 3px; position: relative; transition: width 2s ease; }
.progress-card .pr-fill::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent); animation: shimmer 2s infinite; }
.pr-fill.green { background: linear-gradient(90deg,#22c55e,#4ade80); box-shadow: 0 0 10px rgba(34,197,94,.35); }
.pr-fill.blue { background: linear-gradient(90deg,#3b82f6,#60a5fa); box-shadow: 0 0 10px rgba(59,130,246,.35); }
.pr-fill.amber { background: linear-gradient(90deg,#f59e0b,#fbbf24); box-shadow: 0 0 10px rgba(245,158,11,.35); }
.pr-fill.orange { background: linear-gradient(90deg,#ff6b35,#f97316); box-shadow: 0 0 10px rgba(255,107,53,.35); }

@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ===== AI代码检索终端 ===== */
.ai-code-terminal { margin-top: 32px; background: #0a1628; border-radius: 14px; overflow: hidden; border: 1px solid rgba(230,126,34,.12); box-shadow: 0 0 30px rgba(230,126,34,.06), inset 0 0 30px rgba(230,126,34,.02); max-width: 580px; }
.ai-code-terminal .term-top { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #0f1e33; border-bottom: 1px solid rgba(230,126,34,.08); }
.ai-code-terminal .term-top span { width: 10px; height: 10px; border-radius: 50%; }
.ai-code-terminal .term-top span:nth-child(1) { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,.5); }
.ai-code-terminal .term-top span:nth-child(2) { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,.5); }
.ai-code-terminal .term-top span:nth-child(3) { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,.5); }
.ai-code-terminal .term-top .term-title { font-size: 11px; color: rgba(230,126,34,.3); margin-left: 8px; font-family: Consolas,monospace; }
.ai-code-terminal .term-body { padding: 16px; font-family: SF Mono,Fira Code,Consolas,monospace; font-size: 12.5px; line-height: 1.85; min-height: 260px; position: relative; color: #fff; }
.ai-code-terminal .term-body .cl { position: relative; padding-left: 16px; opacity: 0; animation: lineIn .4s forwards; }
.ai-code-terminal .term-body .cl::before { content: '❯'; position: absolute; left: 0; color: rgba(230,126,34,.3); font-size: 11px; }
.ai-code-terminal .term-body .t-dim { color: #4a627a; }
.ai-code-terminal .term-body .t-warn { color: #f59e0b; }
.ai-code-terminal .term-body .t-info { color: #60a5fa; }
.ai-code-terminal .term-body .t-err { color: #ef4444; }
.ai-code-terminal .term-body .t-hl { color: #e67e22; text-shadow: 0 0 8px rgba(230,126,34,.4); }
.ai-code-terminal .term-body .cursor-block { display: inline-block; width: 8px; height: 15px; background: #e67e22; vertical-align: middle; margin-left: 2px; animation: cursorBlink .8s infinite; box-shadow: 0 0 6px rgba(230,126,34,.6); }
.ai-code-terminal .scan-line { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,transparent,rgba(230,126,34,.3),transparent); animation: scanDown 2.5s infinite; pointer-events: none; }

@keyframes cursorBlink { 0%,100%{opacity:1} 50%{opacity:.15} }
@keyframes lineIn { 0%{opacity:0;transform:translateX(-4px)} 100%{opacity:1;transform:translateX(0)} }
@keyframes scanDown { 0%{top:0;opacity:0} 20%{opacity:1} 100%{top:100%;opacity:0} }
@keyframes glowPulse { 0%,100%{opacity:.4;transform:scale(1)} 50%{opacity:1;transform:scale(1.6)} }

/* ===== 对话框内嵌仪表盘 ===== */
/* 头部 */
.demo-chat-header { padding: 10px 16px; background: #0d1b2a; color: #e67e22; font-size: 13px; font-family: Consolas,monospace; letter-spacing: .5px; display: flex; align-items: center; gap: 8px; }
.hdr-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.hdr-dot.red { background: #ef4444; box-shadow: 0 0 5px rgba(239,68,68,.5); }
.hdr-dot.yellow { background: #f59e0b; box-shadow: 0 0 5px rgba(245,158,11,.5); }
.hdr-dot.green { background: #22c55e; box-shadow: 0 0 5px rgba(34,197,94,.5); }
.chat-header-dot { width: 7px; height: 7px; border-radius: 50%; background: #4caf50; box-shadow: 0 0 8px rgba(76,175,80,.7); animation: aiPulse 1.5s infinite; margin-left: auto; }

/* 指示灯条 */
.chat-indicators { display: flex; gap: 1px; background: #e0e8f0; }
.ci-item { flex: 1; background: #f8fafc; padding: 7px 10px; display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: #4b5563; }
.ci-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; position: relative; flex-shrink: 0; }
.ci-dot::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; opacity: .4; animation: glowPulse 2s infinite; }
.ci-dot.green { background: #22c55e; box-shadow: 0 0 5px rgba(34,197,94,.6); }
.ci-dot.green::after { background: #22c55e; }
.ci-dot.blue { background: #3b82f6; box-shadow: 0 0 5px rgba(59,130,246,.6); }
.ci-dot.blue::after { background: #3b82f6; animation-duration: 2.3s; }
.ci-val { margin-left: auto; font-family: Consolas,monospace; font-size: 10px; color: #22c55e; font-weight: 700; }

/* 迷你仪表盘行 */
.demo-inline-gauges { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: #e8ecf1; padding: 0; }
.dig-item { background: #1a2a3c; padding: 10px 6px 8px; text-align: center; }
.dig-ring-wrap { position: relative; display: inline-block; width: 54px; height: 54px; }
.dig-ring-wrap svg { display: block; }
.dig-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 14px; font-weight: 800; font-family: Consolas,monospace; color: #fff; line-height: 1; white-space: nowrap; }
.dig-u { font-size: 8px; font-weight: 400; color: rgba(255,255,255,.45); }
.dig-label { font-size: 10px; color: rgba(255,255,255,.45); margin-top: 4px; }

/* 内嵌进度条 — 分段LED块 */
.demo-inline-bars { padding: 14px 18px; background: #152238; border-bottom: 1px solid rgba(255,255,255,.06); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.dib-row { display: flex; align-items: center; gap: 6px; }
.dib-icon { font-size: 13px; width: 18px; text-align: center; flex-shrink: 0; }
.dib-name { font-size: 11px; color: rgba(255,255,255,.5); white-space: nowrap; width: 52px; flex-shrink: 0; font-family: Consolas,monospace; }
.dib-segments { flex: 1; display: flex; gap: 2px; }
.seg { flex: 1; height: 8px; border-radius: 2px; background: rgba(255,255,255,.06); transition: all .3s; }
.seg.on { box-shadow: 0 0 6px var(--seg-color); }
#seg-hoist .seg.on { --seg-color: rgba(34,197,94,.6); background: linear-gradient(180deg,#4ade80,#22c55e); }
#seg-travel .seg.on { --seg-color: rgba(245,158,11,.6); background: linear-gradient(180deg,#fbbf24,#f59e0b); }
#seg-rope .seg.on { --seg-color: rgba(59,130,246,.6); background: linear-gradient(180deg,#60a5fa,#3b82f6); }
#seg-brake .seg.on { --seg-color: rgba(255,107,53,.6); background: linear-gradient(180deg,#f97316,#ff6b35); animation: segPulse 1.5s infinite; }
@keyframes segPulse { 0%,100%{opacity:1} 50%{opacity:.6} }
.dib-val { font-size: 12px; font-weight: 700; font-family: Consolas,monospace; width: 34px; text-align: right; flex-shrink: 0; }
.dib-val.green { color: #22c55e; }
.dib-val.amber { color: #f59e0b; }
.dib-val.blue { color: #3b82f6; }
.dib-val.orange { color: #ff6b35; }

/* 底部AI检索终端 */
.demo-inline-terminal { background: #0a1628; padding: 10px 16px; font-family: "SF Mono","Fira Code",Consolas,monospace; font-size: 10.5px; line-height: 1.75; color: #4ade80; position: relative; overflow: hidden; max-height: 120px; border-top: 1px solid rgba(0,255,136,.08); }
.dit-scan { position: absolute; left: 0; right: 0; height: 1.5px; background: linear-gradient(90deg,transparent,rgba(230,126,34,.2),transparent); animation: scanDown 2.5s infinite; pointer-events: none; z-index: 1; }
.dit-lines { position: relative; z-index: 0; }
.dit-line { opacity: 0; animation: lineIn .3s forwards; }

/* 终端文字颜色 */
.t-dim { color: #4a627a; }
.t-info { color: #60a5fa; }
.t-hl { color: #00ff88; text-shadow: 0 0 6px rgba(0,255,136,.3); }
.t-warn { color: #f59e0b; }

/* 响应式 */
@media(max-width:900px){
  .dash-panel { grid-template-columns: repeat(2,1fr); }
  .progress-panel { grid-template-columns: 1fr; }
  .demo-inline-gauges { grid-template-columns: repeat(3, 1fr); }
  .demo-inline-bars { grid-template-columns: 1fr; }
  .indicator-strip { justify-content: center; }
}
@media(max-width:600px){
  .dash-panel { grid-template-columns: 1fr 1fr; }
  .demo-inline-gauges { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 功能卡片（增强版类名） ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: #fff; border-radius: 14px; padding: 28px 24px; border: 1px solid #e8ecf1; transition: all .25s; }
.feature-card:hover { border-color: #e67e22; box-shadow: 0 4px 20px rgba(230,126,34,.1); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; color: #1a3a5c; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: #6b7280; line-height: 1.7; }
.feature-card .problem { display: inline-block; font-size: 12px; color: #e67e22; margin-top: 8px; padding: 4px 10px; background: rgba(230,126,34,.08); border-radius: 6px; }

/* ===== 数据统计 ===== */
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.data-card { background: linear-gradient(135deg, #1a3a5c, #152e4a); color: #fff; border-radius: 14px; padding: 28px 20px; text-align: center; position: relative; overflow: hidden; }
.data-card::before { content: ''; position: absolute; top: -30px; right: -30px; width: 80px; height: 80px; border-radius: 50%; border: 2px solid rgba(230,126,34,.15); }
.data-card .num { font-size: 42px; font-weight: 800; color: #e67e22; line-height: 1; margin-bottom: 8px; font-family: Consolas,monospace; }
.data-card .label { font-size: 15px; opacity: .85; }
.data-card .trend { font-size: 11px; color: #4ade80; margin-top: 6px; font-family: Consolas,monospace; }
.data-disclaimer { text-align: center; color: #6b7280; font-size: 13px; margin-top: 20px; padding: 12px 20px; background: #fff; border-radius: 10px; border: 1px solid #e8ecf1; }

/* ===== 应用场景 ===== */
.scenarios { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.scenario-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #e8ecf1; display: flex; transition: all .25s; }
.scenario-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.scenario-icon { width: 80px; min-height: 100%; display: flex; align-items: center; justify-content: center; font-size: 36px; flex-shrink: 0; }
.scenario-info { padding: 22px 20px; }
.scenario-info h3 { font-size: 17px; color: #1a3a5c; margin-bottom: 6px; }
.scenario-info p { font-size: 13px; color: #6b7280; line-height: 1.7; }

/* ===== 适配机型 ===== */
.adapt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.adapt-item { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: #fff; border-radius: 10px; border: 1px solid #e8ecf1; font-size: 14px; }
.adapt-item .check { color: #22c55e; font-size: 18px; flex-shrink: 0; }

/* ===== 聊天演示区域（对话框内） ===== */
.demo-area { background: #fff; border-radius: 14px; border: 1px solid #e8ecf1; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.demo-messages { padding: 20px; max-height: 380px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; background: #fafbfc; min-height: 200px; }
.demo-input-area { padding: 14px 20px; border-top: 1px solid #e8ecf1; display: flex; gap: 10px; align-items: center; }
.demo-input-area input { flex: 1; padding: 12px 16px; border: 1px solid #d0d5dd; border-radius: 999px; font-size: 14px; outline: none; transition: border .2s; }
.demo-input-area input:focus { border-color: #e67e22; }
.demo-input-area button { padding: 12px 20px; border-radius: 999px; background: #e67e22; color: #fff; border: none; font-weight: 700; cursor: pointer; transition: all .25s; white-space: nowrap; }
.demo-input-area button:hover { background: #d35400; }
.demo-input-area button:disabled { opacity: .6; cursor: not-allowed; }
.demo-presets { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 14px; background: #fafbfc; }
.demo-presets span { padding: 5px 12px; border-radius: 999px; font-size: 12px; background: #eef3f9; color: #1a3a5c; cursor: pointer; border: 1px solid transparent; transition: all .2s; }
.demo-presets span:hover { border-color: #e67e22; background: #fef3e7; }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 12px; font-size: 14px; line-height: 1.6; }
.msg.ai { background: #eef3f9; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: #1a3a5c; color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.loading { background: #eef3f9; align-self: flex-start; color: #6b7280; font-style: italic; }

/* 响应对齐 */
@media(max-width:900px){
  .features, .scenarios { grid-template-columns: 1fr 1fr; }
  .data-grid { grid-template-columns: 1fr 1fr; }
  .adapt-grid { grid-template-columns: 1fr; }
}
@media(max-width:600px){
  .features, .scenarios { grid-template-columns: 1fr; }
}

/* ===== 通用区块 ===== */
.section-header { text-align: center; margin-bottom: 44px; }
.section-header h2 { font-size: clamp(24px, 3.5vw, 36px); color: #1a3a5c; margin-bottom: 10px; }
.section-header p { color: #6b7280; max-width: 600px; margin: 0 auto; font-size: 15px; }
.section-alt { background: #fff; }

/* ===== 改造流程 ===== */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process::before { content: ''; position: absolute; top: 30px; left: 15%; right: 15%; height: 2px; background: #e0e4e8; z-index: 0; }
.process-step { text-align: center; position: relative; z-index: 1; }
.process-step .step-num { width: 56px; height: 56px; border-radius: 50%; background: #1a3a5c; color: #fff; font-size: 24px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.process-step h4 { font-size: 16px; color: #1a3a5c; margin-bottom: 6px; }
.process-step p { font-size: 13px; color: #6b7280; line-height: 1.6; }

/* ===== Hero 辅助 ===== */
.hero-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 13px; margin-bottom: 20px; border: 1px solid rgba(255,255,255,.2); color: #fff; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: aiPulse 2s infinite; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-tags span { padding: 5px 14px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 13px; border: 1px solid rgba(255,255,255,.15); color: #fff; }

/* 按钮 */
.btn-navy { display: inline-flex; align-items: center; gap: 6px; padding: 13px 28px; border-radius: 999px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all .25s; border: none; background: #1a3a5c; color: #fff; }
.btn-navy:hover { background: #152e4a; }

/* 响应式 */
@media(max-width:900px){
  .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
}
@media(max-width:600px){
  .process { grid-template-columns: 1fr; }
}





/* 终端日志颜色（无t-前缀兼容） */
.term-body .dim, .ai-terminal .dim { color: #4a627a; }
.term-body .info, .ai-terminal .info { color: #60a5fa; }
.term-body .hl, .ai-terminal .hl { color: #e67e22; text-shadow: 0 0 8px rgba(230,126,34,.4); }

/* ===== 技术优势 - 图标修正 ===== */
.adv-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
}
.adv-card:nth-child(1) .adv-icon { background: linear-gradient(135deg,#e8f4fd,#c8dcf2); }
.adv-card:nth-child(2) .adv-icon { background: linear-gradient(135deg,#fef9e7,#f9e79f); }
.adv-card:nth-child(3) .adv-icon { background: linear-gradient(135deg,#e8f8e8,#c8e6c9); }
.adv-card:nth-child(4) .adv-icon { background: linear-gradient(135deg,#f0e6f6,#d8bce8); }

/* 标题图标尺寸 */
.section-header h2 img { width: 28px; height: 28px; vertical-align: middle; margin-right: 6px; }

/* 适配机型底部说明 */
.adapt-disclaimer { text-align: center; margin-top: 20px; font-size: 14px; color: #6b7280; line-height: 1.8; }

/* 数据统计区块暗色背景 */
section:has(.data-grid) { background: #e8ecf1; }
section:has(.data-grid) .section-header h2 { color: #1a3a5c; }
section:has(.data-grid) .section-header p { color: #6b7280; }

/* AI页面模块间距 */
.kekao-ai .section { padding: 60px 0; }

/* 为什么选择克鲁德AI - 增强版4列布局 */
.kekao-ai .adv-grid { grid-template-columns: repeat(4, 1fr); }
.kekao-ai .adv-card { display: block; text-align: center; padding: 24px; gap: 0; }
.kekao-ai .adv-card h4 { margin-top: 12px; }
.kekao-ai .adv-icon { font-size: 36px; margin: 0 auto 0; width: auto; height: auto; background: none !important; }
@media(max-width:900px){ .kekao-ai .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:600px){ .kekao-ai .adv-grid { grid-template-columns: 1fr; } }
