/* 基础样式设置 */
:root {
    --primary-color: #F3BA2F;
    --secondary-color: #333333;
    --background-color: #FFFFFF;
    --text-color: #333333;
    --light-gray: #F5F5F5;
    --border-color: #E0E0E0;
    --shadow-color: rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 80px 0;
}

/* 头部样式 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px var(--shadow-color);
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary-color);
}

.language-toggle {
    position: relative;
}

.language-toggle a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

/* 英雄区域样式 */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9eef2 100%);
}

.hero-device-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
}

.hero-device {
    width: 280px;
    height: 500px;
    background-color: #333;
    border-radius: 30px;
    padding: 15px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.hero-device-screen {
    width: 100%;
    height: 100%;
    background-color: #222;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-device-logo {
    width: 120px;
    height: 120px;
    position: relative;
}

.hero-coin {
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(243, 186, 47, 0.7); }
    100% { transform: scale(1); box-shadow: 0 0 0 20px rgba(243, 186, 47, 0); }
}

.hero-coin-pattern {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-coin-pattern:before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: white;
    transform: rotate(45deg);
}

.hero-coin-pattern:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 15px solid white;
    border-radius: 50%;
}

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

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #e0a929;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 186, 47, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--secondary-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.btn-dark {
    background-color: var(--secondary-color);
    color: white;
}

.btn-dark:hover {
    background-color: #444;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-light {
    background-color: white;
    color: var(--secondary-color);
    border: 1px solid var(--border-color);
}

.btn-light:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

/* 特性区域样式 */
.features {
    background-color: white;
    padding: 100px 0;
}

.features h2, .download h2, .about h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 5px 20px var(--shadow-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;
}

.feature-icon-circle {
    width: 60px;
    height: 60px;
    background-color: rgba(243, 186, 47, 0.2);
    border-radius: 50%;
    position: absolute;
}

.feature-icon-shape {
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 2;
}

/* 安全图标 */
.security-icon .feature-icon-shape {
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    position: relative;
}

.security-icon .feature-icon-shape:before {
    content: '';
    position: absolute;
    top: 40%;
    left: 25%;
    width: 50%;
    height: 25%;
    border-left: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    transform: rotate(-45deg);
}

/* 多样化交易图标 */
.trading-icon .feature-icon-shape {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.trading-icon .feature-icon-shape:before,
.trading-icon .feature-icon-shape:after {
    content: '';
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
}

.trading-icon .feature-icon-shape:before {
    position: relative;
    top: -3px;
}

.trading-icon .feature-icon-shape:after {
    position: relative;
    bottom: -3px;
}

/* 服务图标 */
.service-icon .feature-icon-shape {
    border: 3px solid transparent;
    border-top: 3px solid var(--primary-color);
    border-right: 3px solid var(--primary-color);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    animation: spin 5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 便捷图标 */
.easy-icon .feature-icon-shape {
    width: 30px;
    height: 20px;
    border: 3px solid var(--primary-color);
    border-radius: 3px;
    position: relative;
}

.easy-icon .feature-icon-shape:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 5px;
    width: 15px;
    height: 5px;
    border-left: 3px solid var(--primary-color);
    border-right: 3px solid var(--primary-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 3px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: #666;
    margin-bottom: 0;
}

/* 下载区域样式 */
.download {
    background-color: var(--light-gray);
    padding: 100px 0;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #666;
    font-size: 1.1rem;
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.download-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.download-option h3 {
    font-size: 1.5rem;
    margin: 20px 0;
}

.download-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.device-icon {
    margin-bottom: 10px;
}

/* 关于区域样式 */
.about {
    padding: 100px 0;
    background-color: white;
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.about-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    background-color: var(--light-gray);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

/* 页脚样式 */
footer {
    background-color: #292929;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 0 0 300px;
    margin-right: 40px;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-links-group {
    flex: 1;
    min-width: 160px;
}

.footer-logo p {
    margin-top: 15px;
    color: #ccc;
}

.footer-links-group h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-links-group ul li a {
    color: #aaa;
    transition: var(--transition);
}

.footer-links-group ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #3a3a3a;
    color: #aaa;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .footer-logo {
        flex: 0 0 100%;
        margin-right: 0;
    }
    
    .footer-links {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    header .container {
        height: 70px;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 5px 10px var(--shadow-color);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    
    nav.active {
        transform: translateY(0);
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 130px 0 60px;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .download-options {
        flex-direction: column;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
}
