/* 台群精机风格 - 专业工业企业网站 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", -apple-system, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
}
a { text-decoration: none; color: inherit; transition: all 0.3s; }
ul, li { list-style: none; }
img { max-width: 100%; height: auto; border: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.clearfix::after { content: ''; display: table; clear: both; }

/* ========== 顶部信息栏 ========== */
.top-bar {
    background: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
    font-size: 13px;
    color: #666;
    height: 36px;
    line-height: 36px;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
}
.top-bar .welcome { color: #999; }
.top-bar .top-links a {
    margin-left: 20px;
    color: #666;
}
.top-bar .top-links a:hover { color: #c00; }
.top-bar .top-links i { margin-right: 4px; }

/* ========== 头部主区域 ========== */
.header-main {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { display: flex; align-items: center; }
.logo img { height: 60px; }
.logo .company-name {
    margin-left: 15px;
    border-left: 1px solid #ddd;
    padding-left: 15px;
}
.logo .company-name h1 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    line-height: 1.3;
}
.logo .company-name p {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
}
.header-contact {
    text-align: right;
}
.header-contact .label {
    font-size: 13px;
    color: #999;
}
.header-contact .phone {
    font-size: 28px;
    font-weight: bold;
    color: #c00;
    font-family: Arial, sans-serif;
}
.header-contact .phone i {
    font-size: 24px;
    margin-right: 8px;
    color: #c00;
}

/* ========== 主导航 ========== */
.main-nav {
    background: #fff;
    border-bottom: 2px solid #c00;
}
.nav-menu {
    display: flex;
    justify-content: flex-start;
}
.nav-menu li { position: relative; }
.nav-menu li a {
    display: block;
    padding: 0 35px;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}
.nav-menu li:first-child a { padding-left: 0; }
.nav-menu li a:hover,
.nav-menu li.active a {
    color: #c00;
}
.nav-menu li.active a {
    border-bottom: 2px solid #c00;
    margin-bottom: -2px;
}

/* ========== Banner轮播 ========== */
.banner { position: relative; overflow: hidden; }
.swiper-container { width: 100%; }
.swiper-slide {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
}
.swiper-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, transparent 60%);
}
.banner-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 10;
    color: #fff;
}
.banner-content .subtitle {
    font-size: 18px;
    margin-bottom: 10px;
    opacity: 0.9;
}
.banner-content h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.banner-content .highlight {
    font-size: 120px;
    font-weight: bold;
    color: #c00;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    line-height: 1;
}
.banner-content .highlight span {
    font-size: 36px;
    color: #fff;
    margin-left: 10px;
}
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
}
.swiper-pagination-bullet-active { background: #c00; }

/* ========== 通用区块标题 ========== */
.section-title {
    text-align: center;
    padding: 60px 0 40px;
}
.section-title h2 {
    font-size: 32px;
    color: #333;
    font-weight: bold;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #c00;
}
.section-title p {
    font-size: 14px;
    color: #999;
    margin-top: 25px;
    text-transform: uppercase;
}

/* ========== 产品展示区 ========== */
.product-section {
    padding: 0 0 60px;
    background: #f8f8f8;
}
.product-category-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.product-category-nav a {
    padding: 10px 30px;
    background: #fff;
    border: 1px solid #ddd;
    color: #666;
    font-size: 14px;
    transition: all 0.3s;
}
.product-category-nav a:hover,
.product-category-nav a.active {
    background: #c00;
    border-color: #c00;
    color: #fff;
}
.product-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.product-item {
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.3s;
}
.product-item:hover {
    border-color: #c00;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.product-item .img-box {
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    padding: 20px;
}
.product-item .img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}
.product-item:hover .img-box img { transform: scale(1.05); }
.product-item .info {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #eee;
}
.product-item .info h3 {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
}
.product-item .info h3 a:hover { color: #c00; }
.product-item .info p {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
    height: 42px;
    overflow: hidden;
}
.product-item .info .more {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 25px;
    border: 1px solid #c00;
    color: #c00;
    font-size: 13px;
}
.product-item .info .more:hover {
    background: #c00;
    color: #fff;
}

/* ========== 数据统计区 ========== */
.stats-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('__CDN__/assets/img/about.jpg') center/cover;
    padding: 80px 0;
}
.stats-list {
    display: flex;
    justify-content: space-around;
    text-align: center;
    color: #fff;
}
.stats-item .number {
    font-size: 72px;
    font-weight: bold;
    color: #c00;
    font-family: Arial, sans-serif;
    line-height: 1;
}
.stats-item .number span {
    font-size: 24px;
    color: #fff;
    margin-left: 5px;
}
.stats-item .label {
    font-size: 16px;
    margin-top: 15px;
    color: rgba(255,255,255,0.8);
}

/* ========== 优势展示 ========== */
.advantage-section {
    padding: 60px 0;
    background: #fff;
}
.advantage-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.advantage-item {
    text-align: center;
    padding: 30px 15px;
    border: 1px solid #eee;
    transition: all 0.3s;
}
.advantage-item:hover {
    border-color: #c00;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.advantage-item .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #c00;
    transition: all 0.3s;
}
.advantage-item:hover .icon {
    background: #c00;
    color: #fff;
}
.advantage-item h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}
.advantage-item p {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
}

/* ========== 应用领域 ========== */
.application-section {
    padding: 0 0 60px;
    background: #f8f8f8;
}
.application-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.application-item {
    position: relative;
    height: 280px;
    overflow: hidden;
}
.application-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.application-item:hover img { transform: scale(1.1); }
.application-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}
.application-item h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}
.application-item p {
    font-size: 13px;
    opacity: 0.8;
    display: none;
}
.application-item:hover p { display: block; }

/* ========== 关于我们 ========== */
.about-section {
    padding: 60px 0;
    background: #fff;
}
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}
.about-img {
    flex: 0 0 500px;
}
.about-img img {
    width: 100%;
    border: 5px solid #eee;
}
.about-text { flex: 1; }
.about-text h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #c00;
    display: inline-block;
}
.about-text p {
    font-size: 14px;
    color: #666;
    line-height: 2;
    margin-bottom: 15px;
}
.about-text .btn-more {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 40px;
    background: #c00;
    color: #fff;
    font-size: 14px;
}
.about-text .btn-more:hover { background: #a00; }

/* ========== 页脚 ========== */
.footer {
    background: #2a2a2a;
    color: #999;
    padding-top: 50px;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #444;
}
.footer h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c00;
    display: inline-block;
}
.footer-about p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 15px;
}
.footer-nav ul li {
    margin-bottom: 12px;
}
.footer-nav ul li a {
    font-size: 13px;
    color: #999;
}
.footer-nav ul li a:hover { color: #fff; }
.footer-contact p {
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}
.footer-contact p i {
    width: 20px;
    color: #c00;
    margin-right: 10px;
    margin-top: 3px;
}
.footer-contact .hotline {
    font-size: 24px;
    color: #c00;
    font-weight: bold;
    font-family: Arial;
}
.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}
.footer-bottom a { color: #999; }
.footer-bottom a:hover { color: #c00; }

/* ========== 内页Banner ========== */
.page-banner {
    height: 300px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('__CDN__/assets/img/banner-1.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-banner h1 {
    font-size: 36px;
    color: #fff;
    font-weight: bold;
}

/* ========== 面包屑 ========== */
.breadcrumb-nav {
    background: #f5f5f5;
    padding: 15px 0;
    font-size: 13px;
    color: #999;
}
.breadcrumb-nav a { color: #666; }
.breadcrumb-nav a:hover { color: #c00; }
.breadcrumb-nav span { margin: 0 8px; }

/* ========== 产品列表页 ========== */
.product-page {
    padding: 50px 0;
    background: #f8f8f8;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ========== 产品详情页 ========== */
.product-detail { padding: 50px 0; background: #f8f8f8; }
.product-detail-content {
    display: flex;
    gap: 50px;
    background: #fff;
    padding: 40px;
}
.product-gallery { flex: 0 0 450px; }
.product-main-img {
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 15px;
    text-align: center;
    background: #f9f9f9;
}
.product-main-img img { max-height: 350px; }
.product-thumbs { display: flex; gap: 10px; }
.product-thumbs img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid #eee;
    padding: 5px;
    cursor: pointer;
}
.product-thumbs img:hover,
.product-thumbs img.active { border-color: #c00; }
.product-info { flex: 1; }
.product-info h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.product-info .spec {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}
.product-info .desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}
.product-info .btn-consult {
    display: inline-block;
    padding: 15px 50px;
    background: #c00;
    color: #fff;
    font-size: 16px;
}
.product-info .btn-consult:hover { background: #a00; }
.product-params {
    margin-top: 30px;
    background: #fff;
    padding: 40px;
}
.product-params h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c00;
    display: inline-block;
}
.params-table { width: 100%; border-collapse: collapse; }
.params-table td {
    padding: 12px 15px;
    border: 1px solid #eee;
    font-size: 14px;
}
.params-table td:first-child {
    width: 180px;
    background: #f9f9f9;
    font-weight: 500;
}

/* ========== 新闻列表 ========== */
.news-list-page { padding: 50px 0; }
.news-list-page .news-item {
    display: flex;
    gap: 30px;
    padding: 25px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.3s;
}
.news-list-page .news-item:hover {
    border-color: #c00;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.news-list-page .news-item .img-box {
    flex: 0 0 280px;
    height: 180px;
    overflow: hidden;
}
.news-list-page .news-item .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-list-page .news-item .info { flex: 1; }
.news-list-page .news-item .info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}
.news-list-page .news-item .info h3 a:hover { color: #c00; }
.news-list-page .news-item .info .desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}
.news-list-page .news-item .info .meta {
    font-size: 13px;
    color: #999;
}
.news-list-page .news-item .info .meta i { margin-right: 5px; color: #c00; }

/* ========== 新闻详情 ========== */
.news-detail {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
}
.news-detail h1 {
    font-size: 24px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}
.news-detail .meta {
    text-align: center;
    color: #999;
    font-size: 13px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}
.news-detail .meta span { margin: 0 15px; }
.news-detail .meta i { margin-right: 5px; color: #c00; }
.news-detail .content {
    font-size: 15px;
    color: #666;
    line-height: 2;
}
.news-detail .content p { margin-bottom: 15px; }
.news-detail .content img { margin: 20px 0; }

/* ========== 关于我们页面 ========== */
.about-page { padding: 50px 0; }
.about-intro {
    max-width: 900px;
    margin: 0 auto 50px;
}
.about-intro h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #c00;
    display: inline-block;
}
.about-intro p {
    font-size: 15px;
    color: #666;
    line-height: 2;
    margin-bottom: 15px;
}
.company-culture {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.culture-item {
    text-align: center;
    padding: 40px 20px;
    background: #f8f8f8;
    border: 1px solid #eee;
    transition: all 0.3s;
}
.culture-item:hover {
    border-color: #c00;
    background: #fff;
}
.culture-item .icon {
    font-size: 40px;
    color: #c00;
    margin-bottom: 20px;
}
.culture-item h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}
.culture-item p {
    font-size: 13px;
    color: #999;
}

/* ========== 联系我们页面 ========== */
.contact-page { padding: 50px 0; background: #f8f8f8; }
.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}
.contact-item {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border: 1px solid #eee;
}
.contact-item .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #c00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
}
.contact-item h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}
.contact-item p {
    font-size: 14px;
    color: #666;
}
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
}
.contact-form h3 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 14px;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #c00;
    outline: none;
}
.form-group textarea { height: 150px; resize: vertical; }
.form-submit { text-align: center; }
.form-submit button {
    padding: 15px 60px;
    background: #c00;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
}
.form-submit button:hover { background: #a00; }

/* ========== 分页 ========== */
.pagination-wrap { text-align: center; margin-top: 40px; }
.pagination-wrap .pagination {
    display: inline-flex;
    gap: 5px;
}
.pagination-wrap .pagination li a,
.pagination-wrap .pagination li span {
    display: block;
    min-width: 40px;
    height: 40px;
    line-height: 38px;
    padding: 0 12px;
    border: 1px solid #ddd;
    color: #666;
    font-size: 14px;
}
.pagination-wrap .pagination li a:hover,
.pagination-wrap .pagination li.active span {
    background: #c00;
    border-color: #c00;
    color: #fff;
}

/* ========== 移动端菜单 ========== */
.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    position: relative;
}
.mobile-menu-btn span::before,
.mobile-menu-btn span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #333;
    left: 0;
}
.mobile-menu-btn span::before { top: -7px; }
.mobile-menu-btn span::after { bottom: -7px; }


/* ========== 响应式设计 ========== */
@media (max-width: 1200px) {
    .container { max-width: 100%; }
    .product-list, .product-grid { grid-template-columns: repeat(3, 1fr); }
    .advantage-list { grid-template-columns: repeat(3, 1fr); }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .top-bar { display: none; }
    .header-main { padding: 15px 0; }
    .logo img { height: 45px; }
    .logo .company-name h1 { font-size: 18px; }
    .header-contact { display: none; }
    
    .mobile-menu-btn { display: flex; }
    .main-nav .container { display: flex; justify-content: space-between; align-items: center; }
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding-top: 60px;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s;
        z-index: 1000;
    }
    .nav-menu.active { left: 0; }
    .nav-menu li a {
        padding: 15px 25px;
        border-bottom: 1px solid #eee;
    }
    
    .swiper-slide { height: 350px; }
    .banner-content h2 { font-size: 28px; }
    .banner-content .highlight { font-size: 60px; }
    
    .product-list, .product-grid { grid-template-columns: repeat(2, 1fr); }
    .advantage-list { grid-template-columns: repeat(2, 1fr); }
    .application-list { grid-template-columns: repeat(2, 1fr); }
    .about-content { flex-direction: column; }
    .about-img { flex: none; width: 100%; }
    
    .product-detail-content { flex-direction: column; padding: 25px; }
    .product-gallery { flex: none; width: 100%; }
    
    .contact-info { grid-template-columns: repeat(2, 1fr); }
    .company-culture { grid-template-columns: repeat(2, 1fr); }
    
    .stats-list { flex-wrap: wrap; }
    .stats-item { width: 50%; margin-bottom: 30px; }
    .stats-item .number { font-size: 48px; }
}

@media (max-width: 768px) {
    .section-title { padding: 40px 0 30px; }
    .section-title h2 { font-size: 24px; }
    
    .swiper-slide { height: 280px; }
    .banner-content h2 { font-size: 22px; }
    .banner-content .highlight { font-size: 42px; }
    
    .product-list, .product-grid { grid-template-columns: 1fr; }
    .product-item .img-box { height: 200px; }
    
    .advantage-list { grid-template-columns: 1fr; }
    .application-list { grid-template-columns: 1fr; }
    .application-item { height: 220px; }
    
    .page-banner { height: 200px; }
    .page-banner h1 { font-size: 26px; }
    
    .news-list-page .news-item { flex-direction: column; }
    .news-list-page .news-item .img-box { flex: none; width: 100%; height: 200px; }
    
    .news-detail { padding: 30px 20px; }
    .news-detail h1 { font-size: 20px; }
    
    .contact-info { grid-template-columns: 1fr; }
    .contact-form { padding: 25px 20px; }
    .company-culture { grid-template-columns: 1fr; }
    
    .footer-content { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 480px) {
    .stats-item { width: 100%; }
    .stats-item .number { font-size: 36px; }
}
