* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    overflow-x: hidden;
    color: #333;
    line-height: 1.6;
}

/* 导航栏 */
.navbar {
    background: linear-gradient(135deg, #050509 0%, #151521 50%, #262335 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #f5f5f5;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 50px;
}

.nav-item {
    display: inline-block;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    padding: 5px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f5e1c8 0%, #c7a17a 100%);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    opacity: 1;
}

/* Banner区域 */
.banner {
    position: relative;
    background: radial-gradient(circle at top, #f5e7d4 0%, #1a1625 45%, #050509 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.banner-content-wrapper {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    color: white;
}

.banner-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.banner-subtitle {
    font-size: 28px;
    margin-bottom: 16px;
    opacity: 0.96;
    font-weight: 400;
}

.banner-desc {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.92;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-btn {
    background: #f5e1c8;
    color: #221b1b;
    border: none;
    padding: 16px 50px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    background: #f0d6b4;
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 60px;
    color: #f4f1eb;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #c7a17a 0%, #8c6b44 100%);
    border-radius: 2px;
}

/* 关于我们区域 */
.about-section {
    background: #0c0c10;
    padding: 100px 20px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 18px;
    line-height: 2;
    color: #d0c8bc;
    margin-bottom: 25px;
    text-align: justify;
}

/* 产品服务区域 */
.products-section {
    background: #050509;
    padding: 100px 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.product-card {
    background: #111118;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1625 0%, #3b2b28 50%, #c7a17a 100%);
    border-radius: 50%;
    padding: 20px;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card h3 {
    font-size: 24px;
    color: #f5e1c8;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-card p {
    font-size: 16px;
    color: #d0c8bc;
    line-height: 1.8;
}

/* 新闻动态区域 */
.news-section {
    background: #0a0a0f;
    padding: 100px 20px;
}

.news-subtitle {
    text-align: center;
    color: #8a8078;
    font-size: 16px;
    margin-top: -40px;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.news-card {
    background: #111118;
    border-radius: 10px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    border: 1px solid rgba(199, 161, 122, 0.08);
    position: relative;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
    border-color: rgba(199, 161, 122, 0.25);
}

.news-card-featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #15131e 0%, #1a1520 50%, #1e1818 100%);
    border: 1px solid rgba(199, 161, 122, 0.15);
    padding: 40px 36px;
}

.news-card-featured h3 {
    font-size: 24px;
}

.news-card-featured p {
    font-size: 16px;
    -webkit-line-clamp: 4;
}

.news-tag {
    display: inline-block;
    background: linear-gradient(135deg, #c7a17a 0%, #8c6b44 100%);
    color: #0a0a0f;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 1px;
    width: fit-content;
}

.news-card h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 12px;
}

.news-card h3 a {
    color: #f5e1c8;
    text-decoration: none;
    transition: color 0.3s;
}

.news-card h3 a:hover {
    color: #c7a17a;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #6b6360;
    margin-bottom: 16px;
}

.news-meta time {
    color: #8a8078;
}

.news-meta .news-author {
    position: relative;
    padding-left: 16px;
}

.news-meta .news-author::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: #3a3530;
}

.news-card p {
    font-size: 15px;
    color: #9a928a;
    line-height: 1.8;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
}

.news-readmore {
    color: #c7a17a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    display: inline-block;
}

.news-readmore:hover {
    color: #f5e1c8;
    transform: translateX(4px);
}

.news-loading,
.news-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #8a8078;
    font-size: 16px;
    padding: 60px 0;
    letter-spacing: 1px;
}

/* 企业优势区域 */
.advantages-section {
    background: #0c0c10;
    padding: 100px 20px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
}

.advantage-number {
    font-size: 48px;
    font-weight: bold;
    color: #c7a17a;
    margin-bottom: 20px;
    opacity: 0.3;
}

.advantage-item h3 {
    font-size: 22px;
    color: #f5e1c8;
    margin-bottom: 15px;
    font-weight: 600;
}

.advantage-item p {
    font-size: 16px;
    color: #d0c8bc;
    line-height: 1.8;
}

/* 联系我们区域 */
.contact-section {
    background: linear-gradient(135deg, #151521 0%, #201b2c 40%, #3b2b28 100%);
    padding: 100px 20px;
    color: white;
}

.contact-section .section-title {
    color: white;
}

.contact-section .section-title::after {
    background: white;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.contact-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-item p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.95;
}

/* 页脚 */
.footer {
    background: #050509;
    padding: 50px 20px;
    text-align: center;
    color: #ecf0f1;
    font-size: 14px;
    line-height: 2;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    margin: 5px 0;
    letter-spacing: 0.5px;
}

.footer a {
    color: #c7a17a;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #f5e1c8;
    text-decoration: underline;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }

    .nav-container {
        padding: 0 20px;
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        font-size: 20px;
    }

    .nav-menu {
        gap: 25px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        font-size: 14px;
    }

    .banner {
        min-height: 400px;
        padding: 60px 20px;
    }

    .banner-title {
        font-size: 32px;
    }

    .banner-subtitle {
        font-size: 20px;
    }

    .banner-desc {
        font-size: 16px;
    }

    .cta-btn {
        padding: 14px 40px;
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .about-section,
    .products-section,
    .news-section,
    .advantages-section,
    .contact-section {
        padding: 60px 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-card-featured {
        grid-column: auto;
        padding: 30px 24px;
    }

    .news-card-featured h3 {
        font-size: 20px;
    }

    .news-subtitle {
        margin-top: -25px;
        margin-bottom: 30px;
        font-size: 14px;
    }

    .about-text p {
        font-size: 16px;
    }

    .products-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-card {
        padding: 30px 20px;
    }

    .product-icon {
        width: 100px;
        height: 100px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 20px;
    }

    .footer {
        padding: 40px 20px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 24px;
    }

    .banner-subtitle {
        font-size: 18px;
    }

    .banner-desc {
        font-size: 14px;
    }

    .cta-btn {
        padding: 12px 35px;
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .product-card h3,
    .advantage-item h3 {
        font-size: 20px;
    }

    .product-card p,
    .advantage-item p {
        font-size: 14px;
    }

    .news-card h3 {
        font-size: 16px;
    }

    .news-card p {
        font-size: 14px;
    }
}
