/* =========================================================
   正本智能 (ValueSoft) — 全局设计系统
   暗色 + 青色主题，复刻 valuesoft.cn
   ========================================================= */
:root {
  --bg: #0A1628;
  --bg-2: #1B3A5F;
  --surface: #0E1C33;
  --border: #2D4A6A;
  --border-soft: rgba(255, 255, 255, 0.10);
  --cyan: #00F5FF;
  --blue: #4A5BFF;
  --text: #ffffff;
  --text-2: #d1d5db;      /* gray-300 */
  --muted: #9ca3af;       /* gray-400 */
  --muted-2: #6b7280;     /* gray-500 */
  --grad: linear-gradient(135deg, #00F5FF 0%, #4A5BFF 100%);
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-cyan: 0 20px 40px rgba(0, 245, 255, 0.15);
  --container: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- 通用排版 ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--cyan); text-transform: uppercase; margin-bottom: 14px;
}
.section-head h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 16px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: rgba(10, 22, 40, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(45, 74, 106, 0.6);
  transition: background .25s ease;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; color: #04121c; font-weight: 900; font-size: 16px;
  flex: none;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; color: var(--muted); font-weight: 500; transition: color .18s ease; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--cyan); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px;
  background: var(--grad); border-radius: 2px;
}
.nav-cta { flex: none; }
.nav-toggle { display: none; }

/* 语言切换 */
.lang-toggle {
  display: inline-flex; flex: none; background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 3px;
}
.lang-toggle button {
  padding: 6px 14px; border: none; background: transparent; color: var(--muted);
  font-weight: 600; font-size: 13px; border-radius: 7px; cursor: pointer; transition: all .15s ease;
}
.lang-toggle button.active { background: var(--grad); color: #04121c; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 10px; font-weight: 700; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #04121c; }
.btn-primary:hover { opacity: .9; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 245, 255, 0.28); }
.btn-outline { border-color: rgba(255, 255, 255, 0.3); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.btn-lg { padding: 15px 34px; font-size: 17px; border-radius: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background: linear-gradient(to bottom, #0A1628 0%, #1B3A5F 100%);
}
.hero-glow { position: absolute; inset: 0; opacity: .22; pointer-events: none; }
.hero-glow .blob { position: absolute; border-radius: 50%; filter: blur(90px); }
.hero-glow .b1 { width: 380px; height: 380px; background: var(--cyan); top: 22%; left: 22%; animation: pulse 5s ease-in-out infinite; }
.hero-glow .b2 { width: 380px; height: 380px; background: var(--blue); bottom: 22%; right: 22%; animation: pulse 5s ease-in-out 1.2s infinite; }
.hero-inner { position: relative; z-index: 10; max-width: 980px; padding: 120px 24px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(0, 245, 255, 0.35); background: rgba(0, 245, 255, 0.08);
  color: var(--cyan); font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hero h1 { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 24px; }
.hero .lead { font-size: 20px; color: var(--text-2); margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-caps { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 40px; }
.hero-caps .hcap {
  padding: 10px 20px; border-radius: 999px; font-size: 15px; font-weight: 600;
  background: rgba(0, 245, 255, 0.08); border: 1px solid rgba(0, 245, 255, 0.3); color: var(--cyan);
}

/* ---------- 数据统计 ---------- */
.stats { background: var(--bg-2); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.stat .num { font-size: 48px; font-weight: 800; color: var(--cyan); letter-spacing: -0.02em; }
.stat .label { color: var(--text-2); margin-top: 6px; font-size: 16px; }

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

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 30px; transition: all .28s ease; position: relative; overflow: hidden;
}
.card:hover { border-color: var(--cyan); transform: translateY(-5px); box-shadow: var(--shadow-cyan); }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; background: rgba(0, 245, 255, 0.1);
  display: grid; place-items: center; color: var(--cyan); font-size: 26px; margin-bottom: 20px;
  transition: transform .28s ease;
}
.card:hover .icon { transform: scale(1.1); }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; }

/* 解决方案卡片（带图片） */
.solution-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all .3s ease;
}
.solution-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-cyan); border-color: var(--cyan); }
.solution-card .thumb { position: relative; height: 190px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.solution-card .thumb .thumb-ico { width: 66px; height: 66px; color: rgba(255,255,255,.92); transition: transform .5s ease; filter: drop-shadow(0 8px 20px rgba(0,0,0,.28)); }
.solution-card:hover .thumb .thumb-ico { transform: scale(1.15) rotate(-4deg); }
.solution-card .tag {
  position: absolute; top: 14px; left: 14px; padding: 5px 13px; border-radius: 6px;
  background: rgba(4,18,28,.62); color: #fff; font-size: 13px; font-weight: 700;
  backdrop-filter: blur(4px);
}
.solution-card .body { padding: 22px; }
.solution-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.solution-card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.solution-card .more { color: var(--cyan); font-weight: 600; font-size: 14px; }

/* 技术优势（带序号/图标） */
.advantage { display: flex; gap: 20px; }
.advantage .num {
  flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--grad);
  color: #04121c; font-weight: 800; font-size: 20px; display: grid; place-items: center;
}
.advantage h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.advantage p { color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center; padding: 110px 0;
  background: linear-gradient(135deg, #0A1628 0%, #1B3A5F 55%, #2D4A6A 100%);
}
.cta::before {
  content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: var(--cyan); filter: blur(130px); opacity: .16; top: -200px; left: 50%; transform: translateX(-50%);
}
.cta h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; position: relative; }
.cta p { color: var(--text-2); font-size: 17px; margin-bottom: 34px; position: relative; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr 1.4fr; gap: 40px; }
.footer-grid h4 { font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.footer-grid p, .footer-grid a, .footer-grid li { color: var(--muted); font-size: 14px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { transition: color .18s ease; }
.footer-grid a:hover { color: var(--cyan); }
.footer-brand h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.footer-brand p { line-height: 1.7; max-width: 280px; }
.footer-bottom {
  border-top: 1px solid var(--border-soft); margin-top: 44px; padding-top: 24px;
  text-align: center; color: var(--muted-2); font-size: 13px;
}
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- 页面 Hero（内页） ---------- */
.page-hero {
  padding: 150px 0 70px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(to bottom, #0A1628 0%, #12253f 100%);
}
.page-hero h1 { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0 auto; }

/* ---------- 标签/徽章 ---------- */
.pill {
  display: inline-block; padding: 5px 13px; border-radius: 999px; font-size: 13px; font-weight: 600;
  border: 1px solid rgba(0, 245, 255, 0.35); background: rgba(0, 245, 255, 0.08); color: var(--cyan);
}

/* ---------- 内页通用组件 ---------- */
.section-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.section-title-row h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }

/* 特性列表 */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature-item {
  display: flex; gap: 12px; align-items: flex-start; background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px;
}
.feature-item .tick { flex: none; color: var(--cyan); font-weight: 700; line-height: 1.5; }
.feature-item b { display: block; font-size: 15px; margin-bottom: 3px; }
.feature-item span { color: var(--muted); font-size: 13.5px; }

/* 技术栈标签 */
.tech-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-pills .tpill {
  padding: 7px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: rgba(0, 245, 255, 0.08); border: 1px solid rgba(0, 245, 255, 0.3); color: var(--cyan);
}

/* 成果数据（小） */
.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.metric { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 22px 16px; }
.metric .val { font-size: 28px; font-weight: 800; color: var(--cyan); letter-spacing: -0.02em; }
.metric .k { color: var(--muted); font-size: 13px; margin-top: 5px; }

/* 应用场景卡片 */
.scenario { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; transition: all .25s ease; }
.scenario:hover { border-color: var(--cyan); transform: translateY(-3px); }
.scenario h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.scenario p { color: var(--muted); font-size: 13.5px; }

/* 客户证言 */
.testimonial {
  border-left: 3px solid var(--cyan); background: var(--surface);
  border-radius: 0 14px 14px 0; padding: 24px 28px; margin-top: 28px;
}
.testimonial .quote { font-size: 17px; color: var(--text-2); line-height: 1.7; font-style: italic; }
.testimonial .who { margin-top: 14px; color: var(--cyan); font-weight: 700; font-size: 14px; }
.testimonial .role { color: var(--muted); font-size: 13px; }

/* 区块分栏：左标题右内容 */
.split { display: grid; grid-template-columns: 0.9fr 1.6fr; gap: 48px; align-items: start; }
.split .left h2 { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.split .left p { color: var(--muted); font-size: 15px; }

/* 业务领域 大区块 */
.biz-section { padding: 72px 0; }
.biz-section:nth-child(even) { background: var(--bg-2); }

/* ---------- 解决方案详情 ---------- */
.sol-section { padding: 80px 0; }
.sol-section:nth-of-type(even) { background: var(--bg-2); }
.sol-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.sol-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.sol-sub { color: var(--muted); font-size: 16px; max-width: 780px; margin-bottom: 40px; }

.sub-label { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--cyan); text-transform: uppercase; margin: 40px 0 16px; }

/* 痛点列表 */
.pain-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pain-list li {
  display: flex; gap: 10px; align-items: flex-start; background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; color: var(--text-2); font-size: 14.5px;
}
.pain-list li::before { content: "✕"; color: #f87171; font-weight: 700; flex: none; }

/* 实施路径 */
.stage-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stage { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; position: relative; }
.stage .sn {
  width: 34px; height: 34px; border-radius: 9px; background: var(--grad); color: #04121c;
  font-weight: 800; display: grid; place-items: center; margin-bottom: 12px; font-size: 15px;
}
.stage h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.stage .dur { color: var(--cyan); font-size: 12.5px; font-weight: 700; margin-bottom: 8px; }
.stage p { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* 客户案例 */
.case-box { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 28px; margin-top: 40px; }
.case-box .case-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.case-box .case-title h4 { font-size: 18px; font-weight: 700; }
.case-box .case-overview { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }

@media (max-width: 1024px) {
  .stage-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .pain-list { grid-template-columns: 1fr; }
  .stage-list { grid-template-columns: 1fr; }
}

/* ---------- 动画 ---------- */
@keyframes pulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface); color: var(--cyan); cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--cyan); color: #0A1628; border-color: var(--cyan); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero h1 { font-size: 32px; }
  .hero .lead { font-size: 17px; }
  .section-head h2 { font-size: 27px; }
  .page-hero h1 { font-size: 30px; }
  .stats-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0; background: rgba(10, 22, 40, 0.98);
    flex-direction: column; gap: 0; padding: 12px 0; border-bottom: 1px solid var(--border);
    transform: translateY(-140%); transition: transform .3s ease;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 24px; width: 100%; border-bottom: 1px solid var(--border-soft); }
  .nav-links a.active::after { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; background: none; border: none; color: var(--text); cursor: pointer; }
  .nav-toggle svg { width: 26px; height: 26px; }
}
