/* 全局基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Noto Sans SC", sans-serif;
    background-color: #0C0C0E;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}
ul, li {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}
button {
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}
input, textarea, select {
    font-family: inherit;
}

/* 自定义通用工具类 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-padding {
    padding: 96px 0;
}
.text-gold {
    color: #C8A457;
}
.text-gray {
    color: #999999;
}
.bg-dark {
    background-color: #0C0C0E;
}
.bg-darklight {
    background-color: #17171C;
}
.border-gold {
    border-color: #C8A457;
}
.title-sm {
    letter-spacing: 0.3em;
    font-size: 14px;
    color: #C8A457;
    margin-bottom: 8px;
}
.title-main {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 16px;
}
.title-line {
    width: 80px;
    height: 2px;
    background: #C8A457;
    margin: 0 auto;
}
.text-center {
    text-align: center;
}
.mb-16 {
    margin-bottom: 64px;
}

/* 动画&hover工具 */
.img-scale {
    transition: transform 0.4s ease;
}
.img-scale:hover {
    transform: scale(1.08);
}
.gradient-mask {
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent 70%);
}
.text-shadow-lg {
    text-shadow: 0 3px 12px rgba(0,0,0,0.7);
}
.animate-bounce {
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%,100% {transform: translateY(0);}
    50% {transform: translateY(10px);}
}

/* 导航栏 */
#headerNav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    padding: 20px 0;
    transition: all 0.3s ease;
}
.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-icon {
    font-size: 40px;
    color: #C8A457;
}
.logo-text {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #C8A457;
}
.pc-nav {
    display: flex;
    gap: 32px;
    font-size: 14px;
    letter-spacing: 1px;
}
.pc-nav a {
    transition: color 0.3s;
}
.pc-nav a:hover {
    color: #C8A457;
}
.pc-nav a.active {
    color: #C8A457;
    border-bottom: 2px solid #C8A457;
    padding-bottom: 4px;
}
.btn-gold-border {
    border: 1px solid #C8A457;
    color: #C8A457;
    padding: 8px 20px;
    transition: all 0.3s;
}
.btn-gold-border:hover {
    background: #C8A457;
    color: #0C0C0E;
}
.mobile-menu-btn {
    font-size: 24px;
    color: #fff;
    display: none;
}
.mobile-menu {
    display: none;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    background: #17171C;
    padding: 24px;
    border-top: 1px solid #333;
}
.mobile-menu.show {
    display: block;
}
.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    font-size: 18px;
}
.mobile-nav-list a {
    transition: color 0.3s;
}
.mobile-nav-list a:hover {
    color: #C8A457;
}

/* Banner首页 */
#home {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
}
.banner-bg {
    position: absolute;
    inset: 0;
}
.banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
}
.banner-content {
    position: relative;
    z-index: 2;
}
.banner-h1 {
    font-size: 50px;
    font-weight: bold;
    line-height: 1.2;
    margin: 16px 0 24px;
}
.banner-desc {
    font-size: 20px;
    color: #999;
    max-width: 700px;
    margin-bottom: 40px;
}
.banner-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;

}
.btn-gold-solid {
    background: #C8A457;
    color: #0C0C0E;
    padding: 12px 32px;
    font-weight: 500;
    transition: background 0.3s;
}
.btn-gold-solid:hover {
    background: #d4b268;
}
.btn-white-border {
    border: 1px solid #fff;
    padding: 12px 32px;
    transition: all 0.3s;
}
.btn-white-border:hover {
    background: #fff;
    color: #0C0C0E;
}
.banner-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: rgba(255,255,255,0.7);
}

/* 关于我们 */
.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-img-box {
    overflow: hidden;
    border-radius: 4px;
}
.data-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.data-item {
    border: 1px solid #333;
    padding: 20px 0;
    text-align: center;
    border-radius: 4px;
}
.data-num {
    font-size: 32px;
    font-weight: bold;
    color: #C8A457;
}

/* 服务板块 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.service-card {
    background: #17171C;
    padding: 32px;
    border: 1px solid transparent;
    transition: border 0.3s;
}
.service-card:hover {
    border-color: #C8A457;
}
.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(200, 164, 87, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: background 0.3s;
}
.service-card:hover .service-icon {
    background: #C8A457;
}
.service-icon i {
    font-size: 24px;
    color: #C8A457;
    transition: color 0.3s;
}
.service-card:hover .service-icon i {
    color: #0C0C0E;
}
.service-title {
    font-size: 20px;
    margin-bottom: 12px;
}

/* 案例板块 #case 核心 */
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}
.filter-btn {
    padding: 8px 24px;
    border: 1px solid #444;
    color: #fff;
    transition: all 0.3s;
    border-radius: 2px;
}
.filter-btn.active {
    background: #C8A457;
    color: #0C0C0E;
    border-color: #C8A457;
}
.filter-btn:hover:not(.active) {
    border-color: #C8A457;
}
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.case-item {
    display: block;
}
.case-box {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}
.case-hover-mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s;
}
.case-box:hover .case-hover-mask {
    background: rgba(0,0,0,0.6);
}
.case-view-text {
    border: 1px solid #fff;
    padding: 8px 20px;
    opacity: 0;
    transition: opacity 0.4s;
}
.case-box:hover .case-view-text {
    opacity: 1;
}
.case-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
}

/* 团队板块 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.team-item {
    text-align: center;
}
.team-img-box {
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* 资讯板块 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.news-card {
    background: #0C0C0E;
    border-radius: 4px;
    overflow: hidden;
}
.news-img {
    height: 208px;
    object-fit: cover;
    width: 100%;
}
.news-content {
    padding: 24px;
}
.news-title {
    font-size: 18px;
    margin: 8px 0 12px;
    transition: color 0.3s;
}
.news-card:hover .news-title {
    color: #C8A457;
}

/* 联系板块 */
.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}
.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(200,164,87,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #C8A457;
}
.form-static-box {
    background: #17171C;
    padding: 32px;
    border-radius: 4px;
}
.form-item {
    width: 100%;
    background: #0C0C0E;
    border: 1px solid #444;
    padding: 12px 16px;
    color: #999;
    margin-bottom: 20px;
}
.form-disabled-btn {
    width: 100%;
    padding: 12px;
    background: #444;
    color: #999;
    text-align: center;
    cursor: not-allowed;
}

/* 页脚 */
footer {
    background: #17171C;
    padding: 64px 0;
    border-top: 1px solid #333;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.footer-col h5 {
    font-size: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #333;
    margin-bottom: 24px;
}
.footer-link-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #999;
}
.footer-link-list a:hover {
    color: #C8A457;
}
.social-list {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}
.social-item {
    width: 40px;
    height: 40px;
    border: 1px solid #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.social-item:hover {
    border-color: #C8A457;
    color: #C8A457;
}
.copyright {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #333;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* 返回顶部按钮 */
#backTop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: #C8A457;
    color: #0C0C0E;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 99;
    transition: background 0.3s;
}
#backTop.show {
    display: flex;
}
#backTop:hover {
    background: #d4b268;
}

/* 响应式适配 */
@media screen and (max-width:992px) {
    .pc-nav, .btn-gold-border {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .about-row, .contact-row {
        grid-template-columns: 1fr;
    }
    .service-grid, .case-grid, .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .banner-h1 {
        font-size: 42px;
    }
}
@media screen and (max-width:576px) {
    .service-grid, .case-grid, .news-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .data-row {
        grid-template-columns: 1fr;
    }
    .banner-h1 {
        font-size: 36px;
    }
    .title-main {
        font-size: 28px;
    }
}