fa-bars/* ==================== 通用重置和基础样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

ul li, ol li {
    margin-bottom: 8px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn:hover {
    background-color: #1a252f;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: #e74c3c;
}

.btn-primary:hover {
    background-color: #c0392b;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #2c3e50;
    color: #2c3e50;
}

.btn-outline:hover {
    background-color: #2c3e50;
    color: white;
}

/* ==================== 面包屑导航 ==================== */
.breadcrumb {
    background-color: #f1f1f1;
    padding: 15px 0;
    margin-bottom: 30px;
}

.breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
}

.breadcrumb li {
    margin-right: 10px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.breadcrumb li:after {
    content: '/';
    margin-left: 10px;
}

.breadcrumb li:last-child:after {
    content: '';
}

.breadcrumb a {
    color: #2c3e50;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #e74c3c;
}

.breadcrumb .current {
    color: #e74c3c;
    font-weight: 600;
}

/* ==================== 通用头部样式 ==================== */
.header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: #2c3e50;
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info a {
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-info a:hover {
    color: #e74c3c;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    color: white;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #e74c3c;
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
}

.logo-text h1 {
    font-size: 1.6rem;
    color: #2c3e50;
    font-weight: 700;
}

.logo-text h1 span {
    color: #e74c3c;
}

.logo-text p {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 2px;
}

/* ==================== 主导航菜单 - 修复下拉菜单样式 ==================== */
.main-nav {
    position: relative;
}

.main-nav > ul {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li > a {
    font-weight: 600;
    color: #2c3e50;
    padding: 8px 0;
    position: relative;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.main-nav > ul > li > a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #e74c3c;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.main-nav > ul > li > a:hover:after,
.main-nav > ul > li > a.active:after {
    width: 100%;
}

/* 下拉菜单箭头 - 修复显示问题 */
.has-dropdown > a:after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    position: relative;
    width: auto;
    height: auto;
    background: none;
    margin-left: 5px;
}

/* 下拉菜单容器 - 修复竖向显示 */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    padding: 10px 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    display: block; /* 确保是块级显示 */
}

/* 下拉菜单项 - 修复竖向排列 */
.dropdown li {
    display: block;
    width: 100%;
    margin: 0;
    float: none; /* 清除浮动 */
}

.dropdown a {
    display: block;
    padding: 12px 25px;
    color: #555;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.dropdown a:hover {
    background-color: #f8f9fa;
    color: #e74c3c;
    padding-left: 30px;
}

/* 显示下拉菜单 */
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 二级下拉菜单 - 修复显示为竖向 */
.has-submenu {
    position: relative;
}

.has-submenu > a:after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    position: absolute;
    right: 25px;
}

.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    display: block; /* 确保是块级显示 */
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #2c3e50;
}
/* ==================== 通用页面标题样式 ==================== */
.page-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 50px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== 通用部分标题样式 ==================== */
/* 版本1：用于首页、关于我们等页面 */
.section-title-common {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title-common h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title-common h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: #e74c3c;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* 版本2：用于文章列表、产品列表等页面 */
.section-title-list {
    margin-bottom: 40px;
    position: relative;
}

.section-title-list h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title-list h1:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: #e74c3c;
    bottom: 0;
    left: 0;
}

.section-subtitle {
    color: #7f8c8d;
    margin-top: 15px;
    font-size: 1.1rem;
    max-width: 700px;
}

/* ==================== 通用页脚样式 ==================== */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: #e74c3c;
    bottom: 0;
    left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.contact-details li,
.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
}

.contact-icon,
.footer-icon {
    color: #e74c3c;
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #34495e;
    text-align: center;
    color: #bdc3c7;
    font-size: 0.85rem;
}

/* ==================== 通用浮动联系按钮和返回顶部 ==================== */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.contact-toggle {
    width: 55px;
    height: 55px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.contact-toggle:hover {
    background-color: #c0392b;
    transform: scale(1.1);
}

.contact-options {
    position: absolute;
    bottom: 65px;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 10px;
}

.contact-options a {
    width: 45px;
    height: 45px;
    background-color: white;
    color: #2c3e50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-options a:hover {
    background-color: #e74c3c;
    color: white;
    transform: translateY(-5px);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 45px;
    height: 45px;
    background-color: #2c3e50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #e74c3c;
}

/* ==================== 首页特定样式 ==================== */
.home-page .hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/skin/images/flash1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.home-page .hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.home-page .hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.home-page .products {
    padding: 70px 0;
    background-color: white;
}

.home-page .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.home-page .product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.home-page .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.home-page .product-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.home-page .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-page .product-card:hover .product-img img {
    transform: scale(1.05);
}

.home-page .product-info {
    padding: 20px;
}

.home-page .product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
    height: 60px;
    overflow: hidden;
}

.home-page .product-info p {
    color: #7f8c8d;
    margin-bottom: 15px;
    font-size: 0.9rem;
    height: 60px;
    overflow: hidden;
}

.home-page .view-all-container {
    text-align: center;
    margin-top: 50px;
}

.home-page .about {
    padding: 70px 0;
    background-color: #f8f9fa;
}

.home-page .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.home-page .about-text h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.home-page .about-text p {
    margin-bottom: 20px;
    color: #555;
}

.home-page .features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.home-page .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.home-page .feature-icon {
    color: #e74c3c;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.home-page .specifications {
    padding: 70px 0;
    background-color: white;
}

.home-page .spec-table-container {
    overflow-x: auto;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.home-page .spec-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.home-page .spec-table th {
    background-color: #2c3e50;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.home-page .spec-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.home-page .spec-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.home-page .spec-table tr:hover {
    background-color: #f1f1f1;
}

.home-page .spec-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.home-page .spec-feature-item {
    text-align: center;
    padding: 25px 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.home-page .spec-feature-item:hover {
    transform: translateY(-5px);
}

.home-page .spec-icon {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 15px;
}

.home-page .spec-feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.home-page .spec-cta {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.home-page .applications {
    padding: 70px 0;
    background-color: #f8f9fa;
}

.home-page .applications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.home-page .app-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-page .app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.home-page .app-img {
    height: 200px;
    overflow: hidden;
}

.home-page .app-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-page .app-card:hover .app-img img {
    transform: scale(1.05);
}

.home-page .app-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.home-page .app-content h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.home-page .app-content p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.home-page .app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.home-page .app-feature {
    background-color: #e8f4fc;
    color: #2c3e50;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.home-page .news {
    padding: 70px 0;
    background-color: white;
}

.home-page .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.home-page .news-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.home-page .news-img {
    height: 180px;
    overflow: hidden;
}

.home-page .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-page .news-card:hover .news-img img {
    transform: scale(1.05);
}

.home-page .news-content {
    padding: 20px;
}

.home-page .news-date {
    display: block;
    color: #e74c3c;
    font-size: 0.85rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.home-page .news-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #2c3e50;
    line-height: 1.4;
}

.home-page .cta {
    padding: 70px 0;
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('/static/upload/image/20250815/1755250285125641.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.home-page .cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.home-page .cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ==================== 响应式样式 ==================== */
@media (max-width: 992px) {
    .main-nav > ul {
        gap: 15px;
    }
    
    /* 下拉菜单响应式 */
    .has-dropdown > a:after {
        content: '\f107';
    }
    
    .dropdown {
        min-width: 200px;
    }
    
    /* 首页响应式 */
    .home-page .hero h2 {
        font-size: 2rem;
    }
    
    .home-page .about-content {
        grid-template-columns: 1fr;
    }
    
    .home-page .spec-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .home-page .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    /* 移动端导航菜单 */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav > ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav > ul > li {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .main-nav > ul > li > a {
        padding: 12px 0;
        width: 100%;
    }
    
    /* 移动端下拉菜单 */
    .has-dropdown .dropdown {
        position: static;
        box-shadow: none;
        display: none;
        padding-left: 20px;
        border: none;
        margin-top: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: #f8f9fa;
        border-radius: 4px;
        width: 100%;
    }
    
    .has-dropdown.active .dropdown {
        display: block;
    }
    
    .has-dropdown > a:after {
        content: '\f107';
        position: absolute;
        right: 0;
    }
    
    .has-submenu .submenu {
        position: static;
        box-shadow: none;
        display: none;
        padding-left: 20px;
        margin-top: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: #f0f0f0;
    }
    
    .has-submenu.active .submenu {
        display: block;
    }
    
    .header-top .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    /* 首页响应式 */
    .home-page .hero {
        padding: 60px 0;
    }
    
    .home-page .hero h2 {
        font-size: 1.8rem;
    }
    
    .home-page .section-title-common h2 {
        font-size: 1.8rem;
    }
    
    .home-page .features {
        grid-template-columns: 1fr;
    }
    
    .home-page .spec-features {
        grid-template-columns: 1fr;
    }
    
    .home-page .applications-grid {
        grid-template-columns: 1fr;
    }
    
    /* 通用响应式 */
    .floating-contact {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    /* 首页响应式 */
    .home-page .products-grid,
    .home-page .news-grid {
        grid-template-columns: 1fr;
    }
    
    .home-page .hero h2 {
        font-size: 1.6rem;
    }
    
    .home-page .section-title-common h2 {
        font-size: 1.6rem;
    }
    
    .home-page .cta h2 {
        font-size: 1.8rem;
    }
    
    /* 通用响应式 */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}