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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

img {
    max-width: 100%;
    height: auto;
}

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

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

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

.logo img {
    width: 40px;
    height: 40px;
}

.logo span {
    font-size: 20px;
    font-weight: bold;
    color: #7b2ff7;
}

.nav {
    display: flex;
    gap: 25px;
}

.nav a {
    color: #333;
    font-size: 15px;
    transition: color 0.3s;
}

.nav a:hover {
    color: #7b2ff7;
}

.menu-toggle {
    display: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z'/%3E%3C/svg%3E") no-repeat center;
    background-size: 24px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #7b2ff7 0%, #9b59b6 100%);
    padding: 140px 0 80px;
    text-align: center;
    color: #fff;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.description {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background-color: #fff;
    color: #7b2ff7;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #7b2ff7;
}

.btn-large {
    padding: 16px 50px;
    font-size: 18px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #7b2ff7, #9b59b6);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background-color: #f8f9fa;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(123,47,247,0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 12px;
}

.feature-card p {
    color: #666;
    font-size: 15px;
}

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
    background-color: #f5f5f5;
}

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

.screenshot {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.screenshot img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.screenshot p {
    color: #666;
    font-size: 15px;
}

/* Download Section */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, #7b2ff7 0%, #9b59b6 100%);
    color: #fff;
    text-align: center;
}

.download-desc {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.download-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-primary.download {
    background-color: #fff;
    color: #7b2ff7;
}

.btn-secondary.download {
    border-color: #fff;
    color: #fff;
}

.qrcode-placeholder {
    margin-top: 30px;
}

.qrcode-placeholder p {
    margin-bottom: 15px;
    font-size: 16px;
}

.qr-box {
    width: 200px;
    height: 200px;
    background-color: #fff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #7b2ff7;
    font-size: 14px;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.beian {
    color: #ccc;
}

.contact {
    color: #999;
    font-size: 14px;
}

/* Content Page Styles */
.content-page {
    padding: 100px 0 60px;
    background-color: #fff;
    min-height: 60vh;
}

.content-page h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.update-date {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.content-page section {
    margin-bottom: 40px;
}

.content-page h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #7b2ff7;
}

.content-page h3 {
    font-size: 18px;
    color: #555;
    margin: 20px 0 12px;
}

.content-page p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-page ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

.content-page li {
    color: #666;
    line-height: 1.8;
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav.active {
        display: flex;
    }

    .hero h1 {
        font-size: 32px;
    }

    .subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 26px;
    }

    .features-grid,
    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .download-options {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 80%;
        text-align: center;
    }

    .content-page {
        padding: 90px 20px 40px;
    }

    .content-page h1 {
        font-size: 28px;
    }

    .content-page h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }

    .app-icon {
        width: 100px;
        height: 100px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 14px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}
