/* --- 0. 变量与基础设置 (Cyberpunk Theme) --- */
:root {
    --bg-dark: #050510;
    --bg-panel: rgba(20, 20, 35, 0.8);
    --neon-blue: #00f3ff;
    --neon-pink: #bc13fe;
    --text-main: #e0e0e0;
    --text-dim: #888;
    --font-tech: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --- 1. 导航栏 (Glass Effect) --- */
.cyber-header {
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-tech);
    font-size: 1.8em;
    letter-spacing: 2px;
    margin: 0;
    color: #fff;
    text-shadow: 0 0 10px var(--neon-blue);
}

.highlight {
    color: var(--neon-blue);
}

.cyber-header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-tech);
    font-size: 0.9em;
    letter-spacing: 1px;
    transition: 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 8px var(--neon-blue);
}

/* --- 2. 顶部主视觉 (Hero) --- */
.hero-section {
    /* 引用您的图片 */
    background: url('tech-arcade-bg.png') no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

/* 暗色遮罩，确保文字清晰 */
.overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        to bottom, 
        rgba(5, 5, 16, 0.5), 
        rgba(5, 5, 16, 0.95)
    );
    z-index: 1;
}

.hero-title, .hero-title-sub {
    font-family: var(--font-tech);
    color: #fff;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

.hero-title-sub {
    font-size: 2.5rem;
    color: var(--neon-blue);
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--neon-blue);
}

.subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 1px;
    background: rgba(0,0,0,0.5);
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* 赛博按钮样式 */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.cyber-btn {
    position: relative;
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-tech);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    overflow: hidden;
    transition: 0.3s;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}

.primary-btn {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.primary-btn:hover {
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.8);
}

.secondary-btn {
    background: transparent;
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
}

.secondary-btn:hover {
    background: rgba(0, 243, 255, 0.1);
    color: #fff;
    text-shadow: 0 0 8px var(--neon-blue);
}

/* 数据展示栏 */
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-tech);
    font-size: 2rem;
    color: var(--neon-pink);
    font-weight: bold;
    text-shadow: 0 0 10px var(--neon-pink);
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
}

/* --- 3. 通用 Section 样式 --- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-family: var(--font-tech);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    color: #fff;
}

.section-intro {
    text-align: center;
    color: var(--neon-blue);
    margin-bottom: 60px;
    font-family: var(--font-tech);
    font-size: 0.9em;
    letter-spacing: 3px;
    opacity: 0.8;
}

/* --- 4. 原理卡片 (Cyber Cards) --- */
.step-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.cyber-card {
    background: var(--bg-panel);
    border: 1px solid rgba(0, 243, 255, 0.2);
    padding: 40px 20px;
    text-align: center;
    position: relative;
    transition: 0.3s;
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    opacity: 0.5;
}

.cyber-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.cyber-card h4 {
    color: var(--neon-blue);
    font-family: var(--font-tech);
    margin: 10px 0;
    font-size: 1.2rem;
}

/* --- 5. 核心优势 (Grid Style) --- */
.gradient-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0a1a 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-left: 3px solid var(--neon-pink);
    transition: 0.3s;
}

.feature-box:hover {
    background: rgba(188, 19, 254, 0.1);
    box-shadow: inset 0 0 20px rgba(188, 19, 254, 0.2);
}

.feature-box h4 {
    color: #fff;
    font-family: var(--font-tech);
    margin-top: 0;
    font-size: 1.4rem;
}

/* --- 6. 联系部分 & 表单 --- */
.contact-section {
    background: url('tech-arcade-bg.png') no-repeat center bottom;
    background-size: cover;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5, 5, 16, 0.9);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative; /* z-index fix */
}

.contact-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    font-size: 1.1rem;
}

.contact-list li {
    margin-bottom: 15px;
    color: #ccc;
}

/* 表单样式 */
.cyber-form {
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border: 1px solid #333;
    backdrop-filter: blur(5px);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--neon-blue);
    margin-bottom: 5px;
}

.cyber-form input, 
.cyber-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    color: #fff;
    padding: 12px;
    font-family: var(--font-body);
    box-sizing: border-box;
    transition: 0.3s;
}

.cyber-form input:focus, 
.cyber-form textarea:focus {
    border-color: var(--neon-pink);
    outline: none;
    box-shadow: 0 0 10px rgba(188, 19, 254, 0.3);
}

.full-width {
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
    border: none;
}

/* --- 7. 页脚 --- */
.cyber-footer {
    background: #000;
    padding: 20px 0;
    border-top: 1px solid #222;
    font-size: 0.8rem;
    color: #555;
    font-family: var(--font-tech);
}

/* 新布局：将内容垂直堆叠并居中 */
.footer-content-wrapper {
    display: flex;
    flex-direction: column; /* 核心修改：将所有内容垂直堆叠 */
    justify-content: center;
    align-items: center; /* 水平居中 */
    padding: 0;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: static; /* 移除相对定位 */
    min-height: auto;
}

/* 移除所有元素的绝对定位，并居中对齐 */
.icp-info,
.copyright-info,
.soft-copyright-info,
.gongan-info { /* <-- 新增 .gongan-info */
    position: static; 
    text-align: center; 
    margin: 3px 0; /* 添加少量垂直间距，让行与行之间不至于太拥挤 */
    left: auto;
    right: auto;
    padding: 0;
}

/* ICP 链接样式（请确保保留，以提供亮色和悬停效果） */
.icp-link {
    color: var(--text-main); /* 亮色 */
    text-decoration: none;
    transition: color 0.3s;
}

.icp-link:hover {
    color: var(--neon-blue); 
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.4);
}

.cyber-footer p {
    margin: 0;
}

.footer-tag {
    color: var(--neon-blue);
    margin-left: 10px;
}

/* --- 移动端适配 --- */
@media (max-width: 768px) {
    /* 移动端适配保持不变或根据需要调整 */
    .footer-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    /* 移除之前的 order 调整，因为现在已经按 HTML 顺序堆叠了 */
    .icp-info, .copyright-info, .soft-copyright-info {
        order: initial;
    }
}