/* 修改主banner部分 */
.main-banner {
    position: relative;
    min-height: 60vh; /* 改为最小高度，根据内容自适应 */
    overflow: hidden;
    /*margin-top: 82px; /* 给固定header留出空间 */
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* 确保图片始终居中显示 */
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   /* background: rgba(0,0,0,0.5);*/
}

/* 调整桌面端标题位置 */
.banner-content {
    position: absolute;
    top: 55%; /* 从50%调整为65% */
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
}

.banner-content h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* 移动端特定调整 */
@media (max-width: 768px) {
    .main-banner {
        min-height: 50vh; /* 移动端适当降低高度 */
        /*margin-top: 60px; /* 减少顶部间距 */
    }
    
    .banner-image img {
        object-position: center 40%; /* 调整移动端图片显示位置 */
    }
    
    .banner-content h1 {
        font-size: 2.2rem !important; /* 确保移动端标题大小合适 */
        line-height: 1.2;
    }
}

/* 超大屏幕调整 */
@media (min-width: 1600px) {
    .banner-content {
        top: 60%; /* 在大屏幕上进一步下移 */
    }
}
/* 关于我们 */
.about-section-product {
    /*padding: 60px 20px;*/
    background: #fff;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

/* 文字内容 */
.text-content {
    flex: 1 1 45%;
    min-width: 300px;
}

.subtitle {
   
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.divider {
    width: 80px;
    height: 3px;
    background: #e74c3c; /* 修改横线颜色 */
    margin: 20px 0;
}

.text-content h2 {
    font-size: 2.5rem;
    color: #1b2d6b;
    margin-bottom: 25px;
}

.text-content h2 span {
    color: #e74c3c; /* Paramount特殊颜色 */
}

.text-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* 轮播图容器 */
.slider-container {
    flex: 1 1 45%;
    max-width: 500px; /* 固定最大宽度 */
    margin: 0 auto;
}

.image-slider {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 保持1:1宽高比 */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

/* 响应式调整 */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .divider {
        margin-left: auto;
        margin-right: auto;
    }
    
    .text-content h2 {
        font-size: 2rem;
    }
    
    .slider-container {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 576px) {
    .text-content h2 {
        font-size: 1.8rem;
    }
    
    .slider-container {
        max-width: 300px;
    }
}


/* 产品区块样式 */
.products-section {
    /*padding: 60px 20px;*/
    max-width: 1200px;
    margin: 0 auto;
}

.subheader {
    font-size: 0.65em;  
    color: #666;      
    font-weight: 400;  
    margin-left: 0.8em; 
    font-style: italic; 
    display: inline-block; 
    vertical-align: baseline; 
    letter-spacing: 0.05em; 
    transition: all 0.3s ease;
}

.product-category {
    margin-bottom: 60px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.more-button {
    color: #2A5CAA;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.more-button:hover {
    color: #1D4075;
}

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

.product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h4 {
    padding: 15px 20px;
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.product-link {
    display: block;
    padding: 15px 20px;
    background: #f8f9fa;
    color: #2A5CAA;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.product-link:hover {
    background: #e9ecef;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .more-button {
        margin-top: 15px;
    }
    .subheader {
        display: block; 
        margin-left: 0;
        margin-top: 0.3em;
        font-size: 0.55em;
    }
}

/* 号召行动区块样式 */
.cta-section.secondary {
    padding: 60px 20px;
    background: 
        linear-gradient(rgba(39 56 114 / 0.9), rgba(39 56 114 / 0.9));
    background-size: cover;
    position: relative;
    /*margin-top: -171px;*/
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.cta-content h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 40px;
    background: #e74c3c;
    color: white;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.cta-button i {
    margin-left: 10px;
    transition: transform 0.3s;
}

.cta-button:hover i {
    transform: translateX(3px);
}

.urgent-badge {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%); 
    color: white !important;
    padding: 0.3em 0.8em;
    border-radius: 3px;
    font-size: 0.6em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    top: -0.5em; 
    margin-left: 0.7em;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: pulseGlow 1.5s infinite alternate;
    white-space: nowrap;
}

.urgent-badge:hover {
    animation: pulseGlow 0.8s infinite alternate;
    cursor: help;
}

@keyframes pulseGlow {
    from {
        opacity: 0.9;
        box-shadow: 0 0 5px rgba(255,68,68,0.4);
    }
    to {
        opacity: 1;
        box-shadow: 0 0 10px rgba(255,68,68,0.6);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .cta-section.secondary {
        padding: 40px 15px;
        /*margin-top: -100px;*/
    }
    
    .cta-content h3 {
        font-size: 1.4rem;
    }
    
    .cta-button {
        padding: 10px 30px;
    }
    .urgent-badge {
        font-size: 0.5em;
        top: -0.3em;
        margin-left: 0.5em;
        padding: 0.2em 0.6em;
        display: inline-block; 
    }
}
/* 优势对比区块 */
.benefits-section {
    padding: 4rem 1rem;
    background: #f9f9f9;
}

.section-header h2 {
    text-align: center;
    color: var(--primary-blue);
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.section-header span {
    color: var(--accent-red);
}

.tabs-container {
    max-width: 1100px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.8rem 2rem;
    background: #ddd;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 700;
    color: var(--primary-blue);
}

.tab-btn.active {
    background: var(--accent-red);
    color: white;
}

.tab-pane {
    display: none;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tab-pane span {
    color: var(--accent-red);
}

.divider {
    width: 80px;
    height: 2px;
    background: var(--accent-red);
    margin: 1rem 0;
}

.tab-pane p {
    color: #666;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
}