/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  background: #fff;
}
a { color: #2563eb; text-decoration: none; }
a:hover { color: #1d4ed8; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 600; line-height: 1.35; color: #111; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.site-logo { font-size: 20px; font-weight: 700; color: #111; display: inline-flex; align-items: center; }
.site-logo img { height: 40px; margin-right: 10px; }
.site-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.site-nav a { color: #444; font-size: 15px; padding: 8px 0; display: inline-block; border-bottom: 2px solid transparent; transition: all .2s; }
.site-nav a:hover, .site-nav li.active a { color: #2563eb; border-bottom-color: #2563eb; }

/* ===== Hero (Banner) ===== */
.hero { position: relative; background: linear-gradient(135deg,#1e40af,#2563eb); color: #fff; overflow: hidden; }
.hero-slides { position: relative; height: 460px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; background-size: cover; background-position: center; display: flex; align-items: center; }
.hero-slide.active { opacity: 1; }
.hero-slide::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.hero-inner { position: relative; max-width: 800px; padding: 0 16px; margin: 0 auto; }
.hero-title { font-size: 42px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.hero-subtitle { font-size: 18px; opacity: .95; margin-bottom: 28px; }
.btn { display: inline-block; padding: 12px 28px; border-radius: 6px; background: #fff; color: #2563eb; font-weight: 600; transition: all .2s; }
.btn:hover { background: #eff6ff; transform: translateY(-1px); }
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; color: #fff; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: all .2s; }
.hero-dot.active { background: #fff; width: 28px; border-radius: 5px; }

/* ===== Sections ===== */
.section { padding: 70px 0; }
.section-alt { background: #f8fafc; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 32px; margin-bottom: 10px; }
.section-title p { color: #6b7280; margin: 0; }

/* Cards grid */
.card-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.card-cover { aspect-ratio: 16/9; background: #e5e7eb center/cover no-repeat; }
.card-body { padding: 20px; }
.card-title { font-size: 17px; margin-bottom: 8px; }
.card-title a { color: #111; }
.card-meta { color: #9ca3af; font-size: 13px; }
.card-desc { color: #6b7280; font-size: 14px; margin-top: 8px; line-height: 1.6; }

/* News list */
.news-list { list-style: none; padding: 0; margin: 0; }
.news-item { display: flex; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid #eef2f7; gap: 16px; }
.news-item:last-child { border-bottom: none; }
.news-item a { color: #111; font-size: 16px; flex: 1; }
.news-item a:hover { color: #2563eb; }
.news-date { color: #9ca3af; font-size: 14px; white-space: nowrap; }

/* ===== Article / Product detail ===== */
.article-header { padding: 50px 0 30px; border-bottom: 1px solid #eef2f7; }
.article-header h1 { font-size: 34px; }
.article-meta { color: #9ca3af; font-size: 14px; margin-top: 10px; }
.article-body { padding: 40px 0; font-size: 16px; line-height: 1.9; }
.article-body h2 { font-size: 24px; margin-top: 1.6em; border-left: 4px solid #2563eb; padding-left: 12px; }
.article-body h3 { font-size: 20px; margin-top: 1.4em; }
.article-body img { margin: 20px 0; border-radius: 6px; }
.article-body p { margin-bottom: 1em; }
.article-body blockquote { margin: 1em 0; padding: 12px 20px; border-left: 4px solid #2563eb; background: #f8fafc; color: #4b5563; }

/* Breadcrumb */
.breadcrumb { background: #f8fafc; padding: 14px 0; font-size: 14px; color: #6b7280; }
.breadcrumb a { color: #6b7280; }
.breadcrumb span { margin: 0 8px; }

/* ===== Pagination ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span {
  display: inline-block; min-width: 36px; height: 36px; line-height: 36px; padding: 0 12px;
  text-align: center; border: 1px solid #e5e7eb; border-radius: 6px; color: #4b5563; background: #fff;
}
.pagination .current { background: #2563eb; color: #fff; border-color: #2563eb; }
.pagination a:hover { border-color: #2563eb; color: #2563eb; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info li { list-style: none; margin-bottom: 16px; font-size: 16px; }
.contact-info strong { display: inline-block; width: 90px; color: #111; }

/* ===== Footer ===== */
.site-footer { background: #1f2937; color: #d1d5db; padding: 60px 0 20px; margin-top: 60px; }
.site-footer a { color: #9ca3af; }
.site-footer a:hover { color: #fff; }
.footer-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-bottom: 30px; border-bottom: 1px solid #374151; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col p { font-size: 14px; margin-bottom: 8px; }
.footer-nav { list-style: none; padding: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-bottom { text-align: center; padding-top: 20px; font-size: 14px; color: #9ca3af; }
.footer-bottom p { margin: 4px 0; }

/* Responsive */
@media (max-width: 768px) {
  .header-inner { height: 60px; }
  .site-nav ul { gap: 16px; }
  .site-nav a { font-size: 14px; }
  .hero-slides { height: 340px; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 15px; }
  .section { padding: 50px 0; }
  .section-title h2 { font-size: 26px; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .article-header h1 { font-size: 26px; }
}
