/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #000;
    color: #F2F2F2;
    line-height: 1.6;
}

/* HEADER */
header {
    width: 100%;
    background: #000;
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #B4FF00;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #F2F2F2;
    font-size: 14px;
    transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #B4FF00;
}

/* MOBILE MENU */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* HERO */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 40px;
    position: relative;
}
.hero {
    height: calc(100vh - 80px);
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
}
.hero h1 {
    font-size: 80px;
    line-height: 0.9;
    font-weight: bold;
}

.hero small {
    position: absolute;
    top: 40%;
    left: 40px;
    font-size: 14px;
    color: #888;
}

.hero .cta {
    position: absolute;
    bottom: 80px;
    left: 40px;
    background: #B4FF00;
    color: #000;
    padding: 15px 25px;
    text-decoration: none;
    font-weight: bold;
}

/* SECTION */
.section {
    padding: 80px 40px;
}

.section h2 {
    font-size: 40px;
    margin-bottom: 30px;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.grid img {
    width: 100%;
    height: 250px;         /* ⭐统一高度 */
    object-fit: contain;   /* 不裁剪 */
    background: #000;      /* 黑底更高级 */
}
.card {
    background: #111;
    padding: 20px;
    border: 1px solid #222;
}

/* IMAGE PLACEHOLDER */
.img-box {
    width: 100%;
    height: 200px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #888;
}

/* FOOTER */
footer {
    background: #000;
    border-top: 1px solid #222;
    padding: 50px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

footer h4 {
    margin-bottom: 15px;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 8px;
}

footer ul li a {
    text-decoration: none;
    color: #aaa;
}

footer .bottom {
    margin-top: 40px;
    border-top: 1px solid #222;
    padding-top: 20px;
    font-size: 12px;
    color: #777;
}

/* RESPONSIVE */
@media(max-width: 900px) {
    nav ul {
        display: none;
        flex-direction: column;
        background: #000;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 20px;
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 50px;
    }
}
img {
    width: 100%;
    display: block;
}