/* 网站137 - 网格分析布局 */
:root { --primary: #4F46E5; --secondary: #6366F1; --accent: #818CF8; --text: #1e293b; --bg: #eef2ff; --white: #ffffff; --radius: 8px; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "PingFang SC", sans-serif; background: var(--bg); color: var(--text); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 头部 */
.header { background: var(--white); border-bottom: 2px solid var(--primary); box-shadow: 0 2px 10px rgba(79,70,229,0.08); }
.navbar { padding: 12px 0; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 22px; font-weight: 700; color: var(--primary); }
.nav-menu { display: flex; gap: 4px; list-style: none; }
.nav-menu a { padding: 10px 15px; color: var(--text); text-decoration: none; border-radius: 4px; transition: all 0.2s; font-size: 14px; }
.nav-menu a:hover { background: rgba(79,70,229,0.1); color: var(--primary); }
.nav-menu a.active { background: var(--primary); color: var(--white); }

/* 顶部条 */
.top-bar { background: var(--primary); color: var(--white); padding: 6px 0; font-size: 12px; }
.top-bar .container { display: flex; justify-content: space-between; }
.top-bar a { color: var(--white); text-decoration: none; opacity: 0.9; }

/* 英雄区 */
.hero { background: linear-gradient(135deg, var(--primary), var(--secondary)); padding: 65px 0; color: var(--white); }
.hero h1 { font-size: 32px; margin-bottom: 12px; }
.hero p { font-size: 16px; opacity: 0.9; }

/* 功能区 - 4列网格 */
.features { padding: 50px 0; }
.section-title { text-align: center; font-size: 24px; margin-bottom: 35px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.feature-card { background: var(--white); padding: 22px 18px; border-radius: var(--radius); text-align: center; border: 1px solid #e0e7ff; transition: all 0.3s; }
.feature-card:hover { border-color: var(--primary); box-shadow: 0 5px 15px rgba(79,70,229,0.15); }
.feature-icon { width: 48px; height: 48px; background: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; color: var(--white); font-size: 20px; }
.feature-card h3 { font-size: 15px; margin-bottom: 8px; }
.feature-card p { font-size: 12px; color: #666; line-height: 1.5; }

/* 内容区 */
.content-area { padding: 45px 0; }
.content-section { background: var(--white); padding: 28px; border-radius: var(--radius); margin-bottom: 18px; box-shadow: 0 2px 10px rgba(79,70,229,0.06); }
.content-section h2 { font-size: 18px; color: var(--primary); margin-bottom: 10px; }
.content-section p { font-size: 14px; color: #666; line-height: 1.7; }

/* CTA */
.cta { background: var(--primary); padding: 50px 0; text-align: center; color: var(--white); }
.cta h2 { font-size: 24px; }
.cta .btn { display: inline-block; padding: 11px 30px; background: var(--white); color: var(--primary); border-radius: 4px; font-weight: 600; text-decoration: none; margin-top: 12px; }

/* 底部 */
.footer { background: #1e1b4b; color: var(--white); padding: 40px 0 18px; }
.footer-content { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.footer-section h4 { font-size: 14px; margin-bottom: 12px; color: var(--accent); }
.footer-section p { color: #a5b4fc; font-size: 12px; margin-bottom: 6px; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #312e81; color: #818cf8; font-size: 11px; }

.mobile-toggle { display: none; flex-direction: column: gap: 4px; background: none; border: none; cursor: pointer; }
.mobile-toggle span { width: 20px; height: 2px; background: var(--primary); }

@media (max-width: 1100px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .navbar { flex-wrap: wrap; }
    .nav-menu { display: none; width: 100%; flex-direction: column; margin-top: 12px; }
    .nav-menu.active { display: flex; }
    .mobile-toggle { display: flex; }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 22px; }
}
