/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: #0066cc;
    color: white;
}

.btn-primary:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

/* 标题样式 */
.section-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin: 60px 0 40px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0066cc;
}

/* 顶部导航栏 */
.top-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo h1 {
    font-size: 24px;
    color: #0066cc;
    margin: 0;
}

.main-nav {
    flex: 1;
    text-align: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #0066cc;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0066cc;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Banner样式 */
.banner {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 150px 0;
    text-align: center;
    margin-top: 80px;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.banner-text h2 {
    font-size: 48px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-text p {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
}

/* 产品展示区 */
.products-section {
    padding: 80px 0;
    background-color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-item {
    background-color: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.product-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 公司介绍 */
.about-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 产品系列 */
.series-section {
    padding: 80px 0;
    background-color: white;
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.series-item {
    background-color: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.series-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.series-image {
    height: 200px;
    overflow: hidden;
}

.series-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.series-item:hover .series-image img {
    transform: scale(1.05);
}

.series-info {
    padding: 20px;
}

.series-info h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.series-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 产品详情页Banner */
.product-banner {
    background-color: #f8f8f8;
    padding: 60px 0 30px;
    margin-top: 80px;
    border-bottom: 1px solid #e0e0e0;
}

.product-banner h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 产品详情内容 */
.product-detail-section {
    padding: 80px 0;
    background-color: white;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* 产品图片展示 */
.product-images {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
}

.main-image {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail-item {
    flex: 0 0 auto;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail-item:hover,
.thumbnail-item.active {
    border-color: #0066cc;
    transform: translateY(-2px);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 产品信息 */
.product-info h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.product-description {
    margin-bottom: 30px;
}

.product-description p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.product-features {
    margin-bottom: 30px;
}

.product-features h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.product-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #0066cc;
    font-size: 20px;
    line-height: 1.6;
}

.product-parameters {
    margin-bottom: 30px;
}

.product-parameters h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.parameters-table {
    width: 100%;
    border-collapse: collapse;
}

.parameters-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.parameters-table td {
    padding: 12px 0;
    font-size: 16px;
    color: #666;
}

.parameters-table td:first-child {
    font-weight: bold;
    color: #333;
    width: 30%;
}

.product-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.btn-secondary {
    background-color: transparent;
    color: #0066cc;
    border: 2px solid #0066cc;
}

.btn-secondary:hover {
    background-color: #0066cc;
    color: white;
}

/* 产品详情展示 */
.product-details-showcase {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.details-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.details-item {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.details-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.details-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.details-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.details-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 应用场景 */
.application-scenarios {
    padding: 80px 0;
    background-color: white;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.scenario-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scenario-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.scenario-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.scenario-item:hover img {
    transform: scale(1.05);
}

.scenario-item h3 {
    font-size: 20px;
    color: #333;
    margin: 20px;
    text-align: center;
}

.scenario-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0 20px 20px;
    text-align: center;
}

/* 页脚 */
.footer {
    background-color: #333;
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0066cc;
}

.footer-info p {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #0066cc;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0066cc;
}

.footer-contact p {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #999;
}

/* 登录页面样式 */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
}

.login-form {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    font-size: 28px;
    color: #0066cc;
    margin-bottom: 10px;
}

.login-header p {
    font-size: 16px;
    color: #666;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
    border-left: 4px solid #c62828;
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 16px;
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .series-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .banner-text h2 {
        font-size: 36px;
    }
    
    .banner-text p {
        font-size: 18px;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .banner {
        padding: 100px 0;
    }
    
    .banner-text h2 {
        font-size: 28px;
    }
    
    .banner-text p {
        font-size: 16px;
    }
    
    .products-grid,
    .series-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .login-form {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }
    
    .banner {
        padding: 80px 0;
    }
    
    .banner-text h2 {
        font-size: 24px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .login-form {
        padding: 25px;
    }
    
    .login-header h1 {
        font-size: 24px;
    }
}