/* 页脚样式优化 */
.tech-footer {
    position: relative;
    background: linear-gradient(to bottom, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    color: var(--text-color-light);
    padding: 60px 0 20px;
    overflow: hidden;
    margin-top: -1px;
}

/* 波浪动画效果 - 更细腻 */
.footer-waves {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 50px;
    overflow: hidden;
}

.wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url('data:image/svg+xml,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M0 0v46.29c47.79 22.2 103.59 32.17 158 28 70.36-5.37 136.33-33.31 206.8-37.5 73.84-4.36 147.54 16.88 218.2 35.26 69.27 18 138.3 24.88 209.4 13.08 36.15-6 69.85-17.84 104.45-29.34C989.49 25 1113-14.29 1200 52.47V0z"/></svg>') repeat-x;
    opacity: 0.05;
    animation: wave 25s linear infinite;
}

.wave2 {
    top: 5px;
    opacity: 0.03;
    animation: wave 20s linear infinite;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 页脚网格布局优化 */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* 公司信息部分优化 */
.footer-logo {
    height: 40px;
    margin-bottom: 15px;
}

.company-desc {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.9em;
}

/* 社交链接优化 */
.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(67, 116, 228, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(67, 116, 228, 0.3);
}

/* 页脚标题优化 */
.footer-section h3 {
    color: var(--text-color-light);
    font-size: 1.1em;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--secondary-color);
    box-shadow: 0 0 5px var(--secondary-color);
}

/* 快速链接优化 */
.quick-links ul {
    list-style: none;
}

.quick-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 6px 0;
    display: block;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.quick-links a:hover {
    color: var(--secondary-color);
    transform: translateX(10px);
}

/* 联系信息优化 */
.contact-info ul {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 0.9em;
}

.contact-info i {
    color: var(--secondary-color);
    margin-right: 8px;
    font-size: 1em;
}

/* 订阅表单优化 */
.subscribe-form .input-group {
    position: relative;
    margin-top: 15px;
}

.subscribe-form input {
    width: 100%;
    padding: 10px 45px 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(67, 116, 228, 0.2);
    border-radius: 20px;
    color: var(--text-color-light);
    font-size: 0.9em;
}

.subscribe-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary-color);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.subscribe-btn:hover {
    background: var(--text-color-light);
    box-shadow: 0 0 15px rgba(67, 116, 228, 0.3);
}

/* 分割线优化 */
.footer-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    opacity: 0.5;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(67, 116, 228, 0.1),
        transparent
    );
}

.divider-dot {
    width: 4px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 50%;
    margin: 0 12px;
}

/* 底部版权信息优化 */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    color: var(--text-color);
    font-size: 0.85em;
}

.footer-links {
    display: flex;
    gap: 15px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(67, 116, 228, 0.4);
}

/* 响应式优化 */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tech-footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
} 