﻿
/* 基础重置 & 页脚样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* 仅用来展示页脚在页面底部效果，给一点背景和最小高度 */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f5f7fa;
}
/* ----- 页脚主样式 ----- */
.company-footer {
    background-color: #0b1a2e; /* 深蓝黑，专业感 */
    color: #d0dbe9;
    padding: 3rem 2rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid #1e344f;
    
}

.footer-container {
    max-width: 1680px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr 1.2fr;
    gap: 2.5rem 2rem;
    display: flex;
}

/* 每个区块的通用样式 */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

    .footer-logo span {
        color: #4f9cf7; /* 点缀色 */
    }

.footer-about {
    margin-bottom: 0.5rem;
    color: #b0c4de;
    width: 80%; /* 段落宽度占父容器的80% */
    font-size:1.1rem;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 0.5rem;
}

    .social-links a {
        color: #cbd5e1;
        font-size: 1.3rem;
        transition: color 0.2s ease, transform 0.2s;
        display: inline-block;
    }

        .social-links a:hover {
            color: #4f9cf7;
            transform: translateY(-3px);
        }

.footer-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
    border-bottom: 2px solid #2e456e;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

    .footer-links li a {
        color: #b0c7e0;
        text-decoration: none;
        transition: color 0.15s;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

        .footer-links li a:hover {
            color: #4f9cf7;
        }

    .footer-links i {
        font-size: 0.75rem;
        color: #4f9cf7;
        width: 16px;
        text-align: center;
    }

/* 联系方式列表特殊样式 */
    .contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

    .contact-info li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

        .contact-info li i {
            width: 22px;
            color: #4f9cf7;
            font-size: 1.1rem;
            margin-top: 3px;
        }

    .contact-info span {
        color: #b0c4de;
    }

    .contact-info strong {
        color: #ffffff;
        font-weight: 500;
        display: block;
        margin-bottom: 2px;
    }

.newsletter {
    margin-top: 0.5rem;
}

    .newsletter p {
        margin-bottom: 0.8rem;
        color: #b0c4de;
    }

.newsletter-form {
    display: flex;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid #2e456e;
    background-color: #11243b;
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.7rem 1rem;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
}

    .newsletter-input::placeholder {
        color: #6b85a8;
    }

.newsletter-btn {
    background-color: #2e456e;
    border: none;
    color: white;
    padding: 0 1.2rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .newsletter-btn:hover {
        background-color: #3e5a8a;
    }

/* 版权与底部法律条块 */
.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid #1e344f;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #8ca3c0;
}

.copyright {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legal-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

    .legal-links a {
        color: #8ca3c0;
        text-decoration: none;
        transition: color 0.15s;
    }

        .legal-links a:hover {
            color: #4f9cf7;
        }

/* 移动端响应式 */
@media screen and (max-width: 900px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media screen and (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .copyright, .legal-links {
        justify-content: center;
    }

    .newsletter-form {
        max-width: 100%;
    }
}
