/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1a1f2c 0%, #2c3e50 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.header {
    background: rgba(26, 31, 44, 0.95);
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    font-size: 2rem;
    color: #2c3e50;
}

.logo h1 a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s;
}

.logo h1 a:hover {
    color: #3498db;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #3498db;
}

/* Hero section */
.hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #1a1f2c 0%, #2c3e50 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 2rem;
    width: 100%;
}

.hero-content {
    flex: 1;
    text-align: left;
    z-index: 2;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 400px;
}

.hero-image img {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e74c3c;
}

.stat-label {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin: 0 10px;
}

.btn.primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
}

.btn.secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Features section */
.features {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1f2c 0%, #2c3e50 100%);
    color: white;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-details {
    list-style: none;
    text-align: left;
    padding: 0;
    margin-top: 1.5rem;
}

.feature-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.feature-details li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* About section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1f2c 0%, #2c3e50 100%);
    color: white;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.about-grid {
    display: grid;
    gap: 3rem;
}

.about-main {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-text h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    text-align: center;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    min-width: 150px;
    transition: transform 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-box h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-values {
    margin-top: 3rem;
}

.about-values h3 {
    text-align: center;
    color: #fff;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.values-container {
    display: grid;
    gap: 2rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-card h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.value-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.value-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.value-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.value-details li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Trading section */
.trading {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #1a1f2c 100%);
    color: white;
}

.trading h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.trading-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.trading-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trading-card:hover {
    transform: translateY(-5px);
}

.trading-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.trading-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.trading-features {
    list-style: none;
    text-align: left;
    padding: 0;
    margin-top: 1.5rem;
}

.trading-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.trading-features li:before {
    content: "✓";
    color: #27ae60;
    position: absolute;
    left: 0;
    font-size: 1rem;
}

.trading-features li:hover {
    color: #fff;
}

/* Trading Icons */
.trading-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.trading-card:hover .trading-icon {
    transform: scale(1.1);
}

/* Security section */
.security {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1f2c 0%, #2c3e50 100%);
    color: white;
}

.security h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.security-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.security-card:hover {
    transform: translateY(-5px);
}

.security-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.security-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.security-features {
    list-style: none;
    text-align: left;
    padding: 0;
    margin-top: 1.5rem;
}

.security-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.security-features li:before {
    content: "🔒";
    color: #3498db;
    position: absolute;
    left: 0;
    font-size: 1rem;
}

.security-features li:hover {
    color: #fff;
}

/* Security Icons */
.security-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.security-card:hover .security-icon {
    transform: scale(1.1);
}

/* Download section */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #1a1f2c 100%);
    color: white;
}

.download h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.download-card {
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05), rgba(41, 128, 185, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-card:hover::before {
    opacity: 1;
}

.download-card:nth-child(1) {
    background: linear-gradient(135deg, #fff, #f8f9fa);
}

.download-card:nth-child(2) {
    background: linear-gradient(135deg, #fff, #f1f8ff);
}

.download-card:nth-child(3) {
    background: linear-gradient(135deg, #fff, #f0fff4);
}

.download-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.download-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.version-info {
    background: #f8f9fa;
    padding: 0.8rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.version, .update-date {
    color: #666;
    font-size: 0.9rem;
}

.download-features {
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 1.5rem 0;
}

.download-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.download-features li:before {
    content: "✓";
    color: #27ae60;
    position: absolute;
    left: 0;
}

.system-requirements {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    margin: 1.5rem 0;
    text-align: left;
}

.system-requirements h4 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.system-requirements ul {
    list-style: none;
    padding: 0;
}

.system-requirements li {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.system-requirements li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
}

.download-btn {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    margin: 1rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.download-size {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.mobile-download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1rem 0;
}

.ios-btn {
    background: linear-gradient(135deg, #000 0%, #333 100%);
}

.android-btn {
    background: linear-gradient(135deg, #3ddc84 0%, #2bb673 100%);
}

.download-notes {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.download-notes h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.download-notes ul {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
}

.download-notes li {
    color: #666;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.download-notes li:before {
    content: "!";
    color: #e74c3c;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1f2c 0%, #2c3e50 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive design */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding: 0 15px;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .hero {
        min-height: 500px;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .hero-image {
        justify-content: center;
        height: 300px;
    }

    .feature-grid,
    .trading-grid,
    .security-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .download-platforms {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 10px;
    }

    .header {
        position: relative;
    }

    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 1002;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        padding: 80px 20px 20px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
        margin: 0;
        padding: 0;
    }

    .main-nav li {
        margin: 0;
        padding: 0;
    }

    .main-nav a {
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
        color: #2c3e50;
        text-decoration: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .main-nav a:after {
        display: none;
    }

    .main-nav a:hover {
        color: #3498db;
    }

    /* 遮罩层样式 */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-overlay.active {
        display: block;
        opacity: 1;
    }

    .hero {
        min-height: 450px;
        padding: 100px 0 40px;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.2rem;
    }

    .stat-item {
        flex: 1 1 calc(50% - 1.2rem);
        min-width: 120px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        margin: 0;
        padding: 10px 20px;
    }

    .hero-image img {
        max-width: 100%;
        max-height: 350px;
    }

    .feature-grid,
    .trading-grid,
    .security-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .download-platforms {
        grid-template-columns: 1fr;
    }

    .platform-card {
        padding: 1.2rem;
    }

    .platform-features {
        grid-template-columns: 1fr;
    }

    .mobile-buttons {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .stat-box {
        flex: 1 1 calc(50% - 1rem);
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }

    .hero {
        min-height: 400px;
        padding: 80px 0 30px;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-item {
        flex: 1 1 100%;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .hero-image img {
        max-width: 100%;
        max-height: 300px;
        margin: 0 -20px; /* 让图片延伸到容器边缘 */
    }

    .feature-card,
    .trading-card,
    .security-card,
    .value-card,
    .platform-card {
        padding: 1rem;
    }

    .feature-icon,
    .trading-icon,
    .security-icon,
    .value-icon,
    .platform-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .feature-card h3,
    .trading-card h3,
    .security-card h3,
    .value-card h4,
    .platform-card h4 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .feature-card p,
    .trading-card p,
    .security-card p,
    .value-card p,
    .platform-card p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .download-btn {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    .btn-icon {
        font-size: 1rem;
    }

    .file-size {
        font-size: 0.75rem;
    }

    .about-stats {
        gap: 0.8rem;
    }

    .stat-box {
        flex: 1 1 100%;
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

/* 添加横屏模式优化 */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 350px;
        padding: 60px 0 20px;
    }

    .hero-image img {
        height: 180px;
    }

    .hero-stats {
        margin: 1rem 0;
    }

    .stat-item {
        margin: 0.5rem 0;
    }
}

/* Card Variations */
.card-gradient-1,
.card-gradient-2,
.card-gradient-3,
.card-gradient-4,
.card-border,
.card-border-gradient,
.card-shadow-1,
.card-shadow-2,
.card-shadow-3,
.card-shadow-4,
.card-hover-lift,
.card-hover-scale,
.card-hover-rotate {
    display: none;
}

/* Card Content Styles */
.card-title,
.card-subtitle,
.card-text,
.card-icon {
    display: none;
}

/* Card List Styles */
.card-list,
.card-list-item {
    display: none;
}

/* 下载中心框架布局 */
.download-framework {
    margin-top: 2rem;
}

.download-main {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-header {
    text-align: center;
    margin-bottom: 2rem;
}

.download-header h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.download-header p {
    color: #666;
    font-size: 1.1rem;
}

.download-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.platform-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.8rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.platform-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.platform-card h4 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.version-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
}

.version-info span {
    font-size: 0.9rem;
    color: #666;
}

.platform-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    font-size: 1.2rem;
}

.feature-text {
    font-size: 0.9rem;
    color: #666;
}

.system-requirements {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.system-requirements h5 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.system-requirements ul {
    list-style: none;
    padding: 0;
}

.system-requirements li {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.3rem;
    padding-left: 1.2rem;
    position: relative;
}

.system-requirements li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007bff;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.windows-btn {
    background: linear-gradient(135deg, #0078d7 0%, #005a9e 100%);
    color: #fff;
}

.mac-btn {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #fff;
}

.ios-btn {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #fff;
}

.android-btn {
    background: linear-gradient(135deg, #3ddc84 0%, #2bb673 100%);
    color: #fff;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-icon {
    font-size: 1.2rem;
}

.file-size {
    font-size: 0.8rem;
    opacity: 0.8;
}

.mobile-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.mobile-buttons .download-btn {
    padding: 0.6rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.mobile-buttons .btn-icon {
    font-size: 0.9rem;
}

.mobile-buttons .file-size {
    font-size: 0.7rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .mobile-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .mobile-buttons .download-btn {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .mobile-buttons .btn-icon {
        font-size: 0.85rem;
    }

    .mobile-buttons .file-size {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .mobile-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .mobile-buttons .download-btn {
        padding: 0.4rem;
        font-size: 0.75rem;
    }

    .mobile-buttons .btn-icon {
        font-size: 0.8rem;
    }

    .mobile-buttons .file-size {
        font-size: 0.6rem;
    }
}

.download-subtitle {
    color: #666;
    font-size: 1rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #2c3e50;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* 导航菜单样式优化 */
.main-nav {
    transition: all 0.3s ease;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.main-nav a:hover:after {
    width: 100%;
}

/* 移动端响应式样式 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        position: relative;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        padding: 80px 20px 20px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .main-nav a {
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
        color: #2c3e50;
    }

    .main-nav a:after {
        display: none;
    }

    .main-nav a:hover {
        color: #3498db;
    }

    /* 添加遮罩层 */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }
}

@media (max-width: 480px) {
    .main-nav {
        width: 100%;
        max-width: none;
    }

    .main-nav ul {
        gap: 1rem;
    }

    .main-nav a {
        font-size: 1rem;
        padding: 8px 0;
    }
} 