* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-green: #0b7146;
    --accent-orange: #f5a623;
    --light-gray: #f9f4e1;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --footer-bg: #c8c8c8;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 60px 0;
}

.section-title {
    font-size: 44px;
    margin-bottom: 36px;
    text-align: center;
    color: #333333;
    line-height: 48px;
    font-weight: 400;
}

.btn {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
}

.btn:hover {
    background-color: #095a38;
}

/* 导航栏样式 - 白色背景 */
header {
    background-color: var(--white);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    width: 384px;
}
header .logo img {
    width: 100%;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #D65034;
}
.nav-links ._active{
    color: #D65034;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary-green);
    font-size: 24px;
    cursor: pointer;
}

/* 英雄区域样式 */
.hero {
    /*background: linear-gradient(to bottom, rgba(11, 113, 70, 0.9) 0%, rgba(11, 113, 70, 0.95) 100%);*/
    color: #FFFFFF;
    padding:0;
    background: #45a943;
}
.hero .bg{
    width: 100%;
    position: absolute;
}
.hero .bg-1{
    position: absolute;
    top: 0;
    right: -53px;
    width: 580px;
}
.hero .bg-2{
    position: absolute;
    top: 80px;
    left: 500px;
    width: 266px;
}
.hero .container{
    padding:55px 0;
    position: relative;
}
.hero-content {
    display: flex;
    justify-content: space-between;
}

.hero-text {
    width: 645px;
    margin-top:30px;
}

.loan-steps-text{

}
.loan-steps-text .steps-title{
    font-size:34px;
    line-height: 44px;
    margin-bottom: 20px;
}
.loan-steps-text .steps-subtitle{
    font-size:15px;
    line-height: 24px;
    display: flex;
    margin-bottom: 4px;
}
.loan-steps-text .steps-subtitle img{
    display: inline-block;
}
.hero-title {
    font-size: 60px;
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 20px;
    margin-top: 24px;
    line-height: 32px;
    opacity: 0.9;
}

.hero-calculator {
    background-color: var(--white);
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    width: 475px;
    color:#ADAFB6;
}

.calculator-title {
    height: 68px;
    line-height: 68px;
    font-size: 15px;
    text-align: center;
}
.calculator-content{
    padding:15px 32px 16px;
    border-bottom: 1px solid #E6E8E9;
}
.calculator-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.calculator-display-title{
    font-size:14px;
    line-height: 18px;
}
.calculator-display #loanAmountDisplay{
    font-size:20px;
    line-height: 22px;
    color:#484848;
    font-weight: bold;
}

.slider-container {
    position: relative;
    margin-top:10px;
}

/* 修复滑块样式 - 确保滑块按钮居中 */
.range-slider {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #e0e0e0;
    border-radius: 10px;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    background: #FFFFFF;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #58AD3D;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    /* 确保滑块按钮在轨道上垂直居中 */
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

/* Firefox样式 */
.range-slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #FFFFFF;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #58AD3D;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 滑过区域背景颜色变更 */
.range-slider::-webkit-slider-runnable-track {
    background: linear-gradient(to right, #58AD3D 0%, #58AD3D var(--slider-percent), #e0e0e0 var(--slider-percent), #e0e0e0 100%);
    border-radius: 10px;
    height: 8px;
}

.slider-minmax {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    margin-top: 10px;
    font-size: 14px;
}
.slider-tips{
    font-size:12px;
    line-height: 13px;
    margin-top:18px;
}
.calculator-btn{
    padding:10px 32px 30px;
    background-color: #F6F6F6;
}
.calculator-repay-info{
    height: 15px;
    line-height: 15px;
    font-size:12px;
}
.calculator-repay-info ._title{
    color:#7D8888;
}
.calculator-repay-info ._amount{
    color:#000000;
    font-weight: bold;
}
.calculator-btn .apply-btn{
    width: 100%;
    height: 48px;
    line-height: 48px;
    margin-top:15px;
    background: #F97368;
    color:#FFFFFF;
    text-align: center;
    border-radius: 50px;
    font-weight: bold;
}

.btn-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.amount-btn {
    flex: 1;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

/* 优势部分样式 */
.features {
    padding: 0;
    position: relative;
}
.features ._bg{
    width: 100%;display: block;position: absolute;top:0;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
    background-color: #FFFFFF;
    box-shadow: 0px 6px 30px 0px #0000001A;
    border-radius: 8px;
}

.feature-card {
    margin:24px 0;
    padding: 0 25px;
    text-align: center;
    border-right: 0.5px solid #C8C8C8;
}
.features-container .feature-card:last-child{
    border-right: 0;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 56px;
    margin:0 auto 14px;
}

.feature-title {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333333;
    font-weight: 700;
}

.feature-description {
    color: #666666;
    font-size: 15px;
    line-height: 20px;
}

/* 申请流程样式 */
.steps-section {
    padding: 0 0 60px;
}

.steps-section .container {
    background-color: #F9F4E1;
    padding: 70px 0 60px;
}

.steps-container{
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.step-card {
    display: flex;
    align-items: center;
    padding: 20px 0;
}
.steps-icon {
     width: 100px;
     margin-right:16px;
 }
.steps-btn{
    width: 240px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    margin:30px auto 0;
    border-radius: 50px;
    background: #F97368;
    color:#FFFFFF;
}
/* 申请条件样式 - 浅灰色背景 */
.eligibility-section {
    padding: 50px 0;
}
.eligibility-section .container{
    background-color: #F2FFF2;
    padding:70px 0 60px;
}

.eligibility-container {
    padding:0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.eligibility-card {
    display: flex;
    align-items: center;
    padding:20px 0;
}

.eligibility-icon {
    width: 80px;
    margin-right:16px;
}

.eligibility-title,.step-title {
    font-size: 18px;
    line-height: 22px;
    color: #333333;
    font-weight: 700;
    margin-bottom: 8px;
}

.eligibility-description,.step-description {
    color: #666666;
    font-size: 15px;
    line-height: 15px;
}

/**apply loan***/
.apply-section{
    padding:48px 0 70px;
}
.apply-section .section-title{
    text-align: left;
    font-size: 34px;
    color:#333333;
    line-height: 36px;
    margin-bottom: 30px;
}
.apply-section .apply-container .apply-title{
    font-size:23px;
    line-height: 24px;
    margin-bottom: 16px;
    color:#333333;
    font-weight: 400;
}
.apply-section .apply-container .apply-description{
    font-size:15px;
    line-height: 23px;
    margin-bottom: 30px;
    color:#666666;
}

/**payment***/
.payment-section{
    padding:48px 0 30px;
    color:#333333;
}
.payment-section .section-title{
    text-align: left;
    font-size: 34px;
    line-height: 36px;
    margin-bottom: 30px;
}
.payment-section .section-des{
    text-align: left;
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 80px;
}
.payment-section .payment-container .payment-title{
    font-size:34px;
    line-height: 36px;
    margin-bottom: 16px;
    font-weight: 400;
}
.payment-section .payment-container .payment-title-des{
    font-size:15px;
    line-height: 20px;
    font-weight: bold;
}
.payment-section .payment-container .payment-title-tips{
    font-size:15px;
    line-height: 20px;
    margin-bottom: 16px;
}
.payment-section .payment-container ._description{
    margin-bottom: 60px;
}
.payment-section .payment-container .payment-description-tips{
    font-size:23px;
    line-height: 24px;
    margin-bottom: 16px;
}
.payment-section .payment-container .payment-description{
    font-size:15px;
    line-height: 20px;
    margin-bottom: 16px;
    color:#666666;
}

/**faq-hearder***/
.faq{
    color: #FFFFFF;
    padding: 0;
    background: #45a943;
}
.faq-content{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.faq-text{
    padding:70px 0;
}
.faq-title{
    font-size:34px;
    line-height: 44px;
}
.faq-subtitle{
    font-size:15px;
    line-height: 22px;
    margin-top:20px;
}
/**faq-hearder***/
.faq-box{

}
.faq-box .section-title{
    text-align: left;
    font-size: 34px;
    color:#333333;
    line-height: 36px;
    margin-bottom: 30px;
}
.faq-item{
    margin-bottom: 16px;
}
.faq-item h3 {
    border: 0.5px solid #E1A038;
    border-radius: 8px;
    background: #FFFFFF;
    cursor: pointer;
    position: relative;
    font-size: 18px;
    color: #333333;
    padding: 14.5px 12px;
    font-weight: 400;
    display: flex;
    align-items: center;
}
.faq-item article {
    padding: 0.625vw 2.1875vw 1.5625vw;
    background: #FFF8EF;
    border: 0.5px solid #E1A038;
    font-size: 15px;
    font-weight: 400;
    color: #666666;
    border-radius: 0 0 8px 8px;
    display: none;
}
.active h3 {
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}
.faq-item h3::after {
    content: '+';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}
.faq-item.active h3::after {
    transform: translateY(-50%) rotate(45deg);
}
.faq-item.active article {
    display: block;
}
.faq-content{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.faq-text{
    padding:70px 0;
}
.faq-title{
    font-size:34px;
    line-height: 44px;
}
.faq-subtitle{
    font-size:15px;
    line-height: 22px;
    margin-top:20px;
}

.apply-section .section-title{
    text-align: left;
    font-size: 34px;
    color:#333333;
    line-height: 36px;
    margin-bottom: 30px;
}
.apply-section .apply-container .apply-title{
    font-size:23px;
    line-height: 24px;
    margin-bottom: 16px;
    color:#333333;
    font-weight: 400;
}
.apply-section .apply-container .apply-description{
    font-size:15px;
    line-height: 23px;
    margin-bottom: 30px;
    color:#666666;
}

/* news */
.news {
    padding: 0;
}
.news .container{
    padding:48px 0;
}

.news-container {
    position: relative;
}

.news-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding:0 20px;
    margin-bottom: 30px;
    cursor: pointer;
    text-decoration: none;
}

.news-icon {
    width: 240px;
    height: 160px;
    background-color: #EEEEEE;
}
.news-icon img{
    width: 100%;
    height: 100%;
}
.news-info {
    width: calc(100% - 260px);
}
.news-title {
    font-size: 26px;
    line-height: 36px;
    height: 36px;
    margin-bottom: 14px;
    color: #333333;
    font-weight: 700;
    white-space: nowrap;       /* 禁止换行 */
    overflow: hidden;          /* 隐藏溢出内容 */
    text-overflow: ellipsis;   /* 显示省略号 */
}

.news-description {
    color: #666666;
    font-size: 15px;
    line-height: 23px;
    height: 46px;
    margin-bottom: 14px;
    display: -webkit-box;      /* 老式弹性盒模型 */
    overflow: hidden;
    -webkit-box-orient: vertical; /* 垂直排列子元素 */
    -webkit-line-clamp: 2;     /* 显示行数限制 */

    /* 标准兼容写法 */
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
}
.news-date {
    color: #999999;
    font-size: 15px;
    line-height: 23px;
}


/* 页脚样式 - 灰色背景 */
footer {
    background-color: #F1F1F1;
}
.notice-section{
    padding: 28px 0 20px;
    border-bottom: 0.5px solid #C8C8C8;
}
.notice-section .container{
    border: 1px dashed #FF8900;
    border-radius: 10px;
    padding:22px 18px;
}
.notice-section .container ._title{
    font-size:22px;
    line-height: 24px;
    color:#FF8900;
}
.notice-section .container ._des{
    font-size:15px;
    line-height: 20px;
    color:#484848;
}

/* 合作伙伴样式 */
.partners-section {
    padding: 42px 0;
    border-bottom: 0.5px solid #C8C8C8;
}
.partners-section .partners-section-title{
    font-size:20px;
    line-height: 24px;
    color:#333333;
}
.partners-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
}

.partner-box {
    background-color: #FFFFFF;
    border-radius: 4px;
    padding:15px;
}
.partner-box img{
    width: 150px;
}

.footer-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-container {
    padding:34px 0;
}
.footer-container .logo {
    height: 30px;
}
.footer-container .logo img{
    height: 30px;
}
.footer-contact {
    margin-top: 18px;
    display: flex;
    align-items: center;
    /*justify-content: space-between;*/
}

.contact-item {
    display: flex;
    align-items: center;
    margin:0 20px 12px 0;
    font-size: 15px;
    color:#666666;
}

.contact-icon {
    margin-right: 12px;
    font-size: 16px;
    color: #666666;
}

/* 移动端样式 */
@media (max-width: 1306px) {
    .hero .bg-1{
        right: 0;
    }
}
@media (max-width: 992px) {
    .features-container,
    .steps-container,
    .eligibility-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 36px;
    }
    .hero .bg-2{
        display: none;
    }
    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 55px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        z-index:99999;
    }
    header{
        padding:6px 16px;
    }
    header .logo{
        width: auto;
    }
    header .logo img{
        height: 42px;
        width: auto;
        display: block;
    }
    .calculator-content{
        padding:10px 32px 16px;
    }
    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content,.faq-content {
        flex-direction: column;
    }
    .hero-text{
        width: calc(100% - 32px);
        margin:0 16px;
    }
    .hero .bg-2,.hero .bg-1{
        display: none;
    }
    .features-container{
        grid-template-columns: 1fr;
        gap: 0px;
    }
    .eligibility-section{
        padding:0;
    }
    .eligibility-section .container,.steps-section .container{
        padding:30px 0 20px;
    }
    .steps-section{
        padding:0;
    }
    .steps-container,
    .eligibility-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-calculator {
        width: calc(100% - 32px);
        margin: 30px 16px 0;
    }

    .section-title {
        font-size: 28px;
    }
    .apply-section,.payment-section{
        padding: 35px 16px 12px;
    }
    .partners-container {
        gap: 10px;
    }
    .partner-box img{
        width: 120px;
    }
    .step-card,.eligibility-card{
        padding:5px 0;
    }
    .steps-btn{
        width: calc(100% - 32px);
    }
    footer .notice-section{
        padding: 28px 16px 20px
    }
    footer .partners-section{
        padding:42px 16px;
    }
    footer .footer-section{
        padding:0 16px;
    }
    .footer-contact{
        display: grid;
        grid-template-columns: 1fr;
    }
    .features .container{
        margin-top:-15px;
    }
    .feature-card{
        border: 0px;
    }
    .faq{
        padding:0 16px 0;
    }
    .faq-text{
        padding:55px 0 0;
    }
    .payment-bg img,.faq-bg img{
        width: 100%;
    }
    .faq-box{
        padding: 35px 16px;
    }

    .news .container{
        padding: 24px 0;
    }
    .news-icon {
        width: 120px;
        height: 80px;
    }
    .news-card{
        padding:0 16px;
        margin-bottom: 18px;
    }
    .news-info {
        width: calc(100% - 135px);
    }
    .news-title {
        font-size: 18px;
        line-height: 18px;
        height: 18px;
        margin-bottom: 6px;
    }

    .news-description {
        font-size: 14px;
        line-height: 16px;
        height: 32px;
        margin-bottom: 10px;
    }
    .news-date {
        color: #999999;
        font-size: 13px;
        line-height: 15px;
    }
    .apply-section .section-title,.payment-section .section-title,.payment-section .payment-container .payment-title,.faq-box .section-title{
        font-size: 24px;
    }
    .payment-section .section-des{
        margin-bottom: 40px;
    }
    .faq-item h3{
        font-size: 16px;
        padding: 8px 12px;
    }
    .faq-item p{
        font-size: 14px;
    }
    .apply-section .apply-container .apply-title{
        font-size:18px;
    }
}

.range-slider::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
}

.range-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
}
.feature-card,.apply-btn,.eligibility-card,.step-card,.steps-btn{
    cursor: pointer;
}

.pagination {
    display: inline-block;
    padding: 0 20px;
    margin: 20px 0;
    border-radius: 4px;
}
.pagination > li {
    display: inline;
}
ul, li, ol {
    margin: 0;
    padding: 0;
    list-style: none outside none;
}
.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}
.pagination > li:first-child > a, .pagination > li:first-child > span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

.pagination > li > a, .pagination > li > span {
    padding: 7px 9px;
}
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #499ef3;
    color: #fff;
    border-color: #499ef3;
}