﻿:root {
    --primary-color: #2962ff;
    --secondary-color: #1e88e5;
    --accent-color: #00c853;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --text-color: #333;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--dark-color);
    line-height: 1.2;
    font-weight: 800;
}

.subtitle {
    font-size: 1.4rem;
    color: #555;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.version-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.version-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    min-width: 200px;
}

.version-item span {
    display: block;
    color: #666;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.version-item strong {
    color: var(--dark-color);
    font-size: 1.3rem;
    display: block;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.download-btn {
    padding: 25px 50px;
    background: var(--primary-color);
    border-radius: var(--border-radius);
    color: white;
    cursor: pointer;
    transition: var(--transition);
    min-width: 280px;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(41,98,255,0.2);
}

.btn-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.btn-desc {
    font-size: 1rem;
    opacity: 0.9;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--light-color);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.section-title p {
    color: #666;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-card p {
    color: #555;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.feature-card ul {
    list-style: none;
}

.feature-card li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #444;
}

.feature-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Guide Section */
.guide-section {
    padding: 100px 0;
    background: #fff;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

.guide-card {
    background: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.guide-card h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

.guide-steps {
    counter-reset: step;
}

.guide-step {
    position: relative;
    padding-left: 50px;
    margin-bottom: 25px;
}

.guide-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.guide-step h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.guide-step p {
    color: #666;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: #fff;
}

.faq-list ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
    display: grid;
    gap: 15px;
}

.faq-list li {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.faq-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.faq-list li a {
    display: block;
    padding: 20px 25px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
}

.faq-list li a:hover {
    color: var(--primary-color);
}

/* Crypto Section */
.crypto-section {
    padding: 100px 0;
    background: var(--light-color);
}

.crypto-table-container {
    overflow-x: auto;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 20px;
}

.crypto-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.crypto-table th, .crypto-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.crypto-table th {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1rem;
    white-space: nowrap;
}

.crypto-table tbody tr {
    transition: background-color 0.2s ease;
}

.crypto-table tbody tr:hover {
    background-color: #f5f5f5;
}

.crypto-table tbody td {
    font-size: 1rem;
    color: var(--text-color);
    vertical-align: middle;
}

.crypto-table .crypto-symbol {
    color: #777;
    font-size: 0.9rem;
    margin-left: 8px;
}

.positive-change {
    color: var(--accent-color);
    font-weight: 500;
}

.negative-change {
    color: #d50000;
    font-weight: 500;
}

.show-more-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn-show-more {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-show-more:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.about-feature {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.about-feature:hover {
    transform: translateY(-5px);
}

.about-feature h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.about-feature p {
    color: #555;
    font-size: 1.1rem;
}

/* Footer */
.site-footer {
    background: var(--dark-color);
    color: #fff;
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    margin-bottom: 15px;
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

/* Security Section */
.security-section {
    padding: 100px 0;
    background: #fff;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.security-card {
    background: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.security-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.security-card h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.security-card ul {
    list-style: none;
}

.security-card li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #444;
}

.security-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Trading Section */
.trading-section {
    padding: 100px 0;
    background: var(--light-color);
}

.trading-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.trading-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.trading-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.trading-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.trading-card p {
    color: #555;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.trading-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trading-features span {
    background: var(--light-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--dark-color);
    transition: var(--transition);
}

.trading-features span:hover {
    background: var(--primary-color);
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .header-content {
        flex-direction: column;
        height: auto;
        padding: 0;
    }

    .logo {
        padding: 15px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .main-nav {
        width: 100%;
        display: none; /* 默认隐藏导航菜单 */
    }

    .main-nav.active {
        display: block; /* 点击时显示导航菜单 */
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
        gap: 0;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .main-nav a {
        display: block;
        padding: 15px;
        text-align: center;
        font-size: 16px;
        color: var(--text-color);
        background: #fff;
        transition: none;
    }

    .main-nav a:hover {
        background: var(--primary-color);
        color: #fff;
    }

    .main-nav a::after {
        display: none;
    }

    /* 移动端菜单按钮 */
    .menu-toggle {
        display: block;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 24px;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--primary-color);
        margin: 5px 0;
        transition: 0.4s;
    }

    /* 菜单按钮动画 */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* 内容区域适配 */
    .hero-section {
        padding-top: 80px;
    }

    .hero-content h1 {
        font-size: 24px;
        padding: 0 15px;
        margin-bottom: 15px;
    }

    .subtitle {
        font-size: 16px;
        padding: 0 15px;
        margin-bottom: 20px;
    }

    .version-info {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .version-item {
        width: 100%;
    }

    /* 其他部分响应式优化 */
    .features-section,
    .security-section,
    .trading-section,
    .guide-section,
    .about-section {
        padding: 40px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .features-grid,
    .security-grid,
    .trading-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }

    .feature-card,
    .security-card,
    .trading-card {
        padding: 20px;
    }

    .feature-card h3,
    .security-card h3,
    .trading-card h3 {
        font-size: 1.4rem;
    }

    .guide-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .guide-card {
        padding: 20px;
    }

    .guide-step {
        padding-left: 35px;
    }

    .guide-step::before {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }

    .about-features {
        flex-direction: column;
        gap: 20px;
    }

    .about-feature {
        padding: 20px;
    }

    .app-desc {
        padding: 0 20px;
    }
    
    .app-desc p {
        font-size: 1rem;
    }
    
    .keyword-section {
        margin: 20px 15px;
        padding: 15px 0;
    }
    
    .keyword-list {
        gap: 8px;
        padding: 0 10px;
    }
    
    .keyword-item {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .links-section {
        padding: 30px 15px;
    }

    .related-sites {
        gap: 8px;
    }

    .guide-step::before {
        font-size: 1.5rem;
    }
    
    .crypto-table th, .crypto-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
    .crypto-table .crypto-symbol {
        display: block;
        margin-left: 0;
    }

    .about-features {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .app-desc p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .feature-card,
    .security-card,
    .trading-card {
        padding: 20px;
    }

    .btn-title {
        font-size: 1.2rem;
    }

    .btn-desc {
        font-size: 0.9rem;
    }

    .guide-step::before {
        width: 30px;
        height: 30px;
    }

    .footer-content {
        gap: 20px;
    }

    .download-btn {
        padding: 15px;
    }

    .feature-card,
    .guide-card {
        padding: 25px;
    }

    .app-image {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .version-item {
        padding: 15px;
    }

    .download-btn {
        padding: 15px;
        min-width: auto;
    }

    .btn-title {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        padding: 90px 0 30px;
    }

    .version-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .download-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }

    .main-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .features-grid,
    .security-grid,
    .trading-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .version-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .download-buttons {
        gap: 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* 添加到现有CSS文件中 */
.app-desc {
    margin: 20px auto 30px;
    max-width: 800px;
    text-align: center;
}

.app-desc p {
    color: #555;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* SEO关键词优化 */
.seo-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* 版本信息优化 */
.version-info {
    margin-top: 30px;
}

.version-item strong {
    color: var(--primary-color);
}

/* 下载按钮优化 */
.download-btn {
    text-align: center;
}

.download-btn .btn-title {
    font-weight: 700;
}

.download-btn .btn-desc {
    margin-top: 5px;
}

/* 添加关键词密度相关样式 */
.keyword-section {
    padding: 20px 0;
    background: rgba(41,98,255,0.03);
    margin: 30px 0;
    border-radius: var(--border-radius);
}

.keyword-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.keyword-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
}

.keyword-item {
    background: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-weight: 500;
    color: var(--dark-color);
}

/* 辅助类 */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* 广告部分样式 */
.ad-section {
    margin: 20px 0;
    text-align: center;
}

/* 友情链接部分样式 */
.links-section {
    padding: 40px 0;
    background: var(--light-color);
}

.links-wrapper {
    margin-top: 20px;
}

.related-sites {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
}

.related-sites li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 5px 15px;
    background: white;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.related-sites li a:hover {
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Logo and App Preview Styles */
.logo-image {
    height: 40px;
    width: auto;
    vertical-align: middle;
    margin-right: 10px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo span {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.app-preview {
    text-align: center;
    margin: 20px 0;
}

.app-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
