/* ========== 成都拓拔科技 · 具身智能数据采集 ========== */
/* 设计参考：宇树机器人 / 智元机器人 科技风格 */

* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #070b14;
  --bg-2: #0c1220;
  --card: rgba(16,26,48,0.72);
  --card-border: rgba(64,156,255,0.16);
  --blue: #2f8bff;
  --cyan: #00d4ff;
  --purple: #7c5cff;
  --txt: #e9eef7;
  --txt-2: #9fb4d4;
  --txt-3: #647ba3;
  --grad: linear-gradient(120deg, #2f8bff, #7c5cff);
  --grad-cyan: linear-gradient(120deg, #00d4ff, #2f8bff);
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--txt);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- 全局科技网格背景 ---- */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(47,139,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,139,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ========== 版本切换器（右上角固定） ========== */
.version-switcher {
  position: fixed;
  top: 20px; right: 24px;
  z-index: 1000;
  display: flex;
  gap: 6px;
  background: rgba(10,16,30,0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.version-switcher .vs-label {
  display: flex; align-items: center;
  padding: 0 12px 0 14px;
  font-size: 12px; color: var(--txt-3);
  letter-spacing: 1px; white-space: nowrap;
}
.version-switcher a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 7px 16px;
  border-radius: 22px;
  font-size: 13px; font-weight: 600;
  color: var(--txt-2);
  text-decoration: none;
  transition: all .25s;
  white-space: nowrap;
}
.version-switcher a:hover { color: #fff; background: rgba(47,139,255,0.15); }
.version-switcher a.active {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 4px 16px rgba(47,139,255,0.4);
}

/* ========== 页面容器 ========== */
.page {
  position: relative;
  min-height: 100vh;
  padding: 70px 90px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  page-break-after: always;
  z-index: 1;
}
.page-inner { max-width: 1280px; margin: 0 auto; width: 100%; position: relative; z-index: 2; }

/* ---- 页面氛围光 ---- */
.glow {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .5; pointer-events: none; z-index: 0;
}
.glow-blue { background: radial-gradient(circle, rgba(47,139,255,0.35), transparent 70%); }
.glow-cyan { background: radial-gradient(circle, rgba(0,212,255,0.28), transparent 70%); }
.glow-purple { background: radial-gradient(circle, rgba(124,92,255,0.3), transparent 70%); }

/* ========== 封面 ========== */
.cover { text-align: center; }
.cover .brand-line {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; color: var(--cyan); letter-spacing: 3px;
  border: 1px solid rgba(0,212,255,0.3);
  padding: 8px 22px; border-radius: 30px;
  background: rgba(0,212,255,0.06);
  margin-bottom: 42px;
}
.cover h1 {
  font-size: 62px; font-weight: 800; line-height: 1.15;
  margin-bottom: 22px; letter-spacing: 1px;
}
.cover h1 .grad {
  background: var(--grad-cyan);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cover .subtitle { font-size: 24px; color: var(--txt-2); margin-bottom: 16px; font-weight: 300; letter-spacing: 2px; }
.cover .tagline {
  display: inline-block; margin-top: 26px;
  background: var(--grad);
  padding: 15px 44px; border-radius: 12px;
  font-size: 21px; font-weight: 600; color: #fff; letter-spacing: 1px;
  box-shadow: 0 12px 40px rgba(47,139,255,0.35);
}
.cover .divider { width: 70px; height: 3px; background: var(--grad-cyan); margin: 44px auto; border-radius: 2px; }

/* ---- 封面数据条 ---- */
.hero-stats { display: flex; justify-content: center; gap: 54px; flex-wrap: wrap; }
.hero-stats .stat { text-align: center; }
.hero-stats .stat .num { font-size: 44px; font-weight: 800; background: var(--grad-cyan); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-stats .stat .num small { font-size: 20px; }
.hero-stats .stat .label { font-size: 14px; color: var(--txt-3); margin-top: 2px; }

/* ========== 区块标题 ========== */
.sec-head { margin-bottom: 40px; }
.sec-head .eyebrow {
  display: inline-block;
  font-size: 13px; color: var(--cyan); letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 12px;
  padding-left: 14px; border-left: 3px solid var(--cyan);
}
.sec-head h2 { font-size: 38px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.sec-head .desc { font-size: 16px; color: var(--txt-2); margin-top: 12px; max-width: 760px; }

/* ========== 卡片 ========== */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(8px);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.card:hover { border-color: rgba(0,212,255,0.4); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.card .icon { font-size: 34px; margin-bottom: 16px; }
.card h3 { font-size: 20px; color: #fff; margin-bottom: 12px; font-weight: 600; }
.card p { font-size: 15px; color: var(--txt-2); line-height: 1.7; }
.card .hl { color: var(--cyan); font-weight: 600; }

/* ---- 场景卡 ---- */
.scene-card {
  background: linear-gradient(150deg, rgba(20,34,64,0.85), rgba(12,20,40,0.6));
  border: 1px solid var(--card-border);
  border-radius: 18px; padding: 32px;
  position: relative; overflow: hidden;
}
.scene-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-cyan); opacity: .7;
}
.scene-card .tag {
  display: inline-block; background: rgba(0,212,255,0.12);
  color: var(--cyan); padding: 5px 14px; border-radius: 20px;
  font-size: 13px; margin-bottom: 16px; border: 1px solid rgba(0,212,255,0.25);
}
.scene-card h3 { font-size: 22px; color: #fff; margin-bottom: 14px; }
.scene-card ul { list-style: none; }
.scene-card ul li {
  padding: 8px 0; color: var(--txt-2); font-size: 15px;
  border-bottom: 1px solid rgba(64,156,255,0.08);
}
.scene-card ul li:last-child { border-bottom: none; }
.scene-card ul li::before { content: '▸ '; color: var(--cyan); }
.scene-card .foot { margin-top: 14px; color: var(--cyan); font-size: 14px; font-weight: 600; }

/* ========== 数据条（横向） ========== */
.stat-row { display: flex; gap: 22px; margin: 28px 0; flex-wrap: wrap; }
.stat-box {
  flex: 1; min-width: 170px;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 14px; padding: 26px 20px; text-align: center;
}
.stat-box .num { font-size: 40px; font-weight: 800; background: var(--grad-cyan); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-box .num small { font-size: 17px; }
.stat-box .label { font-size: 13px; color: var(--txt-3); margin-top: 6px; }

/* ========== 高亮信息框 ========== */
.highlight-box {
  background: linear-gradient(120deg, rgba(47,139,255,0.09), rgba(124,92,255,0.09));
  border: 1px solid rgba(47,139,255,0.3);
  border-radius: 18px; padding: 32px; margin: 26px 0;
}
.highlight-box h3 { font-size: 21px; color: var(--cyan); margin-bottom: 16px; }
.highlight-box ul { list-style: none; }
.highlight-box ul li { padding: 9px 0; color: var(--txt); font-size: 15px; border-bottom: 1px solid rgba(64,156,255,0.08); }
.highlight-box ul li:last-child { border-bottom: none; }
.highlight-box ul li::before { content: '✓ '; color: #2effa8; font-weight: 700; }

/* ========== 流程图 ========== */
.pipeline { display: flex; align-items: stretch; margin: 30px 0; }
.pstep {
  flex: 1; background: var(--card); border: 1px solid var(--card-border);
  padding: 20px 14px; text-align: center; position: relative;
}
.pstep:first-child { border-radius: 14px 0 0 14px; }
.pstep:last-child { border-radius: 0 14px 14px 0; }
.pstep::after {
  content: '→'; position: absolute; right: -9px; top: 50%;
  transform: translateY(-50%); color: var(--cyan); font-size: 17px; z-index: 2;
}
.pstep:last-child::after { display: none; }
.pstep .n { font-size: 12px; color: var(--cyan); margin-bottom: 5px; }
.pstep .t { font-size: 15px; color: #fff; font-weight: 600; }
.pstep .d { font-size: 12px; color: var(--txt-3); margin-top: 4px; }

/* ========== 表格 ========== */
.tbl { width: 100%; border-collapse: collapse; margin: 24px 0; }
.tbl th {
  background: rgba(47,139,255,0.15); color: var(--cyan);
  padding: 14px 18px; text-align: left; font-size: 14px;
  border-bottom: 2px solid rgba(47,139,255,0.3);
}
.tbl td { padding: 14px 18px; border-bottom: 1px solid rgba(64,156,255,0.1); color: var(--txt-2); font-size: 14px; }
.tbl tr:hover td { background: rgba(47,139,255,0.05); }
.tbl .yes { color: #2effa8; font-weight: 600; }
.tbl .no { color: #ff6b7a; }
.tbl td strong { color: var(--cyan); }

/* ========== 优势行 ========== */
.adv { display: flex; gap: 20px; align-items: flex-start; margin: 18px 0; }
.adv .badge {
  width: 50px; height: 50px; flex-shrink: 0;
  background: var(--grad); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; box-shadow: 0 8px 24px rgba(47,139,255,0.3);
}
.adv .txt h4 { font-size: 18px; color: #fff; margin-bottom: 4px; }
.adv .txt p { font-size: 14px; color: var(--txt-2); }

/* ========== 图片区 ========== */
.photo { border-radius: 16px; overflow: hidden; border: 1px solid var(--card-border); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo .cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 20px; font-size: 14px; color: #fff;
  background: linear-gradient(transparent, rgba(5,8,16,0.9));
}

/* ========== CTA ========== */
.cta { text-align: center; }
.cta h2 { font-size: 40px; margin-bottom: 18px; font-weight: 700; }
.cta p { font-size: 18px; color: var(--txt-2); margin-bottom: 34px; }
.btn {
  display: inline-block; background: var(--grad);
  padding: 16px 52px; border-radius: 12px;
  font-size: 18px; color: #fff; text-decoration: none; font-weight: 600;
  box-shadow: 0 12px 40px rgba(47,139,255,0.4);
  transition: all .3s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(47,139,255,0.5); }
.contact { margin-top: 44px; color: var(--txt-3); font-size: 14px; line-height: 2; }
.contact strong { color: var(--txt-2); }

/* ========== 机器人/数据流 SVG 动画 ========== */
.robot-visual { position: relative; display: flex; justify-content: center; align-items: center; padding: 20px 0; }
.data-stream {
  position: absolute; width: 2px; border-radius: 2px;
  background: linear-gradient(to bottom, transparent, var(--cyan), transparent);
  animation: stream 3s linear infinite; opacity: .6;
}
@keyframes stream { 0% { transform: translateY(-40px); opacity: 0; } 30% { opacity: .7; } 100% { transform: translateY(120px); opacity: 0; } }
.pulse-dot { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: .4; } 50% { opacity: 1; } }
.float { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.rotate-slow { animation: rot 24s linear infinite; transform-origin: center; }
@keyframes rot { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .page { padding: 60px 40px; }
  .cover h1 { font-size: 44px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px) {
  .page { padding: 70px 22px 50px; }
  .cover h1 { font-size: 34px; }
  .sec-head h2 { font-size: 28px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .pipeline { flex-direction: column; }
  .pstep { border-radius: 10px !important; margin-bottom: 8px; }
  .pstep::after { display: none; }
  .version-switcher { top: 12px; right: 12px; left: 12px; justify-content: center; }
  .version-switcher .vs-label { display: none; }
}

/* ========== 打印 ========== */
@media print {
  .version-switcher { display: none; }
  .page { min-height: auto; padding: 40px; page-break-after: always; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body::before { display: none; }
}
