/* ===== 全局重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #333;
    background: #f7f9fc;
    line-height: 1.6;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }

/* ===== 顶部导航 ===== */
.site-header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 58px;
}
.nav-logo {
    font-size: 22px;
    font-weight: 700;
    color: #1890ff;
    letter-spacing: 1px;
}
.nav-menu { display: flex; gap: 4px; align-items: center; }
.nav-menu a {
    padding: 8px 20px;
    color: #555;
    border-radius: 6px;
    transition: all 0.25s;
    font-size: 15px;
}
.nav-menu a:hover { background: #e6f7ff; color: #1890ff; }

/* ===== 导航下拉（业务/登录） ===== */
.nav-item { position: relative; }
.nav-link {
    display: inline-block;
    padding: 8px 20px;
    color: #555;
    border-radius: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-family: inherit;
    line-height: 1.6;
    transition: all 0.25s;
}
.nav-link:hover { background: #e6f7ff; color: #1890ff; }
.nav-link .caret {
    display: inline-block;
    margin-left: 2px;
    border: 4px solid transparent;
    border-top-color: currentColor;
    border-bottom-width: 0;
    vertical-align: middle;
}
.nav-item.open .dropdown-toggle .caret { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s ease;
    z-index: 1000;
    box-sizing: border-box;
}
.nav-item:hover .dropdown-menu,
.nav-item.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-item {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 14px;
    color: #555;
    border-radius: 6px;
    font-size: 14px;
    text-align: left;
    white-space: nowrap;
    text-decoration: none;
}
.dropdown-item:hover { background: #e6f7ff; color: #1890ff; }

@media (hover: none) {
    .nav-item:hover .dropdown-menu { opacity: 0; visibility: hidden; transform: translateY(6px); }
    .nav-item.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
}

/* ===== 导航按钮 ===== */
.btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
    border: none;
}
.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-primary { background: #1890ff; color: #fff; }
.btn-primary:hover { background: #096dd9; box-shadow: 0 4px 16px rgba(24,144,255,0.35); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.8); }
.btn-outline:hover { background: #fff; color: #1890ff; }

/* ===== Hero 区域 ===== */
.hero {
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 50%, #0050b3 100%);
    color: #fff;
    padding: 56px 0 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero h1 {
    font-size: 34px;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
}
.hero-subtitle {
    font-size: 17px;
    opacity: 0.92;
    margin-bottom: 28px;
    position: relative;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    position: relative;
}
.hero-area {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    position: relative;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    position: relative;
}
.stat-item { text-align: center; }
.stat-number {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 14px;
    opacity: 0.85;
}

/* ===== 通用区块 ===== */
.section-title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

/* ===== 服务范围 ===== */
.services-section { padding: 36px 0 28px; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}
.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-icon-blue { background: #e6f7ff; color: #1890ff; }
.service-icon-green { background: #f6ffed; color: #52c41a; }
.service-icon-orange { background: #fff7e6; color: #fa8c16; }
.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1a1a1a;
}
.service-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* ===== 为什么选择我们 ===== */
.why-section {
    padding: 80px 0;
    background: #fff;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.why-item { text-align: center; }
.why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    background: #e6f7ff;
    color: #1890ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.why-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a1a1a;
}
.why-item p {
    color: #777;
    font-size: 14px;
    line-height: 1.7;
}

/* ===== 服务流程 ===== */
.process-section { padding: 80px 0; }
.process-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}
.process-item {
    flex: 1;
    text-align: center;
    max-width: 220px;
}
.process-step {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #1890ff, #096dd9);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(24,144,255,0.3);
}
.process-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a1a1a;
}
.process-item p {
    color: #777;
    font-size: 14px;
    line-height: 1.7;
    padding: 0 8px;
}
.process-arrow {
    color: #d9d9d9;
    font-size: 24px;
    padding-top: 14px;
    flex-shrink: 0;
    margin: 0 8px;
}

/* ===== CTA 区域 ===== */
.cta-section {
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}
.cta-section h2 {
    font-size: 30px;
    margin-bottom: 12px;
    font-weight: 700;
}
.cta-section p {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 28px;
}
.cta-section .btn-primary {
    background: #fff;
    color: #1890ff;
}
.cta-section .btn-primary:hover {
    background: #e6f7ff;
    box-shadow: 0 4px 20px rgba(255,255,255,0.3);
}

/* ===== 页脚 ===== */
.site-footer {
    background: #001529;
    color: rgba(255,255,255,0.65);
    padding: 24px 0 20px;
    text-align: center;
    font-size: 14px;
}
.site-footer a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-link { margin-top: 10px; }
.footer-hotline { margin-bottom: 10px; }
.footer-hotline a {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}
.footer-hotline a:hover { color: #1890ff; }
.footer-divider { margin: 0 12px; color: rgba(255,255,255,0.3); }
.site-footer .footer-beian { margin-top: 10px; color: rgba(255,255,255,0.45); }
.site-footer .footer-beian a { color: rgba(255,255,255,0.55); }
.site-footer .footer-beian a:hover { color: #fff; text-decoration: underline; }
.site-footer .footer-beian .footer-divider { margin: 0 10px; color: rgba(255,255,255,0.25); }

/* ===== 详情页 ===== */
.detail-page { padding: 48px 0; }
.detail-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.detail-content h1 { font-size: 28px; margin-bottom: 16px; }
.detail-content .meta {
    color: #999;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}
.detail-content .body { line-height: 1.9; color: #444; }

/* ===== 响应式：平板 ===== */
@media (max-width: 1023px) {
    .hero { padding: 70px 0 60px; }
    .hero h1 { font-size: 32px; }
    .hero-stats { gap: 40px; }
    .services-section, .why-section, .process-section { padding: 60px 0; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .process-grid { flex-wrap: wrap; gap: 24px; }
    .process-arrow { display: none; }
}

/* ===== 响应式：手机 ===== */
@media (max-width: 767px) {
    .container { padding: 0 16px; }
    .nav-bar { height: 58px; }
    .nav-logo { font-size: 18px; }
    .nav-menu { gap: 0; }
    .nav-menu a, .nav-menu .nav-link { padding: 6px 10px; font-size: 14px; }
    .nav-menu .nav-link .caret { margin-left: 0; }
    /* 移动端下拉：靠近触发项下方、不贴近屏边 */
    /* 移动端下拉：与触发项左对齐同宽，限宽避免超屏 */
    .dropdown-menu {
        left: 0;
        right: auto;
        width: 100%;
        min-width: 0;
        max-width: 80vw;
    }
    .dropdown-item { padding: 7px 12px; font-size: 13px; white-space: nowrap; }
    .hero { padding: 56px 0 48px; }
    .hero h1 { font-size: 26px; letter-spacing: 1px; }
    .hero-subtitle { font-size: 15px; margin-bottom: 28px; }
    .hero-buttons { flex-direction: column; gap: 12px; margin-bottom: 40px; }
    .hero-buttons .btn { width: 100%; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .stat-number { font-size: 24px; }
    .stat-label { font-size: 12px; }
    .section-title { font-size: 24px; }
    .section-subtitle { font-size: 14px; margin-bottom: 32px; }
    .services-grid { grid-template-columns: 1fr; gap: 18px; }
    .service-card { padding: 28px 20px; }
    .service-icon { width: 64px; height: 64px; margin-bottom: 16px; }
    .service-card h3 { font-size: 19px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .why-icon { width: 52px; height: 52px; }
    .process-item { max-width: 100%; flex: 0 0 100%; }
    .cta-section { padding: 48px 0; }
    .cta-section h2 { font-size: 22px; }
    .cta-section p { font-size: 15px; }
    .site-footer { padding: 28px 0 18px; font-size: 13px; }
    .detail-page { padding: 24px 0; }
    .detail-content { padding: 20px 16px; }
    .detail-content h1 { font-size: 22px; }
}


