/* 通用样式 */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    padding: 0;
    color: #ffffff;
}

/* 英雄部分样式 */
.hero {
    height: 100vh;
    background: url('hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #ffffff;
    text-align: center;
}

.hero-content {
    z-index: 1;
    max-width: 90%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
    backdrop-filter: blur(10px);
}

.btn {
    background-color: #28a745;
    padding: 12px 30px;
    text-decoration: none;
    color: #ffffff;
    border-radius: 30px;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin-top: 20px;
}

.btn:hover {
    background-color: #218838;
}

/* 导航栏样式 */
.navbar {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.navbar li {
    margin: 0 15px;
}

.navbar a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #28a745;
}

/* 章节样式 */
.section {
    padding: 50px 20px;
    text-align: center;
    background-color: #111;
}

.section-dark {
    background-color: #1c1c1c;
}

.section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.section p {
    font-size: 1em;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.product-grid, .case-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.product, .case {
    background-color: #282828;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

@media(min-width: 768px) {
    .product-grid, .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 页脚样式 */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #0a0a0a;
    border-top: 2px solid #28a745;
}
