/* --- 全局变量与重置 --- */
:root {
    --bg-color: #050a14;
    --card-bg: rgba(20, 30, 50, 0.6);
    --text-main: #ffffff;
    --text-sub: #a0aab8;
    --accent-cyan: #00f2ff;
    --accent-purple: #bc13fe;
    --glass-border: rgba(255, 255, 255, 0.1);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { 
    text-decoration: none; 
    color: inherit; 
}

ul { 
    list-style: none; 
}

/* --- 动画关键帧 --- */
@keyframes flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* --- 导航栏 --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 10, 20, 0.8);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(5, 10, 20, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(90deg, #fff, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    cursor: pointer;
}

.nav-links { 
    display: flex; 
    gap: 30px; 
}

.nav-links a { 
    font-size: 14px; 
    color: var(--text-sub); 
    transition: 0.3s; 
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

.nav-links a:hover { 
    color: var(--accent-cyan); 
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn { 
    display: none; 
    font-size: 24px; 
    color: #fff; 
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: rgba(5, 10, 20, 0.98);
    backdrop-filter: blur(20px);
    padding: 80px 30px 30px;
    flex-direction: column;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 1000;
    border-left: 1px solid var(--glass-border);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    color: var(--text-sub);
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.mobile-menu a:hover {
    color: var(--accent-cyan);
    padding-left: 10px;
}

/* --- Hero 首屏 --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    background: radial-gradient(circle at center, #1a2a40 0%, var(--bg-color) 70%);
    overflow: hidden;
}

/* 背景动态网格 */
.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(rgba(0, 242, 255, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 242, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: flow 100s linear infinite;
    opacity: 0.3;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(120deg, #ffffff, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-sub);
    max-width: 800px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-btn {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    color: var(--bg-color);
    background: var(--accent-cyan);
    border: none;
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
    transition: 0.3s;
    position: relative;
    z-index: 1;
    cursor: pointer;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-btn:hover {
    transform: scale(1.05);
    background: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}

/* --- 通用板块样式 --- */
section {
    padding: 80px 5%;
    position: relative;
}

.section-title {
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: 60px;
    text-align: center;
}

.section-title span {
    border-bottom: 3px solid var(--accent-cyan);
    padding-bottom: 10px;
    display: inline-block;
}

/* --- 核心优势 (Cards) --- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 40px -10px rgba(0, 242, 255, 0.2);
}

.card h3 { 
    font-size: 20px; 
    margin-bottom: 15px; 
    color: #fff; 
}

.card p { 
    font-size: 14px; 
    color: var(--text-sub); 
    line-height: 1.8;
}

.icon-box {
    width: 50px; 
    height: 50px;
    background: rgba(0, 242, 255, 0.1);
    border-radius: 10px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-cyan);
    font-size: 24px;
    transition: 0.3s;
}

.card:hover .icon-box {
    background: rgba(0, 242, 255, 0.2);
    transform: scale(1.1);
}

/* --- 业务版图 --- */
.business-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.biz-group {
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: 0.4s;
}

.biz-group:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px -10px rgba(0, 242, 255, 0.2);
}

.biz-engine {
    background: linear-gradient(135deg, rgba(188, 19, 254, 0.1), rgba(0, 0, 0, 0));
}

.biz-foundation {
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.1), rgba(0, 0, 0, 0));
}

.biz-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    color: var(--text-sub);
    line-height: 1.8;
}

.biz-list li::before {
    content: '•';
    color: var(--accent-cyan);
    position: absolute;
    left: 0;
    font-size: 20px;
}

/* --- 案例 --- */
.logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    opacity: 0.7;
}

.logo-item {
    padding: 15px 30px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    transition: 0.3s;
    cursor: default;
}

.logo-item:hover {
    opacity: 1;
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 242, 255, 0.2);
}

/* --- 发展历程 --- */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    border-left: 2px solid var(--glass-border);
    padding-left: 30px;
    position: relative;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item::before {
    content: '';
    width: 12px; 
    height: 12px;
    background: var(--accent-cyan);
    border-radius: 50%;
    position: absolute;
    left: -37px;
    top: 5px;
    box-shadow: 0 0 10px var(--accent-cyan);
}

.year { 
    color: var(--accent-cyan); 
    font-weight: bold; 
    margin-bottom: 5px; 
    display: block;
    font-size: 18px;
}

.timeline-item h3 {
    margin-bottom: 10px;
    color: #fff;
}

.timeline-item p {
    color: var(--text-sub);
    line-height: 1.8;
}

/* --- 联系方式 --- */
.contact-section {
    background: linear-gradient(to top, #000, var(--bg-color));
    text-align: center;
}

.contact-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.contact-item {
    min-width: 200px;
}

.contact-item h4 { 
    color: var(--text-sub); 
    margin-bottom: 10px; 
    font-size: 14px;
    font-weight: normal;
}

.contact-item p { 
    font-size: 24px; 
    font-weight: 700; 
    color: #fff; 
}

.contact-item a { 
    transition: 0.3s; 
    display: inline-block;
}

.contact-item a:hover { 
    color: var(--accent-cyan); 
    text-shadow: 0 0 15px var(--accent-cyan); 
    transform: scale(1.05);
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 30px;
    font-size: 12px;
    color: #555;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(0, 0, 0, 0.3);
}

footer p {
    margin: 5px 0;
}

/* --- 响应式调整 --- */
@media (max-width: 768px) {
    .nav-links { 
        display: none; 
    }
    
    .mobile-menu-btn { 
        display: block; 
    }
    
    .hero h1 { 
        font-size: 2.2rem; 
    }
    
    .business-layout { 
        grid-template-columns: 1fr; 
    }
    
    .contact-item p { 
        font-size: 18px; 
    }
    
    .features { 
        grid-template-columns: 1fr; 
    }
    
    .contact-box {
        flex-direction: column;
        gap: 30px;
    }
    
    section {
        padding: 60px 5%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .card {
        padding: 30px 20px;
    }
    
    .biz-group {
        padding: 30px 20px;
    }
}

/* 动画类 */
.visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}













