/* 全局样式 */
:root {
    --primary-color: #3a86ff;
    --secondary-color: #4361ee;
    --accent-color: #5e60ce;
    --accent-rgb: 94, 96, 206;
    --dark-color: #121212;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --text-color: #333333;
    --white: #ffffff;
    --gradient-bg: linear-gradient(135deg, #3a86ff, #8338ec);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    --neon-shadow: 0 0 10px rgba(58, 134, 255, 0.5), 0 0 20px rgba(58, 134, 255, 0.3);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-color);
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(58, 134, 255, 0.1) 0%, transparent 15%),
        radial-gradient(circle at 75% 75%, rgba(131, 56, 236, 0.1) 0%, transparent 15%);
    background-attachment: fixed;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--gradient-bg);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: var(--neon-shadow);
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8338ec, #3a86ff);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(58, 134, 255, 0.3);
    color: var(--white);
}

.btn:hover:before {
    opacity: 1;
}

.section-title {
    font-size: 2.75rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 0 15px rgba(58, 134, 255, 0.3);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-bg);
    border-radius: 2px;
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--light-color);
    font-size: 1.1rem;
}

/* 头部样式 */
header {
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-controls {
    display: flex;
    align-items: center;
}

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

.logo img {
    width: 48px;
    margin-right: 12px;
    filter: drop-shadow(0 0 8px rgba(58, 134, 255, 0.6));
    transition: var(--transition);
}

.logo:hover img {
    transform: rotate(5deg);
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 700;
    background: linear-gradient(to right, #3a86ff, #8338ec);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--white);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: var(--transition);
}

nav ul li a:before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-bg);
    transition: var(--transition);
    border-radius: 1px;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:hover:before {
    width: 100%;
}

/* 移动端菜单 */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(58, 134, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(58, 134, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(58, 134, 255, 0);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.fadeIn {
    animation: fadeIn 0.8s ease forwards;
}

.float-animation {
    animation: floatAnimation 6s ease-in-out infinite;
}

/* 英雄区域 */
.hero {
    padding: 180px 0 120px;
    background: linear-gradient(to bottom, #121212, #1a1a2e);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58, 134, 255, 0.1) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 0;
}

.hero:after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(131, 56, 236, 0.1) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--white);
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(58, 134, 255, 0.3);
    background: linear-gradient(90deg, #3a86ff, #8338ec);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientFlow 5s ease infinite;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--light-color);
    opacity: 0.9;
}

.hero-image {
    text-align: center;
    position: relative;
}

.hero-image img {
    max-width: 90%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: floatAnimation 6s ease-in-out infinite;
}

.hero-image:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--primary-color);
    filter: blur(100px);
    opacity: 0.2;
    z-index: -1;
}

/* 功能部分 */
.features {
    padding: 120px 0;
    background-color: var(--dark-color);
    position: relative;
}

.features:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(58, 134, 255, 0.05) 0%, transparent 10%),
        radial-gradient(circle at 75% 75%, rgba(131, 56, 236, 0.05) 0%, transparent 10%);
    background-size: 150px 150px;
    opacity: 0.8;
}

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

.feature-card {
    background: rgba(30, 30, 40, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-bg);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

.feature-card:hover:before {
    transform: scaleX(1);
}

.feature-card i {
    font-size: 3rem;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #3a86ff, #8338ec);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.feature-card p {
    color: var(--light-color);
    opacity: 0.8;
}

/* 下载部分 */
.download {
    padding: 120px 0;
    background: linear-gradient(to top, #121212, #1a1a2e);
    position: relative;
    overflow: hidden;
}

.download:before, .download:after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
}

.download:before {
    top: -10%;
    right: 10%;
    background: rgba(58, 134, 255, 0.1);
}

.download:after {
    bottom: -10%;
    left: 10%;
    background: rgba(131, 56, 236, 0.1);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.download-card {
    background: rgba(30, 30, 40, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px 25px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.download-card i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

.download-card:hover i {
    transform: scale(1.1);
    color: var(--accent-color);
}

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--white);
}

.download-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* 关于我们部分 */
.about {
    padding: 120px 0;
    background-color: var(--dark-color);
    position: relative;
}

.about p {
    color: var(--light-color);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* 页脚部分 */
footer {
    background: linear-gradient(to top, #0f0f15, #121220);
    padding: 80px 0 30px;
    color: var(--light-color);
    position: relative;
    overflow: hidden;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 40px;
    margin-right: 10px;
    filter: drop-shadow(0 0 5px rgba(58, 134, 255, 0.6));
}

.footer-logo h3 {
    font-size: 1.6rem;
    color: var(--white);
    background: linear-gradient(to right, #3a86ff, #8338ec);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after, .footer-contact h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 1.5px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--light-color);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.footer-contact p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gradient-bg);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 0;
        margin-bottom: 50px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        justify-content: space-between;
    }
    
    .nav-controls {
        display: flex;
        align-items: center;
    }
    
    .language-switch {
        margin-left: 0;
        margin-right: 15px; /* 为移动菜单按钮留出空间 */
        z-index: 1001; /* 确保在移动菜单之上 */
    }
    
    nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 999;
        transition: var(--transition);
        opacity: 0;
        visibility: hidden;
    }
    
    nav.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    nav ul li a {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .feature-grid,
    .download-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card,
    .download-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .feature-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links,
    .footer-contact {
        text-align: center;
    }
    
    .footer-links h4:after,
    .footer-contact h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* 粒子效果和额外动画组件 */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.glow-effect {
    position: relative;
}

.glow-effect:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 30px rgba(58, 134, 255, 0.4);
    opacity: 0;
    transition: var(--transition);
    border-radius: inherit;
    z-index: -1;
}

.glow-effect:hover:after {
    opacity: 1;
}

.ai-typing-container {
    background: rgba(30, 30, 40, 0.7);
    border-radius: 8px;
    padding: 15px;
    max-width: 300px;
    margin: 0 auto;
    position: relative;
    border: 1px solid var(--glass-border);
}

.ai-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.ai-typing-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: typingAnimation 1.4s infinite ease-in-out;
}

.ai-typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.ai-typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
        background-color: var(--accent-color);
    }
}

.code-container {
    background: #1e1e2e;
    padding: 20px;
    border-radius: 8px;
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    color: #a9b1d6;
    line-height: 1.5;
    margin: 20px 0;
    position: relative;
    box-shadow: var(--card-shadow);
}

.code-line {
    display: flex;
}

.code-number {
    color: #565f89;
    min-width: 30px;
    display: inline-block;
    text-align: right;
    margin-right: 10px;
}

.code-content {
    flex: 1;
}

.code-keyword {
    color: #bb9af7;
}

.code-string {
    color: #9ece6a;
}

.code-comment {
    color: #565f89;
}

.code-cursor {
    display: inline-block;
    width: 2px;
    height: 16px;
    background-color: #7aa2f7;
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* 添加新的按钮样式 */
.button-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.primary-btn {
    background: var(--gradient-bg);
}

.secondary-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.secondary-btn:hover {
    background: rgba(58, 134, 255, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 15px rgba(58, 134, 255, 0.3);
}

/* 悬浮元素 */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.float-element {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(58, 134, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: floatElement calc(var(--duration)) ease-in-out infinite;
    animation-delay: var(--delay);
}

.float-element:nth-child(1) {
    top: 20%;
    left: 10%;
}

.float-element:nth-child(2) {
    top: 60%;
    left: 15%;
}

.float-element:nth-child(3) {
    top: 30%;
    right: 5%;
}

@keyframes floatElement {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(var(--x), var(--y));
    }
}

/* 闪光文字效果 */
.glowing-text {
    position: relative;
    text-shadow: 0 0 10px rgba(58, 134, 255, 0.5);
    animation: textPulse 3s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        text-shadow: 0 0 10px rgba(58, 134, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(58, 134, 255, 0.8), 0 0 30px rgba(58, 134, 255, 0.4);
    }
}

/* 图标容器 */
.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(58, 134, 255, 0.1);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.icon-container:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, 
        transparent 40%, 
        rgba(58, 134, 255, 0.4) 45%, 
        rgba(58, 134, 255, 0.7) 50%, 
        rgba(58, 134, 255, 0.4) 55%, 
        transparent 60%);
    animation: shine 3s linear infinite;
    transform: rotate(45deg);
    z-index: 1;
}

@keyframes shine {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.icon-container i {
    position: relative;
    z-index: 2;
}

/* 技术圆圈 */
.tech-circles {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
}

.tech-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(58, 134, 255, 0.7) 0%, rgba(58, 134, 255, 0.1) 60%, transparent 70%);
    animation: pulse 3s infinite;
}

.tech-circle:nth-child(1) {
    animation-delay: 0s;
}

.tech-circle:nth-child(2) {
    animation-delay: 1s;
}

.tech-circle:nth-child(3) {
    animation-delay: 2s;
}

/* 下载图标容器 */
.icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.2), rgba(131, 56, 236, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 20px rgba(58, 134, 255, 0.3);
}

.icon-wrapper:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.icon-wrapper i {
    font-size: 3rem;
    color: var(--primary-color);
    transition: var(--transition);
    z-index: 1;
    position: relative;
}

.download-card:hover .icon-wrapper i {
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 统计数据部分 */
.stats-container {
    display: flex;
    justify-content: space-around;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
    position: relative;
    background: rgba(30, 30, 40, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    min-width: 180px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #3a86ff, #8338ec);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--light-color);
    font-size: 1.1rem;
    opacity: 0.8;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-item:hover .stat-number {
    text-shadow: 0 0 10px rgba(58, 134, 255, 0.5);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .button-group {
        justify-content: center;
    }
    
    .tech-circles {
        bottom: -70px;
        gap: 15px;
    }
    
    .tech-circle {
        width: 70px;
        height: 70px;
    }
    
    .stats-container {
        gap: 30px;
    }
    
    .stat-item {
        flex-basis: 40%;
    }
}

@media (max-width: 576px) {
    .button-group {
        flex-direction: column;
    }
    
    .tech-circles {
        display: none;
    }
    
    .stat-item {
        flex-basis: 100%;
    }
}

/* 新增的AI相关元素样式 */
.accent-text {
    color: var(--primary-color);
    font-weight: 700;
    background: linear-gradient(90deg, #3a86ff, #8338ec);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.2), rgba(131, 56, 236, 0.2));
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(58, 134, 255, 0.3);
    box-shadow: 0 0 15px rgba(58, 134, 255, 0.3);
    animation: pulseSoft 3s infinite;
}

@keyframes pulseSoft {
    0%, 100% {
        box-shadow: 0 0 15px rgba(58, 134, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(58, 134, 255, 0.5);
    }
}

/* 神经网络动画 */
.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    opacity: 0.7;
}

.node {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(58, 134, 255, 0.8);
    opacity: 0.8;
    animation: pulseNode 3s infinite;
}

.n1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.n2 {
    top: 30%;
    left: 30%;
    animation-delay: 0.5s;
}

.n3 {
    top: 60%;
    left: 15%;
    animation-delay: 1.5s;
}

.n4 {
    top: 70%;
    left: 35%;
    animation-delay: 1s;
}

.n5 {
    top: 45%;
    left: 60%;
    animation-delay: 2s;
}

.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, rgba(58, 134, 255, 0.7), rgba(131, 56, 236, 0.7));
    opacity: 0.5;
    transform-origin: left center;
}

.c1 {
    top: 23%;
    left: 13%;
    width: 200px;
    transform: rotate(15deg);
    animation: dataFlow 3s infinite;
}

.c2 {
    top: 32%;
    left: 33%;
    width: 300px;
    transform: rotate(-20deg);
    animation: dataFlow 4s infinite;
    animation-delay: 0.5s;
}

.c3 {
    top: 60%;
    left: 20%;
    width: 200px;
    transform: rotate(30deg);
    animation: dataFlow 3.5s infinite;
    animation-delay: 1s;
}

.c4 {
    top: 50%;
    left: 40%;
    width: 250px;
    transform: rotate(-10deg);
    animation: dataFlow 5s infinite;
    animation-delay: 1.5s;
}

@keyframes pulseNode {
    0%, 100% {
        box-shadow: 0 0 10px rgba(58, 134, 255, 0.8);
        background-color: var(--primary-color);
    }
    50% {
        box-shadow: 0 0 20px rgba(131, 56, 236, 0.8);
        background-color: #8338ec;
    }
}

@keyframes dataFlow {
    0% {
        opacity: 0;
        background-position: 0% 50%;
    }
    50% {
        opacity: 0.8;
        background-position: 100% 50%;
    }
    100% {
        opacity: 0;
        background-position: 0% 50%;
    }
}

/* AI工作流程部分 */
.ai-workflow {
    padding: 120px 0;
    background: linear-gradient(to bottom, #1a1a2e, #121212);
    position: relative;
    overflow: hidden;
}

.ai-workflow:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(58, 134, 255, 0.08) 0%, transparent 15%),
        radial-gradient(circle at 85% 85%, rgba(131, 56, 236, 0.08) 0%, transparent 15%);
    z-index: 0;
}

.workflow-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 60px;
    position: relative;
}

.workflow-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    background: rgba(30, 30, 40, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    position: relative;
    margin: 15px;
}

.workflow-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    animation: arrowPulse 2s infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.7;
    }
    50% {
        transform: translateX(5px);
        opacity: 1;
    }
}

.workflow-number {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(58, 134, 255, 0.5);
}

.workflow-icon {
    margin: 20px 0;
    font-size: 2.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.workflow-item h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.workflow-item p {
    color: var(--light-color);
    opacity: 0.8;
}

.workflow-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
    .workflow-container {
        justify-content: center;
    }
    
    .workflow-arrow {
        display: none;
    }
    
    .workflow-item {
        margin-bottom: 40px;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .neural-network {
        opacity: 0.4;
    }
    
    .workflow-item {
        flex-basis: 100%;
        max-width: 100%;
    }
}

/* 移除代码相关样式，添加交易图表样式 */
.trading-chart-container {
    background: rgba(30, 30, 40, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    margin: 50px auto 0;
    max-width: 900px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
}

.chart-title {
    text-align: center;
    margin-bottom: 30px;
}

.chart-title h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.chart-title p {
    color: var(--light-color);
    opacity: 0.8;
    font-size: 1rem;
}

.trading-chart {
    height: 150px;
    background: rgba(18, 18, 30, 0.5);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid rgba(58, 134, 255, 0.2);
}

.trading-chart:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(58, 134, 255, 0.05) 50%, transparent 100%);
    animation: chartGlow 3s infinite;
}

@keyframes chartGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
}

.candle {
    position: absolute;
    width: 1.2%;
    background: transparent;
    position: relative;
}

.candle.up {
    background: rgba(0, 255, 136, 0.7);
}

.candle.down {
    background: rgba(255, 82, 82, 0.7);
}

.candle .shadow {
    position: absolute;
    width: 2px;
    background: inherit;
    left: 50%;
    transform: translateX(-50%);
    top: -5px;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

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

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 3px;
}

.legend-color.up {
    background: rgba(0, 255, 136, 0.7);
}

.legend-color.down {
    background: rgba(255, 82, 82, 0.7);
}

.legend-text {
    color: var(--light-color);
    font-size: 0.9rem;
}

.performance-data {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.performance-item {
    text-align: center;
}

.performance-value {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, #3a86ff, #8338ec);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.performance-label {
    color: var(--light-color);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 为交易图表添加动画效果 */
.candle {
    animation: fadeInUp 0.5s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 让每个蜡烛图依次出现 */
.candle:nth-child(1) { animation-delay: 0.02s; }
.candle:nth-child(2) { animation-delay: 0.04s; }
.candle:nth-child(3) { animation-delay: 0.06s; }
.candle:nth-child(4) { animation-delay: 0.08s; }
.candle:nth-child(5) { animation-delay: 0.1s; }
.candle:nth-child(6) { animation-delay: 0.12s; }
.candle:nth-child(7) { animation-delay: 0.14s; }
.candle:nth-child(8) { animation-delay: 0.16s; }
.candle:nth-child(9) { animation-delay: 0.18s; }
.candle:nth-child(10) { animation-delay: 0.2s; }
.candle:nth-child(11) { animation-delay: 0.22s; }
.candle:nth-child(12) { animation-delay: 0.24s; }
.candle:nth-child(13) { animation-delay: 0.26s; }
.candle:nth-child(14) { animation-delay: 0.28s; }
.candle:nth-child(15) { animation-delay: 0.3s; }
.candle:nth-child(16) { animation-delay: 0.32s; }
.candle:nth-child(17) { animation-delay: 0.34s; }
.candle:nth-child(18) { animation-delay: 0.36s; }
.candle:nth-child(19) { animation-delay: 0.38s; }
.candle:nth-child(20) { animation-delay: 0.4s; }

/* 响应式调整 */
@media (max-width: 768px) {
    .trading-chart-container {
        padding: 20px;
    }
    
    .performance-data {
        flex-wrap: wrap;
    }
    
    .performance-item {
        flex-basis: 50%;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .performance-item {
        flex-basis: 100%;
    }
    
    .chart-legend {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

/* 语言切换下拉列表 */
.language-switch {
    display: flex;
    align-items: center;
    margin-left: 20px;
    position: relative;
}

.language-select {
    position: relative;
    user-select: none;
    z-index: 1000;
}

.selected-language {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(30, 30, 40, 0.5);
    color: var(--white);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.selected-language:hover {
    background: rgba(58, 134, 255, 0.15);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: rgba(25, 25, 35, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.language-select.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown li {
    padding: 10px 15px;
    cursor: pointer;
    color: var(--light-color);
    transition: all 0.3s ease;
}

.language-dropdown li:hover {
    background: rgba(58, 134, 255, 0.15);
    color: var(--white);
}

.language-dropdown li.active {
    background: linear-gradient(90deg, rgba(58, 134, 255, 0.2), rgba(131, 56, 236, 0.2));
    color: var(--primary-color);
    font-weight: 500;
}

/* 响应式设计调整 */
@media (max-width: 768px) {
    .language-switch {
        margin-left: 10px;
        margin-right: 40px; /* 为移动菜单按钮留出空间 */
    }
    
    .selected-language {
        padding: 6px 10px;
        font-size: 14px;
    }
    
    /* 确保移动设备上下拉菜单显示在其他元素之上 */
    .language-select {
        z-index: 1001;
    }
    
    /* 修复移动设备上下拉菜单位置 */
    .language-dropdown {
        right: 0;
        top: calc(100% + 5px);
        z-index: 1002;
        width: 110px;
        background: rgba(25, 25, 35, 0.98);
    }
    
    /* 增加触摸区域大小 */
    .language-dropdown li {
        padding: 12px 15px;
    }
} 