:root {
    --bg-color: #0b0d17;
    --text-color: #e0e6ed;
    --primary-color: #00f2ff; /* 科技青 */
    --secondary-color: #7000ff; /* 赛博紫 */
    --accent-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(11, 13, 23, 0.9);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

/* Hero 区域 */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

#canvas-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), #fff, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInDown 1s ease;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.3rem;
    color: #a0aab5;
    max-width: 700px;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.btn {
    padding: 14px 40px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    background: rgba(0, 242, 255, 0.05);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.4);
}

/* Stats 数据统计 */
.stats {
    display: flex;
    justify-content: space-around;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--glass-border);
    flex-wrap: wrap;
    gap: 30px;
}

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

.stat-item h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.stat-item p {
    color: #8892b0;
    font-size: 1rem;
}

/* 关于我们 */
.about {
    padding: 120px 0;
}

.about .container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-content p {
    color: #a0aab5;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.tech-tags {
    margin-top: 30px;
}

.tech-tags span {
    display: inline-block;
    background: rgba(112, 0, 255, 0.2);
    color: #bfa3ff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-right: 10px;
    margin-bottom: 10px;
}

.about-visual {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 装饰性代码块 */
.code-block {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #333;
    font-family: 'Courier New', monospace;
    color: #d4d4d4;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    z-index: 2;
    position: relative;
    width: 100%;
    max-width: 400px;
}

.code-block code {
    display: block;
    line-height: 1.5;
}

.circle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.c1 {
    width: 300px;
    height: 300px;
    border: 2px solid var(--secondary-color);
    opacity: 0.3;
    top: 0;
    right: 0;
    animation: rotate 20s linear infinite;
}

.c2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.2;
    bottom: 20px;
    left: 20px;
    filter: blur(40px);
}

/* 核心优势/服务 */
.features {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--bg-color) 0%, #0f1221 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 80px;
}

.section-title span {
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 50px 40px;
    border-radius: 15px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 242, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 25px;
    display: inline-block;
}

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

.card p {
    color: #8892b0;
    font-size: 1rem;
    line-height: 1.7;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: #080a12;
}

.contact-wrapper {
    margin-top: 50px;
}

.contact-info h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.contact-info ul {
    margin-top: 40px;
}

.contact-info li {
    font-size: 1.1rem;
    color: #a0aab5;
    background: var(--glass-bg);
    padding: 20px 30px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.contact-info li:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 242, 255, 0.1);
    transform: translateY(-5px);
    color: #fff;
}

/* 页脚 */
footer {
    padding: 50px 20px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    background: #05060a;
    font-size: 0.9rem;
    color: #555;
}

footer p {
    margin: 8px 0;
}

.icp-link {
    color: #666;
    transition: color 0.3s;
}

.icp-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* 响应式适配 */
@media (max-width: 900px) {
    .about .container {
        flex-direction: column;
    }
    .about-visual {
        width: 100%;
    }
}

@media (max-width: 768px) {
    header {
        padding: 20px;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .nav-links {
        display: none; 
    }
    .grid {
        grid-template-columns: 1fr;
    }
}

/* 动画定义 */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}