/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1677FF;
    --secondary-color: #07C160;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f5f7fa;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航 */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo h1 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.logo .subtitle {
    font-size: 12px;
    color: var(--text-light);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* 主横幅 */
.hero {
    background: var(--gradient);
    padding: 180px 0 120px;
    text-align: center;
    color: var(--white);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 16px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.hero-icon {
    animation: float 3s ease-in-out infinite;
}

.exchange-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.platform {
    animation: pulse 2s ease-in-out infinite;
}

.platform.wechat {
    animation-delay: 0s;
}

.platform.alipay {
    animation-delay: 1s;
}

.arrow {
    font-size: 36px;
    color: var(--white);
    animation: exchange 1.5s ease-in-out infinite;
}

/* 动画 */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes exchange {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* 服务介绍 */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: var(--text-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* 特点 */
.features {
    padding: 100px 0;
    background: var(--white);
}

.feature-list {
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.2;
    min-width: 80px;
}

.feature-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.feature-content p {
    color: var(--text-light);
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: var(--gradient);
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.contact-details h3 {
    font-size: 18px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.contact-value {
    font-size: 20px;
    font-weight: 600;
}

.qrcode-container {
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    text-align: center;
}

.qrcode-img {
    width: 180px;
    height: 180px;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

.qrcode-hint {
    color: var(--text-color);
    font-size: 14px;
    margin: 10px 0 0 0;
}

/* 按钮样式 */
.action-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 12px;
    cursor: pointer;
    border: 2px solid transparent;
}

.action-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.copy-btn {
    border: 2px solid var(--white);
}

.copy-btn:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* 页脚 */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.footer-info p {
    opacity: 0.7;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
}

.icp, .company-name, .copyright {
    opacity: 0.6;
    font-size: 13px;
    margin-bottom: 8px;
}

.icp a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.icp a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .exchange-animation {
        padding: 30px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header .container {
        padding: 15px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .cta-button {
        padding: 14px 36px;
        font-size: 16px;
    }

    .exchange-animation {
        padding: 20px;
        gap: 20px;
    }

    .section-title {
        font-size: 24px;
    }
}
