/* 科技感黑白主题样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* 全局扫描线效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
    animation: scan-line 3s linear infinite;
    z-index: 9999;
    pointer-events: none;
}

@keyframes scan-line {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100vw); }
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid #333;
    box-shadow: 0 4px 30px rgba(0, 255, 136, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ff88, #00ccff);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% { border-color: #ffffff; box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    50% { border-color: #00ff88; box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::before {
    width: 100%;
}

.nav-menu a:hover {
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88;
}

/* 主要内容区域 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10px, 10px); }
}

/* 添加粒子效果 */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #00ff88, transparent),
        radial-gradient(2px 2px at 40px 70px, #00ccff, transparent),
        radial-gradient(1px 1px at 90px 40px, #ffffff, transparent),
        radial-gradient(1px 1px at 130px 80px, #00ff88, transparent),
        radial-gradient(2px 2px at 160px 30px, #00ccff, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particles-float 15s linear infinite;
    opacity: 0.6;
}

@keyframes particles-float {
    0% { transform: translateY(0) translateX(0); }
    33% { transform: translateY(-100px) translateX(100px); }
    66% { transform: translateY(-200px) translateX(-100px); }
    100% { transform: translateY(-300px) translateX(200px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #00ff88, #00ccff, #ffffff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-text 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

@keyframes gradient-text {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #cccccc;
    animation: text-glow 2s ease-in-out infinite alternate;
}

@keyframes text-glow {
    from { text-shadow: 0 0 5px rgba(255, 255, 255, 0.5); }
    to { text-shadow: 0 0 20px rgba(0, 255, 136, 0.3); }
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, #00ff88, #00ccff);
    color: #000000;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::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: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.5);
}

/* 功能展示区域 */
.features {
    padding: 80px 0;
    background: #0f0f0f;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 49%, rgba(0, 255, 136, 0.03) 50%, transparent 51%);
    background-size: 20px 20px;
    animation: diagonal-lines 10s linear infinite;
}

@keyframes diagonal-lines {
    0% { background-position: 0 0; }
    100% { background-position: 20px 20px; }
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #00ff88, #00ccff, #00ff88);
    animation: title-line 2s ease-in-out infinite;
}

@keyframes title-line {
    0%, 100% { width: 100px; }
    50% { width: 200px; }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #00ff88;
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #00ff88;
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* 数据可视化区域 */
.data-visualization {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: relative;
}

.data-visualization::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 204, 255, 0.1) 0%, transparent 50%);
    animation: data-bg-pulse 4s ease-in-out infinite;
}

@keyframes data-bg-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.data-card {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #333;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.data-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ff88, #00ccff, #00ff88);
    border-radius: 20px;
    z-index: -1;
    animation: border-flow 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.data-card:hover::before {
    opacity: 1;
}

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

.data-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: #00ff88;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px #00ff88;
    animation: number-glow 2s ease-in-out infinite alternate;
}

@keyframes number-glow {
    from { text-shadow: 0 0 20px #00ff88; }
    to { text-shadow: 0 0 40px #00ff88, 0 0 60px #00ff88; }
}

.data-card p {
    color: #cccccc;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: #00ff88;
    border-radius: 50%;
    margin: 0 auto;
    animation: pulse-dot 1.5s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
}

@keyframes pulse-dot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    }
}

/* 技术架构区域 */
.tech-architecture {
    padding: 100px 0;
    background: #0f0f0f;
    position: relative;
}

.tech-architecture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(0, 255, 136, 0.05) 50%, transparent 100%);
    animation: tech-sweep 8s linear infinite;
}

@keyframes tech-sweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.tech-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.tech-layer {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.tech-layer:hover {
    border-color: #00ff88;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}

.tech-layer h3 {
    color: #00ff88;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.tech-nodes {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.node {
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
}

.node::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #666;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.node.active {
    border-color: #00ff88;
    box-shadow: 0 0 15px #00ff88;
    animation: node-pulse 2s ease-in-out infinite;
}

.node.active::before {
    background: #00ff88;
    box-shadow: 0 0 10px #00ff88;
}

@keyframes node-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 15px #00ff88;
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 25px #00ff88;
    }
}

/* 连接线效果 */
.tech-layer::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 3rem;
    background: linear-gradient(to bottom, #00ff88, transparent);
    transform: translateX(-50%);
    animation: connection-flow 2s ease-in-out infinite;
}

.tech-layer:last-child::after {
    display: none;
}

@keyframes connection-flow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* 页脚 */
.footer {
    background: #000000;
    border-top: 1px solid #333;
    padding: 3rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
    animation: footer-line 3s ease-in-out infinite;
}

@keyframes footer-line {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #00ff88;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #00ff88;
    animation: footer-underline 2s ease-in-out infinite;
}

@keyframes footer-underline {
    0%, 100% { width: 30px; }
    50% { width: 50px; }
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-section a::before {
    content: '▶';
    position: absolute;
    left: -15px;
    color: #00ff88;
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-section a:hover::before {
    opacity: 1;
    left: -20px;
}

.footer-section a:hover {
    color: #00ff88;
    padding-left: 25px;
    text-shadow: 0 0 10px #00ff88;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    margin-top: 2rem;
    color: #888;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .features-grid, .data-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-nodes {
        gap: 1rem;
    }
}

/* 内容页面样式 */
.content-page {
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 50px;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid #333;
    margin-bottom: 2rem;
}

.content-header {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 1px solid #333;
}

.content-body {
    padding: 2rem;
}

.content-body h2 {
    color: #00ff88;
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.content-body p {
    margin-bottom: 1rem;
    color: #cccccc;
    line-height: 1.8;
}

.back-button {
    display: inline-block;
    margin: 2rem 0;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: rgba(0, 255, 136, 0.2);
    border-color: #00ff88;
} 