/* =========================================================
   e-finance 页面
========================================================= */

.efinance-page {
    width: 100%;
    min-height: 100%;
    position: relative;
}


/* =========================================================
   公共容器
========================================================= */

.efinance-container {
    width: 1000px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
}


/* =========================================================
   Banner
========================================================= */

.efinance-banner {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #f5f8fc;
}


.efinance-banner-wrapper {
    position: relative;
    width: 100%;
    height: auto;
}


.efinance-banner-slide {
    position: absolute;
    left: 0;
    top: 0;

    width: 100%;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;

    z-index: 1;
}


.efinance-banner-slide.active {
    position: relative;

    opacity: 1;
    visibility: visible;

    z-index: 2;
}


.efinance-banner-slide img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;
}


/* =========================================================
   Banner 左右按钮
========================================================= */

.efinance-banner-prev,
.efinance-banner-next {
    position: absolute;

    top: 50%;

    width: 42px;
    height: 70px;

    margin-top: -35px;

    border: none;

    background: rgba(0, 0, 0, 0.18);

    color: #ffffff;

    font-size: 42px;

    line-height: 70px;

    text-align: center;

    cursor: pointer;

    opacity: 0;

    transition:
        opacity 0.3s ease,
        background 0.3s ease;

    z-index: 10;
}


.efinance-banner-prev {
    left: 20px;
}


.efinance-banner-next {
    right: 20px;
}


.efinance-banner:hover
.efinance-banner-prev,

.efinance-banner:hover
.efinance-banner-next {
    opacity: 1;
}


.efinance-banner-prev:hover,
.efinance-banner-next:hover {
    background: rgba(0, 0, 0, 0.4);
}


.efinance-banner-prev span,
.efinance-banner-next span {
    display: block;

    width: 100%;
    height: 100%;

    line-height: 64px;
}


/* =========================================================
   Banner 圆点
========================================================= */

.efinance-banner-dots {
    position: absolute;

    left: 50%;
    bottom: 20px;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 10px;

    z-index: 20;
}


.efinance-banner-dot {
    width: 10px;
    height: 10px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.65);

    cursor: pointer;

    transition:
        width 0.25s ease,
        background 0.25s ease;
}


.efinance-banner-dot.active {
    width: 26px;

    border-radius: 5px;

    background: #1478d4;
}


/* =========================================================
   产品介绍
========================================================= */

.efinance-intro {
    width: 100%;

    padding: 70px 0;

    background: #eef5ff;
}


.efinance-intro-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 70px;
}


.efinance-intro-content {
    flex: 1;

    min-width: 0;
}


.efinance-intro-content h1 {
    margin: 0 0 25px;

    color: #111111;

    font-size: 28px;

    font-weight: 700;

    line-height: 1.5;
}


.efinance-intro-content p {
    margin: 0;

    color: #333333;

    font-size: 14px;

    line-height: 2;

    text-align: justify;
}


.efinance-intro-image {
    flex: 0 0 404px;

    width: 404px;
}


.efinance-intro-image img {
    display: block;

    width: 404px;
    height: 260px;

    object-fit: cover;

    border: 1px solid #b9d8f7;

    box-sizing: border-box;
}


/* =========================================================
   Section 标题
========================================================= */

.efinance-section-title {
    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 45px;
}


.efinance-section-title h2 {
    position: relative;

    margin: 0;

    color: #111111;

    font-size: 28px;

    font-weight: 700;

    line-height: 1.5;
}


.efinance-section-title span {
    position: relative;

    display: block;

    width: 9px;
    height: 22px;

    margin-left: 8px;

    background: #2489ed;

    transform: skew(-25deg);
}


.efinance-section-title span::after {
    content: "";

    position: absolute;

    left: 5px;
    top: 4px;

    width: 7px;
    height: 18px;

    background: #6aa9ff;
}


/* =========================================================
   产品价值
========================================================= */

.efinance-value {
    width: 100%;

    padding: 55px 0 65px;

    background: #ffffff;
}


.efinance-value-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}


.efinance-value-card {
    position: relative;

    min-height: 130px;

    padding: 25px 30px;

    box-sizing: border-box;

    border: 1px solid #b9d8f7;

    background:
        linear-gradient(
            135deg,
            #f8fbff 0%,
            #ffffff 100%
        );

    overflow: hidden;
}


.efinance-value-icon {
    width: 30px;
    height: 30px;

    margin-bottom: 10px;
}


.efinance-value-icon img {
    display: block;

    width: 30px;
    height: 30px;

    object-fit: contain;
}


.efinance-value-content {
    position: relative;

    z-index: 2;
}


.efinance-value-content h3 {
    margin: 0 0 10px;

    color: #111111;

    font-size: 16px;

    font-weight: 700;

    line-height: 1.5;
}


.efinance-value-content p {
    margin: 0;

    max-width: 90%;

    color: #555555;

    font-size: 13px;

    line-height: 1.8;
}


.efinance-card-number {
    position: absolute;

    right: 18px;
    top: 5px;

    color: rgba(220, 235, 250, 0.35);

    font-size: 66px;

    font-weight: 700;

    line-height: 1;

    z-index: 1;

    pointer-events: none;
}


/* =========================================================
   产品流程
========================================================= */

.efinance-process {
    width: 100%;

    padding: 15px 0 80px;

    background: #ffffff;
}


.efinance-process-image {
    width: 100%;

    text-align: center;

    overflow: hidden;
}


.efinance-process-image img {
    display: block;

    width: 100%;

    max-width: 100%;

    height: auto;

    margin: 0 auto;
}


/* =========================================================
   登录弹窗
=========================================================

   注意：

   这里故意不写 #loginModal、
   .login-modal-content、
   .login-modal-close 等样式。

   登录弹窗全部使用：

   static/css/login.css

========================================================= */


/* =========================================================
   页面层级
========================================================= */

.efinance-page {
    position: relative;
}


/* =========================================================
   响应式
========================================================= */

@media screen and (max-width: 1100px) {

    .efinance-container {
        width: 90%;
        max-width: 90%;
    }

    .efinance-intro-inner {
        gap: 40px;
    }

}


@media screen and (max-width: 900px) {

    .efinance-intro-inner {
        flex-direction: column;

        align-items: center;
    }


    .efinance-intro-content {
        width: 100%;
    }


    .efinance-intro-image {
        flex: none;
    }


    .efinance-value-grid {
        grid-template-columns: 1fr;
    }

}


@media screen and (max-width: 600px) {

    .efinance-container {
        width: calc(100% - 30px);

        max-width: none;
    }


    .efinance-intro {
        padding: 40px 0;
    }


    .efinance-intro-content h1 {
        font-size: 24px;
    }


    .efinance-intro-content p {
        font-size: 13px;
    }


    .efinance-intro-image {
        width: 100%;
    }


    .efinance-intro-image img {
        width: 100%;
        height: auto;
    }


    .efinance-section-title h2 {
        font-size: 24px;
    }


    .efinance-value {
        padding: 40px 0;
    }


    .efinance-value-card {
        padding: 20px;
    }


    .efinance-banner-prev,
    .efinance-banner-next {
        display: none;
    }


    .efinance-banner-dots {
        bottom: 10px;

        gap: 6px;
    }


    .efinance-banner-dot {
        width: 7px;
        height: 7px;
    }


    .efinance-banner-dot.active {
        width: 18px;
    }

}