:root {
    --primary-color: #00e5ff;
    --primary-dark: #00b8d4;
    --primary-light: #6ff9ff;
    --secondary-color: #651fff;
    --secondary-light: #9333ea;
    --dark-color: #0a0f1a;
    --dark-light: #121a2e;
    --light-color: #1e293b;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --accent-color: #f43f5e;
    --accent-light: #fb7185;
    --white: #f8fafc;
    --background-color: #050810;
    --card-bg: rgba(18, 26, 46, 0.85);
    --box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1);
    --transition: all 0.3s ease;
}
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    min-height: 100vh;
}

/* 增强科幻背景网格效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(0, 229, 255, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 229, 255, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -2;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

/* 增强科幻背景光晕效果 - 双光晕设计 */
body::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(101, 31, 255, 0.2) 0%, rgba(0, 229, 255, 0.1) 50%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 8s infinite ease-in-out;
}

/* 增强科幻感粒子效果 */
.particle {
    position: fixed;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.7;
    animation: float linear infinite;
    z-index: -1;
    filter: blur(1px);
    box-shadow: 0 0 10px var(--primary-color);
}

/* 优化粒子浮动轨迹 */
@keyframes float {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { transform: translateY(-100vh) translateX(150px); opacity: 0; }
}

/* 科技感动态波浪线 */
.tech-wave {
    position: fixed;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 229, 255, 0.03) 50%, transparent 100%);
    z-index: -3;
    transform: translateX(-50%);
}

/* 优化的波浪线动画 */
.tech-wave:nth-child(1) {
    top: 10%;
    height: 1px;
    animation: wave 30s linear infinite;
    will-change: transform;
}

.tech-wave:nth-child(2) {
    top: 40%;
    height: 1px;
    animation: wave 35s linear infinite reverse;
    will-change: transform;
}

.tech-wave:nth-child(3) {
    top: 70%;
    height: 1px;
    animation: wave 40s linear infinite;
    will-change: transform;
}

@keyframes wave {
    0% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-3px); }
    100% { transform: translateX(-50%) translateY(0); }
}

/* 优化的粒子容器 */
.particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    contain: layout style paint;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.hero-section {
    background: linear-gradient(to bottom, rgba(18, 26, 46, 0.8), rgba(5, 8, 16, 0.95));
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

/* 优化的网格背景效果 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, var(--primary-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--primary-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    z-index: 0;
    animation: grid-move 60s linear infinite;
    will-change: transform;
}

/* 优化的科技光晕效果 */
.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, rgba(101, 31, 255, 0.05) 50%, rgba(0, 229, 255, 0) 70%);
    animation: pulse 15s infinite ease-in-out;
    z-index: -1;
    will-change: opacity;
}

/* 股票图表背景效果 */
.hero-section .chart-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    opacity: 0.2;
    z-index: 0;
    overflow: hidden;
}

.hero-section .chart-line-bg {
    position: absolute;
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    opacity: 0.6;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    letter-spacing: -0.5px;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-top: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: var(--dark-color);
    padding: 14px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.4);
    text-decoration: none;
    display: inline-block;
    min-width: 220px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.5);
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 229, 255, 0.4);
}

.features-section {
    padding: 100px 0;
    background-color: rgba(10, 15, 26, 0.7);
    position: relative;
    backdrop-filter: blur(5px);
}

.feature-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    background: var(--card-bg);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: var(--primary-dark);
}

.testimonials-section {
    padding: 100px 0;
    background-color: rgba(18, 26, 46, 0.7);
    position: relative;
    backdrop-filter: blur(5px);
}

.testimonial-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(101, 31, 255, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(101, 31, 255, 0.15);
}

.testimonial-text {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    font-style: italic;
    line-height: 1.6;
}

.testimonial-image {
    width: 100%;
    height: 120px;
    background-color: var(--light-color);
    border-radius: 10px;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    filter: blur(8px);
    -webkit-filter: blur(8px);
}

.testimonial-image::before {
    content: '📊 Ertragsscreenshot';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-secondary);
    font-size: 1rem;
}

.join-section {
    padding: 100px 0;
    background-color: rgba(10, 15, 26, 0.7);
    position: relative;
    backdrop-filter: blur(5px);
}

.chart-container {
    height: 350px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    background: linear-gradient(135deg, rgba(18, 26, 46, 0.8) 0%, rgba(10, 15, 26, 0.95) 100%);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 229, 255, 0.2);
    position: relative;
}

.chart-container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    z-index: 2;
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.chart-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.chart {
    width: 90%;
    height: 80%;
    position: relative;
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.05) 0%, rgba(0, 229, 255, 0.2) 100%);
    clip-path: polygon(0% 100%, 5% 95%, 10% 85%, 15% 90%, 20% 75%, 25% 80%, 30% 65%, 35% 70%, 40% 55%, 45% 65%, 50% 50%, 55% 60%, 60% 40%, 65% 50%, 70% 30%, 75% 40%, 80% 25%, 85% 35%, 90% 20%, 95% 30%, 100% 25%, 100% 100%);
    animation: chart-animate 4s ease-in-out infinite alternate;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.chart-line-secondary {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    border: 2px solid rgba(0, 229, 255, 0.3);
    border-bottom: none;
    border-left: none;
    border-right: none;
    clip-path: polygon(0% 100%, 5% 95%, 10% 85%, 15% 90%, 20% 75%, 25% 80%, 30% 65%, 35% 70%, 40% 55%, 45% 65%, 50% 50%, 55% 60%, 60% 40%, 65% 50%, 70% 30%, 75% 40%, 80% 25%, 85% 35%, 90% 20%, 95% 30%, 100% 25%, 100% 100%);
    animation: chart-animate 4s ease-in-out infinite alternate-reverse;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.3));
}

/* 图表数据点 */
.chart-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.8);
    animation: pulse 2s ease-in-out infinite;
    z-index: 2;
}

.chart-dot::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: rgba(0, 229, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-ring 2s ease-in-out infinite;
}

/* 图表数据点位置类 */
.chart-dot-1 { bottom: 40%; left: 15%; }
.chart-dot-2 { bottom: 30%; left: 35%; }
.chart-dot-3 { bottom: 50%; left: 55%; }
.chart-dot-4 { bottom: 25%; left: 75%; }
.chart-dot-5 { bottom: 20%; left: 90%; }

/* 抽象网格背景 */
.chart-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.7;
    z-index: 1;
}

@keyframes chart-animate {
    0% { 
        clip-path: polygon(0% 100%, 5% 95%, 10% 85%, 15% 90%, 20% 75%, 25% 80%, 30% 65%, 35% 70%, 40% 55%, 45% 65%, 50% 50%, 55% 60%, 60% 40%, 65% 50%, 70% 30%, 75% 40%, 80% 25%, 85% 35%, 90% 20%, 95% 30%, 100% 25%, 100% 100%);
    }
    100% { 
        clip-path: polygon(0% 100%, 5% 90%, 10% 80%, 15% 85%, 20% 70%, 25% 75%, 30% 60%, 35% 65%, 40% 50%, 45% 60%, 50% 45%, 55% 55%, 60% 35%, 65% 45%, 70% 25%, 75% 35%, 80% 20%, 85% 30%, 90% 15%, 95% 25%, 100% 20%, 100% 100%);
    }
}

.chart-arrow {
    position: absolute;
    top: 15%;
    right: 15%;
    font-size: 3rem;
    color: var(--primary-color);
    transform: rotate(45deg);
    animation: arrow-float 3s ease-in-out infinite alternate;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.8), 0 0 30px rgba(0, 229, 255, 0.5);
    font-weight: bold;
    z-index: 3;
}

@keyframes arrow-float {
    0% { transform: rotate(45deg) translateY(0) scale(1); }
    50% { transform: rotate(45deg) translateY(-10px) scale(1.05); }
    100% { transform: rotate(45deg) translateY(-5px) scale(1); }
}

.disclaimer {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 20px;
    line-height: 1.5;
}

/* 标题样式 - 优化的视觉效果 */
h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* 响应式设计 - 增强移动端体验 */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .feature-card {
        margin-bottom: 30px;
    }
    
    .hero-section {
        padding: 70px 0 50px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section,
    .features-section,
    .testimonials-section,
    .join-section,
    .trust-indicators {
        padding: 40px 0 !important;
    }
    
    /* 在手机端隐藏图表容器 */
    .chart-container {
        display: none !important;
    }
    
    /* 调整hero-section内容在隐藏图表后的布局 */
    .hero-section .col-md-6:first-child {
        order: 1 !important;
    }
    
    .hero-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .btn-primary {
        font-size: 1rem;
        padding: 12px 30px;
        min-width: 180px;
        display: block;
        margin: 0 auto;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .form-control {
        font-size: 1rem;
        padding: 14px 18px;
    }
    
    .chart-container {
        height: 220px;
        margin-top: 30px;
    }
    
    .testimonial-card {
        padding: 25px;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    /* 进一步优化手机端间距 */
    .hero-section,
    .features-section,
    .testimonials-section,
    .join-section,
    .trust-indicators {
        padding: 30px 0 !important;
    }
    
    /* 优化section内元素间距 */
    h2.mb-12,
    h2.mb-6 {
        margin-bottom: 1rem !important;
    }
    
    p.mb-10,
    p.mb-6 {
        margin-bottom: 1.5rem !important;
        font-size: 1rem !important;
    }
    
    .feature-card,
    .testimonial-card,
    .trust-card {
        margin-bottom: 15px !important;
        padding: 15px !important;
    }
    
    .row > div {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* 脉冲动画 - 增强视觉吸引力 */
.pulse-animation {
    animation: pulse 3s ease-in-out infinite;
}

/* 加载动画 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 粒子闪烁效果 */
@keyframes flicker {
    0%, 100% {
        opacity: 1;
        box-shadow: inherit;
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 20px var(--primary-color);
    }
}

/* 股票图表风格元素 */
.stock-chart-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.stock-chart-line {
    position: absolute;
    height: 2px;
    transform-origin: 0 50%;
    animation: chartMove ease-in-out infinite;
    opacity: 0.7;
}

@keyframes chartMove {
    0%, 100% {
        transform: scaleX(0) translateY(0);
        opacity: 0;
    }
    20% {
        opacity: 0.7;
    }
    80% {
        opacity: 0.7;
    }
    50% {
        transform: scaleX(1) translateY(-30px);
    }
}

/* AI数据流效果 */
.data-flow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.data-point {
    position: absolute;
    font-size: 14px;
    white-space: nowrap;
    animation: dataFloat linear forwards;
    opacity: 0;
    text-shadow: 0 0 8px currentColor;
    font-weight: bold;
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    backdrop-filter: blur(2px);
}

@keyframes dataFloat {
    0% {
        transform: translateY(100vh) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(calc(100vh - 50px)) scale(1);
    }
    80% {
        opacity: 1;
    }
    90% {
        opacity: 0.5;
        transform: translateY(50px) scale(0.9);
    }
    100% {
        transform: translateY(-50px) scale(0.8);
        opacity: 0;
    }
}

/* 股票风格粒子 */
.stock-particle {
    position: absolute;
    animation: stockFloat linear infinite;
}

@keyframes stockFloat {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateY(-50vh) translateX(50px) scale(1.2);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(-20px) scale(0.8);
        opacity: 0;
    }
}

/* 数据风格粒子 */
.data-particle {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    animation: dataParticleFloat linear infinite;
    color: var(--primary-light);
    text-shadow: 0 0 5px var(--primary-light);
}

@keyframes dataParticleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    80% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* 动画延迟类 */
.delay-100 {
    transition-delay: 0.1s !important;
}

.delay-200 {
    transition-delay: 0.2s !important;
}

.delay-300 {
    transition-delay: 0.3s !important;
}

.delay-400 {
    transition-delay: 0.4s !important;
}

/* 卡片悬停效果 */
.card-hover {
    transition: all 0.5s ease;
}

.card-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

/* Trust Indicators Section 样式 */
.trust-indicators {
    background-color: rgba(18, 26, 46, 0.7);
    padding: 60px 0;
    position: relative;
    backdrop-filter: blur(5px);
}

/* Footer 样式 */
.footer {
    background-color: rgba(18, 26, 46, 0.7);
    position: relative;
    backdrop-filter: blur(5px);
}

/* Footer链接样式 */
.footer a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--text-primary);
    text-decoration: none;
}