:root {
    --primary-color: #8C4FFF;
    --primary-hover: #7A3FE0;
    --background-color: #121024;
    --card-bg: #1E1B33;
    --text-color: #FFFFFF;
    --text-secondary: #9A93A8;
    --border-color: #332E4D;
    --font-family: 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --transition-speed: 0.3s;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

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

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(18, 16, 36, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 16px;
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--primary-color);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, #2A2440, var(--background-color));
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 18px;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(140, 79, 255, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: rgba(140, 79, 255, 0.1);
}

.qr-codes {
    display: flex;
    gap: 30px;
}

.qr-item {
    text-align: center;
}

.qr-box {
    width: 120px;
    height: 120px;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.qr-box img {
    width: 100%;
    height: 100%;
    display: block;
}

.qr-item span {
    color: var(--text-secondary);
    font-size: 14px;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: var(--background-color);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: var(--text-color);
}

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

.feature-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-speed);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(140, 79, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
}

.feature-icon img {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background-color: #0B0A16;
}

.download-box {
    background: linear-gradient(135deg, var(--card-bg), #2A2440);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.download-box h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.download-box p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.download-platforms {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    width: 280px;
}

.platform-icon {
    width: 60px;
    height: 60px;
}

.platform-qr img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
}

.platform-info h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.platform-info p {
    font-size: 14px;
    margin-bottom: 15px;
}

/* Footer */
.site-footer {
    background-color: #08070F;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1E1B33;
}

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

.footer-links a {
    margin-left: 30px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
}

.copyright {
    margin-bottom: 15px;
}

.legal-info {
    margin-bottom: 20px;
}

.legal-info a:hover {
    color: var(--primary-color);
}

.divider {
    margin: 0 10px;
    color: #332E4D;
}

.icp-info p {
    margin-bottom: 5px;
    line-height: 1.8;
}

.icp-info a:hover {
    color: var(--text-color);
}

/* Responsive */
@media (max-width: 768px) {
    .site-header .container {
        padding: 0 15px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none; /* Can be implemented with JS toggle */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--background-color);
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero-section {
        padding-top: 120px;
        text-align: center;
    }

    .hero-section .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
    }

    .download-buttons {
        justify-content: center;
    }

    .qr-codes {
        justify-content: center;
    }

    .download-platforms {
        gap: 30px;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links a {
        margin: 0 15px;
    }
}
