/**
 * 科技感增强样式文件
 * 为泰基电子官网添加现代化科技感设计元素
 */

/* 科技感全局变量 */
:root {
    --tech-primary: #04b29b;      /* 主色调 - 科技蓝绿 */
    --tech-secondary: #172d44;    /* 辅助色 - 深蓝 */
    --tech-accent: #ff0099;       /* 强调色 - 科技粉 */
    --tech-gradient: linear-gradient(135deg, #04b29b 0%, #172d44 100%);
    --tech-glow: 0 0 20px rgba(4, 178, 155, 0.3);
    --tech-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 科技感导航菜单增强 */
.menuStyle_36.tech-enhanced {
    background: var(--tech-gradient);
    box-shadow: var(--tech-shadow);
}

.menuStyle_36.tech-enhanced .menuUl > li > a {
    background: transparent;
    border-top: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menuStyle_36.tech-enhanced .menuUl > li > a:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.menuStyle_36.tech-enhanced .menuUl > li > a:hover:before {
    left: 100%;
}

.menuStyle_36.tech-enhanced .menuUl > li > a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--tech-primary);
    box-shadow: var(--tech-glow);
}

.menuStyle_36.tech-enhanced .menuUl #hot > a {
    background: rgba(255, 255, 255, 0.15);
    border-top: 3px solid var(--tech-primary);
    box-shadow: var(--tech-glow);
}

/* 科技感按钮样式 */
.tech-btn {
    background: var(--tech-gradient);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--tech-shadow);
}

.tech-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.tech-btn:hover:before {
    left: 100%;
}

.tech-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 178, 155, 0.4);
}

/* 科技感卡片效果 */
.tech-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: var(--tech-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(4, 178, 155, 0.1);
    position: relative;
    overflow: hidden;
}

.tech-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--tech-gradient);
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 科技感标题样式 */
.tech-title {
    font-size: 28px;
    font-weight: bold;
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    margin-bottom: 20px;
}

.tech-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--tech-primary);
}

/* 科技感加载动画 */
.tech-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(4, 178, 155, 0.3);
    border-radius: 50%;
    border-top-color: var(--tech-primary);
    animation: tech-spin 1s ease-in-out infinite;
}

@keyframes tech-spin {
    to { transform: rotate(360deg); }
}

/* 科技感边框效果 */
.tech-border {
    position: relative;
    border: 1px solid transparent;
    background: linear-gradient(white, white) padding-box,
                var(--tech-gradient) border-box;
    border-radius: 10px;
}

/* 响应式科技感设计 */
@media screen and (max-width: 768px) {
    .tech-title {
        font-size: 22px;
    }
    
    .tech-card {
        padding: 15px;
        margin: 10px 0;
    }
    
    .tech-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* 科技感滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--tech-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--tech-primary);
}

/* 科技感图标动画 */
.tech-icon {
    transition: all 0.3s ease;
}

.tech-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(4, 178, 155, 0.5));
}

/* 科技感背景图案 */
.tech-bg-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(4, 178, 155, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(23, 45, 68, 0.1) 0%, transparent 50%);
    background-size: 100px 100px;
}