@font-face {
    font-family: 'MiSans-Bold';
    src: url('../fonts/MiSans-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Misan-Medium';
    src: url('../fonts/MISANS-MEDIUM.TTF') format('truetype');
}

@font-face {
    font-family: 'Misan-Regular';
    src: url('../fonts/MISANS-REGULAR.TTF') format('truetype');
}

@font-face {
    font-family: 'MiSans-Light';
    src: url('../fonts/MiSans-Light.TTF') format('truetype');
}

html,body{
    width: 100%;
    min-height: 100%;
}
body{
    background: linear-gradient(180deg, #2059E1 9%, #3B71F0 29%, #3057EF 57%, #315BE9 95%);
}
.container{
    background: url("../images/base_bg.png") no-repeat center -3rem;
    background-size: 110%;
}
.logo-txt{
    border-radius: 0px 0px 20px 20px;
    background: #427AFA;
    color: white;
    padding: 5px 20px;
    border-radius: 0 0 20px 20px;
    text-align: center;
    width: 120px;
    margin: 0 auto;
}

/* 标题区域样式 */
.header-section{
    color: #fff;
    margin-top: 1rem;
}
.sub-title{
    font-size: 0.875rem;
    color: #fff;
}
.sub-title span{
    margin: 0 8px;
}
.sub-title .prefix{
    font-size: 2.375rem;
    font-weight: bold;
    color: #fff;
    vertical-align: middle;
    line-height: 1.2;
}
.main-title .highlight{
    font-size: 4.75rem;
    line-height: 1;
    color: #FFE144;
    font-family: 'MiSans-Bold';
    vertical-align: middle;
    font-weight: bold;
}
.slogan{
    color: white;
    letter-spacing: 0.625rem;
    background: #427AFA;
    border-radius: 4rem;
    text-align: center;
    padding: 0.625rem 0;
    max-width: 90%;
    margin: 10px auto 0;
}

/* 主图区域 */
.main-image img{
    max-width: 80%;
    height: auto;
}

/* 表单区域 */
.form-section{
    position: relative;
    top: -20px;
}
.phone-input{
    height: 54px;
    border-radius: 4px;
    border: none;
    text-align: center;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.phone-input::placeholder{
    color: #999;
}
.btn-apply{
    height: 54px;
    background: #FFE144;
    border: none;
    border-radius: 4px;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    animation: btnPulse 1s ease-in-out infinite;
}

/* 按钮脉冲动画 */
@keyframes btnPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(13, 51, 118, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 10px rgba(13, 51, 118, 0.3);
    }
}

/* 按钮闪光扫过效果 */
.btn-apply::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
    0%, 80%, 100% {
        left: -100%;
    }
    40% {
        left: 100%;
    }
}

/* 修复按钮点击后背景色消失 */
.btn-apply:active,
.btn-apply:focus,
.btn-apply:hover {
    background: #FFE144 !important;
    color: #333 !important;
    border: none !important;
}

/* 智能分析 */
.smart-analysis-section{
    text-align: center;
    padding: 20px 0;
}
.analysis-container{
    position: relative;
    margin: 0 auto;
}
.analysis-outer{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: rotateClockwise 8s linear infinite;
}
.analysis-inner{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: rotateCounterClockwise 2s linear infinite;
}
.analysis-robot{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}
.robot-body{
    width: 100%;
    height: auto;
}
.robot-eyes{
    position: absolute;
    top: 35%;
    left: 20%;
    width: 60%;
    height: 30%;
    animation: eyesMove 2s ease-in-out infinite, eyesBlink 3s ease-in-out infinite;
}

/* 外圈顺时针旋转 */
@keyframes rotateClockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 内圈逆时针旋转 */
@keyframes rotateCounterClockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

/* 眼睛左右移动 */
@keyframes eyesMove {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-3px);
    }
    75% {
        transform: translateX(3px);
    }
}

/* 眼睛眨眼效果 */
@keyframes eyesBlink {
    0%, 45%, 55%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.analysis-text{
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-top: 15px;
}

/* 结果区域 */
.result-section{
    text-align: center;
    padding: 20px 0;
}
.result-title{
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}
.result-amount{
    font-size: 18px;
    color: #fff;
    margin-top: 5px;
}
.result-amount span{
    font-size: 20px;
    color: #FFE144;
    font-family: 'Misan-Medium'
}
.credit-ring-container{
    position: relative;
    width: 220px;
    height: 220px;
    margin: 20px auto;
}
.credit-ring{
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.ring-progress{
    stroke-dasharray: 326.726;
    stroke-dashoffset: 326.726;
    transition: stroke-dashoffset 1.5s ease-out;
}
.credit-score{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.score-num{
    font-size: 56px;
    color: #fff;
    font-weight: bold;
    line-height: 1;
    font-family: 'MiSans-Bold';
}
.score-label{
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    margin-top: 5px;
}
.download-title{
    font-size: 18px;
    color: #fff;
    font-weight: bold;
    margin: 20px 0 15px;
}
.btn-android{
    height: 50px;
    background: #00D4C8;
    border: none;
    border-radius: 25px;
    color: #333;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.btn-android:active,
.btn-android:focus,
.btn-android:hover{
    background: #00D4C8 !important;
    color: #333 !important;
    border: none !important;
}
.btn-ios{
    height: 50px;
    background: #FFE144;
    border: none;
    border-radius: 25px;
    color: #333;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.btn-ios:active,
.btn-ios:focus,
.btn-ios:hover{
    background: #FFE144 !important;
    color: #333 !important;
    border: none !important;
}
.btn-icon{
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

/* 步骤显示控制 */
.step2, .step3{
    display: none;
}
.step4, .step5{
    display: block;
}

/* 最新动态 */
.news-section{
    padding: 0 10px;
}
.news-title{
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 12px;
    padding-left: 5px;
}
.news-swiper{
    width: 100%;
}
.news-swiper .swiper-slide{
    width: 70%;
}
.news-item{
    background: #264EE1;
    border-radius: 12px;
    padding: 12px;
}
.news-avatar{
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}
.news-name{
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}
.news-phone{
    font-size: 12px;
    color: #7691F3;
}
.news-amount{
    text-align: right;
}
.amount-num{
    font-size: 18px;
    color: #FFE144;
    font-weight: bold;
    font-family: 'MiSans-Bold';
}
.amount-label{
    font-size: 12px;
    color: #7691F3;
}
.news-time{
    font-size: 12px;
    color: #7691F3;
    line-height: 1.6;
}

/* 底部信息 */
.footer-info{
    padding-bottom: 20px;
    color: #7AA1FF;
}
.platform-name{
    font-size: 13px;
    margin-bottom: 8px;
}
.platform-desc{
    font-size: 12px;
    margin-bottom: 6px;
}
.risk-tip{
    font-size: 12px;
    margin-bottom: 10px;
}
.notice{
    font-size: 11px;
    line-height: 1.5;
}

/* APP标识区域 */
.app-brand-section{
    padding: 20px 0 30px;
}
.app-logo{
    width: 60px;
    height: 60px;
    border-radius: 12px;
}
.app-name{
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    margin-top: 10px;
}
.app-slogan{
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
}