/* css/style.css */
/* 基础重置与排版优化：对搜索引擎爬虫友好 */
:root {
    --primary-color: #0066ff;
    --secondary-color: #0044cc;
    --text-color: #333;
    --bg-light: #f4f7f6;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; color: var(--text-color); background-color: #fff; }
a { text-decoration: none; color: var(--primary-color); }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 导航头部 */
header { background-color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
nav { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; max-width: 1200px; margin: 0 auto; }
.logo { font-size: 1.5rem; font-weight: bold; color: var(--primary-color); }
.logo a { color: var(--primary-color); text-decoration: none; }
.logo a:hover { text-decoration: none; }
.nav-links a { margin-left: 20px; color: #333; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-color); text-decoration: none; }

/* 首屏Hero */
.hero { background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%); color: #fff; padding: 80px 20px; text-align: center; }
.hero h1 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.3; }
.hero p { font-size: 1.2rem; max-width: 800px; margin: 0 auto 30px; opacity: 0.9; }
.btn { display: inline-block; padding: 12px 30px; border-radius: 5px; font-weight: bold; font-size: 1.1rem; transition: all 0.3s; text-align: center; }
.btn-primary { background: var(--primary-color); color: #fff; margin-right: 15px; }
.btn-primary:hover { background: var(--secondary-color); text-decoration: none; box-shadow: 0 4px 10px rgba(0,102,255,0.3); }
.btn-secondary { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-secondary:hover { background: rgba(255,255,255,0.1); text-decoration: none; }

/* 产品优势区 / 通用网格 */
.features, .download-section, .about-section { padding: 60px 20px; background: #fff; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 40px; color: #1a1a2e; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--primary-color); margin: 15px auto 0; border-radius: 2px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; max-width: 1000px; margin: 0 auto; }
.card { padding: 30px; border-radius: 10px; background: var(--bg-light); text-align: center; transition: transform 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.card img { width: 64px; height: 64px; margin-bottom: 20px; }
.card h3 { font-size: 1.3rem; margin-bottom: 15px; color: #222; }
.card p { color: #666; font-size: 0.95rem; line-height: 1.7; }

/* 内容蜘蛛池 (针对SEO优化的文章区) */
.seo-articles { padding: 60px 20px; background: var(--bg-light); }
.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.article-box { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: box-shadow 0.3s; }
.article-box:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.article-box h3 { color: var(--primary-color); margin-bottom: 15px; font-size: 1.25rem; }
.article-box p { color: #555; margin-bottom: 15px; text-align: justify; line-height: 1.8; }

/* FAQ区 */
.faq { padding: 60px 20px; max-width: 800px; margin: 0 auto; background: #fff; }
.faq-item { border-bottom: 1px solid #eee; padding: 25px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 1.15rem; color: #222; margin-bottom: 12px; display: flex; align-items: center; cursor: pointer; transition: color 0.3s; }
.faq-item h3:hover { color: var(--primary-color); }
.faq-item h3::before { content: 'Q:'; color: var(--primary-color); font-weight: bold; margin-right: 10px; font-size: 1.3rem; }
.faq-answer { display: none; color: #666; padding-left: 30px; line-height: 1.7; animation: fadeIn 0.3s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* 页面内页头部通用 */
.page-header { background: var(--bg-light); padding: 50px 20px; text-align: center; border-bottom: 1px solid #eee; }
.page-header h1 { font-size: 2.2rem; color: #1a1a2e; margin-bottom: 15px; }
.page-header p { font-size: 1.1rem; color: #666; max-width: 600px; margin: 0 auto; }

/* 关于我们详情 */
.about-content { max-width: 800px; margin: 0 auto; padding: 40px 20px; line-height: 1.8; font-size: 1.05rem; color: #444; }
.about-content h2 { color: var(--primary-color); margin: 30px 0 15px; font-size: 1.5rem; }
.about-content p { margin-bottom: 20px; text-align: justify; }

/* 底部 */
footer { background: #1a1a2e; color: #fff; padding: 40px 20px; text-align: center; }
.footer-links { margin: 20px 0; }
.footer-links a { color: #aaa; margin: 0 15px; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.disclaimer { font-size: 0.85rem; color: #777; margin-top: 20px; max-width: 800px; margin-left: auto; margin-right: auto; }

/* 响应式 */
@media (max-width: 768px) {
    .nav-links { display: none; } /* 移动端可由JS扩展菜单 */
    .hero h1 { font-size: 2rem; }
    .hero .btn { display: block; margin: 10px auto; width: 80%; }
    .btn-primary { margin-right: auto; }
    .article-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}