* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    min-height: 100vh;
    color: #fff;
    background: linear-gradient(135deg, #0d1f22 0%, #1a3a3d 50%, #0d261f 100%);
    overflow-x: hidden;
    position: relative;
}

.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.chart-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(67, 233, 123, 0.05) 0%, transparent 100%);
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(67, 233, 123, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(67, 233, 123, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(13, 31, 34, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(67, 233, 123, 0.2);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.logo-icon {
    font-size: 32px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #43e97b;
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(67, 233, 123, 0.2);
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 24px;
    border: 1px solid rgba(67, 233, 123, 0.3);
}

.hero-section h1 {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #0d1f22;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(67, 233, 123, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Hero Visual */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.stock-chart {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(67, 233, 123, 0.2);
    width: 400px;
    backdrop-filter: blur(10px);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.stock-name {
    font-size: 16px;
    opacity: 0.8;
}

.stock-price {
    font-size: 18px;
    font-weight: 600;
}

.stock-price.green {
    color: #43e97b;
}

.chart-area {
    height: 150px;
}

.chart-svg {
    width: 100%;
    height: 100%;
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 24px;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 32px 20px;
    background: rgba(67, 233, 123, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(67, 233, 123, 0.15);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(67, 233, 123, 0.1);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-number.green {
    color: #43e97b;
}

.stat-label {
    font-size: 14px;
    opacity: 0.85;
}

/* Features Section */
.features-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(67, 233, 123, 0.1);
    border-color: rgba(67, 233, 123, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.7;
}

/* Footer */
.footer {
    padding: 40px 24px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.footer-content p {
    margin-bottom: 8px;
    font-size: 14px;
    opacity: 0.85;
}

.footer a {
    color: #43e97b;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer a:hover {
    opacity: 0.8;
}

/* Download Page */
.download-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    position: relative;
    z-index: 1;
}

.download-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 60px;
    text-align: center;
    border: 1px solid rgba(67, 233, 123, 0.2);
    max-width: 500px;
    width: 100%;
}

.app-icon-large {
    font-size: 100px;
    margin-bottom: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.download-card h1 {
    font-size: 36px;
    margin-bottom: 12px;
}

.tagline {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 32px;
}

.download-info {
    background: rgba(67, 233, 123, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    opacity: 0.7;
}

.info-value {
    font-weight: 600;
}

.btn-download {
    width: 100%;
    justify-content: center;
    font-size: 18px;
    padding: 18px 32px;
}

.platform-support {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.platform-badge {
    padding: 6px 16px;
    background: rgba(67, 233, 123, 0.15);
    border-radius: 20px;
    font-size: 13px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.back-link svg {
    width: 18px;
    height: 18px;
}

.back-link:hover {
    color: #fff;
}

/* Error Page */
.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.error-visual {
    position: relative;
    margin-bottom: 30px;
}

.broken-chart {
    position: relative;
}

.chart-icon {
    font-size: 120px;
    position: relative;
    z-index: 2;
    opacity: 0.8;
}

.broken-line {
    position: absolute;
    top: 60%;
    left: 50%;
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, #43e97b, transparent);
    transform: translate(-50%, -50%) rotate(-15deg);
    animation: flicker 1s infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.broken-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px dashed rgba(67, 233, 123, 0.3);
    border-radius: 50%;
    animation: ring-rotate 10s linear infinite;
}

@keyframes ring-rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.error-code {
    font-size: 100px;
    font-weight: 800;
    margin-bottom: 20px;
    opacity: 0.9;
}

.error-page h1 {
    font-size: 32px;
    margin-bottom: 16px;
}

.error-page p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 40px;
    line-height: 1.7;
}

.error-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 48px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .nav-links a {
        font-size: 14px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-card {
        padding: 40px 24px;
    }
    
    .error-code {
        font-size: 72px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 36px;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
}