/* -------- 轮播 (Banner) 高度 700px -------- */
.hero-carousel {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}
.hero-carousel .carousel-item {
    height: 700px;
    position: relative;
    background: #f0f4fa;
}
.hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-carousel .carousel-indicators button {
    background-color: #ffffff;
    opacity: 0.6;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: none;
    margin: 0 8px;
}
.hero-carousel .carousel-indicators button.active {
    opacity: 1;
    background-color: #80c8f0;
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
    opacity: 1;
    pointer-events: auto;
}
.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    filter: invert(1);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 30px;
    background-size: 70%;
    width: 60px;
    height: 60px;
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 10%;
}
@media (max-width: 991.98px) {
    .hero-carousel .carousel-item {
        height: 560px;
    }
}
@media (max-width: 767.98px) {
    .hero-carousel .carousel-item {
        height: 420px;
    }
    .hero-carousel .carousel-control-prev-icon,
    .hero-carousel .carousel-control-next-icon {
        padding: 20px;
        width: 40px;
        height: 40px;
        background-size: 60%;
    }
    .hero-carousel .carousel-indicators button {
        width: 14px;
        height: 14px;
    }
}
@media (max-width: 575.98px) {
    .hero-carousel .carousel-item {
        height: 300px;
    }
    .hero-carousel .carousel-control-prev-icon,
    .hero-carousel .carousel-control-next-icon {
        padding: 15px;
        width: 32px;
        height: 32px;
        background-size: 50%;
    }
    .hero-carousel .carousel-indicators button {
        width: 12px;
        height: 12px;
    }
}

/* -------- 统计栏 (首页顶部) -------- */
.stats-section {
    background-color: #f8faff;
    padding: 30px 0 22px;
}
.stats-section .container {
    border-bottom: 1px solid #e9edf4;
    padding-bottom: 22px;
}
.stat-item {
    text-align: center;
    padding: 0.5rem 0;
    position: relative;
}
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: #dde2eb;
}
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #006ACD;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.stat-label {
    font-size: 1rem;
    color: #6c7a8a;
    margin-top: 0.2rem;
}
@media (max-width: 575.98px) {
    .stat-number {
        font-size: 2.2rem;
    }
    .stat-label {
        font-size: 0.9rem;
    }
    .stat-item:not(:last-child)::after {
        top: 10%;
        height: 80%;
    }
    .stats-section {
        padding: 24px 0 16px;
    }
    .stats-section .container {
        padding-bottom: 16px;
    }
}
@media (max-width: 767.98px) {
    .stat-item:not(:last-child)::after {
        top: 10%;
        height: 80%;
    }
    .stats-section {
        padding: 26px 0 18px;
    }
    .stats-section .container {
        padding-bottom: 18px;
    }
}

/* -------- 特色卡片 (一行两个，两行) -------- */
.feature-section {
    padding: 40px 0 60px;
    background: #f8faff;
}
.feature-section .section-title {
    font-weight: 600;
    color: #0b1a33;
    margin-bottom: 0.5rem;
}
.feature-section .section-sub {
    color: #6c7a8a;
    font-size: 1.05rem;
}
.feature-card {
    border: none;
    border-radius: 1.2rem;
    padding: 2rem 1.5rem;
    transition: all 0.3s;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 106, 205, 0.08);
}
.feature-card .icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(0, 106, 205, 0.10);
    color: #006ACD;
    font-size: 2rem;
    margin-bottom: 1.2rem;
}
.feature-card h5 {
    font-weight: 600;
    color: #0b1a33;
}
.feature-card p {
    color: #6c7a8a;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* -------- API 服务能力 (左右图文板块) -------- */
.api-service-section {
    padding: 50px 0 60px;
    background: #ffffff;
}
.api-service-section .section-title {
    font-weight: 700;
    color: #0b1a33;
    margin-bottom: 0.5rem;
}
.api-service-section .section-sub {
    color: #6c7a8a;
    font-size: 1.1rem;
}
.api-service-left {
    padding-right: 2rem;
}
.api-service-left .service-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.api-service-left .service-feature .sf-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 106, 205, 0.10);
    color: #006ACD;
    font-size: 1.5rem;
}
.api-service-left .service-feature .sf-text h6 {
    font-weight: 600;
    color: #0b1a33;
    margin-bottom: 0.2rem;
}
.api-service-left .service-feature .sf-text p {
    color: #6c7a8a;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}
.api-service-right {
    display: flex;
    align-items: center;
    justify-content: center;
}
.api-service-right .service-illustration {
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    background: #f8faff;
    border-radius: 1.5rem;
    text-align: center;
    border: 1px solid #eef2f8;
}
.api-service-right .service-illustration i {
    font-size: 8rem;
    color: #006ACD;
    opacity: 0.6;
    display: block;
    margin-bottom: 0.5rem;
}
.api-service-right .service-illustration .ill-title {
    font-weight: 600;
    color: #0b1a33;
    font-size: 1.1rem;
}
.api-service-right .service-illustration .ill-desc {
    color: #6c7a8a;
    font-size: 0.9rem;
}

@media (max-width: 767.98px) {
    .api-service-left {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    .api-service-right .service-illustration i {
        font-size: 5rem;
    }
}

/* -------- 数据统计板块 (左右布局，曲线图) -------- */
.data-stats-section {
    padding: 60px 0 70px;
    background: #f8faff;
    border-top: 1px solid #eef2f8;
}
.data-stats-section .section-title {
    font-weight: 700;
    color: #0b1a33;
    margin-bottom: 0.5rem;
}
.data-stats-section .section-sub {
    color: #6c7a8a;
    font-size: 1.1rem;
}

.trend-chart {
    background: #ffffff;
    border-radius: 1.2rem;
    padding: 1.8rem 1.5rem 1.2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
    height: 100%;
    min-height: 340px;
}
.trend-chart .trend-title {
    font-weight: 600;
    color: #0b1a33;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}
.trend-chart .trend-title i {
    color: #006ACD;
    margin-right: 6px;
}
.chart-container {
    width: 100%;
    position: relative;
}
.chart-container svg {
    width: 100%;
    height: auto;
    display: block;
}
.chart-legend {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
    margin-top: 0.6rem;
    font-size: 0.75rem;
    color: #6c7a8a;
}
.chart-legend span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.chart-legend .dot {
    display: inline-block;
    width: 12px;
    height: 4px;
    border-radius: 2px;
}
.chart-legend .dot.dot-visit {
    background: #006ACD;
}
.chart-legend .dot.dot-api {
    background: #f59e0b;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    height: 100%;
}
.stat-mini-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.2rem 1rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.stat-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 106, 205, 0.08);
    border-color: rgba(0, 106, 205, 0.10);
}
.stat-mini-card .sm-icon {
    font-size: 1.6rem;
    color: #006ACD;
    margin-bottom: 0.2rem;
}
.stat-mini-card .sm-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0b1a33;
    line-height: 1.2;
}
.stat-mini-card .sm-number .counter {
    color: #006ACD;
}
.stat-mini-card .sm-number .sm-unit {
    font-size: 1rem;
    color: #006ACD;
    font-weight: 600;
}
.stat-mini-card .sm-label {
    font-size: 0.8rem;
    color: #6c7a8a;
    margin-top: 0.1rem;
}

@media (max-width: 991.98px) {
    .data-stats-section {
        padding: 40px 0 50px;
    }
    .data-stats-section .row>div:first-child {
        margin-bottom: 1.5rem;
    }
    .trend-chart {
        min-height: 280px;
    }
    .stats-grid {
        gap: 0.8rem;
    }
    .stat-mini-card .sm-number {
        font-size: 1.4rem;
    }
}
@media (max-width: 575.98px) {
    .data-stats-section {
        padding: 30px 0 40px;
    }
    .trend-chart {
        min-height: 220px;
        padding: 1rem 0.8rem;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }
    .stat-mini-card {
        padding: 0.8rem 0.5rem;
    }
    .stat-mini-card .sm-number {
        font-size: 1.2rem;
    }
    .stat-mini-card .sm-icon {
        font-size: 1.2rem;
    }
    .stat-mini-card .sm-label {
        font-size: 0.7rem;
    }
    .chart-legend {
        font-size: 0.65rem;
        gap: 1rem;
    }
}

/* -------- 友情链接 -------- */
.friendship-section {
    padding: 40px 0 60px;
    background: #ffffff;
    border-top: 1px solid #eef2f8;
}
.friendship-section .section-title {
    font-weight: 600;
    color: #0b1a33;
    margin-bottom: 0.5rem;
}
.friendship-section .section-sub {
    color: #6c7a8a;
    font-size: 1.05rem;
}
.friendship-link {
    display: inline-block;
    padding: 8px 28px;
    color: #4b5a6a;
    border: 1px solid #dde2eb;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    background: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
}
.friendship-link:hover {
    color: #006ACD;
    border-color: #006ACD;
    box-shadow: 0 4px 12px rgba(0, 106, 205, 0.10);
    transform: translateY(-3px);
    background: #ffffff;
}