/* 
 * 页脚样式 - 超前设计风格
 * 优化版本 - 视觉升级与性能优化
 */

/* 页脚样式 - 超前设计风格 */
.site-footer {
    background: linear-gradient(135deg, var(--neutral-900) 0%, var(--neutral-800) 100%);
    color: var(--neutral-300);
    padding: var(--spacing-4xl) 0 var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

/* 页脚装饰元素 */
.footer-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.footer-decoration .shape {
    position: absolute;
    opacity: 0.05;
}

.footer-decoration .shape-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--primary-color);
    top: -200px;
    right: -200px;
}

.footer-decoration .shape-2 {
    width: 300px;
    height: 300px;
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    background: var(--accent-1);
    bottom: -150px;
    left: -150px;
}

/* 页脚波浪顶部 */
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.footer-wave .shape-fill {
    fill: var(--neutral-150);
}

/* 页脚内容 */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-2xl);
    position: relative;
    z-index: 1;
}

/* 页脚列标题 */
.footer-column h3 {
    color: var(--neutral-100);
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-md);
    font-weight: var(--font-bold);
    letter-spacing: 0.5px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
}

/* 页脚链接列表 */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-md);
}

.footer-links a {
    color: var(--neutral-300);
    transition: all var(--transition-normal);
    display: inline-block;
    position: relative;
    padding-left: var(--spacing-md);
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-gradient);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    transform: translateY(-50%) scale(1.5);
}

/* 页脚联系信息 */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    transition: transform var(--transition-normal);
}

.footer-contact-item:hover {
    transform: translateX(5px);
}

.footer-contact-icon {
    margin-right: var(--spacing-md);
    color: var(--primary-color);
    font-size: 1.2em;
    background: rgba(67, 97, 238, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
}

/* 页脚社交媒体 */
.footer-social {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--glass-background-dark);
    color: var(--neutral-100);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    backdrop-filter: var(--glass-backdrop-filter);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1.2em;
}

.social-icon:hover {
    background: var(--primary-gradient);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

/* 页脚订阅表单 */
.footer-subscribe {
    margin-top: var(--spacing-md);
}

.footer-subscribe p {
    margin-bottom: var(--spacing-md);
}

.subscribe-form {
    display: flex;
    gap: var(--spacing-sm);
}

.subscribe-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--neutral-700);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    color: var(--neutral-200);
    font-family: var(--font-secondary);
    transition: all var(--transition-normal);
}

.subscribe-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.subscribe-button {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-weight: var(--font-medium);
}

.subscribe-button:hover {
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
    transform: translateY(-3px);
}

/* 页脚底部 */
.footer-bottom {
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: var(--text-sm);
    color: var(--neutral-400);
    position: relative;
    z-index: 1;
}

.footer-bottom a {
    color: var(--neutral-300);
    transition: color var(--transition-normal);
    font-weight: var(--font-medium);
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* 页脚徽标 */
.footer-logo {
    margin-bottom: var(--spacing-lg);
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-tagline {
    margin-bottom: var(--spacing-lg);
    color: var(--neutral-400);
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-column:first-child {
        grid-column: span 2;
        margin-bottom: var(--spacing-xl);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-column:first-child {
        grid-column: span 1;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .footer-social {
        justify-content: center;
    }
}