:root {
  --primary: #0b5fff;
  --primary-2: #0646c5;
  --accent: #00d4ff;
  --ink: #0e1726;
  --ink-2: #3a4a5f;
  --muted: #6b7c93;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --line: #e3e9f2;
  --card: #ffffff;
  --shadow: 0 8px 30px rgba(14, 23, 38, .08);
  --radius: 14px;
  --header-h: 68px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.lead { font-size: 1.12rem; color: var(--ink-2); }
.lead-sm { font-size: .98rem; color: var(--ink-2); }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-2); }
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -0.01em; }

/* 头部 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: grid; place-items: center;
  font-size: 15px; font-weight: 800; letter-spacing: .5px;
}
.brand-name { font-size: 1.05rem; }
.nav { display: flex; gap: 28px; align-items: center; font-size: .95rem; }
.nav a { color: var(--ink-2); font-weight: 500; }
.nav a.active, .nav a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary); color: #fff !important; padding: 9px 18px; border-radius: 10px;
}
.nav-cta:hover { background: var(--primary-2); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; font-size: 18px; padding: 4px 10px; cursor: pointer; }

/* Flash */
.flash-wrap { margin-top: 16px; }
.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 10px; font-size: .92rem; }
.flash-success { background: #e8f8ef; color: #167a45; border: 1px solid #b8e6cc; }
.flash-error { background: #fdecec; color: #b3352f; border: 1px solid #f5c6c6; }

/* Hero */
.hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(0,212,255,.14), transparent 60%),
    radial-gradient(900px 400px at 10% 0%, rgba(11,95,255,.16), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.hero-tag {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: #eaf2ff; color: var(--primary); font-size: .8rem; font-weight: 600;
  border: 1px solid #d6e5ff; margin-bottom: 18px;
}
.hero h1 { font-size: 2.9rem; margin: 0 0 18px; }
.hero-actions { display: flex; gap: 14px; margin: 24px 0; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.hero-stats div { padding: 14px 0; border-left: 3px solid var(--primary); padding-left: 14px; }
.hero-stats strong { display: block; font-size: 1.6rem; color: var(--ink); }
.hero-stats span { font-size: .82rem; color: var(--muted); }
.hero-panel { }
.panel-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.panel-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .92rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-green { background: #22c55e; } .dot-blue { background: #3b82f6; } .dot-purple { background: #a855f7; }
.panel-bar { height: 8px; background: #eef2f8; border-radius: 999px; overflow: hidden; margin: 10px 0 8px; }
.panel-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); }

/* 通用 section */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section-head h2 { font-size: 2rem; margin: 0 0 10px; }
.section-head p { color: var(--muted); margin: 0; }

/* 卡片 / 网格 */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.svc-card { display: block; color: var(--ink); transition: transform .18s ease, box-shadow .18s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(11,95,255,.12); }
.svc-card h3 { margin: 14px 0 8px; font-size: 1.1rem; }
.svc-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.svc-icon { font-size: 1.8rem; }
.svc-icon-lg { font-size: 2.4rem; margin-bottom: 8px; }
.card-link { display: inline-block; margin-top: 16px; font-weight: 600; font-size: .9rem; color: var(--primary); }
.svc-card-tall { display: flex; flex-direction: column; gap: 12px; }
.svc-card-tall h2 { margin: 0; font-size: 1.35rem; }
.svc-card-tall .chips { flex-wrap: wrap; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  background: #eef4ff; color: var(--primary); border: 1px solid #d6e5ff;
  padding: 5px 11px; border-radius: 999px; font-size: .8rem; font-weight: 500;
}
.chip-lg { padding: 8px 14px; font-size: .9rem; }

.tech-block { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.tech-block h5 { margin: 0 0 8px; font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

.dotlist { list-style: none; padding: 0; margin: 0; }
.dotlist li { position: relative; padding-left: 20px; margin-bottom: 7px; color: var(--ink-2); font-size: .93rem; }
.dotlist li::before { content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }

/* 客户卡片 */
.client-card { padding: 20px; }
.client-domain { display: inline-block; background: #eaf2ff; color: var(--primary); font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.client-card h4 { margin: 4px 0 8px; font-size: 1rem; }
.client-card p { color: var(--muted); font-size: .88rem; margin: 0; }

/* 流程 */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.process-step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; position: relative;
}
.process-num {
  font-size: 2rem; font-weight: 800; color: var(--primary); opacity: .9;
  letter-spacing: -1px; margin-bottom: 6px;
}
.process-step h4 { margin: 6px 0 6px; font-size: 1rem; }
.process-step p { margin: 0; color: var(--muted); font-size: .88rem; }

/* CTA */
.cta-band {
  background: linear-gradient(135deg, #0b5fff 0%, #0646c5 60%, #053a9e 100%);
  color: #fff;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 8px; font-size: 1.7rem; }
.cta-band p { color: #d6e5ff; margin: 0; }
.btn-light { background: #fff; color: var(--primary) !important; }
.btn-light:hover { background: #eef4ff; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 12px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .12s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-2); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-block { width: 100%; }

/* 页头 */
.page-head { padding: 64px 0 36px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.page-head h1 { font-size: 2.4rem; margin: 10px 0; }
.page-head .lead { max-width: 640px; }
.tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: #eaf2ff; color: var(--primary); font-size: .8rem; font-weight: 600;
}

/* 详情 */
.detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; }
.detail-main h2 { margin: 30px 0 14px; font-size: 1.35rem; }
.detail-main h2:first-child { margin-top: 0; }
.card-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card-item {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-size: .93rem;
}
.card-check {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: #e8f8ef; color: #167a45; font-size: .8rem; font-weight: 700; flex-shrink: 0;
}
.why-list { list-style: none; padding: 0; }
.why-list li { padding: 12px 0 12px 22px; border-left: 3px solid var(--primary); margin-bottom: 12px; color: var(--ink-2); }
.detail-side { display: flex; flex-direction: column; gap: 18px; }
.side-card h3 { margin: 0 0 8px; font-size: 1.05rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.about-text h2 { margin-top: 0; }
.about-text p { color: var(--ink-2); }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-cards .card { padding: 18px; }
.about-cards h3 { margin: 0 0 8px; font-size: 1rem; }
.about-cards p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field > span { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.form-field input, .form-field select, .form-field textarea {
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fbfcfe; resize: vertical;
  transition: border .15s ease, box-shadow .15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11,95,255,.12);
}
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-side .card h3 { margin: 0 0 10px; font-size: 1.02rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.contact-list li, .link-list li { color: var(--ink-2); font-size: .93rem; }

/* 404/500 */
.err-code { font-size: 6rem; font-weight: 900; line-height: 1; color: var(--primary); letter-spacing: -3px; }

/* 页脚 */
.site-footer { background: #0e1726; color: #c7d2e0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding: 48px 24px 36px; }
.brand-foot { margin-bottom: 10px; }
.brand-foot .brand-name { color: #fff; }
.footer-col h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.footer-col .muted { color: #8fa0b8; }
.link-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.link-list a { color: #c7d2e0; } .link-list a:hover { color: #fff; }
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.contact-list li { color: #c7d2e0; font-size: .92rem; }
.footer-bottom { border-top: 1px solid #1c2a3f; padding: 16px 0; font-size: .82rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: #8fa0b8; }

/* 返回顶部 */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff; display: grid; place-items: center;
  font-size: 1.1rem; font-weight: 700; text-decoration: none;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease; transform: translateY(8px);
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-2); }

/* 响应式 */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .detail-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 36px 24px 24px; }
}
@media (max-width: 640px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .card-list { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 16px 24px; gap: 14px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
}
