/* ============================================
   唯璐招聘系统 — 底部样式
   ============================================ */

.site-footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 56px 0 0;
    margin-top: 80px;
    position: relative;
}

/* 顶部装饰线 */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        var(--primary) 0%,
        var(--accent) 50%,
        var(--primary) 100%);
    background-size: 200% 100%;
    animation: footerGradient 6s ease infinite;
}

@keyframes footerGradient {
    0%   { background-position: 0% 0; }
    50%  { background-position: 100% 0; }
    100% { background-position: 0% 0; }
}

/* ---- 内部容器 ---- */
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- 网格布局 ---- */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

/* ---- 品牌区 ---- */
.footer-brand h3 {
    color: #ffffff;
    font-size: 1.125rem;
    font-family: var(--font-display);
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.45);
    max-width: 320px;
}

/* ---- 链接列 ---- */
.footer-col h4 {
    color: #ffffff;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.875rem;
    padding: 6px 0;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
}

.footer-col a:hover {
    color: #ffffff;
    padding-left: 6px;
}

/* ---- 底部分割线与版权 ---- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.footer-bottom a:hover {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-bottom-right span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .site-footer {
        margin-top: 48px;
        padding: 40px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 20px 0;
    }

    .footer-bottom-left,
    .footer-bottom-right {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        padding: 0 16px;
    }

    .site-footer {
        padding: 32px 0 0;
        margin-top: 36px;
    }

    .footer-grid {
        gap: 20px;
    }

    .footer-col h4 {
        margin-bottom: 14px;
    }

    .footer-col a {
        padding: 4px 0;
    }
}