/* ============================================================
   安徽洵创科技有限公司 官网 UI 设计稿 - 全局样式
   风格：蓝色科技感 / 简约 / 大气
   ============================================================ */
:root {
  --navy-900: #050f24;
  --navy-800: #081c3a;
  --navy-700: #0a2450;
  --blue-600: #1256d4;
  --blue-500: #1e6fff;
  --blue-400: #4d94ff;
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, .18);
  --text-main: #eaf2ff;
  --text-sub: #93a8cf;
  --text-dark: #1b2a4a;
  --text-gray: #5b6b8c;
  --bg-light: #f5f8fe;
  --card-border: rgba(77, 148, 255, .18);
  --gradient-main: linear-gradient(120deg, #1256d4 0%, #1e6fff 55%, #22d3ee 100%);
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--navy-900);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(5, 15, 36, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(77, 148, 255, .12);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 42px; width: auto; border-radius: 6px; background: #fff; padding: 2px 6px; }
.nav-logo .logo-text { font-size: 19px; font-weight: 700; letter-spacing: 1px; }
.nav-logo .logo-text small { display: block; font-size: 10px; color: var(--text-sub); letter-spacing: 2.5px; font-weight: 400; }
.nav-menu { display: flex; gap: 36px; }
.nav-menu a {
  font-size: 15px; color: var(--text-sub); position: relative; padding: 6px 0;
  transition: color .25s;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gradient-main); transition: width .25s;
}
.nav-menu a:hover, .nav-menu a.active { color: #fff; }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-cta {
  padding: 8px 22px; border-radius: 999px; font-size: 14px;
  background: var(--gradient-main); color: #fff !important; font-weight: 600;
}
.nav-cta::after { display: none; }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section.light { background: var(--bg-light); color: var(--text-dark); }
.section.light .sec-desc { color: var(--text-gray); }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-tag {
  display: inline-block; font-size: 13px; letter-spacing: 3px; color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, .35); padding: 4px 16px; border-radius: 999px;
  margin-bottom: 16px; background: var(--cyan-soft);
}
.section.light .sec-tag { color: var(--blue-600); border-color: rgba(18, 86, 212, .3); background: rgba(30, 111, 255, .08); }
.sec-title { font-size: 34px; font-weight: 700; letter-spacing: 1px; }
.sec-desc { max-width: 720px; margin: 14px auto 0; color: var(--text-sub); font-size: 16px; }

/* ---------- 英雄区 ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  padding: 140px 0 80px; overflow: hidden;
  background:
    radial-gradient(900px 480px at 78% 18%, rgba(30, 111, 255, .28), transparent 60%),
    radial-gradient(700px 420px at 12% 82%, rgba(34, 211, 238, .14), transparent 60%),
    var(--navy-900);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(77, 148, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 148, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, .35); background: var(--cyan-soft);
  padding: 5px 16px; border-radius: 999px; margin-bottom: 24px; letter-spacing: 1px;
}
.hero-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.hero h1 { font-size: 50px; line-height: 1.25; font-weight: 800; letter-spacing: 2px; }
.hero h1 .grad {
  background: var(--gradient-main); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 22px; font-size: 17px; color: var(--text-sub); max-width: 560px; }
.hero-actions { margin-top: 38px; display: flex; gap: 18px; }
.btn {
  display: inline-block; padding: 13px 34px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}
.btn-primary { background: var(--gradient-main); color: #fff; box-shadow: 0 8px 26px rgba(30, 111, 255, .38); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(30, 111, 255, .5); }
.btn-ghost { border: 1px solid rgba(147, 168, 207, .4); color: var(--text-main); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.hero-visual { position: relative; }
.hero-panel {
  border: 1px solid var(--card-border); border-radius: 18px; padding: 26px;
  background: linear-gradient(160deg, rgba(18, 86, 212, .16), rgba(5, 15, 36, .6));
  backdrop-filter: blur(6px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 0 60px rgba(30, 111, 255, .06);
}
.hero-panel .panel-row { display: flex; justify-content: space-between; padding: 12px 4px; border-bottom: 1px dashed rgba(77, 148, 255, .15); font-size: 14px; }
.hero-panel .panel-row:last-child { border-bottom: none; }
.hero-panel .panel-row b { color: var(--cyan); font-size: 20px; }
.hero-panel .panel-row span { color: var(--text-sub); }
.panel-title { font-size: 13px; letter-spacing: 2px; color: var(--text-sub); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.panel-title::before { content: ""; width: 8px; height: 8px; background: var(--gradient-main); border-radius: 2px; }

/* ---------- 数据统计条 ---------- */
.stats-bar { border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); background: rgba(8, 28, 58, .6); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 40px 20px; text-align: center; border-right: 1px solid var(--card-border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 40px; font-weight: 800; background: var(--gradient-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-num small { font-size: 20px; }
.stat-label { margin-top: 6px; color: var(--text-sub); font-size: 14px; letter-spacing: 1px; }

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

.card {
  border: 1px solid var(--card-border); border-radius: 16px; padding: 32px 26px;
  background: linear-gradient(165deg, rgba(18, 86, 212, .12), rgba(8, 28, 58, .35));
  transition: transform .25s, border-color .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, .5); box-shadow: 0 20px 46px rgba(2, 12, 34, .6); }
.card-icon {
  width: 54px; height: 54px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: var(--gradient-main); font-size: 26px; margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(30, 111, 255, .35);
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--text-sub); }
.card .card-link { display: inline-block; margin-top: 16px; font-size: 13px; color: var(--cyan); letter-spacing: 1px; }

/* 浅色区块里的卡片 */
.section.light .card { background: #fff; border-color: #e3ebfa; box-shadow: 0 6px 22px rgba(18, 60, 140, .06); }
.section.light .card:hover { box-shadow: 0 18px 40px rgba(18, 60, 140, .14); border-color: var(--blue-400); }
.section.light .card p { color: var(--text-gray); }
.section.light .card .card-link { color: var(--blue-600); }

/* ---------- 图片占位 ---------- */
.ph {
  border-radius: 14px; border: 1.5px dashed rgba(77, 148, 255, .45);
  background:
    repeating-linear-gradient(45deg, rgba(30, 111, 255, .05) 0 14px, transparent 14px 28px),
    linear-gradient(150deg, rgba(18, 86, 212, .18), rgba(34, 211, 238, .07));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--text-sub); gap: 8px; min-height: 220px; text-align: center; padding: 20px;
}
.section.light .ph { border-color: rgba(18, 86, 212, .35); background: repeating-linear-gradient(45deg, rgba(30,111,255,.04) 0 14px, transparent 14px 28px), #eef4ff; color: #7d90b8; }
.ph .ph-icon { font-size: 30px; }
.ph b { font-size: 14px; font-weight: 600; }
.ph small { font-size: 12px; opacity: .75; }

/* ---------- 真实图片块（替换 .ph 占位） ---------- */
.real-img {
  border-radius: 14px; overflow: hidden;
  background: #eef4ff;
  box-shadow: 0 12px 30px rgba(18, 60, 140, .12);
}
.real-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.real-img.flat img { object-fit: contain; background: #fff; }

/* ---------- 图文分栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split h3 { font-size: 28px; margin-bottom: 18px; }
.split .lead { color: var(--text-sub); font-size: 15px; }
.section.light .split .lead { color: var(--text-gray); }
.check-list { margin-top: 22px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-sub); }
.section.light .check-list li { color: var(--text-dark); }
.check-list li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; font-size: 12px;
  background: var(--gradient-main); color: #fff; display: flex; align-items: center; justify-content: center; margin-top: 3px;
}

/* ---------- 页面头（子页） ---------- */
.page-hero {
  position: relative; padding: 170px 0 90px; overflow: hidden; text-align: center;
  background:
    radial-gradient(800px 400px at 50% -10%, rgba(30, 111, 255, .3), transparent 62%),
    var(--navy-900);
}
.page-hero .hero-grid-bg { mask-image: radial-gradient(ellipse 75% 85% at 50% 20%, #000 25%, transparent 75%); }
.page-hero h1 { font-size: 42px; font-weight: 800; letter-spacing: 3px; position: relative; }
.page-hero .en { display: block; font-size: 14px; letter-spacing: 6px; color: var(--cyan); margin-bottom: 14px; font-weight: 400; }
.page-hero p { position: relative; margin-top: 18px; color: var(--text-sub); max-width: 680px; margin-left: auto; margin-right: auto; }
.crumb { position: relative; margin-top: 26px; font-size: 13px; color: var(--text-sub); letter-spacing: 1px; }
.crumb a:hover { color: var(--cyan); }

/* ---------- 产品条目 ---------- */
.prod-item {
  display: flex; gap: 18px; padding: 24px; border-radius: 14px;
  background: #fff; border: 1px solid #e3ebfa; transition: all .25s; align-items: flex-start;
}
.prod-item:hover { border-color: var(--blue-400); box-shadow: 0 14px 34px rgba(18, 60, 140, .12); transform: translateY(-4px); }
.prod-item .pi-icon {
  flex: none; width: 48px; height: 48px; border-radius: 12px; font-size: 22px;
  background: linear-gradient(135deg, #1256d4, #22d3ee); display: flex; align-items: center; justify-content: center;
}
.prod-item h4 { font-size: 17px; color: var(--text-dark); margin-bottom: 6px; }
.prod-item p { font-size: 13.5px; color: var(--text-gray); }

/* ---------- 数据高亮 ---------- */
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.kpi {
  border-radius: 14px; padding: 22px; text-align: center;
  background: linear-gradient(160deg, rgba(18, 86, 212, .16), rgba(8, 28, 58, .4));
  border: 1px solid var(--card-border);
}
.kpi b { display: block; font-size: 30px; background: var(--gradient-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpi span { font-size: 13px; color: var(--text-sub); }
.section.light .kpi { background: #fff; border-color: #e3ebfa; box-shadow: 0 6px 20px rgba(18, 60, 140, .07); }

/* ---------- 算法案例图墙 ---------- */
.algo-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.algo-card { border-radius: 14px; overflow: hidden; position: relative; border: 1px solid var(--card-border); background: var(--navy-800); }
.algo-card img { width: 100%; height: 210px; object-fit: cover; transition: transform .4s; }
.algo-card:hover img { transform: scale(1.05); }
.algo-card .ac-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 18px 12px;
  background: linear-gradient(transparent, rgba(5, 15, 36, .92));
  font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; align-items: center;
}
.algo-card .ac-label small { color: var(--cyan); font-weight: 400; font-size: 12px; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; margin: 0 auto; max-width: 760px; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(#1256d4, #22d3ee); }
.tl-item { position: relative; padding: 0 0 34px 26px; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 7px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--navy-900); border: 3px solid var(--blue-500); box-shadow: 0 0 12px rgba(30, 111, 255, .6);
}
.tl-item b { color: var(--cyan); font-size: 15px; }
.section.light .tl-item b { color: var(--blue-600); }
.tl-item h4 { font-size: 17px; margin: 4px 0; }
.tl-item p { font-size: 14px; color: var(--text-sub); }
.section.light .tl-item p { color: var(--text-gray); }

/* ---------- 资质荣誉 ---------- */
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.honor-card { background: #fff; border: 1px solid #e3ebfa; border-radius: 14px; overflow: hidden; transition: all .25s; }
.honor-card:hover { box-shadow: 0 16px 38px rgba(18, 60, 140, .14); transform: translateY(-4px); }
.honor-card img { width: 100%; height: 230px; object-fit: cover; }
.honor-card .hc-body { padding: 18px 20px; }
.honor-card h4 { font-size: 16px; color: var(--text-dark); }
.honor-card p { font-size: 13px; color: var(--text-gray); margin-top: 4px; }

/* ---------- 表格 ---------- */
.data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 26px rgba(18, 60, 140, .08); }
.data-table th { background: linear-gradient(120deg, #1256d4, #1e6fff); color: #fff; font-size: 14px; padding: 14px 16px; text-align: left; letter-spacing: 1px; }
.data-table td { padding: 13px 16px; font-size: 14px; color: var(--text-dark); border-bottom: 1px solid #edf2fb; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: #f7faff; }
.data-table .hl { color: var(--blue-600); font-weight: 700; }

/* ---------- 底部 CTA / 页脚 ---------- */
.cta-band {
  position: relative; padding: 80px 0; text-align: center; overflow: hidden;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(34, 211, 238, .16), transparent 65%),
    linear-gradient(160deg, #0a2450, #081c3a);
}
.cta-band h2 { font-size: 32px; letter-spacing: 2px; }
.cta-band p { margin: 14px auto 30px; color: var(--text-sub); max-width: 560px; }

.footer { background: #040b1c; border-top: 1px solid rgba(77, 148, 255, .12); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer h5 { font-size: 16px; margin-bottom: 18px; letter-spacing: 1px; }
.footer ul { display: grid; gap: 10px; }
.footer li, .footer p { font-size: 13.5px; color: var(--text-sub); }
.footer a:hover { color: var(--cyan); }
.footer-brand img { height: 46px; background: #fff; border-radius: 8px; padding: 3px 8px; margin-bottom: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(77, 148, 255, .1); padding: 20px 0; text-align: center;
  font-size: 12.5px; color: #5b6b8c; letter-spacing: 1px;
}

/* ---------- JS 交互动效 ---------- */
.nav.scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .35); background: rgba(4, 11, 28, .94); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.22, .8, .3, 1); }
.reveal.revealed { opacity: 1; transform: none; }

.hero-panel { transition: transform .25s ease-out; will-change: transform; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 8px; z-index: 110;
}
.nav-burger span { width: 24px; height: 2px; background: var(--text-main); border-radius: 2px; transition: all .3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-burger { display: flex; }
  .nav-menu {
    position: fixed; top: 72px; right: 0; width: min(280px, 80vw); height: calc(100vh - 72px);
    background: rgba(4, 11, 28, .98); flex-direction: column; gap: 0; padding: 20px 0;
    transform: translateX(100%); transition: transform .32s ease; display: flex;
    border-left: 1px solid var(--card-border);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a { padding: 16px 28px; font-size: 16px; border-bottom: 1px solid rgba(77, 148, 255, .08); }
  .nav-cta { display: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner, .split { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .algo-wall, .honor-grid, .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
  .hero h1 { font-size: 36px; }
}
@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2, .algo-wall, .honor-grid, .kpi-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
