
/* ============================================
   新增样式 - 网站优化
   ============================================ */

/* 顶部信息栏 */
.top-bar {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

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

.top-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-info i {
    font-size: 16px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.header-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #1e3a8a;
    cursor: pointer;
    padding: 10px;
}

/* 悬浮工具栏 */
.floating-tools {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tool-item {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    border: none;
}

.tool-item:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

.tool-item.back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

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

/* Footer Bottom Enhancement */
.footer-bottom {
    background: transparent;
    padding: 25px 0;
    margin-top: 40px;
}

.footer-bottom-content {
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

.footer-compliance {
    margin-top: 10px;
}

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

.footer-compliance a:hover {
    color: #3b82f6;
}

.footer-compliance span {
    margin: 0 10px;
    color: #475569;
}

.footer-certifications {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Page Banner */
.page-banner {
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

/* Filter Bar */
.filter-bar {
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-tag {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
}

.filter-tag:hover {
    transform: translateY(-2px);
}

.filter-tag.active {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border-color: transparent;
}

/* Case Card Hover */
.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Process Step Animation */
.process-step {
    transition: transform 0.3s;
}

.process-step:hover {
    transform: translateY(-10px);
}

.process-step:hover .step-icon {
    transform: scale(1.1);
}

.step-icon {
    transition: transform 0.3s;
}

/* Advantage Card Hover */
.advantage-card {
    transition: all 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
}

.advantage-icon {
    transition: transform 0.3s;
}

/* FAQ Item */
.faq-item {
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Sitemap Section */
.sitemap-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sitemap-section ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.sitemap-section ul li:last-child {
    border-bottom: none;
}

.sitemap-section ul li a:hover {
    color: #1e3a8a;
    padding-left: 5px;
}

/* Form Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

button[type="submit"] {
    transition: all 0.3s;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

/* ============================================
   响应式设计 - 移动端优化
   ============================================ */

@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* 顶部信息栏 */
    .top-bar {
        display: none;
    }
    
    /* Header */
    .header {
        padding: 15px 0;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 20px;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 28px !important;
    }
    
    .hero-subtitle {
        font-size: 16px !important;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* 悬浮工具栏 */
    .floating-tools {
        right: 10px;
        bottom: 80px;
    }
    
    .tool-item {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        font-size: 12px;
    }
    
    /* Page Banner */
    .page-banner {
        padding: 50px 0 !important;
    }
    
    .page-banner h1 {
        font-size: 28px !important;
    }
    
    /* Cases Grid */
    .cases-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Case Detail */
    .case-section h2 {
        font-size: 20px !important;
    }
    
    /* Filter Bar */
    .filter-bar {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .filter-tag {
        font-size: 12px;
        padding: 6px 15px;
    }
    
    /* Process Steps */
    .process-steps {
        grid-template-columns: 1fr !important;
    }
    
    /* Advantages */
    .advantages-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Form */
    form {
        padding: 30px 20px !important;
    }
    
    form > div {
        grid-template-columns: 1fr !important;
    }
    
    /* Sitemap */
    .sitemap-section {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 24px !important;
    }
    
    .hero-stats {
        grid-template-columns: 1fr !important;
    }
    
    .stat-item {
        padding: 15px !important;
    }
    
    .section {
        padding: 40px 0 !important;
    }
    
    .section-title {
        font-size: 28px !important;
    }
    
    .page-banner h1 {
        font-size: 24px !important;
    }
}

/* ============================================
   打印样式
   ============================================ */

@media print {
    .top-bar,
    .header,
    .floating-tools,
    .footer {
        display: none;
    }
    
    .main-content {
        margin-top: 0 !important;
    }
    
    body {
        color: #000;
    }
    
    a {
        text-decoration: underline;
    }
}

/* ============================================
   首页样式优化
   ============================================ */

/* 核心优势模块 - 优化背景和文字对比度 */
.advantages-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
}

.advantage-card {
    background: white !important;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.advantage-title {
    color: #1e293b !important;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
}

.advantage-desc {
    color: #475569 !important;
    line-height: 1.6;
}

.advantage-icon {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white !important;
}

/* 产品卡片优化 */
.product-card {
    background: white;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #3b82f6;
}

.product-name {
    color: #1e293b;
    font-weight: 600;
    font-size: 16px;
    padding: 15px;
    text-align: center;
}

.product-link {
    display: block;
    text-align: center;
    padding: 10px;
    background: #f8fafc;
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.product-link:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

/* 案例卡片优化 */
.case-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.case-image {
    height: 200px;
    background: #f1f5f9;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 20px;
}

.case-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.case-client {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 15px;
}

.case-link {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.case-link:hover {
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* 新闻卡片优化 */
.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.news-image {
    height: 200px;
    background: #f1f5f9;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #94a3b8;
    font-size: 13px;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 10px 0;
    line-height: 1.4;
}

.news-summary {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-link {
    color: #1e3a8a;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.news-link:hover {
    color: #3b82f6;
}

/* 联系我们模块优化 */
.contact-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.contact-section .section-title,
.contact-section .section-subtitle {
    color: white !important;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

.contact-item i {
    font-size: 24px;
    color: #fbbf24;
    margin-bottom: 10px;
}

.contact-item h4 {
    color: #fbbf24;
    font-size: 16px;
    margin-bottom: 8px;
}

.contact-item p {
    color: white;
    font-size: 15px;
    margin: 0;
}

.contact-form-wrapper {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    color: #1e293b;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form-wrapper button[type="submit"] {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-form-wrapper button[type="submit"]:hover {
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
    transform: translateY(-2px);
}

/* 资质荣誉优化 */
.honours-section {
    background: #f8fafc;
}

.honour-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.honour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.honour-image {
    height: 180px;
    background: #f1f5f9;
    overflow: hidden;
}

.honour-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.honour-name {
    text-align: center;
    padding: 15px;
    color: #1e293b;
    font-weight: 600;
    font-size: 14px;
}

/* 页脚优化 */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #e2e8f0;
}

.footer h4 {
    color: #fbbf24;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.footer ul li a:hover {
    color: #3b82f6;
    padding-left: 5px;
}

.footer .contact-list li {
    color: #cbd5e1;
    font-size: 14px;
}

.footer .contact-list li i {
    color: #3b82f6;
    margin-right: 10px;
}

.footer-desc {
    color: #94a3b8;
    line-height: 1.8;
}

.footer-certifications img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 页脚底部优化 - 备案信息 */
.footer-bottom {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0 !important;
}

.footer-bottom-content {
    color: #94a3b8;
    font-size: 13px;
}

.footer-compliance a {
    color: #94a3b8 !important;
    transition: color 0.3s;
}

.footer-compliance a:hover {
    color: #3b82f6 !important;
}

.footer-compliance span {
    color: #475569;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .advantages-grid,
    .products-grid,
    .cases-grid {
        grid-template-columns: 1fr !important;
    }
    
    .contact-grid {
        grid-template-columns: 1fr !important;
    }
    
    .news-grid {
        grid-template-columns: 1fr !important;
    }
    
    .honours-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .honours-grid {
        grid-template-columns: 1fr !important;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
