/* ========================================
   科技研发风格 - 统一设计系统补充
   Tech R&D Style - Unified Design System
   Primary Color: Blue Theme
======================================== */

/* ========== 通用按钮样式 ========== */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 10px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    display: inline-block;
    text-align: center;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

/* ========== 卡片样式 ========== */
.card-tech {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--border-light);
}

.card-tech:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-medium);
}

/* ========== 标题样式 ========== */
.section-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin-top: 15px;
    border-radius: 2px;
    box-shadow: var(--shadow-glow);
}

.section-title-center {
    text-align: center;
}

.section-title-center::after {
    margin: 15px auto 0;
}

/* ========== 渐变文字 ========== */
.text-gradient {
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* ========== 图标容器 ========== */
.icon-box {
    width: 60px;
    height: 60px;
    background: var(--bg-blue-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    color: var(--primary-blue);
    font-size: 28px;
}

.icon-box:hover {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-glow);
    transform: rotate(5deg) scale(1.1);
}

/* ========== 列表项样式 ========== */
.list-item-tech {
    padding: 20px;
    border-left: 3px solid transparent;
    transition: var(--transition-normal);
    background: var(--bg-white);
    margin-bottom: 10px;
    border-radius: 8px;
}

.list-item-tech:hover {
    border-left-color: var(--primary-blue);
    background: var(--bg-light);
    box-shadow: var(--shadow-sm);
    padding-left: 25px;
}

/* ========== 标签样式 ========== */
.badge-tech {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-blue-light);
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.badge-tech:hover {
    background: var(--primary-blue);
    color: var(--text-white);
}

/* ========== 输入框样式 ========== */
.input-tech {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-medium);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition-normal);
    background: var(--bg-white);
    color: var(--text-primary);
}

.input-tech:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(10, 110, 189, 0.1);
    outline: none;
}

.input-tech::placeholder {
    color: var(--text-light);
}

/* ========== 导航链接增强 ========== */
.nav-link-tech {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link-tech:hover {
    color: var(--primary-blue);
    background: var(--bg-blue-light);
}

.nav-link-tech.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-link-tech.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* ========== 分隔线 ========== */
.divider-tech {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
    margin: 40px 0;
    border: none;
}

/* ========== 背景装饰 ========== */
.bg-pattern-tech {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(10, 110, 189, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 136, 229, 0.05) 0%, transparent 50%);
    position: relative;
}

/* ========== 动画效果 ========== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(10, 110, 189, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(10, 110, 189, 0.5);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* ========== 响应式优化 ========== */
@media (max-width: 1440px) {
    .section-title {
        font-size: 32px;
    }
    
    .card-tech {
        padding: 24px;
    }
}

@media (max-width: 1024px) {
    .section-title {
        font-size: 28px;
    }
    
    .btn-primary,
    .btn-outline {
        padding: 10px 24px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }
    
    .card-tech {
        padding: 20px;
    }
    
    .icon-box {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* ========== 辅助类 ========== */
.text-primary { color: var(--primary-blue) !important; }
.text-secondary { color: var(--secondary-blue) !important; }
.text-dark { color: var(--dark-blue) !important; }
.bg-light { background: var(--bg-light) !important; }
.bg-blue-light { background: var(--bg-blue-light) !important; }
.border-primary { border-color: var(--primary-blue) !important; }
.shadow-tech { box-shadow: var(--shadow-md) !important; }
.rounded-tech { border-radius: 12px !important; }
