/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航栏 */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #e60012;
}

nav ul li a.active {
    color: #e60012;
}

/* 按钮样式 */
.btn-red {
    background-color: #e60012;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-red:hover {
    background-color: #c00010;
    color: #fff;
}

.btn-gray {
    background-color: #333;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-gray:hover {
    background-color: #555;
    color: #fff;
}

.btn-white {
    background-color: #fff;
    color: #333;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-white:hover {
    background-color: #f0f0f0;
    color: #333;
}

.btn-transparent {
    background-color: transparent;
    color: #fff;
    padding: 10px 20px;
    border: 1px solid #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-transparent:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* 首页主要内容 */
.hero {
    background-color: #000;
    color: #fff;
    padding: 120px 0 60px;
    margin-top: 70px;
}

.hero-content {
    display: flex;
    align-items: center;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero-text h1 {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
}

.image-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-size: 14px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* 统计数据 */
.stats {
    background-color: #e60012;
    color: #fff;
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stats-item {
    text-align: center;
}

.stats-item h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.stats-item p {
    font-size: 16px;
}

/* 核心产品 */
.core-products {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.core-products h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.section-description {
    text-align: center;
    font-size: 16px;
    margin-bottom: 40px;
    color: #666;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.product-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-item img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.product-item h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.product-item p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.5;
}

.product-link {
    color: #e60012;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: color 0.3s;
}

.product-link:hover {
    color: #c00010;
}

/* 万物互联感知大数据平台 */
.big-data-platform {
    padding: 80px 0;
    background-color: #fff;
}

.platform-content {
    display: flex;
    align-items: center;
}

.platform-text {
    flex: 1;
    padding-right: 40px;
}

.platform-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.platform-text p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #666;
    line-height: 1.8;
}

.platform-features {
    list-style: none;
    margin-bottom: 30px;
}

.platform-features li {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
    position: relative;
    padding-left: 20px;
}

.platform-features li:before {
    content: "•";
    color: #e60012;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.platform-image {
    flex: 1;
}

.platform-image img {
    width: 100%;
    border-radius: 8px;
}

/* 开启您的智能化升级之旅 */
.smart-upgrade {
    background-color: #333;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.upgrade-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.upgrade-content p {
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.upgrade-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 页脚 */
footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #e60012;
}

.footer-info p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.8;
    color: #ccc;
}

.footer-contact-info p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #ccc;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

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

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

.footer-links ul li a:hover {
    color: #e60012;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #ccc;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: #e60012;
}

/* 关于我们页面 */
.page-header {
    background-color: #2c2c2c;
    color: #fff;
    padding: 120px 0 60px;
    margin-top: 70px;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 公司简介 */
.company-intro {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.intro-content {
    display: flex;
    align-items: flex-start;
}

.intro-text {
    flex: 1;
    padding-right: 40px;
}

.intro-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.intro-text h2:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #e60012;
}

.intro-text p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.company-mission {
    margin-top: 40px;
    display: flex;
    gap: 40px;
}

.mission-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.mission-icon {
    width: 50px;
    height: 50px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mission-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.mission-text h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.mission-text p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    width: 100%;
    border-radius: 8px;
}

/* 研发及销售中心分布 */
.distribution {
    padding: 80px 0;
    background-color: #fff;
}

.distribution h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

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

.distribution-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
}

.distribution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.distribution-icon {
    width: 60px;
    height: 60px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.distribution-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.distribution-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.distribution-type {
    font-size: 14px;
    color: #e60012;
    margin-bottom: 10px;
    font-weight: bold;
}

.distribution-address {
    font-size: 14px;
    color: #666;
}

/* 资质荣誉 */
.qualifications {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.qualifications h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

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

.qualification-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
}

.qualification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.qualification-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.qualification-item p {
    font-size: 14px;
    color: #666;
}

/* 联系我们页面 */
.contact-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.contact-info h2:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #e60012;
}

.contact-info p {
    font-size: 16px;
    margin-bottom: 40px;
    color: #666;
    line-height: 1.8;
}

.support-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.support-icon {
    width: 60px;
    height: 60px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.support-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.support-text h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.support-text p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.contact-form {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form h3 {
    font-size: 20px;
    margin-bottom: 30px;
    color: #333;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
}

/* 地理位置 */
.location {
    padding: 80px 0;
    background-color: #fff;
}

.location-map {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 60px;
    text-align: center;
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.map-placeholder img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.map-placeholder p {
    font-size: 16px;
    color: #666;
}

/* 产品中心页面 */
.product-category {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-tag img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.category-tag span {
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.product-showcase {
    padding: 80px 0;
    background-color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.product-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s;
}

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

.product-image {
    margin-bottom: 20px;
    text-align: center;
}

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

.product-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.product-description {
    font-size: 14px;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.5;
}

.product-features {
    margin-bottom: 20px;
}

.feature-tag {
    display: inline-block;
    background-color: #e60012;
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.product-specs {
    margin-top: 30px;
}

.product-specs h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.product-specs table {
    width: 100%;
    border-collapse: collapse;
}

.product-specs table tr {
    border-bottom: 1px solid #ddd;
}

.product-specs table td {
    padding: 8px 0;
    font-size: 14px;
    color: #666;
}

.product-specs table td:first-child {
    font-weight: bold;
    color: #333;
    width: 30%;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 992px) {
    header .container {
        flex-direction: column;
        padding: 10px;
    }
    
    nav ul {
        margin-top: 10px;
    }
    
    nav ul li {
        margin-left: 15px;
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platform-content {
        flex-direction: column;
    }
    
    .platform-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .platform-features li {
        text-align: left;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .intro-content {
        flex-direction: column;
    }
    
    .intro-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .company-mission {
        flex-direction: column;
        gap: 20px;
    }
    
    .distribution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .qualifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .upgrade-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        margin-top: 20px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .distribution-grid {
        grid-template-columns: 1fr;
    }
    
    .qualifications-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .location-map {
        padding: 30px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
}
