* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* 导航栏样式 */
header {
    background: #26276e;
    color: white;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo-icon {
    margin-right: 10px;
    font-size: 28px;
}

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

nav li {
    margin-left: 5px;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 14px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin: 0 2px;
    text-decoration: none;
    display: inline-block;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-btn.active {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 主要内容区域 */
.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    min-height: 70vh;
}

/* 页面内容样式 */
.page {
    animation: fadeIn 0.5s ease;
}

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

h1 {
    color: #1a2980;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #26d0ce;
    display: inline-block;
}

h2 {
    color: #2c3e50;
    margin: 25px 0 15px;
}

/* 公司主页样式 */
.company-intro {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    background: #26d0ce;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
}

/* 设备列表样式 */
.device-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.device-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 400px; /* 根据需求调整最小高度 */
}

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

.device-img {
    height: 200px;
    width: 100%;
    background-color: #ddc763f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc1b52;
    font-size: 60px;
}

.device-info {
    padding: 20px;
}

.device-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a2980;
    margin-bottom: 10px;
}

.device-desc {
    color: #666;
    font-size: 15px;
}

/* 页脚样式 */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 25px 0;
    margin-top: 50px;
}

.copyright {
    font-size: 14px;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .device-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 15px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav li {
        margin: 5px;
    }
    
    .device-grid {
        grid-template-columns: 1fr;
    }
}

/* ... 其他样式保持不变 ... */

/* 更新页脚样式 */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0 25px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #26d0ce;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #26d0ce;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    background: #26d0ce;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 16px;
}

.contact-text {
    flex: 1;
}

.contact-text a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #26d0ce;
}

.contact-label {
    display: block;
    font-size: 14px;
    color: #bdc3c7;
    margin-bottom: 3px;
    text-align: left;
}

.contact-value {
    display: block;
    font-weight: 500;
    text-align: left;
}

.footer-about p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    margin-top: 20px;
}

.copyright {
    font-size: 14px;
    color: #bdc3c7;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
    
    .footer-section {
        margin-bottom: 25px;
    }
}

/* 设备按钮区域 */
.device-buttons {
    display: flex;
    gap: 10px;
    /* margin-top: 15px; */
    margin-top: auto;
    padding: 15px;
}

/* 通用按钮样式 */
.device-buttons button,
.device-buttons a {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

/* 查看详情按钮 */
.btn—view {
    background-color: #f0f4ff;
    color: #1a2980;
    border: 1px solid #d1dcff;
}

.btn—view:hover {
    background-color: #e1e9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(26, 41, 128, 0.1);
}

/* 立即购买按钮 */
.btn-buy {
    background-color: #a9ad7f;
    color: white;
}

.btn-buy:hover {
    background-color: #92e285;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(26, 41, 128, 0.2);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .device-buttons {
        flex-direction: column;
        gap: 8px;

    }
}

@media (max-width: 768px) {
    .device-buttons button,
    .device-buttons a {
        padding: 12px 15px;
        font-size: 15px;
    }
}