/* ==========================================================================
   Vexpro 官网样式 — 复刻 uamax.cn 风格（企业蓝、卡片式布局）
   主色 #007bff / 深蓝 #1a2b4d，可按需调整 CSS 变量
   ========================================================================== */

:root {
  --brand: #007bff;
  --brand-dark: #0056b3;
  --brand-deep: #1a2b4d;
  --navy: #2c3e50;
  --text: #333;
  --text-light: #5a677d;
  --text-muted: #888;
  --bg-light: #f5f8fc;
  --bg-gradient: linear-gradient(135deg, #eaf3ff 0%, #ffffff 60%);
  --border: #e0e6ef;
  --shadow: 0 6px 24px rgba(26, 43, 77, 0.08);
  --shadow-hover: 0 12px 32px rgba(0, 123, 255, 0.16);
  --radius: 12px;
  --container: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* 锚点目标进位 84px, 避免被 68px 粘性顶栏遮挡标题 */
section[id] { scroll-margin-top: 84px; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
ul { list-style: none; }

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

section { padding: 72px 0; }
.section-alt { background: var(--bg-light); }
.section-tint { background: var(--bg-gradient); }

/* ---------- 通用标题 ---------- */
.section-header { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-header h2 {
  font-size: 32px;
  color: var(--brand-deep);
  margin-bottom: 14px;
  font-weight: 700;
}
.section-header h2 span { color: var(--brand); }
.section-header p { color: var(--text-light); font-size: 16px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  text-align: center;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(0, 123, 255, 0.35); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.btn-outline { border-color: var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 28px; height: 28px; border-radius: 7px; object-fit: contain; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), #4a90e2);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
}
.brand-name { font-size: 21px; font-weight: 800; color: var(--brand-deep); letter-spacing: 0.5px; }
.brand-name small { display: block; font-size: 10px; font-weight: 500; color: var(--text-muted); letter-spacing: 2px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--brand); background: rgba(0, 123, 255, 0.07); }
.nav-links a.active { color: var(--brand); background: rgba(0, 123, 255, 0.1); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-lang {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  color: var(--text-light);
  cursor: pointer;
  background: #fff;
}
.nav-cta { padding: 9px 24px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--brand-deep); border-radius: 2px; transition: 0.25s; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(0, 123, 255, 0.25), transparent 60%),
    linear-gradient(150deg, #12305e 0%, #1a2b4d 55%, #0f3f7a 100%);
  color: #fff;
  padding: 110px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 44px; line-height: 1.3; font-weight: 800; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #7db8ff; }
.hero .subtitle { font-size: 17px; color: rgba(255, 255, 255, 0.82); max-width: 540px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-badges .hb strong { display: block; font-size: 26px; color: #7db8ff; }
.hero-badges .hb span { font-size: 13px; color: rgba(255, 255, 255, 0.7); }

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3)); }

.hero--page { padding: 84px 0 72px; }
.hero--page h1 { font-size: 38px; margin-bottom: 14px; }
.hero--page .subtitle { margin-bottom: 0; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 26px; }
.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: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(0, 123, 255, 0.35); }
.card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.12), rgba(74, 144, 226, 0.18));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}
.card h3 { font-size: 19px; color: var(--brand-deep); margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-light); }

/* ---------- 数据统计 ---------- */
.stats-band {
  background: linear-gradient(135deg, var(--brand-deep), #0f3f7a);
  color: #fff;
  padding: 56px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-grid--6 { grid-template-columns: repeat(6, 1fr); }
.stat .stat-value { font-size: 40px; font-weight: 800; color: #7db8ff; line-height: 1.2; }
.stat .stat-value .suffix { font-size: 20px; margin-left: 2px; }
.stat .stat-label { font-size: 14px; color: rgba(255, 255, 255, 0.75); margin-top: 6px; }

/* ---------- 图文分栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: 30px; color: var(--brand-deep); margin-bottom: 18px; }
.split h2 span { color: var(--brand); }
.split p { color: var(--text-light); margin-bottom: 14px; font-size: 15.5px; }
.split .check-list li {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 12px; color: var(--navy); font-size: 15px;
}
.split .check-list li::before {
  content: "✔";
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
}
.visual-box {
  border-radius: 16px;
  background: var(--bg-gradient);
  border: 1px solid var(--border);
  padding: 36px;
  display: flex; align-items: center; justify-content: center;
  min-height: 300px;
}
.visual-box svg { width: 100%; height: auto; }

/* ---------- 步骤 ---------- */
.steps { counter-reset: step; }
.step-card { position: relative; padding-top: 44px; }
.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -18px; left: 26px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0, 123, 255, 0.35);
}

/* ---------- 案例 ---------- */
.case-card { overflow: hidden; padding: 0; }
.case-media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #1a2b4d, #0f3f7a); display: flex; align-items: center; justify-content: center; }
.case-media .play-btn {
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.7);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; cursor: pointer;
  transition: all 0.25s;
}
.case-card:hover .play-btn { background: var(--brand); border-color: var(--brand); transform: scale(1.08); }
.case-media .case-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff; font-size: 12px;
  padding: 4px 12px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.case-media svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.35; }
.case-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: 20px 22px 24px; }
.case-body h3 { font-size: 17px; color: var(--brand-deep); margin-bottom: 6px; }
.case-body p { font-size: 13.5px; color: var(--text-light); margin-bottom: 12px; }
.case-metrics { display: flex; gap: 8px; flex-wrap: wrap; }
.case-metrics span {
  background: rgba(0, 123, 255, 0.08);
  color: var(--brand-dark);
  font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 6px;
}

/* ---------- 类型筛选 tabs ---------- */
.tab-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.tab-bar button {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-light);
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}
.tab-bar button:hover { border-color: var(--brand); color: var(--brand); }
.tab-bar button.active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

/* ---------- 合作伙伴 ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.partner-logo {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 10px;
  text-align: center;
  font-weight: 700;
  color: var(--text-light);
  font-size: 15px;
  background: #fff;
  transition: all 0.2s;
}
.partner-logo:hover { color: var(--brand-deep); border-color: rgba(0, 123, 255, 0.4); box-shadow: var(--shadow); }

/* ---------- 平台卡片（开户服务） ---------- */
.platform-card { display: flex; gap: 16px; align-items: flex-start; }
.platform-card .p-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: #fff;
  font-weight: 800;
}
.platform-card h3 { font-size: 17px; margin-bottom: 6px; }
.platform-card p { font-size: 13.5px; }

.feature-check { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.feature-check .fc-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: rgba(0, 123, 255, 0.1); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.feature-check h4 { font-size: 16px; color: var(--brand-deep); margin-bottom: 4px; }
.feature-check p { font-size: 13.5px; color: var(--text-light); }

/* ---------- 联系表单 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; }
.contact-info-card { background: linear-gradient(150deg, var(--brand-deep), #0f3f7a); color: #fff; border-radius: 16px; padding: 36px; }
.contact-info-card h3 { font-size: 22px; margin-bottom: 20px; }
.contact-info-card .ci-row { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; font-size: 14.5px; color: rgba(255, 255, 255, 0.85); }
.contact-info-card .ci-row .ci-icon { font-size: 18px; }
.qr-row { display: flex; gap: 20px; margin-top: 26px; }
.qr-box { text-align: center; }
.qr-box .qr {
  width: 96px; height: 96px;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  display: flex; align-items: center; justify-content: center;
}
.qr-box span { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.7); margin-top: 8px; }

.contact-form { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 11px 14px;
  font-size: 14.5px;
  font-family: var(--font);
  color: var(--text);
  background: #fbfcfe;
  transition: border 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
}
.form-status { font-size: 14px; margin-top: 12px; display: none; }
.form-status.ok { display: block; color: #1d9e5f; }
.form-status.err { display: block; color: #c0392b; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0d1b33; color: rgba(255, 255, 255, 0.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.site-footer p, .site-footer li { font-size: 14px; line-height: 2; }
.site-footer a { color: rgba(255, 255, 255, 0.75); }
.site-footer a:hover { color: #7db8ff; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed;
  right: 26px; bottom: 30px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 90;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--brand-dark); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid--6 { grid-template-columns: repeat(3, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 480px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: 0 16px 30px rgba(26, 43, 77, 0.12);
    border-top: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid--6 { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 32px; }
  .hero--page h1 { font-size: 28px; }
  .section-header h2 { font-size: 26px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
