/* style.css - 专业SEO优化响应式样式 v2 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航 */
header {
    background: #0f0f1f;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo a {
    color: #00d8ff;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: #ddd;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #00d8ff;
}

/* 主内容区 */
main {
    min-height: 70vh;
    padding: 2rem 0;
}

/* 页脚 */
footer {
    background: #0f0f1f;
    color: #aaa;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    font-size: 0.9rem;
}

footer a {
    color: #00d8ff;
    text-decoration: none;
}

/* 按钮 */
.btn {
    display: inline-block;
    background: #00d8ff;
    color: #0f0f1f;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    border: 2px solid #00d8ff;
    color: #00d8ff;
}

.btn-outline:hover {
    background: #00d8ff;
    color: #0f0f1f;
}

.btn:hover {
    background: #00b4d8;
    transform: translateY(-2px);
}

/* 卡片布局 */
.service-grid, .blog-grid, .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.card h3 {
    margin-bottom: 1rem;
    color: #0f0f1f;
}

/* 统计数据 */
.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background: #0f0f1f;
    color: white;
    padding: 3rem 1rem;
    border-radius: 20px;
    margin: 2rem 0;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #00d8ff;
}

/* FAQ 折叠 */
.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background: #f1f3f5;
    padding: 1rem;
    font-weight: bold;
    cursor: pointer;
}

.faq-answer {
    padding: 1rem;
    display: none;
    border-top: 1px solid #ddd;
}

.faq-item.active .faq-answer {
    display: block;
}

/* 联系方式区域 */
.contact-links {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.contact-links a {
    margin: 0 1rem;
    color: #00d8ff;
    text-decoration: none;
    font-weight: bold;
}

/* 响应式 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-links {
        gap: 1rem;
        justify-content: center;
    }
    .stats-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
}