/* 基本重置和全局样式 */
body, html {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5; /* 更柔和的背景色 */
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

h1, h2, h3 {
    margin-top: 0;
    font-weight: 600;
}

section {
    padding: 80px 0;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 1.1em;
    line-height: 1.7;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px; /* 更圆润的按钮 */
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-enter {
    background-color: #ff6b6b; /* 更鲜艳的红色 */
    color: white;
    border: none;
}

.btn-enter:hover {
    background-color: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* Header 样式 */
header {
    background-color: #ffffff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.5em;
    font-weight: bold;
    color: #2ecc71; /* 绿色 Logo - 余额主题 */
    text-shadow: 2px 2px 3px rgba(0,0,0,0.1);
}

.actions {
    display: flex;
    align-items: center;
}

/* 客服微信样式增强 */
.wechat-info {
    margin-right: 25px;
    font-size: 1em;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 25px;
    background-color: #f8f9fa;
    border: 2px solid #2ecc71; /* 绿色边框突出显示 */
    color: #333;
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
}

.wechat-info::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232ecc71"><path d="M8.5,7A1.5,1.5,0,1,0,10,8.5,1.5,1.5,0,0,0,8.5,7Zm12,.28A11.44,11.44,0,0,0,8.5,1a11.27,11.27,0,0,0,0,22.55,11.57,11.57,0,0,0,4.91-1.1,1,1,0,0,0,.3-1.56l-.47-.37a8.77,8.77,0,0,0,2.18-2.77,9,9,0,0,0,1-2.89.75.75,0,0,0,0-.14A8.59,8.59,0,0,0,20.5,7.28Zm-12,7.63a9.24,9.24,0,0,1-3.57-.69l-2.78,1.52a.75.75,0,0,1-1-.24.76.76,0,0,1-.11-.65l.7-2.39a7.11,7.11,0,0,1-1.9-4.46A8.19,8.19,0,0,1,8.5,3.56a8.12,8.12,0,0,1,8.14,8.17A8.12,8.12,0,0,1,8.5,19.91Z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 8px;
}

/* Hero Section 样式 */
.hero {
    background: linear-gradient(135deg, #3498db, #2ecc71); /* 蓝色到绿色渐变 - 清新现代感 */
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.hero-content {
    flex-basis: 50%;
    text-align: left;
    padding-right: 30px;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-content li {
    margin-bottom: 15px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
}

.hero-content .icon {
    color: #ffffff;
    margin-right: 12px;
    background-color: rgba(255, 255, 255, 0.2);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
}

/* 手机轮播样式 - 重新实现 */
.phone-container {
    position: relative;
    width: 280px;
    height: 570px;
    margin: 20px auto;
    flex-shrink: 0;
}

.phone-base {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.slider-wrapper {
    position: absolute;
    top: 12%;
    left: 6%;
    width: 88%;
    height: 77%;
    overflow: hidden;
    border-radius: 5px;
    z-index: 5; /* 提高轮播图层级，确保在手机框架上方 */
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 10; /* 提高图片层级 */
}

.slider-img.active {
    opacity: 1;
    z-index: 15; /* 当前活动图片层级最高 */
}

/* Features Section 样式 */
.features {
    padding: 80px 0;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0,0,0,0.03);
}

.features h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2.4em;
    color: #2c3e50;
    position: relative;
}

.features h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #2ecc71;
    margin: 20px auto 0;
    border-radius: 2px;
}

.feature-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
}

.feature-item {
    flex-basis: 30%;
    padding: 30px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.8em;
    display: block;
    margin-bottom: 20px;
}

.feature-item h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
    color: #2c3e50;
}

.feature-item p {
    color: #7f8c8d;
    line-height: 1.7;
}

/* 如何使用部分样式 */
.how-it-works {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2.4em;
    color: #2c3e50;
    position: relative;
}

.how-it-works h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #2ecc71;
    margin: 20px auto 0;
    border-radius: 2px;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 40px;
}

.step-item {
    flex-basis: 30%;
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #2ecc71;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6em;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
}

.step-item h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.5em;
}

.step-item p {
    color: #7f8c8d;
}

/* 用户反馈部分样式 */
.testimonials {
    background-color: #ffffff;
    padding: 80px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2.4em;
    color: #2c3e50;
    position: relative;
}

.testimonials h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #2ecc71;
    margin: 20px auto 0;
    border-radius: 2px;
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}

.testimonial-item {
    flex-basis: 30%;
    margin-bottom: 30px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.quote {
    font-size: 1.1em;
    color: #2c3e50;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
    position: relative;
}

.quote::before {
    content: '"';
    font-size: 3em;
    color: rgba(46, 204, 113, 0.2);
    position: absolute;
    top: -20px;
    left: -10px;
}

.client {
    text-align: right;
    font-weight: bold;
    color: #7f8c8d;
}

/* Footer 样式 */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 30px;
    text-align: left;
    font-size: 0.9em;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-about {
    flex-basis: 40%;
    padding-right: 40px;
}

.footer-links, .footer-contact {
    flex-basis: 25%;
}

footer h3 {
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #2ecc71;
}

footer p {
    margin-bottom: 10px;
    color: #bdc3c7;
    line-height: 1.7;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    color: #3498db;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #2ecc71;
    text-decoration: none;
}

.footer-bottom {
    margin-top: 20px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(236, 240, 241, 0.1);
}

/* Bottom Sticky Bar 样式 - 只在移动端显示 */
.bottom-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(46, 204, 113, 0.95); /* 绿色主题 - 余额兑换相关 */
    color: white;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.1);
    display: none; /* 默认隐藏，在移动端显示 */
}

.bottom-sticky-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-sticky-bar span {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
}

.icon-refresh {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
}

.icon-refresh::before {
    content: '\21BB';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    font-size: 1.3em;
    font-weight: bold;
}

.btn-sticky-enter {
    background-color: #ffffff;
    color: #2ecc71;
    padding: 10px 25px;
    font-size: 1em;
    font-weight: bold;
}

.btn-sticky-enter:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #27ae60;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .section-description {
        padding: 0 20px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        flex-basis: 100%;
        text-align: center;
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .phone-container {
        margin-top: 0;
    }
    
    .feature-grid, .steps-container, .testimonial-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-item, .step-item, .testimonial-item {
        flex-basis: 100%;
        max-width: 500px;
        margin-bottom: 30px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-about, .footer-links, .footer-contact {
        flex-basis: 100%;
        margin-bottom: 30px;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .top-bar {
        flex-direction: column;
        align-items: center;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    .actions {
        margin-top: 10px;
        flex-direction: column;
        width: 100%;
    }
    
    .wechat-info {
        margin-right: 0;
        margin-bottom: 15px;
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
        font-size: 1.1em;
    }
    
    .btn-enter {
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-content h1 {
        font-size: 2.3em;
    }
    
    .phone-container {
        transform: scale(0.9);
    }
    
    /* 在移动端显示底部栏 */
    .bottom-sticky-bar {
        display: block;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 15px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 2em;
    }
    
    .phone-container {
        transform: scale(0.8);
        margin-top: -20px;
    }
    
    .feature-item, .step-item, .testimonial-item {
        padding: 20px 15px;
    }
    
    .testimonial-item {
        flex-basis: 100%;
    }
    
    .bottom-sticky-bar .container {
        padding: 0 20px;
    }
} 