/* 基础样式 */
:root {
    --primary-color: #007bff; /* 主色调改为蓝色 */
    --secondary-color: #0056b3; /* 辅色调改为深蓝色 */
    --bg-color: #f9f9f9; /* 背景色改为浅灰色 */
    --text-color: #333; /* 文字颜色改为深灰色 */
    --card-bg: #ffffff; /* 卡片背景色改为白色 */
    --border-color: #ddd; /* 边框颜色改为浅灰色 */
    --nav-bg: #1d1d30; /* 导航栏背景色 */
    --nav-text-color: #ffffff; /* 导航栏文字颜色 */
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* 导航栏 */
.cyber-nav {
    background: var(--nav-bg); /* 使用新的导航栏背景色 */
    padding: 0.2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 浅色边框 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links a {
    color: var(--nav-text-color); /* 导航栏文字颜色 */
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.neon-text:hover {
  color: #3134c2; /* 悬停时变为红色 */
  text-shadow: 0 0 10px #3134c2; /* 添加红色阴影 */
}

.nav-links a:hover {
    color: var(--primary-color); /* 悬浮时文字颜色变为主色调 */
}

/* 首页 - 第一屏（全屏GIF背景） */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: white; /* 主标题保持白色 */
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: var(--primary-color); /* 副标题改为蓝色 */
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-button {
    background: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    background: var(--secondary-color);
}

/* 关于我们、产品中心、联系我们 */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about-content, .product-grid, .cyber-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 页脚 */
.footer {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.social-links a {
    color: var(--text-color);
    margin: 0 1rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* 产品中心透明背景 */
#products {
    background-color: transparent;
}