/**
 * 移动端样式（≤768px）
 * 在 index.html 中于 index.css 之后引入，仅在小屏生效。
 * PC / 平板样式仍在 index.css（含底部 1180px 自适应）。
 */

@media (max-width: 768px) {
    /* ---------- 通用 ---------- */
    html {
        overflow-x: clip;
    }

    /* ---------- Banner（Figma 375px） ---------- */
    .banner {
        align-items: stretch;
        min-height: 500px;
        height: 500px;
    }

    .banner__slide[data-banner="fanruan"] {
        background-image: url('https://src.fanruan.com/2026-website/fanruan/index/fanruanbanner.webp') !important;
    }

    .banner__slide[data-banner="wufan"] {
        background-image: url('https://src.fanruan.com/2026-website/fanruan/index/image/mbanner-wufan.png') !important;
    }

    .banner__slide[data-banner="dora"] {
        background-image: url('https://src.fanruan.com/2026-website/fanruan/index/image/mbanner-dora.png') !important;
    }

    .banner__slide[data-banner="moss"] {
        background-image: url('https://src.fanruan.com/2026-website/fanruan/index/image/mbanner-moss.png') !important;
    }

    .banner__slide[data-banner="binext"] {
        background-image: url('https://src.fanruan.com/2026-website/fanruan/index/bibanner.webp') !important;
    }

    .banner__slide[data-banner="fdl"] {
        background-image: url('https://src.fanruan.com/2026-website/fanruan/index/fdlbanner.webp') !important;
    }

    .banner__slide[data-banner="xiguan"] {
        display: none !important;
    }

    .banner__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: none;
        height: 100%;
        padding: 28px 38px;
        text-align: center;
    }

    .banner__copy {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .banner__h1,
    .banner h1 {
        font-size: 28px;
        line-height: 40px;
        margin-bottom: 10px;
        white-space: normal;
    }

    .banner__h3,
    .banner h3 {
        width: 100%;
        max-width: none;
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 14px;
    }

    .banner__btn {
        width: 143px;
        min-width: 143px;
        max-width: none;
        height: 47px;
        padding: 0 9px 0 18px;
        font-size: 18px;
    }

    .banner__btn-icon {
        width: 29px;
        height: 29px;
    }

    .banner__btn-icon img {
        width: 17px;
    }

    .banner__progress {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 28px;
        display: flex !important;
        justify-content: center;
        margin: 0;
        gap: 8px;
    }

    .banner__progress-item {
        width: 18px;
        height: 5px;
        border-radius: 999px;
        background: #888888;
        overflow: hidden;
    }

    .banner__progress-item.is-active .banner__progress-bar {
        background: #ffffff;
    }

    .banner__progress-bar {
        border-radius: 0;
        background: #ffffff;
    }

    .banner-tabs {
        display: none !important;
    }

    /* ---------- 模块通用（除 Banner） ---------- */
    .ai-center,
    .core-abilities,
    .digital-products,
    .industry-solutions,
    .customer-cases,
    .service-system,
    .brand-power,
    .awards,
    .footer-cta {
        padding-top: 40px;
        padding-bottom: 20px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .ai-center__title,
    .core-abilities__title,
    .digital-products__title,
    .industry-solutions__title,
    .customer-cases__title,
    .service-system__title,
    .brand-power__title,
    .awards__title,
    .footer-cta__title {
        font-size: 24px;
        line-height: 1.4;
    }

    /* ---------- 数据智能产品体系（移动端 Tab + 滑动卡片） ---------- */
    .ai-center {
        overflow: visible;
        background: #FAFCFF;
    }

    .ai-center__header {
        margin-bottom: 16px;
        padding: 0;
    }

    .ai-center__title {
        margin-bottom: 8px;
        padding: 0;
    }

    .ai-center__title br {
        display: block;
    }

    .ai-center__subtitle {
        font-size: 13px;
        line-height: 1.5;
        padding: 0 8px;
    }

    .ai-center__switch {
        width: 100%;
        max-width: 345px;
        height: 44px;
        padding: 4px;
        border-radius: 40px;
        background: #EEF4FF;
    }

    .ai-center__tab {
        width: calc((100% - 4px) / 2);
        height: 100%;
        min-height: 0;
        padding: 0 8px;
        border-radius: 36px;
    }

    .ai-center__tab-slider {
        border-radius: 36px;
    }

    .ai-center__tab-title {
        font-size: 13px;
        line-height: 18px;
        font-weight: 600;
    }

    .ai-center__tab-logo {
        width: 14px;
        margin-right: 4px;
    }

    .ai-center__tab-desc {
        display: none;
    }

    .ai-center__panes,
    .ai-center__grid {
        display: none;
    }

    .ai-center__mobile {
        display: block;
        width: 100%;
        margin-top: 16px;
        overflow: visible;
    }

    .ai-center__mobile-pane {
        display: none;
        overflow: visible;
    }

    .ai-center__mobile-pane.is-active {
        display: block;
    }

    .ai-center__m-track {
        position: relative;
        display: flex;
        align-items: stretch;
        gap: 15px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 8px 2px 28px;
        margin: 0 -2px;
    }

    .ai-center__m-track::-webkit-scrollbar {
        display: none;
    }

    .ai-center__m-card {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        flex: 0 0 100%;
        scroll-snap-align: start;
        box-sizing: border-box;
        width: 100%;
        min-width: 100%;
        height: 410px;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border: 1px solid #E7F0FA;
        border-radius: 16px;
        background: #F4F8FF;
        box-shadow: 0 4px 10px rgba(28, 93, 246, 0.05), 0 12px 28px rgba(15, 40, 80, 0.06);
    }

    .ai-center__m-card::-webkit-scrollbar {
        display: none;
    }

    .ai-center__m-card-title {
        margin: 0;
        width: 100%;
        max-width: none;
        font-size: 16px;
        font-weight: 600;
        line-height: 22px;
        color: #1F2329;
        text-align: left;
    }

    .ai-center__m-card-title + .ai-center__m-card-desc {
        margin-top: 4px;
    }

    .ai-center__m-list + .ai-center__m-card-title {
        margin-top: 12px;
    }

    .ai-center__m-card-desc {
        margin: 0;
        width: 100%;
        max-width: none;
        font-size: 12px;
        font-weight: 400;
        line-height: 18px;
        color: #8A8F99;
        text-align: left;
    }

    .ai-center__m-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        width: 100%;
        margin: 12px 0 0;
    }

    .ai-center__m-item {
        display: flex;
        align-items: center;
        box-sizing: border-box;
        width: 100%;
        height: 68px;
        flex-shrink: 0;
        gap: 10px;
        padding: 0 12px;
        border: 1px solid #F0F5FC;
        border-radius: 12px;
        background: #FFFFFF;
        box-shadow: 0 2px 8px rgba(77, 118, 255, 0.06);
        text-decoration: none;
        color: inherit;
        -webkit-tap-highlight-color: transparent;
    }

    .ai-center__m-item-body {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        min-width: 0;
        flex: 1 1 auto;
        width: 100%;
    }

    .ai-center__m-item-name {
        display: inline-flex;
        align-items: center;
        flex-wrap: wrap;
        font-size: 16px;
        font-weight: 600;
        line-height: 22px;
        color: #1F2329;
    }

    .ai-center__m-item-name::after {
        content: "";
        display: block;
        width: 6px;
        height: 6px;
        margin-left: 6px;
        border-top: 1.5px solid #1F2329;
        border-right: 1.5px solid #1F2329;
        transform: rotate(45deg);
        flex-shrink: 0;
    }

    .ai-center__m-badge {
        display: inline-flex;
        align-items: center;
        margin-left: 6px;
        padding: 0 6px;
        border-radius: 4px;
        background: #1C5DF6;
        font-size: 10px;
        font-weight: 500;
        line-height: 16px;
        color: #ffffff;
    }

    .ai-center__m-item-desc {
        margin-top: 2px;
        font-size: 12px;
        font-weight: 400;
        line-height: 18px;
        color: #8A8F99;
    }

    .ai-center__m-logo {
        display: block;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        object-fit: contain;
        object-position: center;
    }

    .ai-center__m-dots {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin-top: 14px;
    }

    .ai-center__m-dots span {
        display: block;
        width: 8px;
        height: 4px;
        border-radius: 4px;
        background: #C9D4E8;
        transition: width 0.25s ease, background-color 0.25s ease;
    }

    .ai-center__m-dots span.is-active {
        width: 18px;
        background: #4D76FF;
    }

    .ai-center__mobile-pane[data-tab="cloud"] .ai-center__m-track {
        overflow-x: hidden;
        overflow-y: visible;
        scroll-snap-type: none;
        padding-bottom: 8px;
    }

    .ai-center__mobile-pane[data-tab="cloud"] .ai-center__m-card {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        height: 410px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .ai-center__mobile-pane[data-tab="cloud"] .ai-center__m-dots {
        display: none;
    }

    .ai-center__trial {
        width: 160px;
        height: 44px;
        margin-top: 24px;
        padding: 0 8px 0 18px;
        font-size: 15px;
    }

    .ai-center__trial-icon {
        width: 28px;
        height: 28px;
    }

    .ai-center__trial-icon img {
        width: 12px;
        height: 12px;
    }

    /* ---------- 一站式数字化产品 ---------- */
    .digital-products {
        margin-left: 0;
        margin-right: 0;
        max-width: none;
        border-radius: 0;
        background-color: #ffffff;
    }

    .core-abilities {
        padding-top: 40px;
        padding-bottom: 24px;
    }

    .core-abilities__title {
        margin-bottom: 20px;
    }

    .core-abilities__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }

    .core-abilities__card {
        width: 100%;
        height: auto;
        min-height: 196px;
        padding: 16px 14px 20px;
        border-radius: 8px;
        overflow: hidden;
    }

    .core-abilities__icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
        border-radius: 6px;
    }

    .core-abilities__icon img {
        width: 22px;
        height: 22px;
    }

    .core-abilities__card-title {
        font-size: 14px;
        line-height: 1.35;
        margin-bottom: 6px;
    }

    .core-abilities__card-desc {
        font-size: 11px;
        line-height: 1.5;
    }

    .core-abilities__card-desc br {
        display: none;
    }

    .core-abilities__num {
        right: 2px;
        width: 96px;
        height: 72px;
        font-size: 60px;
        letter-spacing: -0.06em;
        transform: translateY(20%);
    }

    .digital-products__bg {
        display: none;
    }

    .digital-products__title {
        margin-bottom: 24px;
        padding: 0;
    }

    .digital-products__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        width: 100%;
        max-width: none;
        margin: 0 auto;
        padding: 0;
    }

    .digital-products__item {
        width: 100%;
        min-width: 0;
    }

    .digital-products__card {
        width: 100%;
        max-width: none;
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
        padding: 20px 12px 24px;
        border-radius: 8px;
        border: 1px solid #D6EDFF;
        box-shadow: 0px 2px 8px 0px #4D76FF1A;
    }

    .digital-products__card:hover {
        transform: none;
        border-color: #D6EDFF;
        box-shadow: 0px 2px 8px 0px #4D76FF1A;
    }

    .digital-products__card h4 {
        font-size: 16px;
    }

    .digital-products__card-title-suffix {
        display: none;
    }

    .digital-products__card p {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .digital-products__card p br {
        display: none;
    }

    .digital-products__visual {
        aspect-ratio: auto;
        height: 120px;
        margin-bottom: 16px;
    }

    .digital-products__btn {
        width: 82px;
        height: 28px;
        font-size: 11px;
    }

    .digital-products__actions {
        gap: 8px;
    }

    /* ---------- 行业解决方案（移动端 Swiper） ---------- */
    .industry-solutions {
        padding-left: 30px;
        padding-right: 0;
        overflow: hidden;
    }

    .industry-solutions__title {
        margin-bottom: 24px;
        padding: 0 30px 0 0;
    }

    .industry-solutions__list {
        display: none !important;
    }

    .industry-solutions__mobile {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .industry-solutions__mobile-swiper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .industry-solutions__mobile-swiper .swiper-wrapper {
        align-items: stretch;
    }

    .industry-solutions__mobile-slide {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        height: 400px;
        padding: 30px;
        border-radius: 8px;
        background-color: #f4f6ff;
        background-repeat: no-repeat;
        background-position: center bottom;
        background-size: cover;
        text-decoration: none;
        color: inherit;
        -webkit-tap-highlight-color: transparent;
    }

    .industry-solutions__mobile-slide--zhizao {
        background-image: url('https://src.fanruan.com/2026-website/fanruan/index/image/mpart3-zhizao1.png');
    }

    .industry-solutions__mobile-slide--xiaofei {
        background-image: url('https://src.fanruan.com/2026-website/fanruan/index/image/mpart3-xiaofei1.png');
    }

    .industry-solutions__mobile-slide--qiche {
        background-image: url('https://src.fanruan.com/2026-website/fanruan/index/image/mpart3-qiche1.png');
    }

    .industry-solutions__mobile-slide--nengyuan {
        background-image: url('https://src.fanruan.com/2026-website/fanruan/index/image/mpart3-nengyuan1.png');
    }

    .industry-solutions__mobile-slide--yiyao {
        background-image: url('https://src.fanruan.com/2026-website/fanruan/index/image/mpart3-yiyao1.png');
    }

    .industry-solutions__mobile-slide--jinrong {
        background-image: url('https://src.fanruan.com/2026-website/fanruan/index/image/mpart3-jinrong1.png');
    }

    .industry-solutions__mobile-slide-title {
        margin: 0 0 8px;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.4;
        color: #000000;
    }

    .industry-solutions__mobile-slide-desc {
        margin: 0;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.5;
        color: #333333;
    }

    .industry-solutions__mobile-slide-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 108px;
        height: 30px;
        margin-top: 12px;
        border: 1px solid #4D76FF;
        border-radius: 30px;
        background: #FFFFFF;
        font-size: 12px;
        font-weight: 500;
        line-height: 1;
        color: #4D76FF;
    }

    .industry-solutions__mobile-pagination {
        position: static !important;
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 16px;
        padding-right: 30px;
        transform: none !important;
    }

    .industry-solutions__mobile-pagination.swiper-pagination-horizontal {
        bottom: auto;
        left: auto;
        width: auto;
    }

    .industry-solutions__mobile-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 3px;
        margin: 0 !important;
        border-radius: 2px;
        background: #555555;
        opacity: 1;
        transition: background-color 0.2s ease;
    }

    .industry-solutions__mobile-pagination .swiper-pagination-bullet-active {
        background: #4D76FF;
    }

    /* ---------- 客户案例 ---------- */
    .customer-cases__inner {
        width: 100%;
        max-width: none;
    }

    .customer-cases__title {
        margin-bottom: 24px;
    }

    .customer-cases__tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .customer-cases__tabs::-webkit-scrollbar {
        display: none;
    }

    .customer-cases__tab {
        flex-shrink: 0;
        height: 40px;
        padding: 0 16px;
        font-size: 14px;
        border-radius: 40px;
    }

    .customer-cases__tab.is-active {
        width: auto;
        min-width: 0;
        padding: 0 18px;
    }

    .customer-cases__hero {
        width: 100%;
        aspect-ratio: auto;
        min-height: 280px;
        padding: 28px 24px;
    }

    .customer-cases__hero-title {
        margin-bottom: 16px;
        font-size: 22px;
    }

    .customer-cases__hero-desc {
        max-width: 100%;
        margin-bottom: 32px;
        font-size: 14px;
    }

    .customer-cases__cards {
        flex-direction: row;
        align-items: stretch;
        gap: 8px;
        margin-top: 8px;
    }

    .customer-cases__card {
        flex: 1;
        min-width: 0;
        width: auto;
        max-width: none;
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
    }

    .customer-cases__card-cover {
        height: auto;
        aspect-ratio: 370 / 165;
    }

    .customer-cases__card-body {
        display: flex;
        flex-direction: column;
        padding: 8px;
    }

    .customer-cases__card-logo,
    .customer-cases__card-logo[src*="huarun2"] {
        display: none;
    }

    .customer-cases__card-name {
        margin-bottom: 4px;
        font-size: 10px;
    }

    .customer-cases__card-desc {
        margin-bottom: 0;
        font-size: 8px;
        line-height: 1.4;
    }

    .customer-cases__card-tags {
        display: none;
    }

    .customer-cases__more-btn {
        display: none;
    }

    /* ---------- 服务体系 ---------- */
    .service-system__title {
        margin-bottom: 28px;
        padding: 0;
    }

    .service-system__title br {
        display: none;
    }

    .service-system__card-desc br {
        display: none;
    }

    .service-system__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
        max-width: none;
    }

    .service-system__row {
        display: contents;
    }

    .service-system__card {
        box-sizing: border-box;
        width: 100%;
        max-width: none;
        height: 190px;
        min-height: 190px;
        padding: 15px;
        aspect-ratio: auto;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    .service-system__card--sm,
    .service-system__card--lg {
        width: 100%;
        max-width: none;
        height: 190px;
        min-height: 190px;
        aspect-ratio: auto;
    }

    .service-system__card--bg-2 {
        order: 1;
        background-image: url("https://src.fanruan.com/2025-website/finebi-website/index/img/fb-service2.png");
    }

    .service-system__card--bg-3 {
        order: 2;
        background-image: url("../image/fb-service6.png");
    }

    .service-system__card--bg-4 {
        order: 3;
        background-image: url("https://src.fanruan.com/2025-website/finebi-website/index/img/fb-service4.png");
    }

    .service-system__card--bg-5 {
        order: 4;
        background-image: url("../image/fb-service7.png");
    }

    .service-system__card--bg-5 .service-system__card-desc {
        width: auto;
    }

    .service-system__card--bg-6 {
        order: 5;
        grid-column: 1 / -1;
        height: 214px;
        min-height: 214px;
        padding: 22px;
        background-image: url("https://src.fanruan.com/2025-website/finebi-website/index/img/fb-service6.png");
    }

    .service-system__card--bg-6 .service-system__card-desc {
        width: 80%;
    }

    .service-system__card-title {
        margin-bottom: 8px;
        font-size: 16px;
        font-weight: 600;
    }

    .service-system__card-desc {
        font-size: 12px;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* ---------- 品牌实力 ---------- */
    .brand-power__title {
        margin-bottom: 28px;
        padding: 0;
    }

    .brand-power__grid {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        max-width: none;
    }

    .brand-power__left {
        width: 100%;
        max-width: none;
        gap: 12px;
    }

    .brand-power__card--sm,
    .brand-power__card--lg {
        width: 100%;
        max-width: none;
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
        padding: 24px;
    }

    .brand-power__card--sm {
        min-height: 160px;
    }

    .brand-power__left .brand-power__card--sm:first-child {
        padding: 20px;
        min-height: 0;
    }

    .brand-power__left .brand-power__card--sm:first-child .brand-power__card-title {
        margin-bottom: 12px;
        font-size: 16px;
    }

    .brand-power__left .brand-power__card--sm:first-child .brand-power__card-body {
        flex-direction: column;
        gap: 12px;
    }

    .brand-power__left .brand-power__card--sm:first-child .brand-power__card-text {
        width: 100%;
        font-size: 14px;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .brand-power__left .brand-power__card--sm:first-child .brand-power__card-media {
        width: 100%;
        height: 140px;
    }

    .brand-power__card--lg {
        min-height: 320px;
    }

    .brand-power__card-title--center {
        margin-bottom: 32px;
    }

    .brand-power__brand-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 32px;
        column-gap: 16px;
    }

    .brand-power__brand-grid img {
        max-width: 140px;
    }

    .brand-power__news-link {
        white-space: normal;
    }

    /* ---------- 奖项及认可 ---------- */
    .awards__title {
        margin-bottom: 28px;
        padding: 0;
    }

    .awards__list {
        display: flex;
        flex-wrap: nowrap;
        gap: 52px;
        width: 100%;
        max-width: none;
        margin: 0;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .awards__list::-webkit-scrollbar {
        display: none;
    }

    .awards__item {
        flex-shrink: 0;
        width: 100px;
        max-width: none;
    }

    .awards__item:nth-child(5) {
        grid-column: unset;
        justify-self: unset;
    }

    .awards__icon {
        width: 72px;
        height: 72px;
        max-width: none;
        margin: 0 auto;
    }

    .awards__item:nth-child(-n + 3) .awards__icon img {
        width: 56px;
        height: auto;
    }

    .awards__item:nth-child(n + 4) .awards__icon img {
        width: 48px;
        height: 48px;
    }

    .awards__item p {
        margin-top: 16px;
        font-size: 12px;
    }

    /* ---------- 底部 CTA ---------- */
    .footer-cta__title {
        padding: 0;
    }

    .footer-cta__subtitle {
        font-size: 15px;
        padding: 0;
        margin-bottom: 32px;
    }

    .footer-cta__btn {
        width: 110px;
        height: 35px;
        padding: 0 6px 0 12px;
        justify-content: flex-start;
        gap: 12px;
        font-size: 14px;
    }

    .footer-cta__btn-icon {
        width: 22px;
        height: 22px;
    }

    .footer-cta__btn-icon img {
        width: 11px;
        height: 11px;
    }
}

/* 超小屏（≤480px）微调 */
@media (max-width: 480px) {
    .digital-products__list {
        gap: 10px;
    }
}
