:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --primary-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --text-white: #f8fafc;
    --text-gray: #94a3b8;
    --gradient-main: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 背景 Canvas */
#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 36px;
}

.brand-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-btn {
    padding: 10px 24px;
    font-size: 14px;
    background: var(--gradient-main);
    color: white;
    border: none;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.nav-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: 0.5s;
}

.nav-btn:hover {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
    transform: translateY(-1px);
}

.nav-btn:hover::before {
    left: 100%;
}

/* 按钮通用 */
.download-btn {
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.primary-btn {
    background: var(--gradient-main);
    color: white;
    padding: 16px 48px;
    font-size: 18px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.6);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.arrow-icon {
    fill: currentColor;
    transition: transform 0.3s ease;
}

.primary-btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 480px;
}

.hero-image-box {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-frame {
    width: 300px;
    border-radius: 40px;
    border: 8px solid #334155;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: #000;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.screen-img {
    width: 100%;
    height: auto;
    display: block;
}

.glow-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

/* Features */
.features {
    padding: 100px 0;
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 120px;
    gap: 60px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-cyan);
}

.feature-text h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-text p {
    color: var(--text-gray);
    font-size: 16px;
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: scale(1.02);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-img {
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
}

/* Stats */
.stats-section {
    background: linear-gradient(to right, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
    padding: 80px 0;
    margin-bottom: 100px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-gray);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Footer CTA */
.footer-cta {
    text-align: center;
    padding: 100px 0 40px;
    background: radial-gradient(circle at center, rgba(30, 41, 59, 1) 0%, var(--bg-dark) 100%);
}

.footer-title {
    font-size: 36px;
    margin-bottom: 16px;
}

.footer-subtitle {
    color: var(--text-gray);
    margin-bottom: 40px;
}

.footer-btn {
    background: var(--text-white);
    color: var(--bg-dark);
    padding: 16px 60px;
    font-size: 18px;
}

.footer-btn:hover {
    background: var(--accent-cyan);
    color: white;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.4);
}

.copyright {
    margin-top: 80px;
    color: #475569;
    font-size: 12px;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-desc {
        margin: 0 auto 30px;
    }

    .hero-title {
        font-size: 40px;
    }
    
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon-box {
        margin: 0 auto 24px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
