/* 全局设置与颜色变量 */
:root {
    --bg-main: #0a0e17; /* 深蓝黑背景 */
    --bg-secondary: #121826;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --brand-blue: #2563eb;
    --brand-blue-hover: #1d4ed8;
    --accent-glow: rgba(37, 99, 235, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

/* 按钮样式 */
.btn-primary, .btn-primary-small {
    background: var(--brand-blue);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    padding: 15px 35px;
    font-size: 18px;
    display: inline-block;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary-small {
    padding: 10px 25px;
    font-size: 14px;
}

.btn-primary:hover, .btn-primary-small:hover {
    background: var(--brand-blue-hover);
    transform: translateY(-2px);
}

/* 首屏主视觉区域 */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 100px 5% 0 5%;
    background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-graphics {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

/* 毛玻璃质感卡片(模拟UI) */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 16px;
    width: 350px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    animation: float 6s ease-in-out infinite;
}

.glass-panel h3 { margin-bottom: 10px; color: var(--brand-blue); }
.glass-panel p { color: var(--text-secondary); font-size: 14px; }
.float-delay { animation-delay: 3s; }

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

/* 通用区块设置 */
.section {
    padding: 100px 5%;
}

.bg-darker {
    background-color: var(--bg-secondary);
}

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

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 800;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 800px;
    margin-bottom: 40px;
}

.center-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 网格布局 */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* 产品卡片 */
.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 12px;
    transition: transform 0.3s, background 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.card h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #fff;
}

.card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* 页脚 */
.footer {
    background-color: #05080f;
    padding: 80px 5% 30px 5%;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer h3 {
    margin-bottom: 20px;
    color: #fff;
}

.footer p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #555;
}