/* 基础重置 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; font-size: 15px; line-height: 1.7; color: #333; background: #f5f6fa; }
a { text-decoration: none; color: inherit; transition: 0.2s; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 顶部通知条 */
.top-bar { background: #1a1a2e; color: #bdc3c7; font-size: 13px; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-links a { color: #bdc3c7; margin-left: 20px; }
.top-links a:hover { color: #fff; }

/* 导航 */
.header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 1000; }
.nav-wrap { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { font-size: 22px; color: #1a1a2e; display: flex; flex-direction: column; line-height: 1.2; }
.logo strong { color: #e74c3c; font-size: 26px; }
.logo span { font-size: 12px; color: #888; font-weight: normal; letter-spacing: 2px; }
.nav { display: flex; align-items: center; gap: 5px; }
.nav a { padding: 8px 16px; border-radius: 4px; font-size: 15px; color: #444; }
.nav a:hover, .nav a.active { color: #e74c3c; }
.btn-primary { background: #e74c3c; color: #fff !important; }
.btn-primary:hover { background: #c0392b; }
.btn-outline { border: 2px solid #fff; color: #fff !important; }
.btn-outline:hover { background: #fff; color: #1a1a2e !important; }
.btn-lg { padding: 12px 32px !important; font-size: 16px; border-radius: 4px; display: inline-block; }

/* Banner */
.banner { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); color: #fff; padding: 100px 0 120px; text-align: center; }
.banner h1 { font-size: 48px; margin-bottom: 20px; letter-spacing: 2px; }
.banner p { font-size: 20px; color: #bdc3c7; margin-bottom: 10px; }
.banner .sub { font-size: 16px; color: #7f8c8d; margin-bottom: 40px; }
.banner-btns { display: flex; justify-content: center; gap: 20px; }

/* 核心数据 */
.stats { background: #e74c3c; padding: 50px 0; margin-top: -40px; position: relative; z-index: 10; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; color: #fff; }
.stat-item strong { display: block; font-size: 36px; margin-bottom: 5px; }
.stat-item span { font-size: 14px; opacity: 0.9; }

/* 通用区块 */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; color: #1a1a2e; margin-bottom: 10px; }
.section-title p { color: #888; font-size: 16px; }
.section-title.light h2, .section-title.light p { color: #fff; }

/* 产品中心 */
.products { background: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-card { background: #f8f9fa; border-radius: 8px; padding: 35px 30px; transition: 0.3s; border: 1px solid #eee; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 40px rgba(0,0,0,0.08); border-color: #e74c3c; }
.product-icon { width: 50px; height: 50px; background: #e74c3c; color: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; margin-bottom: 20px; }
.product-card h3 { font-size: 18px; margin-bottom: 12px; color: #1a1a2e; }
.product-card p { color: #666; font-size: 14px; margin-bottom: 15px; line-height: 1.6; }
.product-card a { color: #e74c3c; font-size: 14px; font-weight: bold; }

/* 解决方案 */
.solutions { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution-item { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 35px 30px; color: #fff; transition: 0.3s; }
.solution-item:hover { background: rgba(231,76,60,0.9); border-color: #e74c3c; transform: translateY(-3px); }
.solution-item h3 { font-size: 20px; margin-bottom: 10px; }
.solution-item p { font-size: 14px; opacity: 0.8; }

/* 核心优势 */
.features { background: #f5f6fa; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-item { background: #fff; padding: 30px; border-radius: 8px; border-left: 4px solid #e74c3c; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.feature-item h3 { font-size: 17px; margin-bottom: 10px; color: #1a1a2e; }
.feature-item p { color: #666; font-size: 14px; line-height: 1.6; }

/* 客户案例 */
.cases { background: #fff; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.case-card { background: #f8f9fa; border-radius: 8px; padding: 30px; border: 1px solid #eee; transition: 0.3s; }
.case-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.case-card h3 { font-size: 17px; color: #1a1a2e; margin-bottom: 12px; }
.case-card p { color: #666; font-size: 14px; line-height: 1.7; margin-bottom: 15px; }
.case-card a { color: #e74c3c; font-size: 14px; font-weight: bold; }

/* 新闻 */
.news { background: #f5f6fa; }
.news-list { max-width: 900px; margin: 0 auto; }
.news-item { display: flex; align-items: center; padding: 18px 0; border-bottom: 1px solid #e0e0e0; }
.news-date { color: #888; font-size: 13px; min-width: 100px; }
.news-item a { color: #444; font-size: 15px; flex: 1; }
.news-item a:hover { color: #e74c3c; }

/* CTA */
.cta { background: #e74c3c; padding: 60px 0; text-align: center; color: #fff; }
.cta h2 { font-size: 28px; margin-bottom: 10px; }
.cta p { opacity: 0.9; margin-bottom: 30px; }
.cta-form { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; max-width: 800px; margin: 0 auto; }
.cta-form input { padding: 12px 20px; border: none; border-radius: 4px; width: 200px; font-size: 14px; }
.cta-form button { border: none; cursor: pointer; }

/* 底部 */
.footer { background: #1a1a2e; color: #bdc3c7; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer-col a { display: block; color: #95a5a6; font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: #e74c3c; }
.footer-col p { font-size: 14px; margin-bottom: 8px; color: #95a5a6; }
.copyright { border-top: 1px solid #2c3e50; padding: 20px 0; text-align: center; font-size: 13px; color: #7f8c8d; }
.copyright a { color: #7f8c8d; margin: 0 8px; }
.copyright a:hover { color: #fff; }

/* 响应式 */
@media (max-width: 768px) {
    .nav { display: none; }
    .banner h1 { font-size: 28px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid, .solution-grid, .feature-grid, .case-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-form { flex-direction: column; align-items: center; }
    .cta-form input { width: 100%; max-width: 300px; }
}
