/* 全局重置与基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #333;
    background-color: #f5f7fb;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

/* 顶部导航 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 35, 95, 0.08);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 36px;
    width: auto;
}

.nav-company-name {
    font-size: 18px;
    font-weight: 600;
    color: #15315b;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    gap: 32px;
    font-size: 15px;
}

.nav-menu a {
    position: relative;
    color: #4a5972;
    padding-bottom: 4px;
    transition: color 0.2s ease;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #4f9bff, #2b6bff);
    transition: width 0.2s ease;
}

.nav-menu a:hover {
    color: #1e5fff;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu .is-active {
    color: #1e5fff;
}

.nav-menu .is-active::after {
    width: 100%;
}

.page-wrapper {
    padding-top: 64px;
}

/* 横幅 */
.hero {
    background: linear-gradient(120deg, #0f6acb, #1a8adf, #1b4a8f);
    color: #ffffff;
    padding: 96px 0 120px;
}

.hero-inner {
    text-align: center;
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.hero-subtitle {
    max-width: 720px;
    margin: 0 auto 40px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
}

.hero-cta {
    display: inline-block;
    padding: 12px 36px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    background: #ffffff;
    color: #1e5fff;
    box-shadow: 0 8px 20px rgba(4, 34, 88, 0.28);
    transition: all 0.2s ease;
}

.hero-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(4, 34, 88, 0.36);
}

/* 通用内容区域 */
.section {
    padding: 72px 0 80px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #1b3258;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: #6c7b94;
    font-size: 15px;
    max-width: 720px;
    margin: 0 auto 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 32px 28px 28px;
    box-shadow: 0 12px 30px rgba(74, 107, 181, 0.08);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(74, 107, 181, 0.18);
}

.service-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e5f1ff, #c9ddff);
    color: #1e5fff;
    font-size: 28px;
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #20355a;
}

.service-desc {
    font-size: 14px;
    color: #7a8597;
}

/* 关于我们 / 联系我们 */
.info-section {
    background: #ffffff;
    padding: 56px 0 64px;
    border-top: 1px solid #e3e8f0;
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1.3fr;
    gap: 40px;
}

.info-block-title {
    font-size: 20px;
    font-weight: 600;
    color: #1b3258;
    margin-bottom: 16px;
}

.info-text {
    font-size: 14px;
    color: #6c7b94;
}

.info-text p+p {
    margin-top: 10px;
}

.contact-list {
    font-size: 14px;
    color: #55637c;
}

.contact-list li+li {
    margin-top: 8px;
}

/* 页脚备案 */
.site-footer {
    background-color: #0b1220;
    color: #9ca3af;
    padding: 24px 0 26px;
    font-size: 12px;
}

.footer-inner {
    text-align: center;
    line-height: 1.8;
}

.footer-inner span {
    display: inline-block;
    margin: 0 4px;
}

.icp-number {
    color: #9ca3af;
}

.footer-inner a {
    color: #9ca3af;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-inner a:hover {
    color: #ffffff;
}

.police-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid currentColor;
    position: relative;
}

.police-icon::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.25;
}

/* 顶部移动端菜单 */
.nav-toggle {
    display: none;
    width: 24px;
    height: 18px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background-color: #4a5972;
}

@media (max-width: 960px) {
    .nav-menu {
        position: absolute;
        top: 64px;
        right: 0;
        left: 0;
        padding: 12px 24px 16px;
        background-color: #ffffff;
        flex-direction: column;
        gap: 12px;
        box-shadow: 0 6px 18px rgba(15, 35, 95, 0.12);
        transform-origin: top;
        transform: scaleY(0.4);
        opacity: 0;
        pointer-events: none;
        transition: all 0.2s ease;
    }

    .nav-menu.open {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 80px 0 96px;
    }

    .hero-title {
        font-size: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 22px;
    }
}

