/* 重置与基础 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    color: #1e293b;
    line-height: 1.8;
    font-size: 16px;
    transition: background 0.3s, color 0.3s;
    min-height: 100vh;
}
a {
    color: #1e3a5f;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #d97706;
}
ul {
    list-style: none;
}
img {
    display: block;
    max-width: 100%;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* 导航 */
.site-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2a4a6f 100%);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.site-header.scrolled {
    background: rgba(30, 58, 95, 0.88);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.logo svg {
    width: 36px;
    height: 36px;
    fill: #f59e0b;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.nav-menu {
    display: flex;
    gap: 24px;
    align-items: center;
}
.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    padding: 6px 0;
    position: relative;
    transition: color 0.2s;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: #f59e0b;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #f59e0b;
    transition: width 0.3s;
    border-radius: 2px;
}
.nav-menu a:hover::after {
    width: 100%;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 0.2s;
}
.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(30, 58, 95, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }
    .nav-menu.open {
        display: flex;
    }
}

/* 面包屑 */
.breadcrumb {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 12px 0;
    font-size: 14px;
    color: #64748b;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.breadcrumb a {
    color: #1e3a5f;
}
.breadcrumb span {
    margin: 0 6px;
    color: #94a3b8;
}

/* 横幅轮播 */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f1f33 50%, #1e3a5f 100%);
    min-height: 460px;
    display: flex;
    align-items: center;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
}
.hero-slide {
    display: none;
    width: 100%;
    padding: 70px 20px;
    color: #fff;
    text-align: center;
    animation: fadeIn 0.8s ease;
    position: relative;
    z-index: 1;
}
.hero-slide.active {
    display: block;
}
.hero-slide h1 {
    font-size: 42px;
    margin-bottom: 16px;
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}
.hero-slide p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 28px;
    opacity: 0.92;
    line-height: 1.7;
}
.hero-btn {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}
.hero-btn:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}
.hero-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}
.hero-indicators span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}
.hero-indicators span.active {
    background: #f59e0b;
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 通用区块 */
.section {
    padding: 70px 0;
}
.section-title {
    text-align: center;
    font-size: 34px;
    margin-bottom: 12px;
    color: #1e3a5f;
    position: relative;
    padding-bottom: 18px;
    font-weight: 700;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    border-radius: 4px;
}
.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 44px;
    font-size: 17px;
}
.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 28px;
}
.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 50px 0;
    }
    .section-title {
        font-size: 28px;
    }
}

/* 卡片 */
.card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.6);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}
.card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1e3a5f;
    font-weight: 600;
}
.card p {
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
}

/* 文章卡片 */
.article-card .meta {
    font-size: 13px;
    color: #94a3b8;
    margin: 10px 0;
    display: flex;
    gap: 8px;
}
.article-card .summary {
    color: #475569;
    font-size: 15px;
}
.read-more {
    color: #d97706;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
    transition: color 0.2s, transform 0.2s;
}
.read-more:hover {
    color: #b45309;
    transform: translateX(4px);
}

/* FAQ */
.faq-item {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: box-shadow 0.3s;
}
.faq-item:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.faq-question {
    background: rgba(248, 250, 252, 0.8);
    padding: 18px 24px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    transition: background 0.2s;
    color: #1e293b;
}
.faq-question:hover {
    background: rgba(241, 245, 249, 0.9);
}
.faq-question::after {
    content: '+';
    font-size: 22px;
    color: #1e3a5f;
    transition: transform 0.3s;
    font-weight: 300;
}
.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
}
.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 18px 24px 24px;
}

/* HowTo */
.howto-steps {
    counter-reset: step;
}
.howto-step {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 18px;
    border-left: 5px solid #f59e0b;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
}
.howto-step:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.howto-step h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1e3a5f;
    font-weight: 600;
}
.howto-step p {
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
}

/* 联系我们 */
.contact-info {
    background: linear-gradient(135deg, #1e3a5f, #0f1f33);
    color: #fff;
    border-radius: 18px;
    padding: 48px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}
.contact-info h3 {
    color: #f59e0b;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}
.contact-info p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.6;
}

/* 页脚 */
.site-footer {
    background: linear-gradient(135deg, #0f1f33, #0a1628);
    color: rgba(255, 255, 255, 0.75);
    padding: 48px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}
.footer-grid h4 {
    color: #fff;
    margin-bottom: 14px;
    font-size: 16px;
    font-weight: 600;
}
.footer-grid a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
    transition: color 0.2s;
}
.footer-grid a:hover {
    color: #f59e0b;
}
.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}
.footer-bottom p {
    margin-bottom: 4px;
}

/* 数字动画 */
.counter-wrap {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
}
.counter-wrap:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}
.counter-number {
    font-size: 52px;
    font-weight: 700;
    color: #f59e0b;
    display: block;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}
.counter-label {
    color: #475569;
    font-size: 16px;
    margin-top: 6px;
    font-weight: 500;
}

/* 暗黑模式 */
body.dark {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #e2e8f0;
}
body.dark .card,
body.dark .faq-item,
body.dark .howto-step {
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-color: rgba(255, 255, 255, 0.08);
}
body.dark .card:hover {
    background: rgba(30, 41, 59, 0.95);
}
body.dark .faq-question {
    background: rgba(15, 23, 42, 0.8);
    color: #e2e8f0;
}
body.dark .faq-question:hover {
    background: rgba(15, 23, 42, 0.9);
}
body.dark .breadcrumb {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(255, 255, 255, 0.05);
}
body.dark .section-title {
    color: #e2e8f0;
}
body.dark .card p,
body.dark .article-card .summary,
body.dark .howto-step p,
body.dark .faq-answer {
    color: #94a3b8;
}
body.dark .section-subtitle {
    color: #94a3b8;
}
body.dark .counter-wrap {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
}
body.dark .counter-label {
    color: #94a3b8;
}
body.dark .contact-info {
    background: linear-gradient(135deg, #0f172a, #1e293b);
}
.dark-toggle {
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.dark-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: rotate(15deg);
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e3a5f, #2a4a6f);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s;
}
.back-to-top:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

/* 搜索 */
.search-form {
    display: flex;
    gap: 10px;
    max-width: 520px;
    margin: 0 auto 32px;
}
.search-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.search-form input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
    background: #fff;
}
body.dark .search-form input {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}
body.dark .search-form input:focus {
    border-color: #f59e0b;
    background: rgba(30, 41, 59, 0.95);
}
.search-form button {
    background: linear-gradient(135deg, #1e3a5f, #2a4a6f);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0 28px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}
.search-form button:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    transform: translateY(-1px);
}

/* 滚动动画 */
.fade-up {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 图片懒加载占位 */
.lazy-img {
    background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* 友情链接 */
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}
.friend-links a {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    color: #1e293b;
}
.friend-links a:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: #f59e0b;
    color: #1e3a5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
body.dark .friend-links a {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}
body.dark .friend-links a:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: #f59e0b;
}

/* 资质徽章 */
.badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 8px;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.2);
    transition: all 0.2s;
}
.badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

/* 额外响应式调整 */
@media (max-width: 480px) {
    .hero-slide h1 {
        font-size: 28px;
    }
    .hero-slide p {
        font-size: 16px;
    }
    .hero {
        min-height: 340px;
    }
    .hero-slide {
        padding: 50px 16px;
    }
    .card {
        padding: 24px 20px;
    }
    .contact-info {
        padding: 32px 24px;
    }
    .counter-number {
        font-size: 40px;
    }
    .section-title {
        font-size: 24px;
    }
    .logo {
        font-size: 20px;
    }
    .logo svg {
        width: 30px;
        height: 30px;
    }
}