:root {
    --accent: #00d1ff;
    --muted: #bdbdbd;
    --card-bg: #161616;
    --page-bg: #121212
}

html,
body {
    height: 100%;
    margin: 0;
    background: var(--page-bg);
    color: #fff;
    font-family: Arial, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased
}

.muted {
    color: var(--muted)
}

.navbar {
    background: #1f1f1f
}

.navbar .nav-link {
    color: #dcdcdc
}

.navbar .nav-link.active {
    color: #fff;
    font-weight: 700;
    border-bottom: 2px solid #fff;
    padding-bottom: 6px
}

.hero {
    position: relative;
    height: 360px;
    overflow: hidden
}

.hero-img {
    height: 360px;
    object-fit: cover;
    width: 100%;
    display: block
}

.hero-overlay {
    z-index: 2;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1rem;
    text-align: center
}

.hero-overlay h1 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: .5rem
}

.hero-overlay p {
    font-size: 16px;
    color: var(--muted);
    max-width: 780px
}

@media(max-width:768px) {
    .hero,
    .hero-img {
        height: 260px
    }
    .hero-overlay h1 {
        font-size: 22px
    }
}

.contact-grid {
    padding: 56px 0
}

.contact-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, .04);
    max-width: 400px;
    margin: 0 auto;
    text-align: center
}

.contact-card h3 {
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 1.8rem
}

.contact-item i {
    font-size: 3rem;
    color: var(--accent);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0, 209, 255, .06), rgba(0, 209, 255, .02));
    border-radius: 12px;
    margin: 0 auto 1.5rem
}

.contact-item .fw-bold {
    font-size: 1.5rem;
    margin-bottom: 1.5rem
}

.contact-item img {
    width: 280px;
    max-width: 90vw;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0, 209, 255, .5);
    margin: 0 auto 1.2rem
}

.contact-item .muted {
    font-size: 1rem
}

footer {
    padding: 24px 0;
    text-align: center;
    color: var(--muted);
    font-size: .9rem;
    border-top: 1px solid rgba(255, 255, 255, .05)
}

a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid rgba(0, 209, 255, .18);
    outline-offset: 3px
}


/* ==================== 终极宽屏方案（带包裹层 + Hero 零变形） ==================== */

@media (min-width: 1540px) {
    .fixed-width-wrapper {
        max-width: 1480px;
        margin: 0 auto;
        background: #121212;
    }
    /* Hero 主图铺满全屏但零变形 */
    .hero {
        width: 100vw !important;
        height: 360px !important;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        overflow: hidden;
    }
    .hero-img {
        position: absolute !important;
        top: 50%;
        left: 50%;
        width: 1480px !important;
        height: 360px !important;
        object-fit: cover;
        transform: translate(-50%, -50%);
    }
    .hero-overlay {
        position: absolute;
        width: 100%;
        max-width: 1480px;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (min-width: 2560px) {
    .hero-img {
        width: 1920px !important;
    }
    /* 超大屏更清晰 */
}