/* ============ 设计变量（浅色科技风 Lumen） ============ */
:root {
  --primary: #4f46e5;
  --primary-rgb: 79, 70, 229;
  --primary-deep: #3730a3;
  --cyan: #0ea5e9;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #64748b;
  --line: #e2e8f0;
  --bg-gray: #f8fafc;
  --dark: #0b1120;
  --radius: 18px;
  --shadow: 0 8px 28px rgba(15, 23, 42, .07);
  --shadow-lg: 0 18px 48px rgba(15, 23, 42, .13);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ============ 通用元件 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 30px; border-radius: 999px; font-size: 16px; font-weight: 600;
  border: 1.5px solid transparent; cursor: pointer; transition: all .22s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff;
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), .3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(var(--primary-rgb), .42); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: rgba(var(--primary-rgb), .5); color: var(--primary); }
.btn-sm { padding: 9px 22px; font-size: 14px; }
.btn-block { width: 100%; }

.section { padding: 96px 0; }
.section-gray { background: var(--bg-gray); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: 34px; font-weight: 800; letter-spacing: -.5px; }
.section-head p { color: var(--ink-2); margin-top: 12px; font-size: 17px; }
.section-head.left { text-align: left; margin: 0 0 28px; }

/* 滚动淡入：仅在 JS 正常（body 带 js-anim）时初始隐藏，JS 异常则内容全部可见 */
.js-anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js-anim .reveal.in { opacity: 1; transform: none; }

/* 预览横幅 */
.preview-banner {
  position: sticky; top: 0; z-index: 999;
  background: #b45309; color: #fff; text-align: center;
  padding: 8px 16px; font-size: 14px;
}
.preview-banner button {
  margin-left: 14px; border: 1px solid rgba(255, 255, 255, .7); background: transparent;
  color: #fff; border-radius: 6px; padding: 2px 12px; cursor: pointer; font-size: 13px;
}

/* ============ 顶部导航 ============ */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; height: 68px; gap: 28px; }
.brand {
  font-size: 21px; font-weight: 800; letter-spacing: .5px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap;
}
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { font-size: 15.5px; color: var(--ink-2); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ 首屏 ============ */
.hero { position: relative; background: #fff; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.glow-1 { width: 520px; height: 520px; background: rgba(var(--primary-rgb), .16); top: -180px; right: -120px; }
.glow-2 { width: 420px; height: 420px; background: rgba(14, 165, 233, .14); bottom: -200px; left: -140px; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(15, 23, 42, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, .05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; padding: 96px 24px 110px; }
.hero-inner > *, .about-inner > *, .contact-panel > *, .stats-grid > * { min-width: 0; }
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: rgba(var(--primary-rgb), .08); color: var(--primary); margin-bottom: 24px;
}
.hero-title { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.22; font-weight: 800; letter-spacing: -1px; text-wrap: balance; }
.hero-title .highlight {
  background: linear-gradient(100deg, var(--primary) 10%, var(--cyan) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-subtitle { color: var(--ink-2); font-size: 18px; margin: 22px 0 36px; max-width: 520px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* 首屏右侧：堆叠数据卡片装饰 */
.hero-visual { position: relative; }
.hv-blob {
  position: absolute; inset: -8%; border-radius: 40%;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), .18), rgba(14, 165, 233, .14));
  filter: blur(64px); z-index: 0;
}
.hv-stack { position: relative; z-index: 1; height: 430px; }
.hv-card { position: absolute; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.hv-back {
  width: 78%; height: 76%; right: 0; top: 10%; transform: rotate(-7deg);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), .1), rgba(14, 165, 233, .08));
  border: 1.5px dashed rgba(var(--primary-rgb), .3);
}
.hv-mid { width: 84%; height: 80%; left: 0; bottom: 8%; transform: rotate(5deg); }
.hv-front { width: 84%; height: 76%; left: 8%; top: 12%; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hv-head { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #f87171; } .dot.y { background: #fbbf24; } .dot.g { background: #34d399; }
.hv-head-title { margin-left: 8px; font-size: 13px; color: var(--ink-3); font-weight: 600; }
.hv-metric { display: flex; align-items: flex-end; justify-content: space-between; padding: 20px 18px 6px; }
.hv-metric b { display: block; font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.hv-num { font-size: 26px; font-weight: 800; letter-spacing: -.5px; color: var(--ink); }
.hv-up {
  font-size: 13px; font-weight: 700; color: #059669; background: rgba(5, 150, 105, .1);
  padding: 3px 10px; border-radius: 999px;
}
.hv-bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding: 10px 18px 0; }
.hv-bars i {
  flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--primary), rgba(var(--primary-rgb), .28));
  transform-origin: bottom; animation: barIn .9s cubic-bezier(.2, .8, .3, 1) both;
}
.hv-bars i:nth-child(2) { animation-delay: .08s; } .hv-bars i:nth-child(3) { animation-delay: .16s; }
.hv-bars i:nth-child(4) { animation-delay: .24s; } .hv-bars i:nth-child(5) { animation-delay: .32s; }
.hv-bars i:nth-child(6) { animation-delay: .4s; }  .hv-bars i:nth-child(7) { animation-delay: .48s; }
@keyframes barIn { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.hv-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px 18px; font-size: 13px; color: var(--ink-2);
}
.hv-dots { display: flex; gap: 5px; }
.hv-dots b { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.hv-dots b:first-child { background: var(--primary); }
.hv-chip {
  position: absolute; z-index: 2; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  border-radius: 14px; padding: 10px 16px; font-weight: 700; font-size: 14px; color: var(--ink);
  animation: float 5s ease-in-out infinite;
}
.chip-1 { top: 4%; left: -4%; }
.chip-2 { bottom: 9%; right: -3%; animation-delay: 1.2s; }
.hero-img-wrap { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.hero-img-wrap img { width: 100%; }

/* ============ 客户 logo 走马灯 ============ */
.clients { padding: 64px 0 20px; }
.clients-title { text-align: center; color: var(--ink-3); font-size: 15px; font-weight: 600; letter-spacing: 1px; margin-bottom: 28px; }
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 14px; width: max-content; animation: scroll 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.client-chip {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 14px 26px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); font-size: 16px; font-weight: 700;
}
.cc-dot {
  width: 10px; height: 10px; border-radius: 3px; flex: none;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .1);
}

/* ============ 数据亮点（深色横条） ============ */
.stats { padding: 20px 0 96px; }
.stats-band {
  background-color: #0f172a;
  background-image: linear-gradient(120deg, #0b1120 0%, #1e1b4b 70%, #312e81 100%);
  border-radius: 26px; padding: 56px 20px; position: relative; overflow: hidden;
}
.stats-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { text-align: center; }
.stat-item .num {
  font-size: 46px; font-weight: 800; letter-spacing: -1px;
  background: linear-gradient(135deg, #a5b4fc, #67e8f9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-item .label { color: rgba(255, 255, 255, .62); margin-top: 6px; font-size: 15px; }

/* ============ 核心业务（Bento 网格） ============ */
.bento-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.bento-grid .b4 { grid-column: span 4; }
.bento-grid .b2 { grid-column: span 2; }
.bento-grid .b3 { grid-column: span 3; }
.bento-grid .b6 { grid-column: span 6; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 32px; transition: all .25s ease; position: relative; overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; top: -40%; right: -20%; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), .1), transparent 70%);
  pointer-events: none;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(var(--primary-rgb), .45); }
.service-card .icon {
  width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 28px; background: linear-gradient(135deg, rgba(var(--primary-rgb), .12), rgba(14, 165, 233, .12));
  margin-bottom: 20px;
}
.service-card h3 { font-size: 20px; margin-bottom: 10px; font-weight: 700; }
.service-card p { color: var(--ink-2); font-size: 15px; }

/* ============ 成功案例 ============ */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  display: flex; flex-direction: column; transition: all .25s ease;
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.case-tag {
  align-self: flex-start; font-size: 13px; color: var(--primary); font-weight: 700;
  background: rgba(var(--primary-rgb), .08); padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}
.case-card h3 { font-size: 17.5px; line-height: 1.5; margin-bottom: 10px; font-weight: 700; }
.case-card p { color: var(--ink-2); font-size: 14.5px; flex: 1; }
.case-result { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-weight: 800; font-size: 19px; letter-spacing: -.3px;
  background: linear-gradient(100deg, var(--primary), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============ 关于我们 ============ */
.about-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.about-sub { color: var(--primary); font-weight: 700; letter-spacing: 1px; font-size: 16px; margin-top: 10px; }
.about-text > div:not(.section-head) p { color: var(--ink-2); margin-bottom: 16px; font-size: 16px; }
.about-points { list-style: none; margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.about-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.about-points li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--cyan)); color: #fff;
  font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}
.about-visual .about-placeholder {
  position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(var(--primary-rgb), .28), transparent 55%),
    linear-gradient(135deg, #eef2ff, #e0f2fe);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.ap-ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(var(--primary-rgb), .35); }
.ring-1 { width: 62%; aspect-ratio: 1; }
.ring-2 { width: 88%; aspect-ratio: 1; border-color: rgba(var(--primary-rgb), .2); }
.ap-emoji { font-size: 84px; filter: drop-shadow(0 14px 30px rgba(var(--primary-rgb), .35)); position: relative; }
.about-img-wrap { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }

/* ============ 新闻动态 ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  display: flex; flex-direction: column; transition: all .25s ease;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-date { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.news-day {
  font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -1px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.news-ym { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.news-card h3 { font-size: 17.5px; line-height: 1.5; margin-bottom: 10px; font-weight: 700; }
.news-card p { color: var(--ink-2); font-size: 14.5px; flex: 1; }
.news-more { margin-top: 16px; color: var(--primary); font-weight: 600; font-size: 14.5px; }

/* ============ 联系我们 ============ */
.contact-panel {
  display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 28px; overflow: hidden;
  background: linear-gradient(120deg, #1e1b4b, #4f46e5 60%, #0ea5e9);
  box-shadow: var(--shadow-lg);
}
.contact-left { padding: 56px; color: #fff; }
.contact-left h2 { font-size: 32px; font-weight: 800; }
.contact-left > p { color: rgba(255, 255, 255, .78); margin-top: 12px; font-size: 16px; }
.contact-info { display: grid; gap: 20px; margin-top: 34px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .ci-icon {
  flex: none; width: 46px; height: 46px; border-radius: 14px; font-size: 21px;
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
}
.contact-item b { display: block; font-size: 14px; color: rgba(255, 255, 255, .7); font-weight: 500; margin-bottom: 2px; }
.contact-item span { font-size: 16px; font-weight: 600; }
.contact-right { display: flex; align-items: center; padding: 20px 24px; background: rgba(255, 255, 255, .96); }
.contact-form {
  width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px;
  display: grid; gap: 16px; box-shadow: var(--shadow);
}
.contact-form input, .contact-form textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px;
  font-size: 15px; font-family: inherit; transition: border-color .2s; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-status { display: none; font-size: 14px; text-align: center; }
.form-status.show { display: block; }
.form-status.ok { color: #059669; }
.form-status.err { color: #dc2626; }

/* ============ 页脚 ============ */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .65); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 46px 24px 22px; }
.footer-brand {
  font-size: 20px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #a5b4fc, #67e8f9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 14.5px; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, .09); padding: 18px 24px 26px; font-size: 13.5px; color: rgba(255, 255, 255, .55);
}

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 68px 24px 80px; gap: 48px; }
  .hero-title { font-size: 40px; }
  .hero-subtitle { font-size: 16.5px; }
  .hv-stack { height: 360px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .bento-grid .b4, .bento-grid .b2, .bento-grid .b3, .bento-grid .b6 { grid-column: span 6; }
  .cases-grid, .news-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 44px; }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-left { padding: 44px 32px; }
  .section { padding: 68px 0; }
  .stats { padding: 10px 0 68px; }
}
@media (max-width: 680px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0; padding: 8px 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 28px; }
  .nav-toggle { display: block; }
  #nav-cta { display: none; }
  .hero-title { font-size: 32px; }
  .hero-buttons .btn { width: 100%; }
  .hv-stack { height: 300px; }
  .hv-chip { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 27px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
}
