﻿/* ========== @property 声明（动画自定义属性） ========== */
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* ========== 变量 ========== */
:root {
    --color-primary: #0077cc;
    --color-primary-dark: #005fa3;
    --color-secondary: #004d80;
    --color-accent: #0066aa;
    --color-dark: #ffffff;
    --color-dark2: #f5f7fb;
    --color-dark3: #edf0f5;
    --color-text: #1a2332;
    --color-text-muted: #4a5568;
    --color-border: rgba(0, 100, 180, 0.12);
    --color-border-hover: rgba(0, 119, 204, 0.35);
    /* [设计标准] 圆角阶梯：6 / 10 / 16 / 胶囊 */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-pill: 999px;
    /* [设计标准] 四级阴影 */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 24px rgba(0, 119, 204, 0.12);
    /* [设计标准] 字号阶梯 */
    --fs-xs: 12px; --fs-sm: 13px; --fs-base: 14px; --fs-md: 16px;
    --fs-lg: 18px; --fs-xl: 22px; --fs-2xl: 30px; --fs-3xl: 36px; --fs-4xl: 44px;
    /* [设计标准] 间距阶梯 */
    --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
    --sp-6: 24px; --sp-8: 32px; --sp-12: 48px; --sp-16: 64px;
    --font: "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--color-dark);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== LOADER 沉浸式球体·故障字风格 ========== */
.ldr {
    position: fixed; inset: 0; z-index: 9999;
    background: #0a0a0c; overflow: hidden;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.ldr.hide { opacity: 0; transform: scale(1.06); pointer-events: none; }

.ldr-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%; z-index: 0;
}

.ldr-stage {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: flex; flex-direction: column;
    align-items: center; text-align: center; gap: 0;
    pointer-events: none;
}

.ldr-preline {
    font-size: clamp(8px, 0.95vw, 10px);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.42em;
    color: rgba(255,255,255,0.18);
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0;
    animation: ldrFadeUp 0.4s ease 0.65s forwards;
}

.ldr-wm {
    position: relative;
    font-size: clamp(80px, 15vw, 175px);
    font-weight: 900;
    font-family: 'Courier New', 'Consolas', monospace;
    letter-spacing: 0.14em;
    color: #ffffff;
    line-height: 1;
    opacity: 0;
    animation: ldrWmIn 0.4s cubic-bezier(0.16,1,0.3,1) 0.5s forwards;
}

.ldr-wm::before,
.ldr-wm::after {
    content: attr(data-text);
    position: absolute; top: 0; left: 0;
    font: inherit; letter-spacing: inherit;
    opacity: 0;
}
.ldr-wm::before {
    color: rgba(91, 142, 201, 0.6);
    animation: ldrGR 0.45s steps(4, end) 0.65s 1, ldrGFade 0.2s ease 1.2s forwards;
}
.ldr-wm::after {
    color: rgba(107, 159, 212, 0.6);
    animation: ldrGC 0.45s steps(4, end) 0.65s 1, ldrGFade 0.2s ease 1.2s forwards;
}

@keyframes ldrWmIn {
    0%   { opacity:0; transform:translateY(-28px) scale(1.07); letter-spacing:0.22em; }
    55%  { opacity:1; transform:translateY(5px) scale(0.985); }
    100% { opacity:1; transform:none; letter-spacing:0.14em; }
}
@keyframes ldrGR {
    0%   { opacity:0;   transform:translateX(0); clip-path:inset(0 0 0 0); }
    12%  { opacity:1;   transform:translateX(-7px); clip-path:inset(0 0 55% 0); }
    28%  { opacity:1;   transform:translateX(8px);  clip-path:inset(30% 0 15% 0); }
    48%  { opacity:1;   transform:translateX(-5px); clip-path:inset(58% 0 0 0); }
    68%  { opacity:0.7; transform:translateX(4px);  clip-path:inset(0 0 72% 0); }
    88%  { opacity:0.3; transform:translateX(-2px); clip-path:inset(40% 0 30% 0); }
    100% { opacity:0;   transform:translateX(0); }
}
@keyframes ldrGC {
    0%   { opacity:0;   transform:translateX(0); clip-path:inset(0 0 0 0); }
    12%  { opacity:1;   transform:translateX(7px);  clip-path:inset(52% 0 0 0); }
    28%  { opacity:1;   transform:translateX(-8px); clip-path:inset(18% 0 28% 0); }
    48%  { opacity:1;   transform:translateX(5px);  clip-path:inset(0 0 60% 0); }
    68%  { opacity:0.7; transform:translateX(-4px); clip-path:inset(55% 0 0 0); }
    88%  { opacity:0.3; transform:translateX(2px);  clip-path:inset(25% 0 45% 0); }
    100% { opacity:0;   transform:translateX(0); }
}
@keyframes ldrGFade { to { opacity:0 !important; } }

.ldr-rule {
    width:0; height:1px;
    background:linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    margin:18px 0 20px;
    transition:width 0.4s cubic-bezier(0.4,0,0.2,1);
}
.ldr-rule.open { width:min(300px, 60vw); }

.ldr-ident {
    opacity:0; transform:translateY(10px);
    transition:opacity 0.3s ease, transform 0.3s ease;
}
.ldr-ident.show { opacity:1; transform:none; }
.ldr-cn-nm {
    font-size:clamp(13px, 1.8vw, 18px); font-weight:600; color:#fff;
    letter-spacing:5px;
    margin-bottom:6px;
}
.ldr-en-nm {
    font-size:clamp(7px, 0.85vw, 9px);
    color:rgba(0,212,255,0.45);
    letter-spacing:2.5px;
    font-family:'Courier New', monospace;
}

.lc {
    position:absolute; width:20px; height:20px; z-index:6;
    border-color:rgba(255,255,255,0.15); border-style:solid; opacity:0;
}
.lc.tl { top:20px; left:20px;   border-width:1px 0 0 1px; animation:lcIn 0.4s ease 0.15s forwards; }
.lc.tr { top:20px; right:20px;  border-width:1px 1px 0 0; animation:lcIn 0.4s ease 0.25s forwards; }
.lc.bl { bottom:20px; left:20px;  border-width:0 0 1px 1px; animation:lcIn 0.4s ease 0.35s forwards; }
.lc.br { bottom:20px; right:20px; border-width:0 1px 1px 0; animation:lcIn 0.4s ease 0.45s forwards; }
@keyframes lcIn { to { opacity:0.4; } }

.ldr-foot {
    position:absolute; bottom:20px; left:0; right:0; z-index:6;
    display:flex; align-items:center; justify-content:center; gap:14px;
    opacity:0; animation:ldrFootIn 0.35s ease 0.2s forwards;
}
.ldr-foot span { font-size:10px; color:rgba(255,255,255,0.28); letter-spacing:0.5px; }
.ldf-sep { color:rgba(0,212,255,0.2) !important; font-size:7px !important; }
@keyframes ldrFootIn { to { opacity:1; } }
@keyframes ldrFadeUp {
    from { opacity:0; transform:translateY(8px); }
    to   { opacity:1; transform:none; }
}

.footer-companies {
    font-size:11px; color:rgba(255,255,255,0.35);
    margin-bottom:4px; letter-spacing:0.5px;
}

/* ========== 导航栏 ========== */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000; padding: 16px 0;
    transition: all 0.3s;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--color-border);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 14px rgba(0,0,0,0.07);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon svg { width: 36px; height: 36px; }
.logo-text { font-size: 20px; font-weight: bold; color: var(--color-primary); letter-spacing: 1px; display: block; }
.logo-sub { font-size: 10px; color: var(--color-text-muted); letter-spacing: 2px; display: block; }

.nav-links { display: flex; list-style: none; gap: 32px; }
.nav-links a {
    color: var(--color-text-muted); text-decoration: none;
    font-size: 14px; letter-spacing: 0.5px; transition: color 0.3s;
}
.nav-links a:hover { color: var(--color-primary); }

.btn-nav {
    padding: 8px 20px;
    background: linear-gradient(135deg, #0088cc, #00d4ff);
    color: #fff;
    text-decoration: none; font-size: 13px; font-weight: 600;
    border-radius: var(--radius); transition: all 0.3s; white-space: nowrap;
}
.btn-nav:hover {
    background: linear-gradient(135deg, #00d4ff, #00aaff);
    box-shadow: 0 4px 16px rgba(74, 125, 189, 0.3);
}

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--color-primary); transition: all 0.3s; }

/* ========== Hero ========== */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, #f0f6ff 0%, #e8f2ff 45%, #f4f9ff 100%);
}

.hero-canvas {
    position: absolute; inset: 0; z-index: 0;
    pointer-events: none;
}

.hero-bg { position: absolute; inset: 0; z-index: 1; }

/* [修复·规范] 删除死代码：.grid-lines / .glow3（对应 DOM 已移除） */

/* 柔和背景光晕，降低强度 */
.hero-glow {
    position: absolute; border-radius: 50%; filter: blur(120px);
    pointer-events: none;
}
.glow1 { width: 500px; height: 500px; background: rgba(74,125,189,0.08); top: -100px; left: -150px; }
.glow2 { width: 350px; height: 350px; background: rgba(58,106,168,0.06); bottom: -50px; right: -80px; }

/* [修复·布局] hero 改为左右分栏：文字列单列纵排，蓝图固定右侧，
   解决原 2 列 grid 导致标题/按钮/搜索框错位到右列的散乱问题 */
.hero-content {
    position: relative; z-index: 3;
    max-width: 1200px; margin: 0 auto; padding: 100px 24px 60px;
    display: flex; align-items: center; gap: 60px;
    width: 100%;
}
.hero-text {
    flex: 1 1 0; min-width: 0;
    display: flex; flex-direction: column; align-items: flex-start;
}

/* 标签 */
.tag-dot {
    display: inline-block; width: 6px; height: 6px;
    background: var(--color-primary); border-radius: 50%;
    margin-right: 8px; vertical-align: middle;
}

.hero-tag {
    display: inline-flex; align-items: center;
    padding: 7px 18px;
    background: rgba(0,212,255,0.08);
    border: 1px solid rgba(0,212,255,0.25);
    border-radius: 20px;
    color: var(--color-primary);
    font-size: 12px; letter-spacing: 1px;
    margin-bottom: 28px;
    animation: fadeUp 0.8s ease 0.2s both;
}

.hero-title {
    display: flex; flex-direction: column;
    gap: 10px; margin-bottom: 24px;
}
.hero-line1 {
    font-size: 38px; font-weight: 300;
    color: #1a2332; letter-spacing: 3px; line-height: 1.3;
    animation: fadeUp 0.8s ease 0.4s both;
}
.hero-line2 {
    font-size: 44px; font-weight: bold; min-height: 60px;
    background: linear-gradient(135deg, #00d4ff 0%, #0088cc 50%, #00aaff 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeUp 0.8s ease 0.6s both;
}

.cursor {
    display: inline-block;
    -webkit-text-fill-color: #00d4ff;
    animation: cursorBlink 0.8s step-end infinite;
    font-weight: 300;
}
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-desc {
    color: var(--color-text-muted); font-size: 15px; line-height: 1.9;
    margin-bottom: 36px;
    animation: fadeUp 0.8s ease 0.8s both;
}
.hero-desc strong { color: var(--color-primary); }

.hero-btns {
    display: flex; gap: 16px; margin-bottom: 48px;
    animation: fadeUp 0.8s ease 1.0s both;
}

.btn-primary {
    display: inline-block; padding: 14px 36px;
    background: linear-gradient(135deg, #0088cc, #00d4ff);
    color: #fff; text-decoration: none;
    font-size: 15px; font-weight: 600; border-radius: var(--radius);
    transition: all 0.3s; position: relative; overflow: hidden;
}
.btn-primary::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, #00d4ff, #00aaff);
    opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(74,125,189,0.35); }
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
    display: inline-block; padding: 14px 36px;
    background: transparent; color: var(--color-primary);
    text-decoration: none; font-size: 15px;
    border: 1px solid rgba(0,212,255,0.3); border-radius: var(--radius);
    transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--color-primary); background: rgba(0,212,255,0.08); transform: translateY(-2px); }

.hero-stats {
    display: flex; align-items: center; gap: 24px;
    animation: fadeUp 0.8s ease 1.2s both;
}
.h-stat { text-align: center; }
.h-num { display: block; font-size: 24px; font-weight: bold; color: var(--color-primary); }
.h-label { font-size: 12px; color: var(--color-text-muted); }
.h-divider { width: 1px; height: 36px; background: var(--color-border); }

/* Hero 右侧蓝图 */
.hero-visual { flex: 0 0 auto; display: flex; justify-content: center; align-items: center; animation: fadeUp 1s ease 0.5s both; }

.blueprint {
    width: 380px; height: 380px;
    background: rgba(10,8,6,0.9);
    border: 1px solid rgba(255,140,0,0.2);
    border-radius: var(--radius); overflow: hidden; position: relative;
    box-shadow: 0 0 40px rgba(255,140,0,0.08), inset 0 0 30px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
}
.blueprint .mech-anim {
    width: 100%; height: 100%;
}
/* [修复·规范] 删除死代码：.blueprint-gif / .blueprint-watermark / .blueprint-corner / .bc-*（DOM 均不存在） */
.blueprint::before {
    display: none;
}

.blueprint svg { width: 100%; height: 100%; }

/* ========== Hero 球阀装配爆炸动画 ========== */
/* 10秒循环: 0-40%爆炸展开 → 40-60%停留浮动 → 60-100%装配合拢 */
.bv-part {
    will-change: transform;
}

/* 装配引导虚线 */
.bv-guides { opacity: 0; animation: bvGuides 10s ease-in-out infinite; }

/* 零件标签 */
.bv-labels text { opacity: 0; animation: bvLabelFade 10s ease-in-out infinite; }

/* --- 各零件爆炸位移 --- */
.bv-lf   { animation: bvLF 10s cubic-bezier(0.4,0,0.2,1) infinite; }
.bv-lg   { animation: bvLG 10s cubic-bezier(0.4,0,0.2,1) infinite; }
.bv-lb   { animation: bvLB 10s cubic-bezier(0.4,0,0.2,1) infinite; }
.bv-ball { animation: bvBall 10s cubic-bezier(0.4,0,0.2,1) infinite; }
.bv-vs   { animation: bvVS 10s cubic-bezier(0.4,0,0.2,1) infinite; }
.bv-rb   { animation: bvRB 10s cubic-bezier(0.4,0,0.2,1) infinite; }
.bv-rg   { animation: bvRG 10s cubic-bezier(0.4,0,0.2,1) infinite; }
.bv-rf   { animation: bvRF 10s cubic-bezier(0.4,0,0.2,1) infinite; }
.bv-stem { animation: bvStem 10s cubic-bezier(0.4,0,0.2,1) infinite; }

/* 引导虚线淡入淡出 */
@keyframes bvGuides {
    0%   { opacity: 0; }
    15%  { opacity: 0; }
    25%  { opacity: 0.6; }
    60%  { opacity: 0.6; }
    75%  { opacity: 0; }
    100% { opacity: 0; }
}

/* 标签跟随爆炸时机 */
@keyframes bvLabelFade {
    0%   { opacity: 0; }
    20%  { opacity: 0; }
    30%  { opacity: 0.7; }
    58%  { opacity: 0.7; }
    72%  { opacity: 0; }
    100% { opacity: 0; }
}

/* 左端盖 - 向左爆炸 (最远) */
@keyframes bvLF {
    0%   { transform: translateX(0); }
    40%  { transform: translateX(-82px); }
    45%  { transform: translate(-82px, -2px); }
    50%  { transform: translate(-82px, 2px); }
    55%  { transform: translate(-82px, -1px); }
    60%  { transform: translateX(-82px); }
    100% { transform: translateX(0); }
}

/* 左垫片 - 向左爆炸 */
@keyframes bvLG {
    0%   { transform: translateX(0); }
    40%  { transform: translateX(-65px); }
    45%  { transform: translate(-65px, -1.5px); }
    50%  { transform: translate(-65px, 1.5px); }
    55%  { transform: translate(-65px, -1px); }
    60%  { transform: translateX(-65px); }
    100% { transform: translateX(0); }
}

/* 阀体左半壳 - 向左爆炸 (较近) */
@keyframes bvLB {
    0%   { transform: translateX(0); }
    40%  { transform: translateX(-42px); }
    45%  { transform: translate(-42px, -2px); }
    50%  { transform: translate(-42px, 2px); }
    55%  { transform: translate(-42px, -1px); }
    60%  { transform: translateX(-42px); }
    100% { transform: translateX(0); }
}

/* 球芯 - 微向下浮动 (核心件不移远) */
@keyframes bvBall {
    0%   { transform: translate(0,0); }
    40%  { transform: translate(0, 8px); }
    45%  { transform: translate(0, 6px); }
    50%  { transform: translate(0, 10px); }
    55%  { transform: translate(0, 7px); }
    60%  { transform: translate(0, 8px); }
    100% { transform: translate(0,0); }
}

/* 阀座密封环 - 向右爆炸 */
@keyframes bvVS {
    0%   { transform: translateX(0); }
    40%  { transform: translateX(35px); }
    45%  { transform: translate(35px, -1.5px); }
    50%  { transform: translate(35px, 1.5px); }
    55%  { transform: translate(35px, -1px); }
    60%  { transform: translateX(35px); }
    100% { transform: translateX(0); }
}

/* 阀体右半壳 - 向右爆炸 */
@keyframes bvRB {
    0%   { transform: translateX(0); }
    40%  { transform: translateX(42px); }
    45%  { transform: translate(42px, -2px); }
    50%  { transform: translate(42px, 2px); }
    55%  { transform: translate(42px, -1px); }
    60%  { transform: translateX(42px); }
    100% { transform: translateX(0); }
}

/* 右垫片 - 向右爆炸 */
@keyframes bvRG {
    0%   { transform: translateX(0); }
    40%  { transform: translateX(65px); }
    45%  { transform: translate(65px, -1.5px); }
    50%  { transform: translate(65px, 1.5px); }
    55%  { transform: translate(65px, -1px); }
    60%  { transform: translateX(65px); }
    100% { transform: translateX(0); }
}

/* 右端盖 - 向右爆炸 (最远) */
@keyframes bvRF {
    0%   { transform: translateX(0); }
    40%  { transform: translateX(82px); }
    45%  { transform: translate(82px, -2px); }
    50%  { transform: translate(82px, 2px); }
    55%  { transform: translate(82px, -1px); }
    60%  { transform: translateX(82px); }
    100% { transform: translateX(0); }
}

/* 阀杆+手柄 - 向上爆炸 */
@keyframes bvStem {
    0%   { transform: translateY(0); }
    40%  { transform: translateY(-62px); }
    45%  { transform: translate(-1.5px, -62px); }
    50%  { transform: translate(1.5px, -62px); }
    55%  { transform: translate(-1px, -62px); }
    60%  { transform: translateY(-62px); }
    100% { transform: translateY(0); }
}

/* 去掉蓝图边框扫描动画 */
.blueprint::after { display: none; }

/* 蓝图四角 - 去掉闪烁 */
.blueprint-corner { opacity: 0.35; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* [修复·间距] 服务区标题与卡片间距收紧（原过大） */
.services .section-header { margin-bottom: 36px; }

/* ========== 设备销售独立区块（与设计服务区分） ========== */
.service-sale {
    margin-top: 20px; padding: 22px 28px;
    background: var(--color-dark3);
    border: 1px dashed var(--color-border-hover);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.ss-left { display: flex; align-items: center; gap: 18px; flex: 1; min-width: 280px; }
.ss-icon { flex-shrink: 0; color: var(--color-primary); }
.ss-icon svg { width: 40px; height: 40px; }
.service-sale h3 { font-size: 17px; margin-bottom: 6px; color: var(--color-text); }
.service-sale p { font-size: 13px; color: var(--color-text-muted); line-height: 1.6; }
.ss-tags { display: flex; gap: 8px; flex-shrink: 0; }
.ss-tags span {
    padding: 4px 12px; background: rgba(0,212,255,0.06);
    border: 1px solid rgba(0,212,255,0.18); border-radius: 4px;
    font-size: 11px; color: var(--color-primary); white-space: nowrap;
}

/* ========== Hero 右侧图纸卡（真实机械模型） ========== */
.bp-inner {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background:
        linear-gradient(rgba(0,212,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.05) 1px, transparent 1px);
    background-size: 22px 22px;
}
.bp-paper {
    width: 84%; background: #fdfdfd; border-radius: 8px;
    padding: 10px 12px 8px;
    transform: rotate(-1.2deg);
    box-shadow: 0 24px 50px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.08);
}
.bp-paper-head {
    display: flex; justify-content: space-between;
    font-size: 8px; letter-spacing: 1.5px; color: #8a94a6;
    font-family: 'Courier New', monospace;
    padding: 0 2px 6px; border-bottom: 1px solid #e4e8ef; margin-bottom: 6px;
}
.bp-paper img { width: 100%; display: block; border-radius: 4px; }
.bp-paper-foot {
    font-size: 10px; color: #6a7383; letter-spacing: 2px;
    text-align: center; padding-top: 7px;
}

/* ========== 通用区块 ========== */
.section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag { display: block; font-size: 11px; color: var(--color-primary); letter-spacing: 4px; margin-bottom: 10px; font-weight: 600; }
.section-title { font-size: 32px; font-weight: 300; letter-spacing: 3px; margin-bottom: 12px; color: var(--color-text); line-height: 1.4; }
.section-sub { color: rgba(26, 35, 50, 0.6); font-size: 14px; }
.section-header.light .section-title { color: #1a2332; }
.section-header.light .section-sub { color: rgba(26, 35, 50, 0.6); }

/* ========== 滚动入场动画 ========== */
.reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== 服务项目 ========== */
.services {
    background: var(--color-dark2);
}
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.service-card {
    padding: 28px 22px;
    background: var(--color-dark2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius); position: relative;
    transition: all 0.35s ease; overflow: hidden;
    min-height: 280px; display: flex; flex-direction: column;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 3px; height: 0;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
    transition: height 0.4s;
}
.service-card::after { display: none; }
.service-card:hover::before { height: 100%; }
.service-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,212,255,0.1);
}

.service-num {
    font-size: 44px; font-weight: 900; color: rgba(0,212,255,0.08);
    position: absolute; top: 10px; right: 12px;
    font-family: 'Arial', sans-serif; line-height: 1;
    transition: color 0.4s;
}
.service-card:hover .service-num { color: rgba(0,212,255,0.14); }

.service-icon { width: 44px; height: 44px; color: var(--color-primary); margin-bottom: 16px; }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 16px; font-weight: 500; margin-bottom: 10px; letter-spacing: 0.5px; }
.service-card p { font-size: 13px; color: rgba(26, 35, 50, 0.7); line-height: 1.7; margin-bottom: 14px; flex: 1; }
.service-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.service-tags span {
    padding: 3px 8px; margin: 4px 0;
    background: rgba(0,212,255,0.06); border: 1px solid rgba(0,212,255,0.18);
    border-radius: 4px; font-size: 11px; color: var(--color-primary);
}

/* ========== 流程 ========== */
.process { background: var(--color-dark); }
.process-steps { display: flex; align-items: center; justify-content: center; gap: 10px; }
.step {
    flex: 1; max-width: 172px; text-align: center;
    padding: 28px 12px;
    background: var(--color-dark3); border: 1px solid var(--color-border);
    border-radius: var(--radius); position: relative; transition: all 0.3s;
}
.step:hover { border-color: var(--color-border-hover); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.step-num {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #0088cc, #00d4ff);
    color: #fff; font-size: 12px; font-weight: bold;
    padding: 3px 10px; border-radius: 10px;
}
.step-icon { margin-bottom: 12px; }
.step-icon svg { width: 34px; height: 34px; stroke: var(--color-primary); }
.step h4 { font-size: 15px; margin-bottom: 8px; }
.step p { font-size: 12px; color: var(--color-text-muted); line-height: 1.6; }
.step-arrow {
    font-size: 20px; color: var(--color-primary); opacity: 0.3; flex-shrink: 0;
    transition: transform 0.3s;
}
.step:hover + .step-arrow {
    animation: arrowPulse 0.6s ease-in-out;
}
@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* ========== 案例展示 ========== */
.cases { background: var(--color-dark); }
/* [修复·规范] 案例区标题间距移入 CSS（原 HTML inline style）；栅格间距统一 24px */
.cases .section-header { margin-bottom: 28px; }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* [修复·视觉] 卡片统一 10px 圆角 + 细边框；hover 上浮 4px 加阴影（不缩放，避免图片发糊） */
.case-card {
    display: flex;
    flex-direction: column;
    background: var(--color-dark2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    min-height: 360px;
}
.case-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.35);
    box-shadow: var(--shadow-hover);
}
.case-img {
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    /* [修复·视觉] 纯白底改为柔和渐变，减少生硬割裂感 */
    background: linear-gradient(180deg, #ffffff 0%, #eef2f6 100%);
    transition: filter 0.4s;
}
.case-img > * { width: 100%; height: auto; display: block; object-fit: contain; }
/* 去掉案例卡片斜线纹理 */
.case-img::after { display: none; }

/* [修复·规范] 删除死代码：.case-visual（模板从未生成该结构） */
.case-info { padding: 20px; position: relative; display: flex; flex-direction: column; flex: 1; }
.case-info::after {
    content: '\2192';
    position: absolute;
    right: 20px;
    bottom: 20px;
    color: var(--color-primary);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
    font-size: 18px;
}
.case-card:hover .case-info::after {
    opacity: 1;
    transform: translateX(0);
}

/* [修复·视觉] 大锤收窄：只保证图片本体不被滤镜叠加，不再封杀卡片 hover 动效 */
.case-img > * {
    filter: none !important;
    -webkit-filter: none !important;
}
.case-type {
    display: inline-block; padding: 3px 10px;
    background: rgba(0,212,255,0.06); border: 1px solid rgba(0,212,255,0.2);
    border-radius: 4px; font-size: 11px; color: var(--color-primary); margin-bottom: 10px;
}
.case-info h4 { font-size: 16px; margin-bottom: 8px; transition: color 0.3s; }
.case-card:hover .case-info h4 { color: var(--color-primary); }
.case-info p { font-size: 13px; color: rgba(26, 35, 50, 0.7); line-height: 1.6; margin-bottom: 12px; }
/* 案例卡片CTA按钮 */
.case-cta {
    display: inline-block;
    margin-top: auto;
    align-self: flex-start;
    padding: 6px 14px;
    background: rgba(0,212,255,0.08);
    border: 1px solid rgba(0,212,255,0.25);
    border-radius: 6px;
    font-size: 12px;
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}
.case-cta:hover {
    background: rgba(0,212,255,0.15);
    border-color: rgba(0,100,180,0.5);
    color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,119,204,0.15);
}

/* ========== 案例筛选区 ========== */
/* 案例搜索栏（独立大搜索框） */
/* [修复·视觉] 配色统一入青蓝体系（原紫色与全站冲突），按钮改主色渐变白字 */
.case-search-bar {
    display: flex;
    align-items: center;
    max-width: 560px;
    margin-bottom: 16px;
    padding: 14px 20px;
    background: var(--color-dark2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    position: relative;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.case-search-bar:focus-within {
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-glow);
}
.case-search-bar-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-right: 12px;
}
.case-search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    color: #1a2332;
    font-size: 15px;
    outline: none;
    font-family: var(--font);
}
.case-search-bar input::placeholder {
    color: var(--color-text-muted);
    font-size: 14px;
}
.case-search-bar-btn {
    flex-shrink: 0;
    padding: 8px 22px;
    background: linear-gradient(135deg, #0088cc, #00d4ff);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font);
    letter-spacing: 1px;
}
.case-search-bar-btn:hover {
    background: linear-gradient(135deg, #00d4ff, #00aaff);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 170, 255, 0.3);
}

.cases-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}
/* 去掉筛选区顶部高光线 */
.cases-filter::before { display: none; }

/* [修复·规范] 删除死代码：.cf-search-*（首页筛选区已隐藏，搜索在案例库站完成） */

/* 筛选按钮组 */
.cf-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.cf-tag {
    padding: 9px 22px;
    background: transparent;
    border: 1px solid rgba(0, 100, 180, 0.18);
    border-radius: 20px;
    color: var(--color-text-muted);
    font-size: 13px;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.cf-tag::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(74,125,189,0.06));
    opacity: 0;
    transition: opacity 0.25s;
}
.cf-tag:hover {
    border-color: rgba(0,212,255,0.3);
    color: var(--color-text);
    transform: translateY(-1px);
}
.cf-tag:hover::before { opacity: 1; }
.cf-tag.active {
    background: linear-gradient(135deg, rgba(74,125,189,0.15), rgba(0,212,255,0.1));
    border-color: rgba(0,212,255,0.4);
    color: var(--color-primary);
}
.cf-tag.active::before { opacity: 1; }

/* 占位卡片样式 */
.case-placeholder {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.cp-icon {
    width: 56px;
    height: 56px;
    opacity: 0.6;
}
.cp-label {
    font-size: 11px;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    opacity: 0.5;
}

/* 卡片过滤动画 */
/* [修复·规范] 合并重复的 .case-card transition 定义（原 L647 与 L930 各一份） */
.case-card.cf-hidden {
    opacity: 0;
    transform: scale(0.96) translateY(6px);
    pointer-events: none;
}
.case-card.cf-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* 空状态 */
.cases-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 56px 24px;
    color: var(--color-text-muted);
    text-align: center;
}
.cases-empty.show { display: flex; }
.cases-empty svg { width: 52px; height: 52px; margin-bottom: 4px; opacity: 0.4; }
.cases-empty p { font-size: 16px; color: var(--color-text-muted); margin: 0; }
.cases-empty span { font-size: 13px; color: rgba(138,143,154,0.6); }

/* ========== 案例封面图 / 多图标记 ========== */
.case-card { cursor: pointer; }
.case-photo {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.case-card:hover .case-photo { transform: scale(1.06); }
/* [修复·规范] 删除死代码：.case-badge（模板未使用） */

/* ========== 分页码 ========== */
.cases-pagination {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 8px; margin-top: 40px;
}
.cases-pagination:empty { display: none; }
.pg-btn {
    min-width: 38px; height: 38px; padding: 0 10px;
    background: var(--color-dark2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text-muted);
    font-size: 14px; font-family: var(--font);
    cursor: pointer; transition: all 0.25s;
}
.pg-btn:hover:not(:disabled):not(.active) {
    border-color: var(--color-border-hover);
    color: var(--color-text);
}
.pg-btn.active {
    background: linear-gradient(135deg, rgba(74,125,189,0.2), rgba(0,212,255,0.15));
    border-color: rgba(0,212,255,0.4);
    color: var(--color-primary);
}
.pg-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ========== 案例库入口横幅 ========== */
.case-lib-entry {
    margin-top: 44px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
    padding: 28px 36px;
    background: linear-gradient(135deg, rgba(74,125,189,0.14), rgba(0,212,255,0.08));
    border: 1px solid rgba(0,212,255,0.28);
    border-radius: var(--radius);
    position: relative; overflow: hidden;
}
.case-lib-entry::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 4px; background: linear-gradient(180deg, #4a7dbd, #00d4ff);
}
.cle-title { font-size: 22px; font-weight: 700; color: var(--color-text); margin-bottom: 6px; }
.cle-sub { font-size: 14px; color: var(--color-text-muted); }
.cle-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; flex-shrink: 0;
    background: linear-gradient(135deg, #4a7dbd, #00d4ff);
    color: #fff; font-size: 16px; font-weight: 600;
    border-radius: var(--radius); text-decoration: none;
    transition: all 0.25s; box-shadow: 0 4px 18px rgba(0,212,255,0.25);
}
.cle-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(0,212,255,0.4); }
.cle-btn span { transition: transform 0.25s; }
.cle-btn:hover span { transform: translateX(4px); }
@media (max-width: 640px) {
    .case-lib-entry { padding: 22px 20px; flex-direction: column; align-items: flex-start; }
    .cle-title { font-size: 18px; }
    .cle-btn { width: 100%; justify-content: center; }
}

/* ========== 案例详情弹窗 ========== */
.case-modal {
    position: fixed; inset: 0; z-index: 2000;
    display: none; align-items: center; justify-content: center;
    padding: 24px;
}
.case-modal.open { display: flex; animation: cmFade 0.25s ease; }
.cm-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.78);
    backdrop-filter: blur(4px);
}
.cm-dialog {
    position: relative; z-index: 1;
    width: 100%; max-width: 1100px;
    max-height: 92vh; overflow-y: auto;
    background: var(--color-dark2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    animation: cmPop 0.3s cubic-bezier(0.16,1,0.3,1);
}
@keyframes cmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cmPop { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: none; } }
.cm-close {
    position: absolute; top: 12px; right: 12px; z-index: 3;
    width: 36px; height: 36px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: #fff; font-size: 22px; line-height: 1;
    cursor: pointer; transition: all 0.25s;
}
.cm-close:hover { background: rgba(0,212,255,0.2); border-color: var(--color-primary); }
.cm-gallery {
    position: relative;
    background: var(--color-dark);
    border-bottom: 1px solid var(--color-border);
}
.cm-stage {
    height: 560px; max-height: 65vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.cm-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cm-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: #fff; font-size: 18px;
    cursor: pointer; transition: all 0.25s;
}
.cm-arrow:hover { background: rgba(0,212,255,0.25); border-color: var(--color-primary); }
.cm-prev { left: 16px; }
.cm-next { right: 16px; }
.cm-counter {
    position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
    padding: 4px 12px;
    background: rgba(0,0,0,0.55);
    border-radius: 12px;
    font-size: 12px; color: #fff;
}
.cm-thumbs {
    display: flex; gap: 8px; flex-wrap: wrap;
    padding: 14px 20px 0;
}
.cm-thumb {
    width: 84px; height: 62px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer; opacity: 0.6;
    transition: all 0.25s;
}
.cm-thumb:hover { opacity: 1; }
.cm-thumb.active { border-color: var(--color-primary); opacity: 1; }
.cm-info { padding: 22px 30px 30px; }
.cm-info .case-type { margin-bottom: 12px; }
.cm-info h3 { font-size: 22px; margin-bottom: 12px; color: var(--color-text); }
.cm-info p { font-size: 15px; color: var(--color-text-muted); line-height: 1.9; }

@media (max-width: 640px) {
    .cm-stage { height: 340px; max-height: 50vh; }
    .cm-arrow { width: 36px; height: 36px; font-size: 15px; }
    .cm-thumb { width: 64px; height: 48px; }
    .cm-info { padding: 16px 18px 22px; }
}

/* ========== 关于我们 ========== */
.about { background: var(--color-dark2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about-card {
    padding: 32px; background: var(--color-dark3);
    border: 1px solid var(--color-border); border-radius: var(--radius); margin-bottom: 20px;
}
.about-card h3 { font-size: 18px; color: var(--color-primary); margin-bottom: 16px; font-weight: 500; }
.about-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.8; margin-bottom: 12px; }
.about-card p strong { color: var(--color-primary); }
.about-badges { display: flex; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--color-border); }
.badge { text-align: center; flex: 1; }
.badge-num { display: block; font-size: 22px; font-weight: bold; color: var(--color-primary); }
.badge-label { font-size: 11px; color: var(--color-text-muted); }

.software-list { padding: 24px; background: var(--color-dark3); border: 1px solid var(--color-border); border-radius: var(--radius); }
.software-list h4 { font-size: 14px; color: var(--color-text-muted); margin-bottom: 14px; }
.sw-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sw-tags span {
    padding: 6px 14px;
    background: rgba(0,212,255,0.06); border: 1px solid rgba(0,212,255,0.18);
    border-radius: 4px; font-size: 13px; color: var(--color-accent);
    transition: all 0.3s;
}
.sw-tags span:hover { background: rgba(0,212,255,0.12); border-color: rgba(0,212,255,0.3); }

.about-features { display: flex; flex-direction: column; gap: 16px; }
.feature-item {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 18px 20px; background: var(--color-dark3);
    border: 1px solid var(--color-border); border-radius: var(--radius);
    transition: all 0.3s;
}
.feature-item:hover { border-color: var(--color-border-hover); transform: translateX(4px); }
.feature-icon { flex-shrink: 0; margin-top: 2px; }
.feature-icon svg { width: 22px; height: 22px; stroke: var(--color-primary); }
.feature-item h4 { font-size: 15px; margin-bottom: 4px; }
.feature-item p { font-size: 13px; color: var(--color-text-muted); }

/* ========== 联系我们 ========== */
.contact { background: var(--color-dark); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-bottom: 24px; max-width: 800px; margin-left: auto; margin-right: auto; }
.contact-card {
    padding: 36px 28px; text-align: center;
    background: var(--color-dark2); border: 1px solid var(--color-border);
    border-radius: var(--radius); text-decoration: none; color: var(--color-text);
    transition: all 0.3s; min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.contact-card:hover { border-color: var(--color-border-hover); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.contact-card.primary { border-color: rgba(0,212,255,0.18); }
.contact-card-icon { margin-bottom: 16px; display: block; }
.contact-card-icon svg { width: 40px; height: 40px; stroke: var(--color-primary); }
.contact-card h3 { font-size: 18px; margin-bottom: 10px; }
.contact-card p { font-size: 13px; color: rgba(26, 35, 50, 0.7); margin-bottom: 12px; line-height: 1.6; }
.contact-btn {
    display: inline-block; padding: 10px 24px;
    background: linear-gradient(135deg, #0088cc, #00d4ff);
    color: #fff; font-size: 13px; font-weight: 600; border-radius: var(--radius);
}
/* [修复·规范] 删除死代码：.contact-tag（HTML 中不存在） */
.contact-notice {
    text-align: center; padding: 16px;
    background: rgba(0,212,255,0.04); border: 1px solid var(--color-border);
    border-radius: var(--radius);
}
.contact-notice p { font-size: 13px; color: var(--color-text-muted); }

/* ========== 页脚 ========== */
.footer {
    background: linear-gradient(180deg, #4a4d55 0%, #141518 100%);
    border-top: 1px solid var(--color-border);
    padding: 40px 0 24px;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}
.footer-info .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-logo-icon { display: flex; align-items: center; flex-shrink: 0; }
.footer-logo-text {
    font-size: 17px;
    font-weight: 600;
    color: #e8ecf1;
    letter-spacing: 1px;
}
.footer-desc {
    color: #9aa3ad;
    font-size: 13px;
    line-height: 1.8;
    max-width: 300px;
}
.footer-nav h4 {
    color: var(--color-primary);
    font-size: 14px;
    margin-bottom: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
}
.footer-nav ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 14px 36px; }
.footer-nav li { margin-bottom: 0; }
.footer-nav a {
    color: #9aa3ad;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-flex;
    white-space: nowrap;
    align-items: center;
    gap: 6px;
}
.footer-nav a::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-border);
    transition: background 0.3s;
    flex-shrink: 0;
}
.footer-nav a:hover { color: var(--color-primary); }
.footer-nav a:hover::before { background: var(--color-primary); }
.footer-qrcodes {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.qr-item img {
    width: 150px;
    height: 150px;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    object-fit: cover;
    object-position: center 20%;
    background: #fff;
    padding: 5px;
    transition: border-color 0.3s, box-shadow 0.3s;
    display: block;
}
.qr-item img:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(74,125,189,0.2);
}
.qr-item span {
    font-size: 12px;
    color: #9aa3ad;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.footer-bottom { text-align: center; }
/* [修复·视觉] 页脚版权行对比度提升（0.18→0.45），公司名 0.2→0.35 */
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.8; }

/* ========== 通用动画 ========== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== 星球推荐横幅 ========== */
.star-banner {
    padding: 28px 0;
    background: linear-gradient(135deg, rgba(255,140,0,0.08), rgba(255,106,0,0.04));
    border-top: 1px solid rgba(255,140,0,0.2);
    border-bottom: 1px solid rgba(255,140,0,0.2);
}
/* [修复·规范] 横幅布局移入 CSS（原 HTML inline flex） */
.star-banner .container {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
}
.star-banner-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,140,0,0.15);
    border: 1px solid rgba(255,140,0,0.3);
    border-radius: 4px;
    color: #ffaa00;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.star-banner-text p {
    color: rgba(26, 35, 50, 0.8);
    font-size: 15px;
    margin: 0;
}
.star-banner-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #ff8c00, #ff6a00);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
    white-space: nowrap;
}
.star-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,140,0,0.3);
}
/* [修复·规范] 去掉 !important，用高优先级选择器覆盖 .nav-links a */
.nav-links a.nav-star {
    color: rgba(26, 35, 50, 0.7);
}

/* ========== 右侧浮动工具栏 ========== */
.float-toolbar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(20, 25, 40, 0.92);
    border-radius: 12px 0 0 12px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.35), 0 0 1px rgba(0,212,255,0.2);
    padding: 6px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-right: none;
    transition: opacity 0.3s;
    overflow: visible;
}
.ft-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 56px;
    padding: 10px 0;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.25s ease;
    position: relative;
    cursor: pointer;
}
.ft-btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: color 0.25s, transform 0.25s;
}
.ft-btn span {
    font-size: 11px;
    margin-top: 4px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: color 0.25s;
}
.ft-btn:hover {
    color: #ff8c00;
    background: rgba(255, 140, 0, 0.08);
}
.ft-btn:hover svg {
    transform: scale(1.12);
    color: #ff8c00;
}
.ft-btn:hover span {
    color: #ff8c00;
}
/* 赚钱弹窗 */
.ft-popup {
    display: none;
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(145deg, rgba(20,22,40,0.97), rgba(10,12,25,0.98));
    border: 1px solid rgba(140,120,255,0.25);
    border-radius: 16px;
    padding: 20px 24px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 20px rgba(140,120,255,0.08);
    white-space: nowrap;
    z-index: 10000;
    animation: ftPopIn 0.2s ease;
}
.ft-popup img {
    border-radius: 12px;
    border: 2px solid rgba(140,120,255,0.2);
    box-shadow: 0 4px 16px rgba(140,120,255,0.1);
}
.ft-popup p {
    margin: 10px 0 0;
    font-size: 13px;
    color: rgba(200,190,255,0.8);
    font-weight: 500;
    letter-spacing: 0.5px;
}
@keyframes ftPopIn {
    from { opacity: 0; transform: translateY(-50%) translateX(8px); }
    to { opacity: 1; transform: translateY(-50%) translateX(0); }
}
.ft-earn:hover .ft-popup,
.ft-earn.active .ft-popup {
    display: block;
}
.ft-kefu.active .ft-popup {
    display: block;
}
/* [修复·规范] 去掉 !important，用高优先级选择器覆盖 .ft-popup 基础样式 */
.float-toolbar .ft-popup.ft-kefu-popup {
    background: #fff;
    border: none;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.1);
    min-width: 280px;
    overflow: hidden;
}
.kefu-header {
    background: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
}
.kefu-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.kefu-header-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
}
/* [修复·规范] 删除死代码：.kefu-header-sub（弹窗中不存在该元素） */
.kefu-close {
    color: #999;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.kefu-close:hover {
    opacity: 1;
    color: #333;
}
.kefu-body {
    padding: 18px 16px 12px;
}
.kefu-bubble {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}
.kefu-bubble-avatar {
    width: 36px;
    height: 36px;
    background: #eef6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.kefu-bubble-text {
    background: #f5f6f7;
    border-radius: 0 12px 12px 12px;
    padding: 12px 14px;
    font-size: 13px;
    color: #333;
    line-height: 1.6;
    text-align: center;
}
.kefu-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
}
.kefu-dot {
    width: 8px;
    height: 8px;
    background: #4a9eff;
    border-radius: 50%;
    display: inline-block;
    animation: kefuPulse 1.5s infinite;
}
@keyframes kefuPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.kefu-footer {
    padding: 0 16px 16px;
    text-align: center;
}
.kefu-btn-green {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 0;
    background: linear-gradient(135deg, #4a9eff, #2d7ad6);
    color: #fff;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(74,158,255,0.35);
    transition: all 0.3s;
}
.kefu-btn-green:hover {
    background: linear-gradient(135deg, #6bb3ff, #4a9eff);
    box-shadow: 0 6px 20px rgba(74,158,255,0.45);
    transform: translateY(-1px);
}
.kefu-footer-tip {
    font-size: 11px;
    color: #999;
    margin-top: 8px;
}
/* [修复·规范] 删除死代码：.kefu-card / .kefu-avatar / .kefu-title / .kefu-msg / .ft-kefu-link（弹窗实际用 .kefu-bubble 结构） */
/* 顶部按钮分隔线 */
.ft-top {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 2px;
    padding-top: 12px;
}
/* 移动端缩小贴右显示 - 可收起模式 */
@media (max-width: 768px) {
    .float-toolbar {
        top: auto;
        bottom: 80px;
        transform: none;
        right: 0;
        border-radius: 10px 0 0 10px;
        padding: 4px 0;
        box-shadow: -2px 0 16px rgba(0,0,0,0.4);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    /* 收起状态：只显示一个小圆按钮 */
    .float-toolbar.collapsed {
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
    }
    .ft-btn {
        width: 44px;
        padding: 7px 0;
    }
    .ft-btn svg {
        width: 18px;
        height: 18px;
    }
    .ft-btn span {
        font-size: 9px;
        margin-top: 2px;
        letter-spacing: 0;
    }
    .ft-popup {
        right: 56px;
        min-width: 240px;
        max-width: 80vw;
        padding: 14px;
    }
    .ft-divider {
        width: 28px;
    }
}
/* 移动端工具栏收起/展开切换按钮 */
.ft-mobile-toggle {
    display: none;
    position: fixed;
    right: 12px;
    bottom: 80px;
    z-index: 1001;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10,22,40,0.9);
    border: 1px solid rgba(0,212,255,0.25);
    color: var(--color-primary);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}
.ft-mobile-toggle:hover {
    background: rgba(0,212,255,0.15);
    border-color: rgba(0,212,255,0.5);
}
.ft-mobile-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
.ft-mobile-toggle.open svg {
    transform: rotate(180deg);
}
/* 工具栏展开时，切换按钮向左偏移 */
.ft-mobile-toggle.open {
    right: 60px;
}
@media (max-width: 768px) {
    .ft-mobile-toggle {
        display: flex;
    }
}

/* ========== 响应式 ========== */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== Hero搜索入口 ========== */
.hero-search-entry {
    margin-top: 30px;
    position: relative;
    width: 100%;
}
.hero-search-entry::before { display: none; }
.hero-search-entry::after { display: none; }

.hero-search-box {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    background: var(--color-dark2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 14px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: clip;
    z-index: 1;
}
.hero-search-box:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}
.hero-search-icon {
    color: var(--color-primary);
    margin-right: 12px;
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
    padding: 6px;
    box-sizing: content-box;
    border-radius: 50%;
    background: rgba(0,212,255,0.08);
}
#heroSearchInput {
    background: transparent;
    border: none;
    color: var(--color-text);
    font-size: 15px;
    flex: 1;
    cursor: text;
    outline: none;
    font-family: var(--font);
    letter-spacing: 0.3px;
}
#heroSearchInput::placeholder {
    color: var(--color-text-muted);
    opacity: 0.6;
}
/* [修复·视觉] 三个搜索按钮统一为主色渐变白字（原黑字青底与案例区按钮风格不一） */
.hero-search-btn {
    flex-shrink: 0;
    padding: 8px 20px;
    background: linear-gradient(135deg, #0088cc, #00d4ff);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font);
}
.hero-search-btn:hover {
    background: linear-gradient(135deg, #00d4ff, #00aaff);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 170, 255, 0.25);
}
/* 服务区案例搜索栏 */
.svc-search-wrap {
    display: flex;
    align-items: center;
    max-width: 480px;
    margin: 0 0 30px 0;
    background: var(--color-dark2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 10px 16px;
    transition: border-color 0.3s;
}
.svc-search-wrap:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 12px rgba(0,212,255,0.15);
}
.svc-search-icon {
    width: 18px; height: 18px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-right: 10px;
}
.svc-search {
    flex: 1;
    background: transparent;
    border: none;
    color: #1a2332;
    font-size: 14px;
    outline: none;
    font-family: var(--font);
}
.svc-search::placeholder {
    color: rgba(0, 100, 180, 0.4);
}
.svc-search-btn {
    flex-shrink: 0;
    padding: 7px 18px;
    background: linear-gradient(135deg, #0088cc, #00d4ff);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font);
}
.svc-search-btn:hover {
    background: linear-gradient(135deg, #00d4ff, #00aaff);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 170, 255, 0.25);
}
.hero-search-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 12px;
    color: var(--color-text-muted);
    padding-left: 24px;
    letter-spacing: 1px;
    opacity: 0.6;
}
.hero-search-hint::before {
    content: '';
    display: inline-block;
    width: 12px; height: 1px;
    background: rgba(0, 100, 180, 0.15);
    flex-shrink: 0;
}
.hero-search-hint::after {
    content: '';
    display: inline-block;
    width: 12px; height: 1px;
    background: rgba(0, 100, 180, 0.15);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    /* [修复·布局] hero 平板竖排堆叠；导航收紧间距防拥挤（769-900px 区间） */
    .hero-content { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 120px; }
    .hero-visual { display: none; }
    .nav-links { gap: 18px; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .process-steps { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
}
@media (max-width: 768px) {
    .section { padding: 40px 0; }
    .case-card { min-height: 280px; }
    .service-card { padding: 20px 16px; }
    .hamburger { display: flex; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: rgba(255,255,255,0.98); flex-direction: column;
        padding: 20px 24px; gap: 16px; border-bottom: 1px solid var(--color-border);
    }
    .nav-links.active { display: flex; }
    .btn-nav { display: none; }
    .hero-line1 { font-size: 26px; }
    .hero-line2 { font-size: 28px; }
    .hero-stats { flex-wrap: wrap; }
    .services-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .cases-filter { flex-direction: column; align-items: stretch; gap: 12px; }
    .cf-search-wrap { max-width: 100%; }
    .cf-tags { justify-content: flex-start; }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-info .footer-logo { justify-content: center; }
    .footer-desc { max-width: none; }
    .footer-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
    .footer-nav li { margin-bottom: 0; }
    .footer-qrcodes { justify-content: center; }
    .hero-search-box { max-width: 100%; }
}
