/* ========== 全局重置 & 基础 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'PingFang SC', Roboto, 'Helvetica Neue', sans-serif;
}

body {
    background-color: #f4f7fc;
    color: #1e2a3a;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== 顶部栏 ========== */
.top-bar {
    background-color: #0b1a2e;
    color: #b0c4de;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 2px solid #1e3a5f;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar .contact-info span {
    margin-right: 20px;
}

.top-bar .contact-info i {
    margin-right: 6px;
    color: #4a9eff;
}

.top-bar .auth-links a {
    color: #b0c4de;
    margin-left: 18px;
    transition: color 0.2s;
    font-weight: 500;
}

.top-bar .auth-links a:hover {
    color: #ffffff;
}

.top-bar .auth-links .btn-register {
    background: #1e5f9e;
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.2s;
}

.top-bar .auth-links .btn-register:hover {
    background: #2a7ad4;
    color: #fff;
}

/* ========== 主导航 ========== */
.main-header {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 20, 40, 0.06);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #e9edf4;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo .brand {
    font-size: 26px;
    font-weight: 800;
    color: #0b1a2e;
    letter-spacing: 1px;
}

.logo .brand span {
    color: #1e5f9e;
}

.logo .slogan {
    font-size: 12px;
    color: #6b7a8f;
    font-weight: 400;
    margin-left: 6px;
    letter-spacing: 0.5px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #1e2a3a;
    border-radius: 6px;
    transition: all 0.2s;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    background: #eef4fb;
    color: #1e5f9e;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 30%;
    width: 40%;
    height: 3px;
    background: #1e5f9e;
    border-radius: 4px;
}

.main-nav .nav-cta {
    background: #1e5f9e;
    color: #fff;
    padding: 8px 22px;
    border-radius: 30px;
    font-weight: 600;
    margin-left: 10px;
}

.main-nav .nav-cta:hover {
    background: #0b3d6b;
    color: #fff;
}

.menu-toggle {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    color: #0b1a2e;
    cursor: pointer;
    padding: 4px 8px;
}

/* ========== Hero ========== */
.hero {
    background: linear-gradient(135deg, #0b1a2e 0%, #1a3550 100%);
    padding: 50px 0 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1 1 480px;
}

/* 合并 .badge 样式，确保图文同行 */
.hero-text .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1e5f9e;
    padding: 4px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
    white-space: nowrap;           /* 防止文字换行 */
    line-height: 1.4;              /* 统一行高 */
    margin-bottom: 18px;
}

.hero-text .badge .badge-icon {
    width: 16px;
    height: auto;
    display: block;
}

.hero-text h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-text h1 span {
    color: #7bb3ff;
}

.hero-text p {
    font-size: 18px;
    color: #cbdae9;
    max-width: 500px;
    margin-bottom: 28px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.hero-stats .stat-item h3 {
    font-size: 28px;
    font-weight: 700;
    color: #7bb3ff;
}

.hero-stats .stat-item p {
    font-size: 14px;
    color: #a0b8d0;
    margin: 0;
}

.hero-image {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image .hero-illustration {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 60px 60px 60px 10px;
    padding: 30px 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(2px);
    text-align: center;
    width: 100%;
    max-width: 420px;
}

.hero-image .hero-illustration img {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
    opacity: 0.7;
}

.hero-image .hero-illustration .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}

.hero-image .hero-illustration .tag-cloud span {
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ========== 快速入口 ========== */
.section-nav {
    padding: 50px 0 20px;
    background: #f4f7fc;
}

.section-nav .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 18px;
}

.section-nav .nav-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 12px 18px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    border: 1px solid #e9edf4;
    transition: all 0.25s;
    cursor: pointer;
}

.section-nav .nav-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(30, 95, 158, 0.10);
    border-color: #c6d9f0;
}

.section-nav .nav-card img {
    width: 32px;
    height: auto;
    display: block;
    margin: 0 auto 8px;
}

.section-nav .nav-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: #0b1a2e;
    margin-bottom: 4px;
}

.section-nav .nav-card p {
    font-size: 12px;
    color: #6b7a8f;
    margin: 0;
}

/* ========== 通用标题 ========== */
.section-title {
    text-align: center;
    margin: 50px 0 30px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0b1a2e;
    letter-spacing: -0.5px;
}

.section-title h2 span {
    color: #1e5f9e;
}

.section-title p {
    color: #5a6e85;
    font-size: 16px;
    max-width: 580px;
    margin: 8px auto 0;
}

/* ========== 业务板块 ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin: 10px 0 30px;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 22px 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
    border: 1px solid #edf2f8;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: #1e5f9e;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(30, 95, 158, 0.08);
    border-color: #c6d9f0;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card .icon-wrap {
    width: 56px;
    height: 56px;
    background: #e9f0fa;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.service-card .icon-wrap img {
    width: 32px;
    height: auto;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0b1a2e;
}

.service-card p {
    color: #4e637a;
    font-size: 14px;
    margin-bottom: 14px;
    line-height: 1.6;
}

.service-card .tag {
    display: inline-block;
    background: #eef4fb;
    color: #1e5f9e;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 14px;
    border-radius: 30px;
    margin-right: 6px;
    margin-bottom: 4px;
}

.service-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: #1e5f9e;
    font-size: 14px;
}

.service-card .card-link .arrow-icon {
    width: 20px;
    height: auto;
    display: block;
    transition: transform 0.2s ease;
}

.service-card .card-link:hover .arrow-icon {
    transform: translateX(4px) scale(1.1);
}

/* 高亮卡片 (司机招聘) */
.service-card.highlight {
    background: linear-gradient(145deg, #0b1a2e, #1a3550);
    color: #fff;
    border-color: #1a3550;
}

.service-card.highlight .icon-wrap {
    background: rgba(255, 255, 255, 0.10);
}

.service-card.highlight .icon-wrap img {
    filter: brightness(10);
}

.service-card.highlight h3 {
    color: #fff;
}

.service-card.highlight p {
    color: #b0c8e0;
}

.service-card.highlight .tag {
    background: rgba(255, 255, 255, 0.12);
    color: #7bb3ff;
}

.service-card.highlight .card-link {
    color: #7bb3ff;
}

/* ========== 信任数据 ========== */
.trust-section {
    background: #ffffff;
    padding: 50px 0 40px;
    margin: 40px 0 20px;
    border-top: 1px solid #e9edf4;
    border-bottom: 1px solid #e9edf4;
}

.trust-section .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.trust-item {
    flex: 1 1 140px;
}

.trust-item .number {
    font-size: 36px;
    font-weight: 800;
    color: #1e5f9e;
}

.trust-item .label {
    font-size: 14px;
    color: #4e637a;
    margin-top: 4px;
}

/* ========== 底部 ========== */
.main-footer {
    background: #0b1a2e;
    color: #b0c4de;
    padding: 50px 0 20px;
    margin-top: 40px;
}

.main-footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
}

.main-footer h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 600;
}

.main-footer ul li {
    margin-bottom: 8px;
    font-size: 14px;
}

.main-footer ul li a:hover {
    color: #ffffff;
}

.main-footer .footer-brand .brand {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.main-footer .footer-brand .brand span {
    color: #7bb3ff;
}

.main-footer .footer-brand p {
    margin-top: 8px;
    font-size: 14px;
    max-width: 260px;
}

.main-footer .footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 13px;
    color: #6a7f98;
}

.main-footer .footer-bottom a {
    color: #6a7f98;
    margin-left: 20px;
}

.main-footer .footer-bottom a:hover {
    color: #fff;
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 34px;
    }

    .main-nav a {
        padding: 6px 12px;
        font-size: 14px;
    }

    .main-nav .nav-cta {
        padding: 6px 16px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        background: #ffffff;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        padding: 20px 24px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
        border-top: 1px solid #e9edf4;
        gap: 4px;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
    }

    .main-nav .nav-cta {
        margin-left: 0;
        text-align: center;
        margin-top: 6px;
    }

    .hero {
        padding: 36px 0 44px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .hero-stats .stat-item h3 {
        font-size: 22px;
    }

    .section-nav .container {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .top-bar .contact-info span {
        margin-right: 10px;
        font-size: 12px;
    }

    .top-bar .auth-links a {
        margin-left: 10px;
        font-size: 12px;
    }

    .logo .slogan {
        display: none;
    }

    .main-footer .container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .section-nav .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .main-footer .container {
        grid-template-columns: 1fr;
    }
}