    /* 所有CSS保持不变 */
:root {
    --primary-dark: #0a0e17;
    --secondary-dark: #121a29;
    --neon-blue: #00f3ff;
    --neon-purple: #8a2be2;
    --neon-cyan: #00f5d4;
    --neon-pink: #ff00e6;
    --text-light: #e0e7ff;
    --glass-bg: rgba(30, 41, 59, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: var(--primary-dark);
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100vh;
    background-image:
            radial-gradient(circle at 10% 20%, rgba(138, 43, 226, 0.1) 0%, transparent 20%),
            radial-gradient(circle at 90% 80%, rgba(0, 243, 255, 0.1) 0%, transparent 20%);
}

.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: var(--neon-blue);
    border-radius: 50%;
    opacity: 0.7;
    animation: float 15s infinite linear;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2300f3ff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.risk-warning-bar {
    background: linear-gradient(90deg, #ff0000, #ff6a00);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.3);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 40px;
}

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

.logo-icon {
    font-size: 28px;
    color: var(--neon-blue);
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--neon-blue);
}

.nav-link:hover:after {
    width: 100%;
}

.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.ai-assistant {
    width: 150px;
    height: 150px;
    background: linear-gradient(145deg, rgba(0,243,255,0.2), rgba(138,43,226,0.2));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
    border: 2px solid rgba(0, 243, 255, 0.5);
}

.ai-assistant-inner {
    width: 100px;
    height: 100px;
    background: linear-gradient(145deg, var(--neon-blue), var(--neon-purple));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    color: white;
    animation: pulse 3s infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--neon-cyan);
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.9;
}

.input-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
}

.input-container {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.neural-input-field {
    width: 100%;
    padding: 18px 20px;
    font-size: 16px;
    background: rgba(10, 20, 40, 0.7);
    border: 2px solid rgba(0, 243, 255, 0.3);
    border-radius: 12px;
    color: var(--text-light);
    transition: all 0.3s ease;
    outline: none;
    backdrop-filter: blur(10px);
}

.neural-input-field:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

.neural-input-field::placeholder {
    color: rgba(224, 231, 255, 0.6);
}

#errorMessage {
    color: #ff4d4d;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.quantum-action-trigger {
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    color: white;
    border: none;
    padding: 18px 30px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.quantum-action-trigger:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.quantum-action-trigger:hover:before {
    left: 100%;
}

.quantum-action-trigger:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 243, 255, 0.4);
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
    width: 100%;
}

.stat-card {
    background: var(--glass-bg);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 243, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 243, 255, 0.2);
    border: 1px solid rgba(0, 243, 255, 0.3);
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--neon-cyan);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(224, 231, 255, 0.8);
}

.stocks-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.stock-card {
    background: var(--glass-bg);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 243, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.stock-card:hover {
    transform: translateY(-5px);
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 243, 255, 0.2);
}

.stock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.icon-symbol {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.price-change {
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.positive {
    background: rgba(0, 200, 83, 0.2);
    color: #00c853;
}

.negative {
    background: rgba(255, 61, 0, 0.2);
    color: #ff3d00;
}

.icon-name {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: rgba(224, 231, 255, 0.9);
}

.icon-price {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.stock-chart {
    height: 100px;
    position: relative;
    margin-top: 15px;
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
}

.chart-line path {
    stroke: var(--neon-blue);
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
}

.chart-candles {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 0 10px;
}

.candle {
    width: 8px;
    background: linear-gradient(to top, var(--neon-blue), var(--neon-cyan));
    border-radius: 2px;
    position: relative;
    transition: height 0.5s ease;
}

.candle::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 3px;
    background: var(--neon-cyan);
    border-radius: 2px;
}

.legal-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.legal-link {
    color: rgba(224, 231, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--neon-blue);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.neural-progress-container {
    background: var(--secondary-dark);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    text-align: center;
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.3);
}

.progress-status-text {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--neon-cyan);
    font-weight: 600;
}

.quantum-progress-track {
    height: 15px;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
}

.progress-neural-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    border-radius: 10px;
    width: 0;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-neural-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressGlow 1.5s infinite;
}

.analysis-stage-indicator {
    font-size: 1.1rem;
    color: rgba(224, 231, 255, 0.8);
}

.completion-modal-frame {
    background: var(--secondary-dark);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.3);
}

.completion-primary-message {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--neon-cyan);
    font-weight: 700;
}

.completion-secondary-note {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    color: rgba(224, 231, 255, 0.8);
}

.whatsapp-redirect-button {
    background: linear-gradient(90deg, #25D366, #128C7E);
    color: white;
    border: none;
    padding: 18px 30px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 30px;
}

.whatsapp-redirect-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.kline-chart-container {
    background: rgba(10, 20, 40, 0.5);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
}

.kline-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--neon-blue);
    font-weight: 600;
}

.kline-chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 150px;
}

.candle-stick {
    width: 12px;
    background: linear-gradient(to top, var(--neon-blue), var(--neon-cyan));
    border-radius: 3px;
    height: var(--candle-height);
    animation: growCandle 0.8s ease-out;
    animation-delay: calc(var(--candle-delay) * 0.2s);
    animation-fill-mode: both;
}

.candle-label {
    margin-top: 10px;
    font-size: 0.9rem;
    color: rgba(224, 231, 255, 0.7);
}

/* 新增样式：股票指数卡片 */
.index-section {
    margin-bottom: 60px;
    width: 100%;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--neon-cyan);
    font-weight: 600;
    text-align: center;
}

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

.index-card {
    background: var(--glass-bg);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 243, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.index-card:hover {
    transform: translateY(-5px);
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 243, 255, 0.2);
}

.index-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.index-name {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.index-change {
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.index-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.index-chart {
    height: 80px;
    margin-top: 10px;
}

.disclaimer-section {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
    line-height: 1.5;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(0, 243, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0);
    }
}

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

@keyframes progressGlow {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes growCandle {
    from {
        height: 0;
    }
    to {
        height: var(--candle-height);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .stats-section {
        grid-template-columns: 1fr;
    }

    .index-grid {
        grid-template-columns: 1fr;
    }
}
