/* ===== common.css — 宇枫科技 公共样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.section-sub {
    text-align: center;
    font-size: 17px;
    color: #64748b;
    max-width: 720px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    padding: 14px 40px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: #2563eb;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid #2563eb;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.30);
}

/* ===== 导航栏 ===== */
.navbar {
    background: #0f172a;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
}
.logo span {
    color: #60a5fa;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #60a5fa;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links .active {
    color: #ffffff;
}
.nav-links .active::after {
    width: 100%;
}

.nav-links .contact-link {
    background: #2563eb;
    color: #fff;
    padding: 8px 22px;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.nav-links .contact-link:hover {
    background: #1d4ed8;
    color: #fff;
}
.nav-links .contact-link::after {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #e2e8f0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== 页面Banner (通用) ===== */
.page-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #2563eb 100%);
    padding: 70px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 44px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.page-banner h1 span {
    color: #93c5fd;
}

.page-banner p {
    font-size: 18px;
    color: #bfdbfe;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== 底部 ===== */
.footer {
    background: #0f172a;
    padding: 60px 0 30px;
    color: #cbd5e1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
}

.footer-brand .logo {
    font-size: 22px;
    margin-bottom: 14px;
    display: inline-block;
}

.footer-brand p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.8;
    max-width: 300px;
}

.footer-brand .social {
    display: flex;
    gap: 14px;
    margin-top: 18px;
}

.footer-brand .social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #1e293b;
    border-radius: 50%;
    color: #94a3b8;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-brand .social a:hover {
    background: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-col h5 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    font-size: 14px;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.footer-col ul a:hover {
    color: #60a5fa;
}

.footer-contact p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p i {
    width: 20px;
    color: #60a5fa;
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #64748b;
}

.footer-bottom a {
    color: #64748b;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #60a5fa;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        height: 64px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: #0f172a;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        padding: 20px 24px 28px;
        gap: 16px;
        border-top: 1px solid #1e293b;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.30);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 16px;
        padding: 6px 0;
    }

    .nav-links .contact-link {
        align-self: flex-start;
        padding: 8px 24px;
    }

    .menu-toggle {
        display: flex;
    }

    .page-banner {
        padding: 50px 0 60px;
    }
    .page-banner h1 {
        font-size: 32px;
    }
    .page-banner p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .page-banner h1 {
        font-size: 26px;
    }
}