/* ===== 企业官网样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; color: #333; background: #f7f8fa; line-height: 1.7; }

/* 顶栏导航 */
.navbar { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 1000; }
.navbar .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; height: 64px; }
.navbar .logo { font-size: 22px; font-weight: 700; color: #1d4ed8; cursor:pointer; text-decoration:none; white-space:nowrap; }
.navbar .nav-links { display: flex; gap: 4px; margin-left: 40px; flex: 1; }
.navbar .nav-links a, .navbar .nav-links .nav-item { padding: 8px 16px; color: #555; text-decoration: none; border-radius: 6px; font-size: 15px; transition: all .2s; cursor: pointer; white-space: nowrap; position: relative; }
.navbar .nav-links a:hover, .navbar .nav-links a.active, .navbar .nav-links .nav-item:hover { color: #1d4ed8; background: #eff6ff; }
.navbar .nav-links .nav-item { display: inline-block; }
.navbar .nav-links .submenu { display: none; position: absolute; top: 100%; left: 0; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.1); border-radius: 8px; min-width: 140px; padding: 4px 0; z-index: 100; }
.navbar .nav-links .nav-item:hover .submenu { display: block; }
.navbar .nav-links .submenu a { display: block; padding: 8px 20px; color: #555; font-size: 14px; border-radius: 0; }
.navbar .menu-trigger { display: none; font-size: 24px; cursor: pointer; padding: 8px; }
@media (max-width: 768px) {
  .navbar .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 8px 0; box-shadow: 0 4px 12px rgba(0,0,0,.1); margin-left: 0; }
  .navbar .nav-links.open { display: flex; }
  .navbar .submenu { position: static; box-shadow: none; padding-left: 16px; }
  .navbar .menu-trigger { display: block; }
}

/* 通用容器 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 32px; font-weight: 700; margin-bottom: 16px; color: #1a1a2e; }
.section-subtitle { text-align: center; font-size: 16px; color: #888; margin-bottom: 48px; }

/* 首页 Hero */
.hero { background: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 100%); color: #fff; padding: 100px 0 120px; text-align: center; }
.hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 20px; }
.hero p { font-size: 20px; opacity: .85; max-width: 600px; margin: 0 auto 32px; }
.hero .hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero .hero-btns a { padding: 14px 36px; border-radius: 50px; font-size: 16px; text-decoration: none; font-weight: 600; transition: all .3s; }
.hero .hero-btns .btn-primary { background: #fff; color: #1d4ed8; }
.hero .hero-btns .btn-outline { border: 2px solid rgba(255,255,255,.5); color: #fff; }
.hero .hero-btns .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.hero .hero-btns .btn-outline:hover { background: rgba(255,255,255,.1); }

/* 特色卡片 */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; }
.feature-card { background: #fff; padding: 40px 32px; border-radius: 12px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,.05); transition: all .3s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.1); }
.feature-card .icon { font-size: 40px; margin-bottom: 16px; }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; color: #1a1a2e; }
.feature-card p { color: #777; font-size: 14px; }

/* 产品卡片 */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.05); transition: all .3s; cursor: pointer; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.1); }
.product-card img { width: 100%; height: 200px; object-fit: cover; }
.product-card .info { padding: 20px; }
.product-card h3 { font-size: 18px; margin-bottom: 8px; color: #1a1a2e; }
.product-card p { color: #888; font-size: 14px; }

/* 新闻列表 */
.news-list { display: flex; flex-direction: column; gap: 16px; max-width: 900px; margin: 0 auto; }
.news-item { display: flex; gap: 20px; background: #fff; padding: 24px; border-radius: 10px; box-shadow: 0 1px 8px rgba(0,0,0,.04); cursor: pointer; transition: all .2s; align-items: center; }
.news-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.news-item img { width: 160px; height: 100px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.news-item .news-info { flex: 1; min-width: 0; }
.news-item h3 { font-size: 18px; margin-bottom: 8px; color: #1a1a2e; }
.news-item .meta { font-size: 13px; color: #aaa; margin-bottom: 8px; }
.news-item .summary { font-size: 14px; color: #777; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 600px) {
  .news-item { flex-direction: column; }
  .news-item img { width: 100%; height: 160px; }
}

/* 文章详情 */
.article-detail { background: #fff; border-radius: 12px; padding: 48px; max-width: 900px; margin: 0 auto; box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.article-detail h1 { font-size: 30px; color: #1a1a2e; margin-bottom: 16px; }
.article-detail .meta { color: #aaa; font-size: 14px; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid #f0f0f0; }
.article-detail .content { font-size: 16px; line-height: 1.9; color: #444; }
.article-detail .content img { max-width: 100%; border-radius: 8px; margin: 20px 0; }
@media (max-width: 600px) { .article-detail { padding: 24px; } }

/* 联系表单 */
.contact-wrapper { max-width: 600px; margin: 0 auto; background: #fff; padding: 48px; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.contact-wrapper .el-form-item { margin-bottom: 20px; }

/* 面包屑 */
.breadcrumb { padding: 20px 0; font-size: 14px; color: #999; }
.breadcrumb a { color: #1d4ed8; text-decoration: none; }
.breadcrumb span { margin: 0 6px; }

/* 页脚 */
.footer { background: #1a1a2e; color: #aaa; padding: 48px 0 32px; text-align: center; font-size: 14px; }
.footer .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; text-align: left; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer a { color: #888; text-decoration: none; display: block; padding: 4px 0; font-size: 14px; }
.footer a:hover { color: #1d4ed8; }
.footer .copy { text-align: center; padding-top: 32px; margin-top: 32px; border-top: 1px solid rgba(255,255,255,.08); }
@media (max-width: 600px) { .footer .container { grid-template-columns: 1fr; } }

/* 分页 */
.pagination-bar { display: flex; justify-content: center; margin-top: 32px; }

/* 关于页面 */
.about-content { max-width: 800px; margin: 0 auto; background: #fff; padding: 48px; border-radius: 12px; font-size: 16px; line-height: 2; color: #555; }
.about-content img { max-width: 100%; border-radius: 8px; margin: 20px 0; }
