/* ========================================
   YPay 现代化UI美化 v2.0
   ======================================== */

/* 主题色变量 */
:root {
    --yp-primary: #4f46e5;
    --yp-secondary: #7c3aed;
    --yp-accent: #06b6d4;
    --yp-success: #10b981;
    --yp-dark: #0f172a;
    --yp-light: #f8fafc;
}

/* 全局渐变背景 */
body {
    background: var(--yp-light) !important;
}

/* 导航栏美化 */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.app-brand-text {
    background: linear-gradient(135deg, var(--yp-primary), var(--yp-secondary)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* 登录注册按钮 */
.login-btn, .user-btn {
    background: linear-gradient(135deg, var(--yp-primary), var(--yp-secondary)) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 8px 24px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3) !important;
}

.login-btn:hover, .user-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4) !important;
}

/* Hero区域 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 0 0 50px 50px !important;
    padding: 80px 0 !important;
    margin-bottom: 40px !important;
}

.hero-title {
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    color: white !important;
    margin-bottom: 20px !important;
}

.hero-subtitle {
    font-size: 1.25rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* 价格卡片美化 */
.card {
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s ease !important;
    overflow: hidden !important;
}

.card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 60px rgba(79, 70, 229, 0.15) !important;
}

/* 价格卡片头部 */
.van-home-file-boxtop {
    background: linear-gradient(135deg, var(--yp-primary), var(--yp-secondary)) !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 30px 20px !important;
    min-height: auto !important;
}

.van-home-file-boxtop a {
    color: white !important;
    font-size: 28px !important;
    font-weight: 700 !important;
}

/* 价格卡片内容 */
.van-home-file-boxmk {
    padding: 30px 20px !important;
    background: white !important;
}

.van-home-file-boxmk li {
    padding: 12px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.van-home-file-boxmk li:last-child {
    border-bottom: none !important;
}

.van-home-file-boxmk li a {
    color: #475569 !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
}

.van-home-file-boxmk li a::before {
    content: "✓" !important;
    background: linear-gradient(135deg, var(--yp-primary), var(--yp-secondary)) !important;
    color: white !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    margin-right: 10px !important;
}

/* 价格按钮 */
.van-home-file-boxbottom a {
    background: linear-gradient(135deg, var(--yp-primary), var(--yp-secondary)) !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3) !important;
}

.van-home-file-boxbottom a:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4) !important;
}

/* 特性卡片 */
.feature-card {
    background: white !important;
    border-radius: 16px !important;
    padding: 30px !important;
    text-align: center !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
}

.feature-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
}

.feature-icon {
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(135deg, var(--yp-primary), var(--yp-secondary)) !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 20px !important;
    font-size: 30px !important;
}

/* 页脚美化 */
.footer-bar {
    background: var(--yp-dark) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    padding: 40px 0 !important;
}

.footer-bar a {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: color 0.3s ease !important;
}

.footer-bar a:hover {
    color: var(--yp-accent) !important;
}

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-section {
        border-radius: 0 0 30px 30px !important;
        padding: 50px 0 !important;
    }
    
    .card {
        margin-bottom: 20px !important;
    }
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--yp-primary), var(--yp-secondary));
    border-radius: 4px;
}

