/* ============================================================
   梵煜数字科技官网 · 全局样式 v2
   深空 AI 科技风：渐变光晕 / 玻璃拟态 / 霓虹渐变 / 动效
   ============================================================ */
:root {
  --navy: #eaf1ff;          /* 标题色（深色主题下为亮色） */
  --navy-deep: #05070f;
  --ink: #c4d0e8;           /* 正文 */
  --muted: #8a97b5;         /* 次要文字 */
  --line: rgba(140, 165, 220, 0.14);
  --bg: #060a16;
  --bg-soft: #0a1020;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --accent: #5b8cff;
  --accent-2: #22d3ee;
  --accent-3: #8b5cf6;
  --grad: linear-gradient(120deg, #4f7dff 0%, #22d3ee 100%);
  --grad-glow: linear-gradient(120deg, #4f7dff 0%, #8b5cf6 55%, #22d3ee 100%);
  --radius: 16px;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
  --glow: 0 0 24px rgba(79, 125, 255, 0.35);
  font-size: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.container { width: min(1160px, 92%); margin: 0 auto; }
::selection { background: rgba(79, 125, 255, 0.4); color: #fff; }

/* ---------- 全局粒子背景画布 ---------- */
#fxCanvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.85;
}
.site-header, section, footer, .page-hero, .hero, .cta, .modal-mask { position: relative; z-index: 1; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 10, 22, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled {
  background: rgba(6, 10, 22, 0.92);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; height: 68px; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--grad-glow); background-size: 200% 200%;
  animation: gradShift 6s ease infinite;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700;
  box-shadow: var(--glow);
}
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.logo-text { font-size: 17px; letter-spacing: 0.5px; color: #fff; }
.logo-text small { display: block; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: 2px; }
.main-nav { display: flex; gap: 4px; flex: 1; }
.main-nav a {
  padding: 8px 16px; border-radius: 8px; font-size: 15px; color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.main-nav a.active { color: #fff; font-weight: 600; background: rgba(79, 125, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(79, 125, 255, 0.35); }
.auth-area { display: flex; align-items: center; gap: 12px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: 10px; border: none; cursor: pointer;
  font-size: 15px; font-family: inherit; transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 26px rgba(79, 125, 255, 0.35);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg); animation: sheen 3.2s ease infinite;
}
@keyframes sheen { 0%, 60% { left: -80%; } 100% { left: 130%; } }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; box-shadow: inset 0 0 18px rgba(79, 125, 255, 0.12); }
.btn-light { background: #fff; color: #0a1020; }
.btn-sm { padding: 7px 14px; font-size: 14px; border-radius: 8px; }

/* 用户徽章 */
.user-chip {
  display: flex; align-items: center; gap: 10px; position: relative; cursor: pointer;
  padding: 6px 10px 6px 6px; border-radius: 999px; border: 1px solid var(--line);
}
.user-chip:hover { border-color: var(--accent); }
.user-avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600;
}
.user-name { font-size: 14px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e6edfb; }
.user-menu {
  position: absolute; top: calc(100% + 8px); right: 0; width: 150px; background: #0d1428;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 6px; display: none;
}
.user-chip.open .user-menu { display: block; }
.user-menu button {
  width: 100%; text-align: left; padding: 9px 12px; border: none; background: none;
  font-size: 14px; color: var(--ink); border-radius: 8px; cursor: pointer; font-family: inherit;
}
.user-menu button:hover { background: rgba(255, 255, 255, 0.06); color: #ff7b7b; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 12% -12%, rgba(47, 90, 220, 0.32) 0%, transparent 60%),
    radial-gradient(900px 480px at 88% 112%, rgba(34, 211, 238, 0.16) 0%, transparent 55%),
    radial-gradient(700px 400px at 70% -10%, rgba(139, 92, 246, 0.2) 0%, transparent 55%),
    var(--navy-deep);
  padding: 110px 0 130px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.35; pointer-events: none;
  background-image: linear-gradient(rgba(120, 160, 255, 0.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(120, 160, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(800px 500px at 50% 20%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(800px 500px at 50% 20%, #000 0%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  top: -220px; right: -140px; pointer-events: none;
  background: radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.22), transparent 65%);
  filter: blur(8px);
  animation: floatY 9s ease-in-out infinite;
}
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-26px); } }
.hero-inner { position: relative; text-align: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(122, 160, 255, 0.35); border-radius: 999px;
  padding: 6px 16px; font-size: 13px; color: #a9c2ff; margin-bottom: 26px;
  background: rgba(79, 125, 255, 0.08);
  box-shadow: inset 0 0 20px rgba(79, 125, 255, 0.1);
}
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); font-weight: 700; letter-spacing: 1px; line-height: 1.25; color: #f4f8ff; }
.hero h1 .grad-text {
  background: linear-gradient(120deg, #6ea8ff, #37d6f0, #a78bfa, #6ea8ff);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradText 5s ease infinite;
}
@keyframes gradText { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero p.lead {
  max-width: 640px; margin: 22px auto 0; color: #a9b9d8; font-size: 17px;
}
.hero-actions { margin-top: 26px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- 区块通用 ---------- */
section.block { padding: 84px 0; }
section.block.soft { background: var(--bg-soft); }
.block-head { text-align: center; margin-bottom: 52px; }
.block-head .kicker {
  display: inline-block; font-size: 13px; letter-spacing: 5px; font-weight: 600; margin-bottom: 12px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.block-head h2 { font-size: clamp(26px, 3.4vw, 36px); color: #f0f5ff; }
.block-head p { color: var(--muted); margin-top: 12px; max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---------- 卡片（玻璃拟态 + 光晕跟随） ---------- */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, background 0.25s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(79, 125, 255, 0.16), transparent 65%);
  transition: opacity 0.25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(79, 125, 255, 0.4); background: var(--bg-card-hover); }
.card:hover::before { opacity: 1; }
.card .icon-box {
  width: 50px; height: 50px; border-radius: 12px; background: rgba(79, 125, 255, 0.12);
  border: 1px solid rgba(79, 125, 255, 0.3);
  color: #7ea4ff; display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  box-shadow: inset 0 0 16px rgba(79, 125, 255, 0.12);
}
.card .icon-box svg { width: 26px; height: 26px; }
.card h3 { font-size: 18px; color: #f0f5ff; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--muted); }
.card .tag {
  display: inline-block; font-size: 12px; color: #8fb0ff;
  background: rgba(79, 125, 255, 0.1); border: 1px solid rgba(79, 125, 255, 0.25);
  padding: 3px 10px; border-radius: 999px; margin-bottom: 14px;
}

/* 数据亮点 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 28px 12px; }
.stat .num {
  font-size: clamp(30px, 3.6vw, 42px); font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .label { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ---------- 案例卡片 ---------- */
.case-card { cursor: pointer; }
.case-img, .news-cover {
  width: 100%; object-fit: cover; border-radius: 10px; margin-bottom: 16px;
  display: block; background: #0a1020;
}
.case-img { height: 150px; }
.news-cover { height: 150px; }
.vd-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; color: #fff; padding: 4px 10px; border-radius: 999px;
  background: rgba(5, 8, 18, 0.72); border: 1px solid rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.4);
}
.vd-badge::before { content: "▶"; font-size: 10px; color: #c4b5fd; }
.media-wrap { position: relative; margin-bottom: 16px; }

/* 新闻 */
.news-item {
  position: relative; cursor: pointer; overflow: hidden;
  display: block; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.news-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(34, 211, 238, 0.4); }
.news-item .date { font-size: 13px; color: var(--accent-2); font-weight: 600; }
.news-item h3 { font-size: 17px; color: #f0f5ff; margin: 8px 0 6px; }
.news-item p { font-size: 14px; color: var(--muted); }

/* CTA */
.cta {
  background:
    radial-gradient(900px 400px at 80% -20%, rgba(79, 125, 255, 0.28) 0%, transparent 60%),
    radial-gradient(600px 300px at 15% 120%, rgba(139, 92, 246, 0.22) 0%, transparent 55%),
    var(--navy-deep);
  color: #fff; text-align: center; padding: 76px 0;
}
.cta h2 { font-size: clamp(24px, 3.2vw, 34px); }
.cta p { color: #a9b9d8; margin: 14px 0 32px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #04060d; color: #7f92b4; padding: 56px 0 28px; font-size: 14px; border-top: 1px solid rgba(140, 165, 220, 0.1); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-grid h4 { color: #dfe8f7; font-size: 15px; margin-bottom: 14px; }
.footer-grid a { display: block; margin-bottom: 9px; color: #7f92b4; transition: color 0.2s; }
.footer-grid a:hover { color: #fff; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text small { color: #64789c; }
.footer-brand p { margin-top: 14px; max-width: 300px; }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding-top: 22px; font-size: 13px; color: #5d7093; }
.footer-bottom > span:last-child { text-align: right; }
.footer-bottom a { color: #7f92b4; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .fb-legal { display: inline-flex; align-items: center; }
.footer-bottom .icp-link {
  color: #93a9cf; letter-spacing: 0.3px; white-space: nowrap;
  transition: color 0.2s ease;
}
.footer-bottom .icp-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 表单 ---------- */
.form-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: #dfe8f7; margin-bottom: 7px; }
.field label .req { color: #ff7b7b; margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-family: inherit; color: #e6edfb; background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: #5d6d90; }
.field select option { background: #0d1428; color: #e6edfb; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79, 125, 255, 0.16); background: rgba(255, 255, 255, 0.06);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.form-msg { font-size: 14px; border-radius: 10px; padding: 11px 14px; margin-bottom: 16px; display: none; }
.form-msg.ok { display: block; background: rgba(21, 155, 88, 0.14); color: #5fd695; border: 1px solid rgba(95, 214, 149, 0.35); }
.form-msg.err { display: block; background: rgba(212, 58, 58, 0.12); color: #ff8f8f; border: 1px solid rgba(255, 120, 120, 0.35); }

/* 文件上传 */
.upload-box {
  border: 1.5px dashed rgba(140, 165, 220, 0.3); border-radius: 12px; padding: 22px; text-align: center;
  color: var(--muted); font-size: 14px; cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.upload-box:hover { border-color: var(--accent); background: rgba(79, 125, 255, 0.06); }
.upload-box.has-file { border-style: solid; border-color: var(--accent); color: #8fb0ff; }
.upload-box.disabled { opacity: 0.6; cursor: not-allowed; }
.upload-box input[type="file"] { display: none; }

/* 媒体上传（后台） */
.media-box { text-align: left; }
.cv-empty { text-align: center; padding: 6px 0; }
.cv-sub { font-size: 12px; color: #5d6d90; margin-top: 4px; }
.cv-preview { display: flex; align-items: center; gap: 14px; }
.cv-preview img { width: 132px; height: 84px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.cv-info { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #a9b9d8; }
.vd-badge-inline, .vd-badge { font-size: 12px; }
.vd-tag {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-size: 12px; color: #c4b5fd; padding: 6px 12px; border-radius: 8px;
  background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(139, 92, 246, 0.4);
}
.up-progress { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.up-progress .up-bar { height: 6px; flex: 1; border-radius: 999px; background: rgba(79, 125, 255, 0.18); position: relative; overflow: hidden; transition: width 0.2s; }
.up-bar { display: block; width: 0; height: 100%; background: var(--grad); border-radius: 999px; }
.up-pct { font-size: 12px; color: #8fb0ff; min-width: 36px; text-align: right; }

/* 我的请求列表 */
.req-list { display: flex; flex-direction: column; gap: 14px; }
.req-item { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; }
.req-item .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.req-item h4 { color: #f0f5ff; font-size: 16px; }
.badge { font-size: 12px; padding: 3px 12px; border-radius: 999px; background: rgba(79, 125, 255, 0.12); color: #8fb0ff; }
.badge.done { background: rgba(95, 214, 149, 0.12); color: #5fd695; }
.req-item p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.req-item .meta { font-size: 12px; color: #64789c; margin-top: 8px; display: flex; gap: 16px; flex-wrap: wrap; }
.req-item .meta a { color: var(--accent-2); }
.empty-tip { text-align: center; color: var(--muted); padding: 40px 0; font-size: 15px; }

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(3, 5, 12, 0.72); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; z-index: 300; padding: 20px;
}
.modal-mask.show { display: flex; }
.modal {
  background: #0c1226; border: 1px solid rgba(140, 165, 220, 0.2); border-radius: 18px; width: 100%; max-width: 420px; padding: 34px;
  position: relative; animation: pop 0.25s ease;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
@keyframes pop { from { transform: scale(0.94) translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.07); color: var(--muted); font-size: 18px; cursor: pointer; line-height: 1;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.modal h3 { text-align: center; color: #f0f5ff; font-size: 22px; }
.modal .sub { text-align: center; color: var(--muted); font-size: 14px; margin: 8px 0 24px; }
.otp-row { display: flex; gap: 10px; }
.otp-row input { flex: 1; }
.wc-divider { display: flex; align-items: center; gap: 14px; color: #5d6d90; font-size: 12px; margin: 22px 0 16px; }
.wc-divider::before, .wc-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.wc-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 10px; padding: 11px; background: rgba(255, 255, 255, 0.04);
  font-size: 15px; font-family: inherit; cursor: pointer; color: var(--ink); transition: border-color 0.2s;
}
.wc-btn:hover { border-color: #22b355; color: #6fe3a1; }
.modal .privacy-tip { text-align: center; font-size: 12px; color: #5d6d90; margin-top: 18px; }

/* 媒体详情弹窗 */
.media-modal .modal { max-width: 720px; max-height: 86vh; overflow-y: auto; text-align: left; }
.media-modal h3 { text-align: left; margin: 10px 0 14px; }
.media-modal .m-cover { width: 100%; border-radius: 12px; margin-bottom: 16px; display: block; }
.media-modal video { width: 100%; border-radius: 12px; margin-bottom: 16px; background: #000; }
.media-modal .m-content { color: var(--ink); font-size: 15px; white-space: pre-wrap; word-break: break-word; }

/* ---------- 关于我们 ---------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 20% -30%, rgba(79, 125, 255, 0.3) 0%, transparent 60%),
    radial-gradient(500px 260px at 85% 130%, rgba(139, 92, 246, 0.18) 0%, transparent 55%),
    var(--navy-deep);
  color: #fff; text-align: center; padding: 84px 0 76px;
  border-bottom: 1px solid rgba(140, 165, 220, 0.08);
}
.page-hero h1 { font-size: clamp(30px, 4.4vw, 46px); }
.page-hero p { color: #a9b9d8; margin-top: 14px; max-width: 640px; margin-left: auto; margin-right: auto; }
.prose { max-width: 800px; margin: 0 auto; color: var(--ink); font-size: 15.5px; }
.prose p { margin-bottom: 18px; }
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--grad-glow); box-shadow: var(--glow); }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: #0a1020; border: 3px solid var(--accent); box-shadow: var(--glow);
}
.tl-item .year { font-weight: 700; color: #8fb0ff; font-size: 15px; }
.tl-item h4 { color: #f0f5ff; margin: 4px 0 6px; font-size: 16px; }
.tl-item p { color: var(--muted); font-size: 14px; }
.value-card { text-align: center; padding: 34px 24px; }
.value-card .big { font-size: 22px; color: #f0f5ff; font-weight: 700; margin: 14px 0 8px; }

/* 联系信息 */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }
.info-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; backdrop-filter: blur(8px); }
.info-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.info-item:last-child { border-bottom: none; }
.info-item .ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(79, 125, 255, 0.12); border: 1px solid rgba(79, 125, 255, 0.3); color: #7ea4ff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-item .ic svg { width: 20px; height: 20px; }
.info-item h5 { font-size: 14px; color: #f0f5ff; }
.info-item p { font-size: 14px; color: var(--muted); }

/* 服务详情页 */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-bottom: 70px; }
.svc-detail:nth-child(even) .svc-visual { order: -1; }
.svc-visual {
  border-radius: 18px; min-height: 260px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s;
}
.svc-visual:hover { transform: scale(1.015); }
.svc-visual svg { width: 72px; height: 72px; opacity: 0.9; }
.svc-visual::before {
  content: ""; position: absolute; inset: 0; opacity: 0.3;
  background-image: linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 40px 40px;
}
.svc-visual::after {
  content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 70%);
  top: -60px; right: -60px; pointer-events: none;
}
.svc-copy h3 { font-size: 24px; color: #f0f5ff; margin-bottom: 14px; }
.svc-copy .tag { display: inline-block; font-size: 13px; color: #8fb0ff; background: rgba(79, 125, 255, 0.1); border: 1px solid rgba(79, 125, 255, 0.3); padding: 4px 14px; border-radius: 999px; margin-bottom: 14px; }
.svc-copy p { color: var(--muted); font-size: 15px; }
.svc-points { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.svc-points span { font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; color: var(--ink); background: rgba(255, 255, 255, 0.04); }

/* 加载骨架 */
.loading { text-align: center; color: var(--muted); padding: 50px 0; }
.spinner {
  width: 34px; height: 34px; margin: 0 auto 14px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--accent); animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px);
  background: #14204a; border: 1px solid rgba(79, 125, 255, 0.4); color: #fff; font-size: 14px; padding: 12px 22px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: all 0.3s; z-index: 400; box-shadow: var(--shadow), var(--glow);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 滚动渐显动效 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--rd, 0s); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::after, .btn-primary::after, .logo-mark, .hero h1 .grad-text { animation: none !important; }
  #fxCanvas { display: none; }
}

/* ---------- 管理后台 ---------- */
.admin-shell { display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: start; }
.admin-side { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: sticky; top: 90px; backdrop-filter: blur(8px); }
.admin-side .side-title { font-size: 12px; letter-spacing: 2px; color: var(--muted); padding: 6px 12px 12px; }
.admin-nav-btn {
  width: 100%; text-align: left; border: none; background: none; font-family: inherit;
  padding: 11px 14px; font-size: 15px; color: var(--ink); border-radius: 10px; cursor: pointer;
  display: flex; align-items: center; gap: 10px; margin-bottom: 4px; transition: background 0.2s, color 0.2s;
}
.admin-nav-btn:hover { background: rgba(255, 255, 255, 0.05); }
.admin-nav-btn.active { background: rgba(79, 125, 255, 0.14); color: #fff; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(79, 125, 255, 0.35); }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-head h2 { font-size: 22px; color: #f0f5ff; }

.admin-table { width: 100%; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(8px); }
.admin-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { text-align: left; padding: 13px 16px; background: rgba(255, 255, 255, 0.05); color: #dfe8f7; font-weight: 600; white-space: nowrap; }
.admin-table td { padding: 13px 16px; border-top: 1px solid var(--line); color: var(--ink); vertical-align: top; }
.admin-table td b { color: #e6edfb; }
.admin-table .sub { font-size: 12px; color: var(--muted); }
.admin-table .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-table select { padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: 13px; background: #0d1428; color: var(--ink); }
.admin-table .row-draft { opacity: 0.62; }

.adm-thumb { width: 64px; height: 42px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); display: block; }
.adm-thumb-video, .adm-thumb-none {
  width: 64px; height: 42px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-size: 15px; border: 1px solid var(--line);
}
.adm-thumb-video { color: #c4b5fd; background: rgba(139, 92, 246, 0.12); border-color: rgba(139, 92, 246, 0.4); }
.adm-thumb-none { color: #4d5c7d; }
.vd-mini { font-size: 11px; color: #c4b5fd; }

.status-pending { color: #ffc46b; background: rgba(255, 196, 107, 0.1); border: 1px solid rgba(255, 196, 107, 0.3); font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.status-done { color: #5fd695; background: rgba(95, 214, 149, 0.1); border: 1px solid rgba(95, 214, 149, 0.3); font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.status-draft { color: #a9b9d8; background: rgba(169, 185, 216, 0.08); border: 1px solid rgba(169, 185, 216, 0.25); font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.act-toggle { color: #22d3ee; }

.link-btn { border: none; background: none; color: #8fb0ff; cursor: pointer; font-family: inherit; font-size: 13px; padding: 0; }
.link-btn.danger { color: #ff8f8f; }
.link-btn:hover { text-decoration: underline; }

.admin-modal .modal { max-width: 640px; max-height: 88vh; overflow-y: auto; }
.admin-modal h3 { margin-bottom: 20px; }

@media (max-width: 860px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; }
  .admin-table { overflow-x: auto; display: block; }
}
/* 案例封面（渐变占位） */
.case-cover {
  height: 110px; border-radius: 10px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 4px;
  position: relative; overflow: hidden;
}
.case-cover::before {
  content: ""; position: absolute; inset: 0; opacity: 0.28;
  background-image: linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 28px 28px;
}
.case-cover-0 { background: linear-gradient(135deg, #2f5be8, #7c5cff); }
.case-cover-1 { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.case-cover-2 { background: linear-gradient(135deg, #6d28d9, #4f7dff); }
.case-cover-3 { background: linear-gradient(135deg, #17255c, #2563eb); }

/* ---------- 响应式 ---------- */
.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px; margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.menu-toggle span {
  display: block; width: 100%; height: 2px; border-radius: 2px;
  background: #dfe8f7; transition: transform 0.25s, opacity 0.2s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 平板及以下 */
@media (max-width: 960px) {
  .grid-4, .grid-3, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid, .svc-detail { grid-template-columns: 1fr; }
  .svc-detail { gap: 28px; margin-bottom: 48px; }
  .svc-detail:nth-child(even) .svc-visual { order: 0; }
  .form-row { grid-template-columns: 1fr; }
  section.block { padding: 64px 0; }
  .block-head { margin-bottom: 36px; }
  .menu-toggle { display: flex; }
  .site-header { background: rgba(6, 10, 22, 0.96); }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 10px 16px 16px;
    background: rgba(6, 10, 22, 0.98); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.5);
  }
  body.nav-open .main-nav { display: flex; }
  .main-nav a { padding: 13px 16px; font-size: 16px; }
  .auth-area { margin-left: 8px; }
  .header-inner { gap: 14px; height: 60px; }
  .logo-text { font-size: 16px; }
}

/* 手机 */
@media (max-width: 560px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero { padding: 64px 0 76px; }
  .hero p.lead { font-size: 15.5px; }
  .hero-actions { margin-top: 28px; gap: 12px; }
  .hero-actions .btn { min-width: 46%; }
  section.block { padding: 52px 0; }
  .page-hero { padding: 60px 0 54px; }
  .cta { padding: 56px 0; }
  .form-card { padding: 24px 18px; }
  .modal { padding: 26px 20px; }
  .news-item { padding: 20px 18px; }
  .req-item { padding: 16px 18px; }
  .footer-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 8px; }
  .footer-bottom > span:last-child { text-align: center; }
  .toast { bottom: 24px; max-width: 88%; text-align: center; }
  .user-name { max-width: 64px; }
  .admin-side {
    position: static; display: flex; gap: 6px; overflow-x: auto; padding: 10px;
    -webkit-overflow-scrolling: touch;
  }
  .admin-side .side-title { display: none; }
  .admin-nav-btn { width: auto; white-space: nowrap; padding: 9px 14px; font-size: 14px; margin-bottom: 0; flex-shrink: 0; }
  .admin-head h2 { font-size: 19px; }
  .admin-modal .modal { max-height: 92vh; }
  .info-card { padding: 20px 16px; }
  .card { padding: 24px 20px; }
  .case-cover { height: 88px; font-size: 17px; letter-spacing: 2px; }
}

/* ============================================================
   v3 差异化升级：Hero 极光 / 跑马灯 / Bento 业务全景 / 交互动效
   ============================================================ */

/* ---------- 滚动进度条 ---------- */
#fxProgress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-glow); z-index: 200; border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px rgba(79, 125, 255, 0.8);
  transition: width 0.08s linear;
}

/* ---------- 自定义光标拖尾 ---------- */
#fxCursor {
  position: fixed; z-index: 300; top: 0; left: 0; width: 34px; height: 34px;
  border: 1.5px solid rgba(79, 125, 255, 0.75); border-radius: 50%;
  pointer-events: none; transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s, opacity 0.3s;
  opacity: 0; mix-blend-mode: screen;
}
#fxCursor::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px;
  border-radius: 50%; background: var(--accent-2);
  transform: translate(-50%, -50%); box-shadow: 0 0 8px var(--accent-2);
}
#fxCursor.on { opacity: 1; }
#fxCursor.hot {
  width: 52px; height: 52px;
  border-color: rgba(34, 211, 238, 0.9);
  background: rgba(34, 211, 238, 0.08);
}
@media (pointer: coarse) { #fxCursor { display: none; } }

/* ---------- Hero：极光 + 网格 ---------- */
.hero { overflow: hidden; padding: 76px 0 60px; }
.hero-aurora { position: absolute; inset: 0; pointer-events: none; filter: blur(70px); opacity: 0.55; }
.aurora-blob { position: absolute; border-radius: 50%; will-change: transform; }
.aurora-blob.b1 { width: 480px; height: 480px; left: -120px; top: -140px;
  background: radial-gradient(circle at 30% 30%, rgba(79,125,255,0.5), transparent 65%);
  animation: auroraFloat 14s ease-in-out infinite; }
.aurora-blob.b2 { width: 420px; height: 420px; right: -100px; top: 40px;
  background: radial-gradient(circle at 60% 40%, rgba(139,92,246,0.42), transparent 65%);
  animation: auroraFloat 17s ease-in-out -4s infinite reverse; }
.aurora-blob.b3 { width: 380px; height: 380px; left: 34%; bottom: -180px;
  background: radial-gradient(circle at 50% 50%, rgba(34,211,238,0.36), transparent 65%);
  animation: auroraFloat 20s ease-in-out -9s infinite; }
@keyframes auroraFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -36px) scale(1.12); }
  66% { transform: translate(-40px, 30px) scale(0.94); }
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(120,150,220,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,150,220,0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 35%, transparent 78%);
}
.hero-inner > * { position: relative; }
.hero h1 {
  font-size: clamp(34px, 5.6vw, 60px); line-height: 1.22; letter-spacing: 1px;
  animation: heroRise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero .lead, .hero .hero-actions { animation: heroRise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero .lead { animation-delay: 0.12s; }
.hero .hero-actions { animation-delay: 0.22s; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 关键词跑马灯 ---------- */
.marquee {
  position: relative; z-index: 1; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(10, 16, 32, 0.6); padding: 13px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: marqueeMove 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 10px; padding: 0 26px;
  font-size: 13.5px; letter-spacing: 2px; color: var(--muted); white-space: nowrap;
}
.marquee-item b { color: var(--accent); font-weight: 600; }
.marquee-item::after { content: '◆'; font-size: 7px; color: rgba(79,125,255,0.5); margin-left: 26px; }
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 区块标题：大数字装饰 ---------- */
.block-head { position: relative; }
.block-head .head-num {
  position: absolute; right: 0; top: -34px;
  font-size: 84px; font-weight: 800; line-height: 1; letter-spacing: 2px;
  background: linear-gradient(180deg, rgba(99,140,255,0.16), rgba(99,140,255,0));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; pointer-events: none;
}
.block-head .kicker::before {
  content: ''; display: inline-block; width: 26px; height: 2px; margin-right: 10px;
  vertical-align: middle; background: var(--grad); border-radius: 2px;
}

/* ---------- Bento 业务全景 ---------- */
.bento {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 132px; gap: 14px;
}
.bento-card {
  position: relative; overflow: hidden; border-radius: 18px;
  padding: 22px; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--bg-card); border: 1px solid var(--line);
  transition: transform 0.35s cubic-bezier(0.2,0.7,0.2,1), border-color 0.3s, box-shadow 0.35s, background 0.3s;
  cursor: pointer; transform-style: preserve-3d; will-change: transform;
}
.bento-card::before {
  content: ''; position: absolute; inset: -60%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(79,125,255,0.14) 60deg, transparent 120deg);
  animation: bentoSpin 6s linear infinite; opacity: 0; transition: opacity 0.4s;
}
@keyframes bentoSpin { to { transform: rotate(360deg); } }
.bento-card::after {
  content: ''; position: absolute; inset: 0; border-radius: 18px;
  background: linear-gradient(120deg, rgba(79,125,255,0.08), transparent 40%);
  opacity: 0; transition: opacity 0.35s;
}
.bento-card:hover { border-color: rgba(79,125,255,0.55); box-shadow: var(--glow); background: var(--bg-card-hover); }
.bento-card:hover::before, .bento-card:hover::after { opacity: 1; }
.bento-card h3 { font-size: 17px; color: var(--ink); margin-bottom: 5px; position: relative; }
.bento-card:hover h3 { color: #a9c2ff; }
.bento-card p { font-size: 12.5px; color: var(--muted); line-height: 1.55; position: relative; }
.b-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 9px; position: relative; }
.b-tags span {
  font-size: 10.5px; padding: 2.5px 9px; border-radius: 20px;
  background: rgba(79,125,255,0.12); border: 1px solid rgba(79,125,255,0.22); color: #9db9ff;
}
.b-big { grid-column: span 2; grid-row: span 2; }
.b-big h3 { font-size: 22px; }
.b-big p { font-size: 13.5px; }
.b-wide { grid-column: span 2; }
.b-mesh {
  position: absolute; right: -30px; bottom: -30px; width: 190px; height: 190px;
  background-image:
    linear-gradient(rgba(79,125,255,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,125,255,0.18) 1px, transparent 1px);
  background-size: 19px 19px; transform: rotate(18deg); opacity: 0.5;
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 128px; }
  .b-big { grid-column: span 2; }
  .b-wide { grid-column: span 2; }
  .block-head .head-num { font-size: 56px; top: -22px; }
}

/* ---------- 按钮：波纹 + 磁吸 ---------- */
.btn { position: relative; overflow: hidden; }
.btn .fx-ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 65%);
  transform: translate(-50%, -50%) scale(0); animation: rippleGrow 0.65s ease-out forwards;
}
.btn-light .fx-ripple {
  background: radial-gradient(circle, rgba(79,125,255,0.4) 0%, rgba(79,125,255,0) 65%);
}
@keyframes rippleGrow { to { transform: translate(-50%, -50%) scale(3.2); opacity: 0; } }

/* ---------- 3D 倾斜卡片 ---------- */
.tilt { transform-style: preserve-3d; transition: transform 0.18s ease-out, opacity 0.7s ease, border-color 0.3s, box-shadow 0.35s, background 0.3s; }
.tilt .tilt-shine {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(560px circle at var(--tx, 50%) var(--ty, 50%), rgba(120,160,255,0.10), transparent 45%);
  opacity: 0; transition: opacity 0.3s;
}
.tilt:hover .tilt-shine { opacity: 1; }

/* ---------- 滚动条美化 ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(79,125,255,0.5), rgba(34,211,238,0.4));
  border-radius: 6px; border: 2px solid var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  .aurora-blob, .marquee-track, .bento-card::before { animation: none !important; }
}

/* ============================================================
   v4 暗黑金属质感 + 留白/移动端修正
   ============================================================ */

/* ---------- 金属质感全局 ---------- */
:root {
  --bg: #0a0b0f;
  --bg-soft: #0e1014;
  --line: rgba(160, 175, 205, 0.13);
  --metal-surface: linear-gradient(168deg, #191c24 0%, #101219 55%, #0b0d12 100%);
  --metal-edge: rgba(255, 255, 255, 0.07);
}
body {
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(52, 82, 180, 0.14) 0%, transparent 55%),
    radial-gradient(900px 500px at 85% 115%, rgba(34, 211, 238, 0.07) 0%, transparent 55%),
    var(--bg);
}
/* 拉丝金属纹理（极低透明度斜纹，不影响性能） */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.014) 0 2px,
    transparent 2px 5px
  );
}

/* 金属面板：暗色渐变 + 上缘高光 + 深投影 */
.card, .bento-card, .news-item, .svc-detail, .value-card, .req-item,
.info-card, .form-card, .modal, .tl-item {
  background: var(--metal-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 var(--metal-edge),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45),
    0 18px 40px rgba(0, 0, 0, 0.42);
}
.card:hover { background: linear-gradient(168deg, #1e222b 0%, #13151c 55%, #0d0f14 100%); }
.block.soft { background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0)) !important; }

/* 导航与页脚金属化 */
.site-header { background: rgba(10, 11, 15, 0.78); }
.site-header.scrolled { background: rgba(8, 9, 13, 0.94); }
.logo-mark {
  background: linear-gradient(160deg, #2c3140 0%, #15171f 100%);
  border: 1px solid rgba(140, 165, 220, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 14px rgba(0, 0, 0, 0.4);
}
.footer { border-top: 1px solid var(--line); }
.footer-bottom { border-top: none; }

/* 按钮：金属拉丝 + 冷光 */
.btn-primary {
  background: linear-gradient(180deg, #41578f 0%, #2b3b68 100%);
  border: 1px solid rgba(125, 155, 225, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 26px rgba(35, 55, 125, 0.4);
}
.btn-primary:hover { background: linear-gradient(180deg, #4c66a5 0%, #33457a 100%); }
.btn-light {
  background: linear-gradient(180deg, #2a3143 0%, #1a1f2c 100%);
  border: 1px solid rgba(150, 175, 235, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #eef3ff;
}
.btn-gold {
  background: linear-gradient(180deg, #b8934e 0%, #8a6b34 100%);
  border: 1px solid rgba(230, 195, 130, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 24px rgba(120, 90, 30, 0.3);
}

/* Hero 金属化：收敛彩色光晕，强调冷峻质感 */
.hero {
  background:
    radial-gradient(1100px 520px at 12% -12%, rgba(45, 75, 170, 0.22) 0%, transparent 60%),
    radial-gradient(900px 480px at 88% 112%, rgba(34, 211, 238, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, #0d0f15 0%, #0a0b0f 100%);
  padding: 88px 0 72px;
}
.hero-tag {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
}
.hero-grid { opacity: 0.38; }

/* 跑马灯金属带 */
.marquee {
  background: linear-gradient(180deg, #12141b 0%, #0b0d11 100%);
  border-color: rgba(255, 255, 255, 0.05);
}

/* Bento 金属卡 */
.bento-card {
  border-color: rgba(255, 255, 255, 0.06);
}
.bento-card:hover {
  border-color: rgba(110, 145, 255, 0.5);
  background: linear-gradient(168deg, #1e222c 0%, #14161e 55%, #0e1016 100%);
}
.b-tags span {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #a9b8d8;
}
.b-mesh { opacity: 0.35; }

/* 窄桌面（861-1180px）：4 列卡片偏窄，正文易换三行，
   固定 132px 行高会把标题顶出卡外，这里单独加高。 */
@media (max-width: 1180px) and (min-width: 861px) {
  .bento { grid-auto-rows: 152px; }
}

/* 案例渐变占位块金属化 */
.case-cover-0 { background: linear-gradient(150deg, #2c3345 0%, #171a22 100%); }
.case-cover-1 { background: linear-gradient(150deg, #24324a 0%, #131720 100%); }
.case-cover-2 { background: linear-gradient(150deg, #2f2a45 0%, #17141f 100%); }
.case-cover-3 { background: linear-gradient(150deg, #1f3a44 0%, #101a20 100%); }

/* ---------- 留白与移动端修正 ---------- */
@media (max-width: 560px) {
  /* 恢复 v3 覆盖掉的紧凑留白 */
  .hero { padding: 56px 0 52px; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 38px); }
  /* Bento：收紧行高与内边距，隐藏装饰网纹与大数字 */
  .bento { grid-auto-rows: minmax(118px, auto); gap: 10px; }
  .bento-card { padding: 15px 14px; border-radius: 14px; }
  .bento-card h3 { font-size: 15px; margin-bottom: 3px; }
  .bento-card p { font-size: 11.5px; line-height: 1.5; }
  .b-big h3 { font-size: 18px; }
  .b-big p { font-size: 12px; }
  .b-tags { margin-top: 6px; gap: 5px; }
  .b-tags span { font-size: 9.5px; padding: 2px 7px; }
  .b-mesh, .block-head .head-num { display: none; }
  .marquee { padding: 10px 0; }
  .marquee-item { padding: 0 16px; font-size: 11.5px; letter-spacing: 1px; }
  .marquee-item::after { margin-left: 16px; }
  /* 区块标题与卡片间距微调 */
  .block-head { margin-bottom: 34px; }
  .bento { margin-top: 2px; }
}
@media (max-width: 860px) and (min-width: 561px) {
  .bento { grid-auto-rows: 132px; gap: 12px; }
  .bento-card { padding: 18px; }
  .block-head .head-num { font-size: 64px; top: -24px; }
}

/* ---------- Bento 板块背景图（置于金属化覆盖之后，避免 hover 渐变冲掉背景） ---------- */
.bento-card[class*="bg-"] {
  --bgimg: none;
  background-image:
    linear-gradient(180deg, rgba(11, 13, 19, 0.5) 0%, rgba(10, 12, 18, 0.86) 58%, rgba(9, 10, 15, 0.96) 100%),
    var(--bgimg);
  background-size: cover; background-position: center;
}
.bento-card[class*="bg-"]:hover {
  background-image:
    linear-gradient(168deg, rgba(36, 43, 60, 0.55) 0%, rgba(14, 16, 24, 0.9) 100%),
    var(--bgimg);
}
.bg-showroom.bg-showroom { --bgimg: url('../images/bento/showroom.jpg'); }
.bg-service.bg-service     { --bgimg: url('../images/bento/service.jpg'); }
.bg-guoxue.bg-guoxue       { --bgimg: url('../images/bento/guoxue.jpg'); }
.bg-comic.bg-comic         { --bgimg: url('../images/bento/comic.jpg'); }
.bg-water.bg-water         { --bgimg: url('../images/bento/water.jpg'); }
.bg-edu.bg-edu             { --bgimg: url('../images/bento/edu.jpg'); }
.bg-gateway.bg-gateway     { --bgimg: url('../images/bento/gateway.jpg'); }
.bg-global.bg-global       { --bgimg: url('../images/bento/global.jpg'); }
/* 背景卡上正文略微提亮，保证可读性 */
.bento-card[class*="bg-"] p { color: rgba(214, 226, 248, 0.82); }
.bento-card[class*="bg-"] .b-tags span { background: rgba(12, 16, 26, 0.55); }
@media (max-width: 560px) {
  .bento-card[class*="bg-"] { background-image:
    linear-gradient(180deg, rgba(11, 13, 19, 0.62) 0%, rgba(10, 12, 18, 0.9) 58%, rgba(9, 10, 15, 0.96) 100%),
    var(--bgimg); }
}

/* ---------- 应用场景卡：背景图 ---------- */
.scene-card { background-size: cover; background-position: center; background-repeat: no-repeat; isolation: isolate; }
.scene-card::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(10,12,18,0.5) 0%, rgba(9,11,16,0.85) 50%, rgba(8,9,14,0.96) 100%);
}
.scene-card > * { position: relative; z-index: 1; }
.scene-card .icon-box { background: rgba(12,16,26,0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.scene-card h3 { text-shadow: 0 2px 12px rgba(0,0,0,0.55); }
.scene-card p { color: rgba(212, 224, 246, 0.82); }

.scene-card.sc-build,
.scene-card.sc-build:hover { background-image: url('../images/scene/build.jpg'); }
.scene-card.sc-media,
.scene-card.sc-media:hover { background-image: url('../images/scene/media.jpg'); }
.scene-card.sc-retail,
.scene-card.sc-retail:hover { background-image: url('../images/scene/retail.jpg'); }
.scene-card.sc-gov,
.scene-card.sc-gov:hover { background-image: url('../images/scene/gov.jpg'); }
.scene-card.sc-industry,
.scene-card.sc-industry:hover { background-image: url('../images/scene/industry.jpg'); }
.scene-card.sc-research,
.scene-card.sc-research:hover { background-image: url('../images/scene/research.jpg'); }

/* ---------- 典型案例封面：背景图 ---------- */
.case-cover[class*="cc-"] { background-size: cover; background-position: center; background-repeat: no-repeat; text-shadow: 0 2px 14px rgba(0,0,0,0.6); }
.case-cover.cc-build { background-image: linear-gradient(180deg, rgba(9,11,17,0.3) 0%, rgba(9,11,17,0.78) 100%), url('../images/scene/build.jpg'); }
.case-cover.cc-energy { background-image: linear-gradient(180deg, rgba(9,11,17,0.3) 0%, rgba(9,11,17,0.78) 100%), url('../images/scene/energy.jpg'); }
.case-cover.cc-retail { background-image: linear-gradient(180deg, rgba(9,11,17,0.3) 0%, rgba(9,11,17,0.78) 100%), url('../images/scene/retail.jpg'); }
.case-cover.cc-research { background-image: linear-gradient(180deg, rgba(9,11,17,0.3) 0%, rgba(9,11,17,0.78) 100%), url('../images/scene/research.jpg'); }
.case-cover.cc-showroom { background-image: linear-gradient(180deg, rgba(9,11,17,0.3) 0%, rgba(9,11,17,0.78) 100%), url('../images/bento/showroom.jpg'); }
.case-cover.cc-service { background-image: linear-gradient(180deg, rgba(9,11,17,0.3) 0%, rgba(9,11,17,0.78) 100%), url('../images/bento/service.jpg'); }
.case-cover.cc-guoxue { background-image: linear-gradient(180deg, rgba(9,11,17,0.3) 0%, rgba(9,11,17,0.78) 100%), url('../images/bento/guoxue.jpg'); }
.case-cover.cc-comic { background-image: linear-gradient(180deg, rgba(9,11,17,0.3) 0%, rgba(9,11,17,0.78) 100%), url('../images/bento/comic.jpg'); }
.case-cover.cc-water { background-image: linear-gradient(180deg, rgba(9,11,17,0.3) 0%, rgba(9,11,17,0.78) 100%), url('../images/bento/water.jpg'); }
.case-cover.cc-gateway { background-image: linear-gradient(180deg, rgba(9,11,17,0.3) 0%, rgba(9,11,17,0.78) 100%), url('../images/bento/gateway.jpg'); }
.case-cover.cc-global { background-image: linear-gradient(180deg, rgba(9,11,17,0.3) 0%, rgba(9,11,17,0.78) 100%), url('../images/bento/global.jpg'); }
.case-cover.cc-edu { background-image: linear-gradient(180deg, rgba(9,11,17,0.3) 0%, rgba(9,11,17,0.78) 100%), url('../images/bento/edu.jpg'); }

/* ---------- 服务展示卡：背景图（复用 scene-card 遮罩体系） ---------- */
.scene-card.sv-aigc,
.scene-card.sv-aigc:hover { background-image: url('../images/svc/aigc.jpg'); }
.scene-card.sv-compute,
.scene-card.sv-compute:hover { background-image: url('../images/svc/compute.jpg'); }
.scene-card.sv-token,
.scene-card.sv-token:hover { background-image: url('../images/svc/token.jpg'); }
.scene-card.sv-infer,
.scene-card.sv-infer:hover { background-image: url('../images/svc/infer.jpg'); }
.scene-card .tag { background: rgba(12, 16, 26, 0.55); }

/* ---------- 数据统计卡：背景图 ---------- */
.stat-card { background-size: cover; background-position: center; background-repeat: no-repeat; isolation: isolate; }
.stat-card::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(9, 11, 16, 0.68) 0%, rgba(8, 10, 15, 0.8) 100%);
}
.stat-card .stat { position: relative; z-index: 1; }
.stat-card.st-sla,
.stat-card.st-sla:hover { background-image: url('../images/stat/sla.jpg'); }
.stat-card.st-speed,
.stat-card.st-speed:hover { background-image: url('../images/stat/speed.jpg'); }
.stat-card.st-scale,
.stat-card.st-scale:hover { background-image: url('../images/stat/scale.jpg'); }
.stat-card.st-support,
.stat-card.st-support:hover { background-image: url('../images/stat/support.jpg'); }

/* ---------- Hero 首屏背景图 ---------- */
.hero {
  background-image:
    linear-gradient(180deg, rgba(10, 12, 17, 0.74) 0%, rgba(9, 11, 16, 0.84) 55%, #090b10 100%),
    url('../images/hero/hero.jpg');
  background-size: cover; background-position: center 32%;
}
.hero-aurora { opacity: 0.3; }

/* ---------- 产品服务页：服务大卡背景图 ---------- */
.svc-visual { background-color: #0b1f3a; }
.svc-visual.svb-aigc,
.svc-visual.svb-aigc:hover { background-image: linear-gradient(180deg, rgba(10,12,18,0.3) 0%, rgba(9,11,16,0.62) 100%), url('../images/svc/aigc.jpg'); }
.svc-visual.svb-compute,
.svc-visual.svb-compute:hover { background-image: linear-gradient(180deg, rgba(10,12,18,0.3) 0%, rgba(9,11,16,0.62) 100%), url('../images/svc/compute.jpg'); }
.svc-visual.svb-token,
.svc-visual.svb-token:hover { background-image: linear-gradient(180deg, rgba(10,12,18,0.3) 0%, rgba(9,11,16,0.62) 100%), url('../images/svc/token.jpg'); }
.svc-visual.svb-infer,
.svc-visual.svb-infer:hover { background-image: linear-gradient(180deg, rgba(10,12,18,0.3) 0%, rgba(9,11,16,0.62) 100%), url('../images/svc/infer.jpg'); }
.svc-visual[class*="svb-"] { background-size: cover; background-position: center; background-repeat: no-repeat; }
.svc-visual[class*="svb-"] svg { position: relative; filter: drop-shadow(0 2px 10px rgba(0,0,0,0.55)); }

/* ---------- 关于我们页：使命/愿景/价值观卡背景图 ---------- */
.value-card.mv-mission,
.value-card.mv-vision,
.value-card.mv-values {
  background-size: cover; background-position: center; background-repeat: no-repeat;
  isolation: isolate; position: relative;
}
.value-card.mv-mission::after,
.value-card.mv-vision::after,
.value-card.mv-values::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(10,12,18,0.66) 0%, rgba(9,11,16,0.85) 100%);
}
.value-card.mv-mission > *, .value-card.mv-vision > *, .value-card.mv-values > * { position: relative; z-index: 1; }
.value-card.mv-mission .big, .value-card.mv-vision .big, .value-card.mv-values .big { text-shadow: 0 2px 12px rgba(0,0,0,0.6); }
.value-card.mv-mission { background-image: url('../images/about/mission.jpg'); }
.value-card.mv-vision { background-image: url('../images/about/vision.jpg'); }
.value-card.mv-values { background-image: url('../images/about/values.jpg'); }
.value-card.mv-mission:hover { background-image: url('../images/about/mission.jpg'); }
.value-card.mv-vision:hover { background-image: url('../images/about/vision.jpg'); }
.value-card.mv-values:hover { background-image: url('../images/about/values.jpg'); }
