/* ============ base ============ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #d43f3f; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ============ nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid #eee;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-cn { font-size: 20px; font-weight: 700; letter-spacing: 2px; }
.brand-en { font-size: 11px; color: #999; letter-spacing: 3px; }
.menu { display: flex; gap: 32px; }
.menu a { font-size: 14px; color: #555; }

/* ============ hero ============ */
.hero {
  padding: 120px 0 100px;
  background:
    radial-gradient(1200px 500px at 100% -10%, #fff1ee 0%, transparent 70%),
    radial-gradient(800px 400px at -10% 20%, #eef4ff 0%, transparent 70%);
}
.hero-inner { max-width: 780px; }
.eyebrow {
  font-size: 12px; letter-spacing: 4px; color: #d43f3f;
  margin: 0 0 24px; font-weight: 600;
}
.hero h1 {
  font-size: 56px; line-height: 1.2; margin: 0 0 28px;
  font-weight: 800; letter-spacing: -1px;
}
.lede { font-size: 18px; color: #555; max-width: 620px; margin: 0 0 40px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.hint { font-size: 13px; color: #999; margin: 0; }

/* ============ buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 4px;
  font-size: 15px; font-weight: 500;
  transition: all 0.15s ease;
  border: 1px solid transparent; cursor: pointer;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-primary { background: #1a1a1a; color: #fff; }
.btn-primary:hover { background: #d43f3f; color: #fff; }
.btn-ghost { background: transparent; color: #1a1a1a; border-color: #1a1a1a; }
.btn-ghost:hover { background: #1a1a1a; color: #fff; }

/* ============ sections ============ */
.section { padding: 100px 0; }
.section-alt { background: #fafafa; }
.section-head { margin-bottom: 56px; max-width: 640px; }
.tag {
  display: inline-block; font-size: 12px; letter-spacing: 3px;
  color: #d43f3f; font-weight: 600; margin-bottom: 12px;
}
.section-head h2 {
  font-size: 40px; margin: 0 0 16px;
  font-weight: 700; letter-spacing: -0.5px;
}
.section-head p { color: #666; font-size: 17px; margin: 0; }

/* ============ grid ============ */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ============ card ============ */
.card {
  background: #fff; border: 1px solid #ececec; border-radius: 8px;
  overflow: hidden; transition: all 0.2s ease;
}
.card:hover { border-color: #1a1a1a; transform: translateY(-2px); }

/* ============ product ============ */
.product { display: flex; flex-direction: column; }
.product-cover {
  height: 220px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 32px; font-weight: 800; letter-spacing: 4px;
  position: relative; overflow: hidden;
}
.product-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.35));
}
.product-cover span { position: relative; z-index: 1; }
.cover-xhby { background: linear-gradient(135deg, #ff8a5c 0%, #d43f3f 100%); }
.cover-sdm  { background: linear-gradient(135deg, #7dd3c0 0%, #3b7d8a 100%); }
.cover-coming { background: linear-gradient(135deg, #bbbbbb 0%, #666 100%); }
.product-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-size: 12px; color: #d43f3f; letter-spacing: 2px; margin: 0 0 8px; font-weight: 600; }
.product h3 { font-size: 22px; margin: 0 0 12px; }
.product p:not(.product-cat) { color: #666; margin: 0 0 20px; flex: 1; }
.product-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto;
}
.product-meta { font-size: 12px; color: #999; }
.product.placeholder { opacity: 0.7; }

/* ============ about stats ============ */
.stats { margin-bottom: 56px; }
.stat {
  text-align: center; padding: 40px 20px;
  background: #fff; border: 1px solid #ececec; border-radius: 8px;
}
.stat b { display: block; font-size: 44px; font-weight: 800; color: #d43f3f; }
.stat span { color: #666; font-size: 14px; letter-spacing: 1px; }
.prose { max-width: 780px; }
.prose p { font-size: 17px; color: #444; margin: 0 0 20px; }

/* ============ news ============ */
.news-list { list-style: none; margin: 0; padding: 0; max-width: 780px; }
.news-list li {
  display: flex; gap: 32px; padding: 20px 0;
  border-bottom: 1px solid #ececec;
}
.news-list li:last-child { border-bottom: none; }
.news-date { color: #999; font-size: 14px; min-width: 100px; font-variant-numeric: tabular-nums; }
.news-list a { font-size: 16px; }

/* ============ careers ============ */
.job h3 { font-size: 18px; margin: 0 0 8px; }
.job-meta { font-size: 13px; color: #d43f3f; margin: 0 0 12px; letter-spacing: 1px; }
.job p:not(.job-meta) { color: #666; font-size: 14px; margin: 0; }
.job { padding: 32px; }
.careers-hint { margin-top: 40px; color: #666; font-size: 15px; }
.careers-hint a { color: #d43f3f; text-decoration: underline; }

/* ============ contact ============ */
.contact-grid > div {
  padding: 32px; background: #fff;
  border: 1px solid #ececec; border-radius: 8px;
}
.contact-label { font-size: 12px; color: #999; letter-spacing: 2px; margin: 0 0 8px; }
.contact-grid p { margin: 0; font-size: 16px; }
.contact-grid a { color: #d43f3f; }

/* ============ footer ============ */
.footer {
  padding: 40px 0; background: #1a1a1a; color: #999;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px;
}
.footer-info p { margin: 0 0 6px; font-size: 13px; line-height: 1.75; }
.footer .beian { margin: 0; font-size: 13px; }
.footer a { color: #999; }
.footer a:hover { color: #fff; }
.contact-sub { font-size: 12px; color: #999; margin: 4px 0 0 !important; }

/* ============ responsive ============ */
@media (max-width: 860px) {
  .menu { display: none; }
  .hero { padding: 80px 0 64px; }
  .hero h1 { font-size: 38px; }
  .lede { font-size: 16px; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 30px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
  .news-list li { flex-direction: column; gap: 4px; }
  .news-date { min-width: 0; }
}
