/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --deep-sea-blue: #0B0F19;
    --neon-cyan: #00F0FF;
    --electric-purple: #7000FF;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(0, 240, 255, 0.3);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --shadow-neon-cyan: 0 0 20px rgba(0, 240, 255, 0.5);
    --shadow-electric-purple: 0 0 20px rgba(112, 0, 255, 0.5);
    
    /* Typography */
    --font-primary: 'Inter', 'Roboto', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--deep-sea-blue);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Dynamic Background Animation ===== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.breathing-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: breathe 8s ease-in-out infinite;
}

.circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%);
    top: -300px;
    left: -300px;
    animation-delay: 0s;
}

.circle-2 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--electric-purple) 0%, transparent 70%);
    bottom: -400px;
    right: -400px;
    animation-delay: -4s;
}

.circle-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -2s;
}

@keyframes breathe {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.6;
    }
}

/* ===== Navigation Bar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(11, 15, 25, 0.95);
    box-shadow: var(--shadow-neon-cyan);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    font-size: 28px;
    font-weight: var(--font-weight-black);
    background: linear-gradient(135deg, var(--neon-cyan), var(--electric-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--neon-cyan);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--neon-cyan);
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-black);
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--electric-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.download-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.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: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-android {
    background: linear-gradient(135deg, var(--neon-cyan), #0080FF);
    color: white;
    box-shadow: var(--shadow-neon-cyan);
}

.btn-android:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.4);
}

.btn-ios {
    background: linear-gradient(135deg, var(--electric-purple), #9D4EDD);
    color: white;
    box-shadow: var(--shadow-electric-purple);
}

.btn-ios:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(112, 0, 255, 0.4);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: var(--font-weight-black);
    color: var(--neon-cyan);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ===== Glassmorphism Card Styles ===== */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-black);
    text-align: center;
    margin-bottom: 80px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--electric-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-neon-cyan), 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--neon-cyan);
}

/* ===== Features Section ===== */
.features {
    padding: 120px 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    composes: glass-card;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
    color: var(--neon-cyan);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.8;
}

/* ===== Ecosystem Section ===== */
.ecosystem {
    padding: 120px 0;
    position: relative;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.ecosystem-card {
    composes: glass-card;
    padding: 0;
    overflow: hidden;
}

.ecosystem-header {
    padding: 30px 40px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(112, 0, 255, 0.1));
    border-bottom: 1px solid var(--glass-border);
}

.ecosystem-header h3 {
    font-size: 1.8rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 10px;
    color: var(--neon-cyan);
}

.ecosystem-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.ecosystem-content {
    padding: 40px;
}

.ecosystem-content h4 {
    font-size: 1.3rem;
    font-weight: var(--font-weight-semibold);
    margin: 25px 0 15px 0;
    color: var(--electric-purple);
}

.ecosystem-content ul {
    list-style: none;
    margin: 15px 0;
}

.ecosystem-content li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.7;
}

.ecosystem-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
    font-weight: bold;
}

.ecosystem-content li strong {
    color: var(--text-primary);
}

/* ===== Tutorial Section ===== */
.tutorial {
    padding: 120px 0;
    position: relative;
}

.tutorial-content {
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    composes: glass-card;
    margin-bottom: 40px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -25px;
    left: 40px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--electric-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: var(--font-weight-black);
    box-shadow: var(--shadow-neon-cyan);
}

.step-card h3 {
    font-size: 1.8rem;
    font-weight: var(--font-weight-bold);
    margin: 20px 0 25px 0;
    color: var(--neon-cyan);
    padding-top: 10px;
}

.step-details h4 {
    font-size: 1.2rem;
    font-weight: var(--font-weight-semibold);
    margin: 20px 0 15px 0;
    color: var(--electric-purple);
}

.step-details p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.8;
}

.step-details strong {
    color: var(--text-primary);
}

/* ===== FAQ Section ===== */
.faq {
    padding: 120px 0;
    position: relative;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    composes: glass-card;
    margin-bottom: 20px;
    padding: 0;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 30px 40px;
    background: none;
    border: none;
    text-align: left;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 240, 255, 0.05);
    color: var(--neon-cyan);
}

.faq-arrow {
    transition: transform 0.3s ease;
    color: var(--neon-cyan);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 40px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 40px 30px 40px;
}

.faq-answer p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.8;
}

/* ===== Footer ===== */
.footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
    color: var(--neon-cyan);
}

.seo-links {
    list-style: none;
}

.seo-links li {
    margin-bottom: 12px;
}

.seo-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.seo-links a:hover {
    color: var(--neon-cyan);
    padding-left: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.footer-bottom p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(11, 15, 25, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 40px 0;
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--glass-border);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 280px;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .faq-question,
    .faq-answer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .faq-item.active .faq-answer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .step-number {
        left: 20px;
    }

    .step-card h3 {
        padding-top: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .glass-card {
        padding: 25px;
    }

    .ecosystem-header,
    .ecosystem-content {
        padding: 25px;
    }

    .faq-question {
        padding: 20px;
        font-size: 1.1rem;
    }

    .step-card {
        padding: 25px 25px 25px 35px;
    }
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--deep-sea-blue);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--neon-cyan), var(--electric-purple));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--electric-purple), var(--neon-cyan));
}

/* ===== Selection Styles ===== */
::selection {
    background: rgba(0, 240, 255, 0.3);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(0, 240, 255, 0.3);
    color: var(--text-primary);
}
/* FAQ 折叠动画 */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 40px;
}
.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 40px 30px 40px;
}
.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}
.faq-arrow {
    transition: transform 0.3s ease;
    color: #00F0FF;
    margin-left: 8px;
}