.card {
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(77,138,255,0.08);
    border: none;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
    box-shadow: 0 16px 48px 0 rgba(77,138,255,0.16);
    transform: translateY(-4px) scale(1.02);
}
.btn-primary {
    background: linear-gradient(90deg, #4d8aff 0%, #6ecbff 100%);
    border: none;
    color: #fff;
    font-weight: 500;
    box-shadow: 0 2px 8px 0 rgba(77,138,255,0.08);
    border-radius: 8px;
    padding: 0.75rem 2.5rem;
    font-size: 1.2rem;
}
.btn-primary:hover {
    background: linear-gradient(90deg, #3576e0 0%, #4db6e0 100%);
}
.nav-link.active, .nav-link:focus, .nav-link:hover {
    color: #4d8aff !important;
    font-weight: 500;
}
input[type="email"]:focus {
    border-color: #4d8aff;
    box-shadow: 0 0 0 0.2rem rgba(77,138,255,0.15);
}

/* 主视觉区优化 */
.hero-bg1 {
    pointer-events: none;
    z-index: 1;
}
.hero-section {
    background: none;
    min-height: 420px;
    border-radius: 32px;
    overflow: hidden;
    margin-bottom: 2rem;
}
.hero-section .hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem 2rem 3rem 3rem;
}
.hero-section .hero-bg {
    position: relative;
    z-index: 2;
    max-width: 480px;
    right: 0;
    top: 0;
    height: auto;
    width: 100%;
    object-fit: contain;
    opacity: 0.98;
}

/* 功能卡片区背景 */
.feature-bg {
    pointer-events: none;
    z-index: 0;
}
.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    margin-bottom: 0px;
    padding: 24px 0 16px 0;
}

/* 自定义功能卡片区布局 - grid方式，每行最多3个卡片 */
.feature-card-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    gap: 24px 72px;
    margin-bottom: 50px;
    margin-top: 50px;
}


/* 图标更大更突出，增加阴影 */
.feature-icon {
    display: block;
    margin: 0px auto 16px auto;
    height: 72px;
    width: auto;
    filter: drop-shadow(0 8px 24px rgba(77,138,255,0.18));
}


.feature-title {
    font-size: 18px;
    color: #222;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}

/* 副标题三行，宽度适中 */
.feature-desc {
    font-size: 14px;
    color: #7a8ca4;
    text-align: center;
    line-height: 1.6;
    max-width: 240px;
    white-space: pre-line;
    margin: 0 auto;
    letter-spacing: 0.5px;
}

/* 卡片样式 */
.case-card {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(77,138,255,0.12);
}

.case-img-wrap {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-tag {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 4px 12px;
    background: #ffe5b2;
    color: #b97a1a;
    border-radius: 4px;
    font-size: 12px;
}
.case-content {
    padding: 16px;
    text-align: left;
}
.case-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.case-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 分页器样式 */
.swiper-pagination {
    position: relative;
    bottom: 0;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: #1976d2;
    opacity: 1;
}

/* 合作伙伴卡片 */
.partner-card {
    border-radius: 16px;
    box-shadow: 0 2px 8px 0 rgba(77,138,255,0.08);
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
}
.partner-card:hover {
    box-shadow: 0 8px 32px rgba(77,138,255,0.16);
    transform: translateY(-4px) scale(1.03);
}

.partner-logo {
    width: 80%;
    max-width: 160px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(30%) contrast(90%);
    transition: filter 0.2s;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%) contrast(100%);
}

@media (max-width: 900px) {
    .hero-section .hero-content { padding: 2rem 1rem; }
    .hero-section .hero-bg { width: 100%; opacity: 0.7; }
}

/* 白色毛玻璃背景自适应高度，内容垂直居中 */
.feature-glass-bg {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    min-height: 520px;
    height: auto;
    margin: 50px auto;
    background: rgba(255,255,255,0.5);
    box-shadow: 0px 3px 42px 0px rgba(0,26,97,0.09), 0px 0px 4px 0px rgba(255,255,255,0.72);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(28px);
    padding: 0;
}

    .feature-glass-bg::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 30px;
        padding: 2px;

        z-index: 1;
        pointer-events: none;
    }

    .feature-glass-bg .container {
        position: relative;
        z-index: 2;
    }
@media (max-width: 1700px) {
    .feature-glass-bg { width: 90vw; }
}
@media (max-width: 900px) {
    .feature-glass-bg { width: 95vw; height: auto; min-height: 400px; border-radius: 18px; }
}

/* 整体页面背景容器 */
.page-bg-container {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #e6edfa 0%, #f5f8ff 60%, #e6eaff 100%);
    width: 100%;
    margin-bottom: -400px;
}

.home-bg.page-bg-container {
    margin-bottom: 0;
}

.home-content {
    margin-top: -48px;
    padding-top: 48px;
}

.home-content .feature-bg-area {
    margin-top: 0;
}

.home-content .feature-glass-bg {
    margin-top: 0;
}

/* 三层背景装饰 */
.bg-layer {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.bg-layer-1 {
    width: 30%;
    height: 50%;
    left: 0;
    top: 0;
    opacity: 1;
    background: url('/images/index/bg1.png') no-repeat left top;
    background-size: contain;
    filter: saturate(1.2);
}

.bg-layer-2 {
    width: 30%;
    height: 50%;
    right: 0;
    top: 30%;
    opacity: 1;
    background: url('/images/index/bg2.png') no-repeat right center;
    background-size: contain;
    filter: saturate(1.2);
}

.bg-layer-3 {
    width: 30%;
    height: 50%;
    left: 0;
    bottom: 0;
    opacity: 1;
    background: url('/images/index/bg3.png') no-repeat left bottom;
    background-size: contain;
    filter: saturate(1.2);
}



/* 修正轮播内容不动问题：不要给 .swiper-wrapper 设置 overflow，保持默认 */
/* 保持箭头显示的 overflow 设置 */
.case-swiper {
    position: relative;
    overflow: visible;
}
.case-swiper .swiper-wrapper {
    overflow: hidden !important;  /* 裁剪多余的卡片 */
}






.swiper {
    margin: 0 auto;
}
.swiper-slide {
    width: 410px !important;
}
/* Swiper轮播区自适应.container宽度，卡片三等分对齐，箭头贴边 */
.mySwiper {
    width: 100%;
    position: relative;
    padding: 0px; /* 给两侧箭头留白 */
    box-sizing: border-box;
}

.mySwiper .swiper-slide {
    /* 不要设置max-width或flex，Swiper会自动分配宽度 */
    height: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
}
.mySwiper .swiper-slide:first-child { margin-left: 0; }
.mySwiper .swiper-slide:last-child { margin-right: 0; }
.swiper-button-prev,
.swiper-button-next {
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(77,138,255,0.10);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.swiper-button-prev { left: 0 !important; }
.swiper-button-next { right: 0 !important; }
.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 24px;
    color: #1976d2;
    font-weight: bold;
}
.swiper-pagination {
    margin-top: 24px;
    text-align: center;
}
.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 0.5;
    margin: 0 4px;
}
.swiper-pagination-bullet-active {
    background: #1976d2;
    opacity: 1;
}

/* 渠道合作商区域（设计图风格） */
.partner-glass-bg {
    position: relative;
    margin: 50px auto 300px auto;
    padding: 48px 32px 56px 32px;
    width: 100%;
    background: rgba(255,255,255,0.55);
    border-radius: 32px;
    box-shadow: 0 8px 48px 0 rgba(77,138,255,0.10), 0 1.5px 8px 0 rgba(0,0,0,0.04);
    backdrop-filter: blur(24px);
    overflow: hidden;
}

.partner-title {
    text-align: center;
    font-size: 32px;
    color: #b0b8c9;
    font-weight: 500;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 40px 32px;
    justify-items: center;
}

.partner-card {
    width: 100%;
    min-height: 100px;
    aspect-ratio: 2.8/1;
    background: rgba(255,255,255,0.7);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(77,138,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #b0b8c9;
    transition: box-shadow 0.2s, transform 0.2s;
    border: none;
}

.partner-card:hover {
    box-shadow: 0 8px 32px rgba(77,138,255,0.16);
    transform: translateY(-4px) scale(1.03);
}

@media (max-width: 1200px) {
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 700px) {
    .partner-glass-bg {
        padding: 24px 8px 32px 8px;
        border-radius: 16px;
    }
    .partner-title {
        font-size: 22px;
        margin-bottom: 24px;
    }
    .partner-grid {
        grid-template-columns: 1fr;
        grid-gap: 20px 0;
    }
}

.float-action-bar {
    position: fixed;
    right: 40px;
    top: 40%;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.float-action-btn {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 10px 6px 10px;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.float-action-btn:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.16);
}

.float-action-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
}

.float-action-text {
    font-size: 14px;
    color: #3a4a5a;
}

/* ===== Lovable 式首页 Hero ===== */
.hero-main {
    background: transparent;
}
.hero-main-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #1a2540;
    line-height: 1.2;
}
.hero-sub-title {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #6b7a99;
}
.hero-input-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.94), rgba(242,248,255,0.88));
    border: 1.5px solid #d0d9f0;
    border-radius: 24px;
    box-shadow: 0 4px 32px rgba(77,138,255,0.12);
    padding: 16px 14px 16px 22px;
    backdrop-filter: blur(12px);
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.hero-input-wrap::after {
    content: '';
    position: absolute;
    right: -18px;
    top: -28px;
    width: 220px;
    height: 150px;
    background: url('/images/index/bg2.png') no-repeat right top;
    background-size: contain;
    opacity: 0.18;
    pointer-events: none;
}
.hero-input-wrap:focus-within {
    border-color: #4d8aff;
    box-shadow: 0 4px 40px rgba(77,138,255,0.22);
}
.hero-input {
    flex: 1;
    border: none;
    background: transparent;
    resize: none;
    font-size: 1.1rem;
    color: #1a2540;
    outline: none;
    min-height: 112px;
    max-height: 240px;
    overflow-y: auto;
    line-height: 1.6;
}
.hero-input::placeholder { color: #a0aec0; }
.hero-send-btn {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border: none;
    background: linear-gradient(135deg, #4d8aff 0%, #6ecbff 100%);
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, transform 0.1s;
    margin-left: 8px;
}
.hero-send-btn:hover { opacity: 0.88; transform: scale(1.04); }
.hero-quick-link {
    font-size: 0.875rem;
    color: #6b7a99;
    border-color: #c8d4ef !important;
    padding: 0.35rem 1rem;
    transition: background-color 0.2s, color 0.2s;
}
.hero-quick-link:hover {
    background: rgba(77,138,255,0.08) !important;
    color: #4d8aff !important;
    border-color: #4d8aff !important;
}
@media (max-width: 768px) {
    .hero-input-wrap { border-radius: 14px; padding: 10px 10px 10px 16px; }
    .hero-main-title { font-size: 1.8rem; }
    .hero-input { min-height: 92px; }
}