:root {
    --gradient-blue: linear-gradient(135deg, #0A2A5E 0%, #0F4C9E 25%, #2563EB 50%, #3B82F6 70%, #22D3EE 100%);
    --gradient-cyan: linear-gradient(135deg, #0891B2 0%, #06B6D4 40%, #22D3EE 70%, #67E8F9 100%);
    --gradient-purple: linear-gradient(135deg, #0F4C9E 0%, #6366F1 35%, #8B5CF6 65%, #A78BFA 100%);
    --gradient-gold: linear-gradient(135deg, #B45309 0%, #D97706 30%, #F59E0B 60%, #FBBF24 85%, #FDE68A 100%);
    --gradient-green: linear-gradient(135deg, #047857 0%, #059669 40%, #10B981 70%, #34D399 100%);
    --gradient-pink: linear-gradient(135deg, #BE185D 0%, #DB2777 40%, #EC4899 70%, #F472B6 100%);
    --glow-blue: 0 0 40px rgba(37, 99, 235, 0.4);
    --glow-cyan: 0 0 40px rgba(34, 211, 238, 0.3);
    --glow-purple: 0 0 40px rgba(139, 92, 246, 0.3);
    --glow-green: 0 0 40px rgba(16, 185, 129, 0.3);
}
* { scroll-behavior: smooth; }
body { background: #050B1A; color: #E2E8F0; font-family: system-ui, -apple-system, sans-serif; }

/* 电路纹理背景 */
.circuit-bg-v2 {
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        radial-gradient(ellipse at 20% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    background-size: 40px 40px, 40px 40px, 100% 100%, 100% 100%;
}

/* 渐变文字 */
.gradient-text {
    background: var(--gradient-blue);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-purple {
    background: var(--gradient-purple);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-green {
    background: var(--gradient-green);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 数据流动渐变文字 */
.data-flow-text {
    background: linear-gradient(90deg, #22D3EE, #8B5CF6, #22D3EE);
    background-size: 200% 100%;
    animation: dataFlow 3s ease infinite;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
@keyframes dataFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 霓虹发光文字 */
.neon-cyan {
    color: #22D3EE;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.7), 0 0 25px rgba(34, 211, 238, 0.4);
}

/* 玻璃卡片 */
.glass-card {
    background: linear-gradient(135deg, rgba(15, 32, 62, 0.8) 0%, rgba(20, 42, 82, 0.6) 100%);
    border: 1px solid rgba(37, 99, 235, 0.15);
    backdrop-filter: blur(12px);
}

/* 渐变边框卡片 */
.gradient-border-card {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 32, 62, 0.9) 0%, rgba(20, 42, 82, 0.85) 100%);
    border-radius: 1.25rem;
    z-index: 1;
}
.gradient-border-card::before {
    content: ''; position: absolute; inset: 0; border-radius: 1.25rem; padding: 1px;
    background: var(--gradient-blue);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    z-index: -1; opacity: 0.4; transition: opacity 0.15s ease-out;
}
.gradient-border-card:hover::before { opacity: 1; }
.gradient-border-purple::before { background: var(--gradient-purple); }
.gradient-border-green::before { background: var(--gradient-green); }

/* HUD角标装饰（用background-image，不占伪元素） */
.corner-decor {
    background-image:
        linear-gradient(#22D3EE, #22D3EE), linear-gradient(#22D3EE, #22D3EE),
        linear-gradient(#22D3EE, #22D3EE), linear-gradient(#22D3EE, #22D3EE);
    background-size: 16px 2px, 2px 16px, 16px 2px, 2px 16px;
    background-position: 12px 12px, 12px 12px, calc(100% - 12px) calc(100% - 12px), calc(100% - 12px) calc(100% - 12px);
    background-repeat: no-repeat;
}
.corner-decor-purple {
    background-image:
        linear-gradient(#A78BFA, #A78BFA), linear-gradient(#A78BFA, #A78BFA),
        linear-gradient(#A78BFA, #A78BFA), linear-gradient(#A78BFA, #A78BFA);
}
.corner-decor-green {
    background-image:
        linear-gradient(#34D399, #34D399), linear-gradient(#34D399, #34D399),
        linear-gradient(#34D399, #34D399), linear-gradient(#34D399, #34D399);
}

/* 扫描线效果 */
.scan-effect { position: relative; overflow: hidden; }
@keyframes scanMove {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 3D倾斜卡片 */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

/* 鼠标跟随光晕 */
.glow-follow { position: relative; overflow: hidden; }
.glow-follow::before {
    content: ''; position: absolute;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.1) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
    opacity: 0; transition: opacity 0.2s ease;
    left: var(--mouse-x, 50%); top: var(--mouse-y, 50%);
    transform: translate(-50%, -50%);
    z-index: 0;
}
.glow-follow:hover::before { opacity: 1; }
.glow-follow > * { position: relative; z-index: 1; }
.glow-follow-purple::before { background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%); }
.glow-follow-green::before { background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%); }

/* 按钮涟漪 */
.btn-ripple { position: relative; overflow: hidden; }
.btn-ripple .ripple {
    position: absolute; border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0); animation: rippleAnim 0.6s ease-out;
    pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* 精致徽章（脉冲圆点） */
.badge-premium {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 0.375rem 0.875rem; border-radius: 2rem;
    font-size: 0.75rem; font-weight: 600;
    background: linear-gradient(135deg, rgba(15, 76, 158, 0.3), rgba(34, 211, 238, 0.15));
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: #67E8F9; backdrop-filter: blur(10px);
}
.badge-premium .badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #22D3EE; box-shadow: 0 0 8px rgba(34, 211, 238, 0.8);
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

/* 导航 */
.nav-link { position: relative; transition: color 0.15s ease-out; }
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--gradient-blue); transition: width 0.15s ease-out; border-radius: 2px;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover { color: #22D3EE !important; }

/* 按钮 */
.btn-primary {
    background: var(--gradient-blue);
    transition: all 0.15s ease-out;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

/* 模块标题 */
.section-title {
    font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 0.75rem;
}
.section-subtitle { color: #94A3B8; font-size: 1rem; margin-bottom: 2rem; }
.section-divider {
    width: 60px; height: 3px; background: var(--gradient-blue); border-radius: 2px;
}

/* 产品线总览卡片 */
.product-overview-card {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 32, 62, 0.85) 0%, rgba(20, 42, 82, 0.7) 100%);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 1.25rem; padding: 2rem;
    transition: all 0.15s ease-out; overflow: hidden; cursor: pointer;
}
.product-overview-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.25);
    border-color: rgba(34, 211, 238, 0.4);
}
.product-overview-icon {
    width: 4rem; height: 4rem; border-radius: 1rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; margin-bottom: 1.25rem;
}
.product-overview-name {
    font-size: 1.375rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem;
}
.product-overview-desc {
    font-size: 0.875rem; color: #94A3B8; line-height: 1.7; margin-bottom: 1rem;
}
.product-overview-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.product-tag {
    padding: 0.25rem 0.75rem; border-radius: 1rem;
    font-size: 0.75rem; font-weight: 500;
}

/* 产品详情卡片 */
.product-detail-card {
    background: linear-gradient(135deg, rgba(15, 32, 62, 0.85) 0%, rgba(20, 42, 82, 0.75) 100%);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 1.25rem; padding: 2rem;
    margin-bottom: 1.5rem; transition: all 0.15s ease-out;
    position: relative; overflow: hidden;
}
.product-detail-card:hover {
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: 0 15px 45px rgba(37, 99, 235, 0.2);
}
.product-detail-card.purple-theme:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 15px 45px rgba(139, 92, 246, 0.2);
}
.product-detail-card.green-theme:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 15px 45px rgba(16, 185, 129, 0.2);
}

/* 详情卡顶部光带 */
.card-top-glow {
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--gradient-cyan);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.5);
}
.card-top-glow-purple { background: var(--gradient-purple); box-shadow: 0 0 15px rgba(139, 92, 246, 0.5); }
.card-top-glow-green { background: var(--gradient-green); box-shadow: 0 0 15px rgba(16, 185, 129, 0.5); }

.product-detail-header {
    display: flex; align-items: flex-start; gap: 1rem;
    margin-bottom: 1.25rem; padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.15);
}
.product-detail-icon {
    width: 3.5rem; height: 3.5rem; border-radius: 0.875rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; flex-shrink: 0;
}
.product-detail-name {
    font-size: 1.375rem; font-weight: 700; color: #fff; margin-bottom: 0.25rem;
}
.product-detail-position {
    font-size: 0.875rem; color: #94A3B8; line-height: 1.6;
}
.product-section { margin-bottom: 1.25rem; }
.product-section-title {
    font-size: 0.875rem; font-weight: 600; color: #22D3EE;
    margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem;
}
.purple-theme .product-section-title { color: #A78BFA; }
.green-theme .product-section-title { color: #34D399; }
.product-section-content {
    font-size: 0.875rem; color: #CBD5E1; line-height: 1.8;
}

/* 核心功能卡片化 */
.feature-list {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.5rem;
}
.feature-item {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.8125rem; color: #CBD5E1;
    padding: 0.5rem 0.75rem; border-radius: 0.5rem;
    background: rgba(34, 211, 238, 0.05);
    border: 1px solid rgba(34, 211, 238, 0.1);
    transition: all 0.15s ease-out;
}
.feature-item:hover {
    background: rgba(34, 211, 238, 0.12);
    border-color: rgba(34, 211, 238, 0.25);
    transform: translateX(4px);
}
.purple-theme .feature-item {
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.1);
}
.purple-theme .feature-item:hover {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.25);
}
.green-theme .feature-item {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.1);
}
.green-theme .feature-item:hover {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
}
.feature-item i { font-size: 0.7rem; flex-shrink: 0; }
.feature-item i.fa-check-circle { color: #22D3EE; }
.purple-theme .feature-item i.fa-check-circle { color: #A78BFA; }
.green-theme .feature-item i.fa-check-circle { color: #34D399; }

/* 数据高亮标签 */
.data-highlight {
    display: inline-block; padding: 0.125rem 0.5rem;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 0.375rem; color: #22D3EE;
    font-weight: 600; font-size: 0.8125rem;
}
.purple-theme .data-highlight {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.25);
    color: #A78BFA;
}
.green-theme .data-highlight {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
    color: #34D399;
}

/* 精致警告框 */
.warning-box {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 0.75rem; padding: 1rem 1.25rem;
    margin-top: 1rem; position: relative; overflow: hidden;
}
.warning-box::before {
    content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
    background: linear-gradient(180deg, #EF4444, #F87171);
}
.warning-title {
    font-size: 0.8125rem; font-weight: 600; color: #F87171;
    margin-bottom: 0.375rem; display: flex; align-items: center; gap: 0.5rem;
}
.warning-content {
    font-size: 0.8125rem; color: #FCA5A5; line-height: 1.7;
}

/* 产品线分割线 */
.product-line-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.3), transparent);
    margin: 3rem 0;
}

/* 入场动画多样化 */
.anim-fade-up { opacity: 0; transform: translateY(30px); transition: all 0.6s ease-out; }
.anim-fade-up.visible { opacity: 1; transform: translateY(0); }
.anim-slide-left { opacity: 0; transform: translateX(-50px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.anim-slide-left.visible { opacity: 1; transform: translateX(0); }
.anim-slide-right { opacity: 0; transform: translateX(50px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.anim-slide-right.visible { opacity: 1; transform: translateX(0); }
.anim-zoom-in { opacity: 0; transform: scale(0.85); transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.anim-zoom-in.visible { opacity: 1; transform: scale(1); }
.anim-elastic { opacity: 0; transform: translateY(30px) scale(0.95); transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.anim-elastic.visible { opacity: 1; transform: translateY(0) scale(1); }

/* 页脚 */
.footer-nav-col h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.footer-nav-col ul li { margin-bottom: 0.5rem; }
.footer-nav-col ul li a { color: #94A3B8; font-size: 0.875rem; transition: color 0.15s ease-out; }
.footer-nav-col ul li a:hover { color: #22D3EE; }

@media (max-width: 640px) {
    .section-title { font-size: 1.5rem; }
    .feature-list { grid-template-columns: 1fr; }
}
