/* 科技蓝配色方案 */
:root {
    --tech-blue: #0056b3;
    --dark-bg: #0a0a1a;
    --glass-white: rgba(255, 255, 255, 0.9);
}

body {
    margin: 0;
    font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f4f7f9;
    color: #333;
}

header {
    background: var(--dark-bg);
    color: white;
    padding: 1rem 5%;
    position: fixed;
    width: 90%;
    z-index: 1000;
    top: 0;
    left: 0;
}

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

.logo {
    font-size: 20px;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-size: 15px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--tech-blue);
}

/* 英雄区背景 */
.hero {
    height: 80vh;
    background: linear-gradient(135deg, #001f3f 0%, #0056b3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.hero-content p {
    font-size: 20px;
    opacity: 0.9;
}

.section {
    padding: 80px 10%;
    text-align: center;
}

.section h2 {
    font-size: 32px;
    color: var(--dark-bg);
    margin-bottom: 20px;
}

.section p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 50px 10%;
    background: #eef2f5;
}

.card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border-top: 5px solid var(--tech-blue);
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    font-size: 22px;
    color: var(--dark-bg);
    margin-bottom: 15px;
}

.card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* 案例部分 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.case-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    font-size: 20px;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.case-content p {
    font-size: 14px;
    color: #666;
}

footer {
    background: var(--dark-bg);
    color: white;
    text-align: center;
    padding: 40px 0;
}

footer p {
    margin: 5px 0;
    font-size: 14px;
    color: #999;
}

footer .beian a {
    color: #999;
    text-decoration: none;
}

footer .beian a:hover {
    color: white;
}

/* 响应式 */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section {
        padding: 60px 5%;
    }
}
