/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    min-height: 100vh;
}

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

/* 头部样式 - 现代化设计 */
.main-header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.site-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a4d7a;
    text-align: center;
}

/* 主图区域 - 商务风格 */
.banner-section {
    background: #ffffff;
    padding: 15px 0;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 15px auto 20px;
    max-width: 1200px;
    border: 1px solid #e0e0e0;
}

.banner-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* 轮播图样式 */
.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 比例 */
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.banner-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.banner-dot.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.banner-placeholder {
    width: 100%;
    height: 400px;
    background: #2c3e50;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.laptop-icon {
    font-size: 120px;
    z-index: 2;
}

.data-visualization {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.bar-chart, .pie-chart {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.3);
    margin: 10px 0;
    border-radius: 4px;
}


/* 方案展示区域 */
.solutions-section {
    background: #fff;
    padding: 40px 0;
    margin-bottom: 40px;
}

/* 商品列表区域 - 商务风格 */
.products-section {
    background: #ffffff;
    padding: 30px 0;
    margin-bottom: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 0 auto 30px;
    max-width: 1200px;
    border: 1px solid #e0e0e0;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 700;
    color: #1a4d7a;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #1a4d7a;
    border-radius: 0;
}

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

.solution-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.solution-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
}

.solution-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.solution-images {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.solution-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.btn-view-products {
    display: inline-block;
    padding: 8px 16px;
    background: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-view-products:hover {
    background: #2980b9;
}

/* 联系我们按钮 - 现代化设计 */
.contact-section {
    text-align: center;
    padding: 30px 0;
    margin-bottom: 30px;
}

.contact-button-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-contact {
    background: #1a4d7a;
    color: #fff;
    border: none;
    padding: 18px 50px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(26, 77, 122, 0.3);
    position: relative;
    overflow: hidden;
}



.btn-contact:hover {
    background: #2c5f8f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 77, 122, 0.4);
}

.btn-contact:active {
    transform: translateY(-2px);
}

/* 模态框样式 - 现代化设计 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    overflow: auto;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: #ffffff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 4px;
    max-width: 700px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    border: 1px solid #e0e0e0;
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 32px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #333;
}

.contact-content {
    text-align: center;
}

.contact-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 20px;
}

.contact-description {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.contact-description img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    margin: 15px auto;
    border-radius: 4px;
    display: block;
}

.contact-description p {
    margin: 15px 0;
    text-align: center;
}

.contact-description h1,
.contact-description h2,
.contact-description h3,
.contact-description h4 {
    margin: 20px 0 15px 0;
    color: #2c3e50;
    text-align: center;
}

/* 商品列表页 */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.page-title {
    font-size: 28px;
    color: #2c3e50;
}

.btn-back {
    display: inline-block;
    padding: 12px 30px;
    background: #5a6c7d;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 2px 6px rgba(90, 108, 125, 0.3);
}

.btn-back:hover {
    background: #4a5a6a;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(90, 108, 125, 0.4);
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    font-size: 18px;
}

.empty-state::before {
    content: '📦';
    display: block;
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

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

.product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #1a4d7a;
    transform: scaleX(0);
    transition: transform 0.3s;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #1a4d7a;
}

.product-card.is-top {
    border-color: #f39c12;
    border-width: 2px;
}

.top-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #1a4d7a;
    color: #fff;
    padding: 6px 14px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
    box-shadow: 0 2px 6px rgba(26, 77, 122, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.05) 100%);
    pointer-events: none;
}

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

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

.product-card-title {
    padding: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    text-align: center;
    line-height: 1.4;
    transition: color 0.3s;
}

.product-card:hover .product-card-title {
    color: #1a4d7a;
}

/* 商品详情页 - 商务风格 */
.product-detail {
    background: #ffffff;
    padding: 50px;
    border-radius: 4px;
    margin-top: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.product-title {
    font-size: 36px;
    margin-bottom: 40px;
    color: #1a4d7a;
    font-weight: 700;
    text-align: center;
}

.product-images-slider {
    margin: 20px 0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.product-images-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
}

.product-images-slider .swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 4px;
}

.product-images-slider .swiper-button-next,
.product-images-slider .swiper-button-prev {
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.product-images-slider .swiper-button-next:after,
.product-images-slider .swiper-button-prev:after {
    font-size: 20px;
}

.product-images-slider .swiper-pagination-bullet {
    background: #333;
}

.product-image-item {
    margin-bottom: 20px;
}

.product-image-item img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

@media (max-width: 767px) {
    .product-images-slider .swiper-slide img {
        max-height: 400px;
    }
    
    .product-images-slider .swiper-button-next,
    .product-images-slider .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
    
    .product-images-slider .swiper-button-next:after,
    .product-images-slider .swiper-button-prev:after {
        font-size: 16px;
    }
}

.product-description {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.product-description img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    margin: 15px auto;
    border-radius: 4px;
    display: block;
}

.product-description p {
    margin: 15px 0;
    text-align: center;
}

.product-description h1,
.product-description h2,
.product-description h3,
.product-description h4 {
    margin: 20px 0 15px 0;
    color: #2c3e50;
    text-align: center;
}

.product-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

/* 联系我们页面 */
.contact-page {
    background: #ffffff;
    padding: 50px;
    border-radius: 4px;
    margin-top: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.contact-page .page-title {
    font-size: 36px;
    margin-bottom: 40px;
    color: #1a4d7a;
    font-weight: 700;
    text-align: center;
}

.contact-image-wrapper {
    margin-bottom: 30px;
    text-align: center;
}

.contact-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.contact-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
    text-align: center;
}

/* 底部 */
.main-footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
}

.main-footer p {
    margin: 0;
}

/* 悬浮联系我们按钮 */
.floating-contact-btn {
    position: fixed;
    right: 20px;
    bottom: 30px;
    background: #07c160;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(7, 193, 96, 0.4);
    z-index: 999;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    border: none;
    text-decoration: none;
}

.floating-contact-btn:hover {
    background: #06ad56;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(7, 193, 96, 0.5);
    text-decoration: none;
}

.floating-btn-text {
    white-space: nowrap;
    text-decoration: none;
}

