/* ============================================
   睿库软件 - 统一SVG图标系统
   Unified SVG Icon System
   ============================================ */

/* 图标基础样式 */
.tech-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--gradient-neon);
    border-radius: var(--radius-lg);
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: var(--tech-glow-blue);
}

/* 图标发光效果 */
.tech-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-neon);
    border-radius: inherit;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.4s ease;
    z-index: -1;
}

.tech-icon:hover::before {
    opacity: 0.6;
}

/* 图标SVG样式 */
.tech-icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.4s ease;
}

/* 悬停效果 */
.tech-icon:hover {
    transform: scale(1.15) rotateY(360deg);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
}

.tech-icon:hover svg {
    transform: scale(1.1);
}

/* 小图标变体 */
.tech-icon.small {
    width: 48px;
    height: 48px;
}

.tech-icon.small svg {
    width: 24px;
    height: 24px;
}

/* 大图标变体 */
.tech-icon.large {
    width: 80px;
    height: 80px;
}

.tech-icon.large svg {
    width: 40px;
    height: 40px;
}

/* 不同色彩的图标变体 */
.tech-icon.purple {
    background: linear-gradient(135deg, #7C3AED, #A78BFA);
}

.tech-icon.pink {
    background: linear-gradient(135deg, #EC4899, #F472B6);
}

.tech-icon.green {
    background: linear-gradient(135deg, #10B981, #34D399);
}

.tech-icon.orange {
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
}

/* 特殊图标容器样式 */
.icon-bg {
    width: 80px;
    height: 80px;
    background: var(--gradient-neon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: white;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--tech-glow-blue);
    position: relative;
}

.icon-bg::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-neon);
    border-radius: 50%;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.4s ease;
    z-index: -1;
}

.advantage-item:hover .icon-bg {
    transform: scale(1.15) rotateY(360deg);
}

.advantage-item:hover .icon-bg::after {
    opacity: 0.7;
}

/* 产品图标容器 */
.product-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-neon);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: var(--tech-glow-blue);
}

.product-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-neon);
    border-radius: inherit;
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.4s ease;
    z-index: -1;
}

.product-card:hover .product-icon {
    transform: scale(1.15) rotateY(360deg);
}

.product-card:hover .product-icon::after {
    opacity: 0.6;
}

/* 联系卡片图标 */
.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-neon);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: var(--tech-glow-blue);
}

.contact-icon svg {
    width: 28px;
    height: 28px;
}

/* 统计图标 */
.stat-icon-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-neon);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 16px;
}

.stat-icon-custom svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: white;
    stroke-width: 2;
}

/* Feature图标 */
.feature-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.feature-icon .tech-icon {
    margin: 0;
}

/* 浮动卡片图标 */
.card-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.floating-card:hover .card-icon {
    transform: translateZ(30px) scale(1.2) rotateZ(10deg);
}

/* 动画效果 */
@keyframes icon-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--tech-glow-blue);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
    }
}

.tech-icon.pulse {
    animation: icon-pulse 2s ease-in-out infinite;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .tech-icon {
        width: 56px;
        height: 56px;
    }

    .tech-icon svg {
        width: 28px;
        height: 28px;
    }

    .icon-bg {
        width: 70px;
        height: 70px;
    }

    .product-icon {
        width: 60px;
        height: 60px;
    }
}
