﻿/* ========================================
   华科集成 - 微电网智慧能源官网 v2
   全面视觉升级版
   ======================================== */

:root {
    --bg: #0a0e1a;
    --bg2: #111827;
    --card: rgba(255,255,255,.03);
    --border: rgba(255,255,255,.06);
    --glass: rgba(255,255,255,.04);
    --glass-border: rgba(255,255,255,.08);
    --glass-hover: rgba(255,255,255,.07);
    --text: #f0f0f5;
    --text2: #8a8fa0;
    --text3: #5a5f72;

    --accent: #00d4ff;
    --accent2: #8b5cf6;
    --accent3: #06f9a0;
    --grad: linear-gradient(135deg, #00d4ff 0%, #0066ff 50%, #8b5cf6 100%);
    --grad-green: linear-gradient(135deg, #06f9a0 0%, #00b4d8 100%);
    --grad-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;

    --glow-cyan: 0 0 40px rgba(0,212,255,.15);
    --glow-purple: 0 0 40px rgba(139,92,246,.15);
    --glow-green: 0 0 40px rgba(6,249,160,.15);
}

* { margin:0; padding:0; box-sizing:border-box; }
html, body { height:100%; overflow:hidden; background:var(--bg); }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ---- 整页切换容器 ---- */
.page-wrap {
    height: 100vh;
    overflow: hidden;
}
.full-page {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fp-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* ---- 页面切换滑动过渡 ---- */
.page-wrap.transitioning {
    position: relative;
}
.page-wrap.transitioning .full-page {
    position: absolute !important;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    z-index: 1;
}
.page-wrap.transitioning .full-page.exit-forward,
.page-wrap.transitioning .full-page.enter-forward,
.page-wrap.transitioning .full-page.exit-backward,
.page-wrap.transitioning .full-page.enter-backward {
    display: flex !important;
}
.page-wrap.transitioning .full-page.exit-forward {
    animation: slideOutLeft 0.45s cubic-bezier(.4,0,.2,1) forwards;
    z-index: 2;
}
.page-wrap.transitioning .full-page.enter-forward {
    animation: slideInRight 0.45s cubic-bezier(.4,0,.2,1) forwards;
}
.page-wrap.transitioning .full-page.exit-backward {
    animation: slideOutRight 0.45s cubic-bezier(.4,0,.2,1) forwards;
    z-index: 2;
}
.page-wrap.transitioning .full-page.enter-backward {
    animation: slideInLeft 0.45s cubic-bezier(.4,0,.2,1) forwards;
}

@keyframes slideOutLeft {
    to { transform: translateX(-100%); opacity: .7; }
}
@keyframes slideOutRight {
    to { transform: translateX(100%); opacity: .7; }
}
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: .2; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: .2; }
    to { transform: translateX(0); opacity: 1; }
}

.fp-inner-contact {
    padding-bottom: 20px;
}

/* ---- 背景装饰 ---- */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.bg-grid {
    position: absolute;
    inset: 0;
    background-color: transparent;
    background-image:
        linear-gradient(rgba(0,212,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,.05) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* 能量流线 */
.energy-flow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.ef-line {
    position: absolute;
    left: -40%;
    border-radius: 50%;
    filter: blur(70px);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    opacity: 0;
}

.ef-line-1 {
    width: 50vw; height: 180px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,212,255,.22) 35%, rgba(0,212,255,.35) 65%, transparent 100%);
    top: 18%;
    animation-name: ef-float-1;
    animation-duration: 20s;
    animation-delay: 0s;
}

.ef-line-2 {
    width: 45vw; height: 160px;
    background: linear-gradient(135deg, transparent 0%, rgba(139,92,246,.18) 35%, rgba(139,92,246,.30) 65%, transparent 100%);
    top: 55%;
    animation-name: ef-float-2;
    animation-duration: 24s;
    animation-delay: -7s;
}

.ef-line-3 {
    width: 55vw; height: 150px;
    background: linear-gradient(90deg, transparent 0%, rgba(6,249,160,.15) 35%, rgba(6,249,160,.25) 65%, transparent 100%);
    top: 78%;
    animation-name: ef-float-3;
    animation-duration: 28s;
    animation-delay: -14s;
}

@keyframes ef-float-1 {
    0%   { left: -35%; top: 18%; opacity: 0; }
    10%  { opacity: .5; }
    25%  { left: 10%;  top: 22%; }
    50%  { left: 45%;  top: 15%; opacity: .5; }
    75%  { left: 80%;  top: 20%; }
    90%  { opacity: .5; }
    100% { left: 125%; top: 17%; opacity: 0; }
}

@keyframes ef-float-2 {
    0%   { left: -30%; top: 55%; opacity: 0; }
    12%  { opacity: .45; }
    30%  { left: 15%;  top: 50%; }
    55%  { left: 50%;  top: 58%; opacity: .45; }
    80%  { left: 85%;  top: 53%; }
    92%  { opacity: .45; }
    100% { left: 130%; top: 56%; opacity: 0; }
}

@keyframes ef-float-3 {
    0%   { left: -40%; top: 78%; opacity: 0; }
    8%   { opacity: .4; }
    28%  { left: 5%;   top: 82%; }
    52%  { left: 40%;  top: 75%; opacity: .4; }
    78%  { left: 75%;  top: 80%; }
    95%  { opacity: .4; }
    100% { left: 120%; top: 77%; opacity: 0; }
}

.bg-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .25;
    pointer-events: none;
    z-index: 0;
    animation: glow-breathe 6s ease-in-out infinite;
}

@keyframes glow-breathe {
    0%, 100% { opacity: .20; transform: scale(1); }
    50%        { opacity: .40; transform: scale(1.15); }
}

.bg-glow-cyan { background: var(--accent); top: -150px; right: -100px; }
.bg-glow-purple { background: var(--accent2); bottom: -200px; left: -100px; }
.bg-glow-green { background: var(--accent3); bottom: -100px; right: 30%; }

/* ---- 动画基础 ---- */
.fade-up, .fade-left, .fade-right, .fade-scale {
    opacity: 0;
    transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.fade-up    { transform: translateY(40px); }
.fade-left  { transform: translateX(-40px); }
.fade-right { transform: translateX(40px); }
.fade-scale { transform: scale(.92); }
.fade-up.visible, .fade-left.visible, .fade-right.visible, .fade-scale.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* ---- 导航 ---- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 16px 0;
    background: transparent;
    transition: all .4s cubic-bezier(.16,1,.3,1);
}
.nav.scrolled {
    background: rgba(10,14,26,.88);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border-bottom: 1px solid rgba(0,212,255,.08);
    padding: 10px 0;
}
.nav-inner {
    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: 10px; text-decoration: none; color: var(--text); }
.logo-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--grad);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff;
    box-shadow: 0 4px 16px rgba(0,102,255,.3);
}
.logo-text { font-size: 20px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.menu { display: flex; gap: 32px; list-style: none; }
.menu a {
    color: var(--text2); text-decoration: none; font-size: 14px; font-weight: 500;
    transition: color .3s; position: relative; padding: 4px 0;
}
.menu a::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
    background: var(--grad); border-radius: 2px; transition: width .3s;
}
.menu a:hover { color: var(--text); }
.menu a:hover::after { width: 100%; }
.menu a.active { color: var(--accent); }
.menu a.active::after { width: 100%; background: var(--accent); }

.nav-btn {
    background: var(--grad); color: #fff; padding: 10px 28px; border-radius: 50px;
    text-decoration: none; font-size: 14px; font-weight: 600;
    transition: transform .3s, box-shadow .3s;
    box-shadow: 0 4px 20px rgba(0,102,255,.25);
}
.nav-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,212,255,.35); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: all .3s; border-radius: 2px; }

/* ---- Hero ---- */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    height: 100%;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .2; filter: saturate(.7); }
.hero-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(0,212,255,.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(139,92,246,.12) 0%, transparent 50%),
        linear-gradient(180deg, rgba(10,14,26,.1) 0%, rgba(10,14,26,.5) 40%, var(--bg) 100%);
    pointer-events: none;
    z-index: 1;
}

/* 左侧文字区 */
.hero-text { display: flex; flex-direction: column; justify-content: center; }
.hero-text .tag { margin-bottom: 20px; align-self: flex-start; }
.hero-text h1 {
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -.5px;
}
.hero-desc {
    font-size: 16px;
    color: var(--text2);
    line-height: 1.8;
    margin-bottom: 32px;
}
.hero-actions {
    display: flex;
    gap: 14px;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--grad); color: #fff; padding: 14px 36px; border-radius: 50px;
    text-decoration: none; font-size: 15px; font-weight: 600; border: none; cursor: pointer;
    transition: transform .3s, box-shadow .3s;
    box-shadow: 0 4px 24px rgba(0,102,255,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,212,255,.4); }
.btn-outline {
    background: transparent; color: var(--text); padding: 14px 36px; border-radius: 50px;
    text-decoration: none; font-size: 15px; font-weight: 600;
    border: 1px solid rgba(255,255,255,.15); transition: all .3s;
    backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); }

/* 右侧统计卡片 */
.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.hero-stat {
    text-align: center;
    padding: 28px 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    transition: all .4s cubic-bezier(.16,1,.3,1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    animation: stat-float 6s ease-in-out infinite;
}
.hero-stat:nth-child(1) { animation-delay: 0s; }
.hero-stat:nth-child(2) { animation-delay: 1.2s; }
.hero-stat:nth-child(3) { animation-delay: 2.4s; }
.hero-stat:nth-child(4) { animation-delay: 3.6s; }
.hero-stat::before {
    content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 2px;
    background: var(--grad); opacity: .4; transition: opacity .4s;
}
.hero-stat:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(0,212,255,.25);
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,.3), 0 0 40px rgba(0,212,255,.08);
}
.hero-stat:hover::before { opacity: 1; left: 10%; right: 10%; }

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

.stat-num {
    font-size: 38px; font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    display: inline;
    animation: num-pulse 4s ease-in-out infinite;
}
.stat-unit { font-size: 15px; font-weight: 700; color: var(--text2); display: inline; }
.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text3);
    margin-top: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes num-pulse {
    0%, 100% { filter: brightness(1); }
    50%        { filter: brightness(1.3); }
}

@keyframes dot-blink { 0%,100% { opacity:1; } 50% { opacity:.3; } }

/* ---- 通用板块 ---- */
.section-head { text-align: center; margin-bottom: 52px; }
.tag {
    display: inline-block; background: rgba(0,212,255,.06); border: 1px solid rgba(0,212,255,.15);
    color: var(--accent); padding: 6px 18px; border-radius: 50px; font-size: 12px; font-weight: 600;
    letter-spacing: 1px; margin-bottom: 18px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.5px; }
.grad { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ---- 三大业务卡片 ---- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius);
    padding: 32px;
    overflow: hidden;
    transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s, border-color .5s;
    position: relative;
    display: flex;
    flex-direction: column;
}
.card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,212,255,.02) 100%);
    opacity: 0; transition: opacity .5s; pointer-events: none; z-index: 1;
}
.card:hover {
    transform: translateY(-8px);
    border-color: rgba(0,212,255,.15);
    box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 40px rgba(0,212,255,.06);
}
.card:hover::before { opacity: 1; }
.card-img { width: 100%; height: 240px; overflow: hidden; position: relative; }
.card-img::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10,14,26,.6) 100%);
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.card:hover .card-img img { transform: scale(1.08); }
.card-body { padding: 32px; position: relative; z-index: 2; }
.card-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.card-icon-box {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; font-size: 26px;
    flex-shrink: 0;
}
.card:nth-child(1) .card-icon-box { background: rgba(0,212,255,.1); }
.card:nth-child(2) .card-icon-box { background: rgba(6,249,160,.1); }
.card:nth-child(3) .card-icon-box { background: rgba(139,92,246,.1); }
.card:hover .card-icon-box {
    transform: scale(1.12);
    box-shadow: 0 0 20px rgba(0,212,255,.15);
}
.card:nth-child(1):hover .card-icon-box { background: rgba(0,212,255,.18); }
.card:nth-child(2):hover .card-icon-box { background: rgba(6,249,160,.18); }
.card:nth-child(3):hover .card-icon-box { background: rgba(139,92,246,.18); }
.card-icon-box { transition: transform .4s cubic-bezier(.16,1,.3,1), background .4s, box-shadow .4s; }
.card-header-text h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.card-sub { font-size: 13px; color: var(--text2); letter-spacing: .5px; font-weight: 500; }
.card-body > p { font-size: 14px; color: var(--text2); line-height: 1.9; margin-bottom: 20px; }
.card > p { font-size: 14px; color: var(--text2); line-height: 1.9; margin-bottom: 16px; flex: 1; }

/* 业务卡片特性列表 */
.card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
}
.card-features li {
    font-size: 13px;
    color: var(--text2);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(255,255,255,.02);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.04);
    transition: all .3s;
}
.card-features li::before {
    content: '\2713';
    color: var(--accent3);
    font-weight: 700;
    font-size: 11px;
}
.card:nth-child(1):hover .card-features li { border-color: rgba(0,212,255,.1); }
.card:nth-child(2):hover .card-features li { border-color: rgba(6,249,160,.1); }
.card:nth-child(3):hover .card-features li { border-color: rgba(139,92,246,.1); }

.card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.card-tags span {
    background: rgba(255,255,255,.06); color: rgba(255,255,255,.55);
    padding: 6px 14px; border-radius: 50px; font-size: 12px; font-weight: 500;
    border: 1px solid rgba(255,255,255,.1);
    transition: all .3s;
}
.card-tags span:hover { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.2); }

/* ---- 能源OS 板块 ---- */
.platform-layout { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: stretch; }
.platform-text { display: flex; flex-direction: column; justify-content: center; }
.platform-text .desc { font-size: 14px; color: var(--text2); margin: 12px 0 24px; line-height: 1.8; }
.feature-list { display: flex; flex-direction: column; gap: 14px; position: relative; }
/* 左侧连接线 */
.feature-list::before {
    content: ''; position: absolute;
    left: 23px; top: 46px; bottom: 46px; width: 1px;
    background: linear-gradient(180deg, rgba(0,212,255,.25) 0%, rgba(139,92,246,.25) 100%);
    z-index: 0;
}
.feature-item {
    display: flex; gap: 16px; align-items: flex-start; padding: 20px;
    background: rgba(255,255,255,.015); border: 1px solid rgba(255,255,255,.04); border-radius: var(--radius-sm);
    transition: all .4s cubic-bezier(.16,1,.3,1);
    position: relative; z-index: 1;
}
.feature-item:hover {
    border-color: rgba(0,212,255,.12);
    background: rgba(0,212,255,.02);
    transform: translateX(4px);
}
.fi-icon {
    width: 46px; height: 46px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
    background: rgba(0,212,255,.06);
    transition: background .4s;
}
.feature-item:hover .fi-icon { background: rgba(0,212,255,.12); }
.feature-item:nth-child(2) .fi-icon { background: rgba(6,249,160,.06); }
.feature-item:nth-child(2):hover .fi-icon { background: rgba(6,249,160,.12); }
.feature-item:nth-child(3) .fi-icon { background: rgba(245,158,11,.06); }
.feature-item:nth-child(3):hover .fi-icon { background: rgba(245,158,11,.12); }
.feature-item:nth-child(4) .fi-icon { background: rgba(139,92,246,.06); }
.feature-item:nth-child(4):hover .fi-icon { background: rgba(139,92,246,.12); }
.feature-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.feature-item p { font-size: 12.5px; color: var(--text2); line-height: 1.7; }

.platform-visual { display: flex; align-items: stretch; justify-content: center; position: relative; }
/* 3D 场景容器 */
.dt-scene {
    width:100%; border-radius:16px; overflow:hidden;
    border:1px solid rgba(0,212,255,.10);
    box-shadow:0 24px 80px rgba(0,0,0,.5),0 0 60px rgba(0,212,255,.04);
    position:relative; background:#0a1a32;
}
#dtCanvas3d { width:100%!important; height:100%!important; display:block; }

/* ---- 仪表盘面板 ---- */
.dash-preview {
    width:100%; border-radius:16px; overflow:hidden; display:flex; flex-direction:column;
    border:1px solid rgba(0,212,255,.10);
    box-shadow:0 24px 80px rgba(0,0,0,.5),0 0 60px rgba(0,212,255,.04);
    background:linear-gradient(180deg,rgba(17,24,39,.94),rgba(10,14,26,.97));
}
.dash-bar {
    display:flex; align-items:center; gap:8px; padding:10px 16px;
    font-size:12px; font-weight:600; color:var(--text);
    border-bottom:1px solid rgba(255,255,255,.04); letter-spacing:.5px;
    position:relative; overflow:hidden;
}
.dash-bar::before {
    content:""; position:absolute; top:0; left:0; right:0; height:2px;
    background:linear-gradient(90deg,transparent,#00d4ff,#06f9a0,#00d4ff,transparent);
    animation:dash-scan 3s linear infinite;
}
@keyframes dash-scan { 0%{transform:translateX(-100%)} 100%{transform:translateX(100%)} }
.dash-bar-dot,.dash-dot { width:7px;height:7px;border-radius:50%;background:#06f9a0;flex-shrink:0;box-shadow:0 0 8px rgba(6,249,160,.5);animation:dot-blink 2s ease-in-out infinite; }
.dash-bar-title { flex:1; }
.dash-bar-time { font-size:11px; color:#00d4ff; font-family:Consolas,monospace; }
.dash-main { display:grid;grid-template-columns:180px 1fr 180px;gap:6px;padding:6px;flex:1;min-height:0; }
.dm-left, .dm-right { display:flex;flex-direction:column;gap:5px;overflow-y:auto; }
.dm-left { border-right:1px solid rgba(255,255,255,.04);padding-right:6px; }
.dm-right { border-left:1px solid rgba(255,255,255,.04);padding-left:6px; }
.dm-title { font-size:11px;font-weight:600;color:#00d4ff;padding-bottom:4px;border-bottom:1px solid rgba(0,212,255,.10);display:flex;align-items:center;gap:5px; }
.dm-title::before { content:"";width:3px;height:11px;background:#00d4ff;border-radius:2px;display:inline-block; }
.dm-card { background:rgba(0,212,255,.04);border:1px solid rgba(0,212,255,.08);border-radius:8px;padding:7px 10px;display:flex;justify-content:space-between;align-items:center; }
.dm-label { font-size:9px;color:var(--text3); }
.dm-val { font-size:16px;font-weight:700;font-family:Consolas,monospace; }
.dm-val small { font-size:9px;font-weight:400;opacity:.6; }
.dm-trend { font-size:9px; }
.dm-trend.up { color:#06f9a0; }
.dm-ico,.dm-icon { width:28px;height:28px;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:14px;flex-shrink:0; }
.dm-tags { display:flex;gap:4px;flex-wrap:wrap;margin-top:2px; }
.dm-tag { display:inline-flex;align-items:center;gap:3px;padding:2px 7px;border-radius:50px;font-size:9px;font-weight:500;background:rgba(6,249,160,.10);color:#06f9a0; }
.t-dot { width:4px;height:4px;border-radius:50%;background:#06f9a0;animation:dot-blink 2s ease-in-out infinite; }
.dm-alerts { display:flex;flex-direction:column;gap:3px; }
.dm-alert { display:flex;align-items:center;gap:5px;padding:3px 6px;border-radius:4px;font-size:9px;background:rgba(255,255,255,.02); }
.dm-alert.info { border-left:2px solid #00d4ff; }
.dm-alert.warn { border-left:2px solid #f59e0b; }
.a-dot { width:4px;height:4px;border-radius:50%;flex-shrink:0; }
.a-dot.i { background:#00d4ff; }
.a-dot.w { background:#f59e0b; }
.dm-profit { display:flex;justify-content:space-between;font-size:10px;padding:2px 0; }
.dm-profit span:first-child { color:var(--text3); }
.dm-total { display:flex;justify-content:space-between;font-size:11px;font-weight:600;border-top:1px solid rgba(255,255,255,.06);padding-top:4px;margin-top:2px; }
.dm-total span:last-child { color:#06f9a0; }
.dm-status { display:flex;align-items:center;gap:6px;padding:6px 10px;margin-top:auto;background:rgba(6,249,160,.04);border:1px solid rgba(6,249,160,.08);border-radius:8px;font-size:9px;color:var(--text2); }
.s-dot { width:5px;height:5px;border-radius:50%;background:#06f9a0;animation:dot-blink 2s ease-in-out infinite;flex-shrink:0; }
.s-right { margin-left:auto;background:rgba(0,212,255,.08);padding:1px 8px;border-radius:50px;color:#00d4ff;font-weight:600; }
/* 3D 场景列 */
.dm-scene { position:relative; border-radius:10px; overflow:hidden; background:#0a1a32; min-height:0; }
.scene-frame { width:100%; height:100%; border:none; display:block; }

/* ---- 案例 ---- */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 48px; }
.case-card {
    position: relative; border-radius: var(--radius); overflow: hidden; height: 480px; cursor: pointer;
    border: 1px solid rgba(255,255,255,.04);
    transition: all .5s cubic-bezier(.16,1,.3,1);
}
.case-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,212,255,.15);
    box-shadow: 0 16px 48px rgba(0,0,0,.4), 0 0 30px rgba(0,212,255,.05);
}
/* 渐变背景替代图片 */
.case-bg {
    position: absolute; inset: 0;
    overflow: hidden;
}
.case-bg-glow {
    position: absolute; inset: 0;
    transition: transform .6s cubic-bezier(.16,1,.3,1), opacity .6s;
}
.case-card:hover .case-bg-glow:first-child { transform: scale(1.15); opacity: .7; }
.case-card:hover .case-bg-glow:last-child { transform: scale(1.1); opacity: .5; }
.case-bg-svg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.case-card:hover .case-bg-svg { transform: scale(1.05); }
.case-mask {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(10,14,26,.92) 100%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 36px;
    transition: all .4s; z-index: 2;
}
.case-card:hover .case-mask { background: linear-gradient(180deg, transparent 5%, rgba(10,14,26,.96) 100%); }
.case-tag {
    display: inline-block;
    font-size: 11px; font-weight: 600; letter-spacing: 1px;
    padding: 3px 10px; border-radius: 20px;
    background: rgba(0,212,255,.12); color: #00d4ff;
    margin-bottom: 8px; align-self: flex-start;
    border: 1px solid rgba(0,212,255,.15);
}
.case-card:nth-child(2) .case-tag { background: rgba(139,92,246,.12); color: #8855ff; border-color: rgba(139,92,246,.15); }
.case-mask h3 { font-size: 24px; font-weight: 700; margin-bottom: 14px; }
.case-mask ul { list-style: none; margin-bottom: 20px; }
.case-mask li {
    font-size: 14px; color: var(--text2); line-height: 2.2;
    display: flex; align-items: center; gap: 8px;
    transition: transform .3s, color .3s;
}
.case-card:hover .case-mask li { color: var(--text1); }
.case-card:hover .case-mask li:nth-child(1) { transform: translateX(4px); }
.case-card:hover .case-mask li:nth-child(2) { transform: translateX(8px); }
.case-card:hover .case-mask li:nth-child(3) { transform: translateX(12px); }
.case-card:hover .case-mask li:nth-child(4) { transform: translateX(16px); }
.case-mask li::before {
    content: ''; width: 4px; height: 4px; border-radius: 50%;
    background: var(--accent); flex-shrink: 0;
}
.case-link {
    font-size: 13px; font-weight: 600; color: var(--accent);
    opacity: 0; transform: translateY(8px);
    transition: all .4s cubic-bezier(.16,1,.3,1);
    display: inline-block;
}
.case-card:hover .case-link { opacity: 1; transform: translateY(0); }

.case-tags { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.case-tags span {
    background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); padding: 14px 28px;
    border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; transition: all .3s;
}
.case-tags span:hover { border-color: rgba(0,212,255,.2); background: rgba(0,212,255,.04); color: var(--accent); }

/* ---- 联系我们 ---- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

.contact-info { display: flex; flex-direction: column; gap: 20px; padding-top: 24px; }
.ci-item {
    display: flex; gap: 18px; align-items: flex-start;
    padding: 24px; border-radius: var(--radius-sm);
    background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.04);
    transition: all .3s;
}
.ci-item:hover { border-color: rgba(0,212,255,.1); background: rgba(0,212,255,.02); }
.ci-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
    background: rgba(0,212,255,.06);
}
.ci-label { font-size: 12px; color: var(--text3); margin-bottom: 4px; }
.ci-value { font-size: 16px; font-weight: 600; }

/* 右侧品牌信息卡 */
.contact-card {
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 20px;
    padding: 40px 36px;
    backdrop-filter: blur(12px);
    transition: all .5s cubic-bezier(.16,1,.3,1);
}
.contact-card:hover {
    border-color: rgba(0,212,255,.2);
    box-shadow: 0 24px 48px rgba(0,0,0,.3), 0 0 40px rgba(0,212,255,.05);
    transform: translateY(-4px);
}
.cc-header {
    display: flex; flex-direction: column; align-items: center;
    padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.06);
    margin-bottom: 28px;
}
.cc-icon { font-size: 40px; margin-bottom: 8px; }
.cc-title { font-size: 24px; font-weight: 700; letter-spacing: 4px; background: linear-gradient(135deg, #e0f2fe, #00d4ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cc-sub { font-size: 12px; color: var(--text3); letter-spacing: 2px; margin-top: 4px; }
.cc-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}
.cc-stat {
    text-align: center;
    padding: 16px 12px;
    background: rgba(255,255,255,.03);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.04);
    transition: all .3s;
}
.cc-stat:hover { background: rgba(0,212,255,.04); border-color: rgba(0,212,255,.1); }
.cc-num { font-size: 28px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.2; }
.cc-unit { font-size: 12px; color: var(--text2); margin-left: 2px; }
.cc-label { display: block; font-size: 11px; color: var(--text3); margin-top: 4px; letter-spacing: 1px; }
.cc-promise {
    text-align: center;
    padding: 16px 10px;
    background: rgba(255,255,255,.03);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.04);
    transition: all .3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.cc-promise:hover {
    background: rgba(0,212,255,.06);
    border-color: rgba(0,212,255,.15);
    transform: translateY(-2px);
}
.ccp-icon { font-size: 26px; line-height: 1; margin-bottom: 2px; }
.ccp-title { font-size: 13px; font-weight: 700; color: var(--text1); letter-spacing: 1px; }
.ccp-desc { font-size: 10px; color: var(--text3); line-height: 1.5; max-width: 140px; }

/* ---- 全局固定页脚 ---- */
.footer-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 999;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
    background: rgba(5, 14, 28, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0,212,255,.12);
}
.fb-brand { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.fb-logo { font-size: 16px; }
.fb-name { font-size: 13px; font-weight: 600; color: var(--text1); letter-spacing: 1px; }
.fb-copy { font-size: 12px; color: var(--text3); white-space: nowrap; }
.fb-copy a { color: var(--text3); text-decoration: none; transition: color .3s; }
.fb-copy a:hover { color: var(--accent); }

/* 给所有页面底部留出空间，不被固定页脚遮挡 */
.full-page {
    padding-bottom: 40px;
}
.cc-footer { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.06); }
.cc-service { font-size: 14px; color: var(--accent); letter-spacing: 2px; font-weight: 600; }
.cc-time { font-size: 12px; color: var(--text3); margin-top: 6px; letter-spacing: 1px; }

/* ---- Footer内嵌 ---- */
.footer-inline { margin-top: auto; padding-top: 20px; }
.footer-bottom {
    padding-top: 20px; border-top: 1px solid rgba(255,255,255,.06);
    display: flex; justify-content: space-between; font-size: 13px; color: var(--text2);
}
.footer-bottom a { color: var(--text3); text-decoration: none; transition: color .3s; }
.footer-bottom a:hover { color: var(--accent); }

/* ---- 翻页指示器 ---- */
.page-dots {
    position: fixed; right: 28px; top: 50%; transform: translateY(-50%);
    z-index: 99; display: flex; flex-direction: column; gap: 14px;
}
.page-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,.1); border: none; cursor: pointer;
    transition: all .4s; padding: 0;
}
.page-dot.active {
    background: var(--accent);
    box-shadow: 0 0 12px rgba(0,212,255,.4);
    height: 24px; border-radius: 4px;
}
.page-dot:hover { background: rgba(255,255,255,.25); }

/* ---- 加载动画 ---- */
.loader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .6s, visibility .6s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-ring {
    width: 48px; height: 48px; border-radius: 50%;
    border: 3px solid rgba(255,255,255,.06);
    border-top-color: var(--accent);
    animation: loader-spin .8s linear infinite;
}
@keyframes loader-spin { to { transform: rotate(360deg); } }

/* ---- 品牌启动屏 Splash ---- */
.splash {
    position: fixed; inset: 0; z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0e1a;
    transition: opacity .8s ease, visibility .8s ease;
}
.splash.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.splash-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(0,212,255,.08) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 70%, rgba(139,92,246,.06) 0%, transparent 50%);
}
.splash-inner {
    position: relative; z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: splash-in 1.2s cubic-bezier(.16,1,.3,1) forwards;
    opacity: 0;
    transform: scale(.85);
}
@keyframes splash-in {
    0% { opacity: 0; transform: scale(.85); }
    100% { opacity: 1; transform: scale(1); }
}
.splash-ring-outer {
    position: absolute;
    top: 50%; left: 50%;
    width: 460px; height: 460px;
    margin: -230px 0 0 -230px;
    border-radius: 50%;
    border: 1px solid rgba(0,212,255,.12);
    animation: splash-ring-expand 4s ease-out infinite;
}
.splash-ring-inner {
    position: absolute;
    top: 50%; left: 50%;
    width: 320px; height: 320px;
    margin: -160px 0 0 -160px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #00d4ff;
    border-right-color: #00ff88;
    animation: splash-ring-spin 3s linear infinite;
}
.splash-rings {
    position: absolute;
    top: 50%; left: 50%;
    width: 500px; height: 500px;
    margin: -250px 0 0 -250px;
    z-index: 1;
}
@keyframes splash-ring-expand {
    0% { transform: scale(.7); opacity: .4; }
    50% { transform: scale(1.3); opacity: .1; }
    100% { transform: scale(.7); opacity: .4; }
}
@keyframes splash-ring-spin {
    to { transform: rotate(360deg); }
}
.splash-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 3;
}
.splash-icon {
    font-size: 56px;
    filter: drop-shadow(0 0 24px rgba(0,212,255,.35));
    animation: splash-icon-float 3s ease-in-out infinite;
}
@keyframes splash-icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.splash-title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 8px;
    background: linear-gradient(135deg, #e0f2fe, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.splash-sub {
    margin-top: 24px;
    font-size: 20px;
    color: #64748b;
    letter-spacing: 4px;
    animation: splash-fade-in 1.5s ease .6s forwards;
    opacity: 0;
}
.splash-sub-sub {
    margin-top: 10px;
    font-size: 14px;
    color: #475569;
    letter-spacing: 4px;
    animation: splash-fade-in 1.5s ease .9s forwards;
    opacity: 0;
}
@keyframes splash-fade-in {
    to { opacity: 1; }
}
.splash-dots {
    display: flex;
    gap: 8px;
    margin-top: 32px;
}
.splash-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #00d4ff;
    animation: splash-dot-pulse 1.4s ease-in-out infinite;
}
.splash-dots span:nth-child(1) { animation-delay: 0s; opacity: .3; }
.splash-dots span:nth-child(2) { animation-delay: .3s; opacity: .6; }
.splash-dots span:nth-child(3) { animation-delay: .6s; opacity: 1; }
@keyframes splash-dot-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.4); }
}
.splash-hint {
    margin-top: 16px;
    font-size: 11px;
    color: #334155;
    letter-spacing: 2px;
    animation: splash-fade-in 1.5s ease 1.5s forwards;
    opacity: 0;
}
.splash-particles {
    position: absolute; inset: 0; z-index: 1;
    overflow: hidden;
    pointer-events: none;
}
.splash-particles span {
    position: absolute;
    width: 2px; height: 2px;
    background: #00d4ff;
    border-radius: 50%;
    animation: splash-particle-float linear infinite;
    opacity: 0;
}
@keyframes splash-particle-float {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    20% { opacity: .6; }
    80% { opacity: .6; }
    100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}

/* ---- AIoT 仪表盘 Mockup ---- */
.platform-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.dash-preview {
    width: 100%;
    max-width: 520px;
    background: linear-gradient(180deg, rgba(17,24,39,.92) 0%, rgba(10,14,26,.96) 100%);
    border: 1px solid rgba(0,212,255,.1);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,.5), 0 0 60px rgba(0,212,255,.04);
    position: relative;
}
.dash-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0,212,255,.03) 0%, transparent 50%);
    pointer-events: none;
}
.dash-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid rgba(255,255,255,.04);
    letter-spacing: .5px;
}
.dash-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent3);
    box-shadow: 0 0 8px var(--accent3);
    animation: dot-blink 2s ease-in-out infinite;
}
.dash-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 22px; position: relative; overflow: hidden; }
.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dash-row-3 { grid-template-columns: repeat(3, 1fr); }
.dash-kpi {
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.04);
    border-radius: 12px;
    padding: 16px 16px;
    display: flex; flex-direction: column; gap: 6px;
    transition: all .3s;
}
.dash-kpi:hover { border-color: rgba(0,212,255,.12); background: rgba(0,212,255,.02); }
.dk-label { font-size: 11px; color: var(--text3); letter-spacing: .5px; text-transform: uppercase; }
.dk-val { font-size: 22px; font-weight: 800; line-height: 1.1; }
.dk-val small { font-size: 12px; font-weight: 500; opacity: .6; }
.dk-trend { font-size: 11px; font-weight: 600; margin-top: 2px; }
.dk-trend.up { color: var(--accent3); }
.dk-trend.down { color: #ef4444; }

/* 柱状图 */
.dash-chart {
    background: rgba(255,255,255,.015);
    border: 1px solid rgba(255,255,255,.03);
    border-radius: 14px;
    padding: 18px 20px 14px;
}
.dc-bar-group {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 160px;
    padding-bottom: 6px;
    position: relative;
}
.dc-bar {
    flex: 1;
    border-radius: 5px 5px 0 0;
    position: relative;
    height: 8px;
    min-height: 8px;
    transition: height 1.2s cubic-bezier(.16,1,.3,1);
}
.dc-bar.animated {
    height: var(--h, 50%);
}
.dc-bar:nth-child(1) { background: linear-gradient(180deg, rgba(6,249,160,.55) 0%, rgba(6,249,160,.12) 100%); }
.dc-bar:nth-child(2) { background: linear-gradient(180deg, rgba(0,212,255,.55) 0%, rgba(0,212,255,.12) 100%); }
.dc-bar:nth-child(3) { background: linear-gradient(180deg, rgba(245,158,11,.55) 0%, rgba(245,158,11,.12) 100%); }
.dc-bar:nth-child(4) { background: linear-gradient(180deg, rgba(139,92,246,.55) 0%, rgba(139,92,246,.12) 100%); }

.dc-bar span { display: none; }

@keyframes bar-grow { from { height: 0!important; } }
.dc-legend {
    display: flex; justify-content: center; gap: 20px;
    padding-top: 10px; font-size: 11px; color: var(--text2);
}
.dcl-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 2px;
    vertical-align: middle;
    margin-right: 5px;
}

/* KPI 小卡片 */
.dash-kpi.sm {
    padding: 14px 14px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 10px;
    text-align: center;
    gap: 4px;
}
.dash-kpi.sm .dk-label {
    font-size: 10px;
    text-transform: none;
    letter-spacing: 0;
}
.dash-kpi.sm .dk-val { font-size: 20px; }

/* 仪表盘底部状态栏 */
.dash-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(6,249,160,.03);
    border: 1px solid rgba(6,249,160,.08);
    border-radius: 10px;
    font-size: 12px;
    color: var(--text2);
}
.ds-dot.online {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #06f9a0;
    box-shadow: 0 0 8px rgba(6,249,160,.5);
    flex-shrink: 0;
    animation: ds-blink 2s ease-in-out infinite;
}
.ds-text { flex: 1; }
.ds-right {
    background: rgba(0,212,255,.08);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
}

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
    .cards-3 { grid-template-columns: 1fr 1fr; }
    .platform-layout, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
    .case-grid { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); max-width: 400px; }
}
@media (max-width: 768px) {
    .menu { display: none; }
    .menu.open {
        display: flex; flex-direction: column; position: absolute;
        top: 100%; left: 0; right: 0; background: rgba(10,14,26,.96);
        backdrop-filter: blur(24px); padding: 24px; gap: 20px;
        border-bottom: 1px solid rgba(0,212,255,.08);
    }
    .hamburger { display: block; }
    .nav-btn { display: none; }
    .cards-3 { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .page-dots { display: none; }
    .fp-inner { padding: 70px 16px 20px; }
    .hero-content h1 { font-size: clamp(32px, 8vw, 48px); }
    .pv-card { width: 180px; height: 180px; }
    .case-card { height: 240px; }
}


