/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    padding-bottom: 80px; /* 为悬浮按钮留出空间 */
}

.container {
    max-width: 400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部区域 */
.top-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 40px 0 30px;
    text-align: center;
    color: white;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.main-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    opacity: 0.9;
}

.loan-amount {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.loan-amount::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    filter: blur(15px);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        opacity: 0.3;
        transform: scale(0.95);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

.digit-container {
    position: relative;
    display: inline-block;
}

.features-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
}

.feature-item i {
    color: #ffd700;
    font-size: 16px;
}

/* 卡片样式 */
.card {
    background: #e3f2fd;
    border-radius: 15px;
    margin: 20px 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-header {
    background: #1976d2;
    color: white;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

/* 流程卡片 */
.process-card {
    padding: 0;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 80px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #1976d2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-text {
    font-size: 12px;
    color: #333;
    font-weight: 500;
    line-height: 1.3;
}

.step-arrow {
    color: #1976d2;
    font-size: 16px;
    margin: 0 5px;
}

/* 产品卡片 */
.product-card {
    padding: 0;
}

.product-features {
    display: flex;
    padding: 25px 20px;
    gap: 20px;
}

.feature-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1976d2;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* 申请条件 */
.requirements {
    background: white;
    margin: 20px 0;
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.requirements-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.requirements-content ul {
    list-style: none;
}

.requirements-content li {
    padding: 8px 0;
    color: #666;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.requirements-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #1976d2;
    font-weight: bold;
    font-size: 16px;
}

/* 底部悬浮按钮 */
.floating-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.contact-btn {
    width: 100%;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.contact-btn:active {
    transform: translateY(0);
}

.contact-btn i {
    font-size: 18px;
}

/* 大按钮样式 */
.large-btn {
    padding: 20px 25px !important;
    font-size: 18px !important;
    border-radius: 30px !important;
    min-height: 60px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4) !important;
}

.large-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5) !important;
}

.large-btn i {
    font-size: 20px !important;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .loan-amount {
        font-size: 42px;
    }
    
    .features-row {
        gap: 10px;
    }
    
    .feature-item {
        font-size: 13px;
    }
    
    .process-steps {
        gap: 10px;
        padding: 20px 15px;
    }
    
    .step {
        min-width: 70px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .step-text {
        font-size: 11px;
    }
    
    .product-features {
        padding: 20px 15px;
        gap: 15px;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .feature-content h3 {
        font-size: 15px;
    }
    
    .feature-content p {
        font-size: 11px;
    }
    
    .requirements {
        padding: 20px 15px;
        margin: 15px 0;
    }
    
    .requirements-content h3 {
        font-size: 16px;
    }
    
    .requirements-content li {
        font-size: 13px;
    }
    
    .floating-btn {
        padding: 12px 15px;
    }
    
    .contact-btn {
        padding: 12px 15px;
        font-size: 15px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

.requirements {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* 按钮点击效果 */
.contact-btn:active {
    background: linear-gradient(45deg, #e55a2b, #e0841a);
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1976d2;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1565c0;
}