/* 全局样式 */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f8ff; /* 淡蓝色背景 */
    color: #333;
}

/* 头部样式 */
header {
    background-color: #1e90ff; /* 道奇蓝 */
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
}

header h1 a {
    color: white;
    text-decoration: none;
}

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

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* 主要内容样式 */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    background-color: #87cefa; /* 淡蓝色 */
    padding: 3rem;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
}

.cta-button {
    background-color: #1e90ff; /* 道奇蓝 */
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
}

.cta-button:hover {
    background-color: #0066cc; /* 深蓝色 */
}

.content h3 {
    text-align: left;
    font-size: 1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    /* color: #1e90ff;*/
}


.service {
    background-color: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.service h4 {
    color: #1e90ff; /* 道奇蓝 */
}

/* 产品相关样式 */
.product-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-tagline {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.product-mission {
    color: #e74c3c;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    padding: 0.8rem;
    background-color: #fef9e7;
    border-left: 4px solid #f39c12;
    border-radius: 4px;
}

.service h5 {
    color: #34495e;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.3rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.feature-list li {
    background-color: #f8f9fa;
    margin-bottom: 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    border-left: 4px solid #3498db;
    transition: transform 0.2s ease;
}

.feature-list li:hover {
    transform: translateX(5px);
    background-color: #e8f4fd;
}

.feature-list li strong {
    color: #2980b9;
}

.about {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-top: 2rem;
    font-size: 1rem; /* 与.content部分保持一致 */
}

.about h3 {
    color: #1e90ff; /* 道奇蓝 */
    text-align: center;
    font-size: 2rem; /* 与.content h3保持一致 */
    margin-bottom: 1rem;
}

.about p {
    font-size: 1rem; /* 与.content部分的段落保持一致 */
    line-height: 1.6;
}

/* 底部样式 */
footer {
    background-color: #1e90ff; /* 道奇蓝 */
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* Tab 切换样式 */
.tab-content {
    display: none;
}

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

.tab-link {
    transition: color 0.3s ease;
}

.tab-link.active {
    color: #007bff;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        gap: 1rem;
        align-items: flex-start;
        align-items: center;
    }

    nav {
        padding-right: 1rem;
    }
    
    nav ul {
        flex-direction: row;
        gap: 0.5rem;
        margin: 0;
        padding: 0;
    }

    nav ul li {
        padding-right: 0.5rem;
    }
    
    .hero {
        padding: 1.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
}