/* ============================================
   Footer Styles - 页脚样式
   命名规范: BEM + ft-前缀 (Footer Block)
   ============================================ */

/* Block: 页脚 */
.ft-footer {
    background: #0f172a;
    padding: 72px 40px 28px;
}

/* Element: 容器 */
.ft-footer__container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Element: 网格布局 */
.ft-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 56px;
}

/* Element: 品牌区域 */
.ft-footer__brand {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Element: 描述文字 */
.ft-footer__desc {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

/* Element: 社交链接容器 */
.ft-footer__social {
    display: flex;
    gap: 10px;
}

/* Element: 社交链接 */
.ft-footer__social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.ft-footer__social-link:hover {
    background: #2563eb;
    transform: translateY(-3px);
}

/* Element: 栏目标题 */
.ft-footer__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.ft-footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2.5px;
    background: #3b82f6;
    border-radius: 2px;
}

/* Element: 链接列表 */
.ft-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ft-footer__links li {
    margin-bottom: 10px;
}

/* Element: 链接 */
.ft-footer__link {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
}

.ft-footer__link:hover {
    color: #fff;
    transform: translateX(3px);
}

.ft-footer__link i {
    font-size: 0.7rem;
    opacity: 0;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.ft-footer__link:hover i {
    opacity: 1;
}

/* Element: 底部版权 */
.ft-footer__bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.ft-footer__bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.ft-footer__bottom a:hover {
    color: #fff;
}


/* ============================================
   Responsive Design - 响应式适配
   ============================================ */

@media (max-width: 1200px) {
    .ft-footer__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .ft-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .ft-footer {
        padding: 48px 24px 24px;
    }

    .ft-footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .ft-footer__title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .ft-footer__social {
        justify-content: center;
    }
}
